Bug 205335 - [amdgpu] suspend / screen black after thaw
Summary: [amdgpu] suspend / screen black after thaw
Alias: None
Product: Drivers
Classification: Unclassified
Component: Video(DRI - non Intel) (show other bugs)
Hardware: x86-64 Linux
: P1 high
Assignee: drivers_video-dri
: 204953 (view as bug list)
Depends on:
Reported: 2019-10-28 00:37 UTC by Arne Woerner
Modified: 2019-11-04 17:54 UTC (History)
1 user (show)

See Also:
Kernel Version: 5.3.7-arch1-1-ARCH
Tree: Mainline
Regression: No

some kernel messages regarding the amdgpu driver... (10.74 KB, text/plain)
2019-10-28 00:37 UTC, Arne Woerner

Description Arne Woerner 2019-10-28 00:37:17 UTC
Created attachment 285667 [details]
some kernel messages regarding the amdgpu driver...

since about kernel-5.2.8 my box does not thaw properly.
during suspend it already behaves differently (the screen goes black while the image is being written...).
first it was once per 10 thaws...
but now it became quite bad (like every second thaw)...

the GPU is a RX550:
Device: Radeon 550 Series (POLARIS12, DRM 3.33.0, 5.3.7-arch1-1-ARCH, LLVM 9.0.0) (0x699f)
Comment 1 Arne Woerner 2019-10-28 00:38:09 UTC
*** Bug 204953 has been marked as a duplicate of this bug. ***
Comment 2 Alex Deucher 2019-10-28 13:32:51 UTC
Can you bisect?
Comment 3 Arne Woerner 2019-10-28 15:40:48 UTC
bisect means compiling a kernel again and again with different patches and testing?
in a "nested intervals" fashion?
i think that is too much load for my box...

i even deleted the 5.1 kernel package from the pacman cache...
the old linux-firmware packages, too...
furthermore i'm afraid, that there are security issues with old kernels...

i think it happened before... https://bugzilla.kernel.org/show_bug.cgi?id=198619
but this time it is worse sometimes: the screen remains dark after thaw...
maybe it is the same reason?

Comment 4 Alex Deucher 2019-10-28 15:48:08 UTC
bisecting is a git feature which allows you to identify what commit caused an issue.  There were several suspend/resume issues related to multi-media engines that were fixed recently.  Can you try v5.4-rc5?  The fixes will be coming back to other kernels via stable.
Comment 5 Arne Woerner 2019-10-28 23:18:23 UTC
i am using 5.4.0-rc5ARNE now...
my first self-compiled kernel since years... giggle

OpenGL and btrfs and bcache and sound work fine...

it cannot hibernate via s2disk (when i try it, it gets an EIO, immediately after it starts writing the image)...
# echo disk > /sys/power/state
works fine so far...

is there some kernel config option that i have to enable for s2disk?

Comment 6 Arne Woerner 2019-11-04 17:54:14 UTC
it thaws nicely now... with 5.4.0-rc5... -arne

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