Bug 1704792 - AMDGPU crashes and hangs upon resume from suspend
Summary: AMDGPU crashes and hangs upon resume from suspend
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: kernel
Version: 31
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Kernel Maintainer List
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-04-30 14:12 UTC by Akarshan Biswas
Modified: 2019-09-22 07:56 UTC (History)
17 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2019-09-22 07:56:48 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Kernel logs (107.98 KB, text/plain)
2019-04-30 14:12 UTC, Akarshan Biswas
no flags Details
kernel 5.1 git rawhide log (100.66 KB, text/plain)
2019-04-30 15:09 UTC, Akarshan Biswas
no flags Details
System info (18.90 KB, patch)
2019-04-30 15:23 UTC, Akarshan Biswas
no flags Details | Diff

Description Akarshan Biswas 2019-04-30 14:12:23 UTC
Created attachment 1560317 [details]
Kernel logs

1. Please describe the problem:
 AMDGPU crashes upon resume from suspend

2. What is the Version-Release number of the kernel:
5.0.9-301.fc30.x86_64 #1 SMP Tue Apr 23 23:57:35 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

3. Did it work previously in Fedora? If so, what kernel version did the issue
   *first* appear?  Old kernels are available for download at
   https://koji.fedoraproject.org/koji/packageinfo?packageID=8 :
Yes, Worked on all 4.20 kernels, 

4. Can you reproduce this issue? If so, please provide the steps to reproduce
   the issue below:
Yes. Issue is reproducable.
Only on Acer E5-523
 - suspend it using systemctl suspend,
 - resume it


5. Does this problem occur with the latest Rawhide kernel? To install the
   Rawhide kernel, run ``sudo dnf install fedora-repos-rawhide`` followed by
   ``sudo dnf update --enablerepo=rawhide kernel``:
 - Didn't test at the filing this bug. Will update this info in the following comments


6. Are you running any modules that not shipped with directly Fedora's kernel?:
 - no, 

7. Please attach the kernel logs. You can get the complete kernel log
   for a boot with ``journalctl --no-hostname -k > dmesg.txt``. If the
   issue occurred on a previous boot, use the journalctl ``-b`` flag.
 - attached.

Comment 1 Akarshan Biswas 2019-04-30 15:09:41 UTC
Created attachment 1560335 [details]
kernel 5.1 git rawhide log

Issue persists on latest rawhide kernel :(

Comment 2 Akarshan Biswas 2019-04-30 15:23:06 UTC
Created attachment 1560342 [details]
System info

Comment 3 Yoru Tsuranuki 2019-05-09 01:55:24 UTC
I’ve been experiencing an identical issue on my Acer Aspire A315-21.
With the newer 5.0.9-301 & 5.0.11-300 kernel, the kernel logs are the same, but now instead of a black screen, the gui appears and is static, with only the cursor able to move.

Comment 4 Akarshan Biswas 2019-05-14 09:39:46 UTC
(In reply to Yoru Tsuranuki from comment #3)
> I’ve been experiencing an identical issue on my Acer Aspire A315-21.
> With the newer 5.0.9-301 & 5.0.11-300 kernel, the kernel logs are the same,
> but now instead of a black screen, the gui appears and is static, with only
> the cursor able to move.

I can confirm. This happens only on KDE. The monitor lits up with the cursor visable but the rest of the  GUI is static. Also the sound is randomly broken on every boot. Intel sound driver crashes. This laptop has a headset jack(combined mic + headphone). On previous kernels, the mic support on headsets weren't supported but the sound was fine. Support was brought in with kernel 5 and is randomly broken.

Comment 5 Akarshan Biswas 2019-07-20 14:02:46 UTC
Update: Still present on 5.2.

Comment 6 Justin M. Forbes 2019-08-20 17:42:08 UTC
*********** MASS BUG UPDATE **************

We apologize for the inconvenience.  There are a large number of bugs to go through and several of them have gone stale.  Due to this, we are doing a mass bug update across all of the Fedora 30 kernel bugs.

Fedora 30 has now been rebased to 5.2.9-200.fc30.  Please test this kernel update (or newer) and let us know if you issue has been resolved or if it is still present with the newer kernel.

If you have moved on to Fedora 31, and are still experiencing this issue, please change the version to Fedora 31.

If you experience different issues, please open a new bug report for those.

Comment 7 Akarshan Biswas 2019-08-26 07:58:24 UTC
Tried 5.3.0-0.rc5.git2.1.fc32.x86_64 from rawhide, I can confirm that amdgpu doesn't crash anymore upon resume from suspend as of now.

Comment 8 Akarshan Biswas 2019-09-02 04:38:31 UTC
Possible Fix fot this bug: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/drivers/gpu/drm/amd/amdgpu?id=72cda9bb5e219aea0f2f62f56ae05198c59022a7 (Not tested yet)

Changing Fedora version to 31

Comment 9 Akarshan Biswas 2019-09-22 07:56:48 UTC
This issue seems fixed now(probably a systemd update).


Note You need to log in before you can comment on or make changes to this bug.