On laptop running AMD R6 graphics, the display is not properly waking up from blanking. Backlight lights, and the system still runs, just with no display. Upgraded from the 5.12.* series per Gentoo Wiki procedures. Copied the previous .config and ran make olddefconfig prior to compiling. Reverting to the latest 5.12.* kernel has no display issue. Another system in the household with Intel graphics is running the 5.13.* kernel with no such display issues.
Hi, your bug might be related to mine: https://bugzilla.kernel.org/show_bug.cgi?id=213859 In my case I see 'graphical noise' and rainbows directly after the LUKS drive is unlocked and 5.12 runs fine.
My bug is fixed in 5.14.0-rc3 (maybe even in rc1). If you'd like you can try that one as a vanilla kernel or with the patches from genpatches/gentoo-sources manually applied by you — or simply wait a few weeks until 5.14 is released hoping that EOL-5.12 has no open security bugs in the mean time :-]
Confirmed running a 5.14 kernel fixes this. Emerged git-sources-5.14.rc4. Eselected the new kernel. Copied over .config from 5.12.19 kernel. Ran make olddefconfig. Ran make && make modules install. Installed new kernel. Told grub where to find it. Rebooted to new kernel and logged into XFCE session. Now we wait. Screen blanks. Backlight shuts off. I move mouse, and screen reappears as intended.
This issue was confirmed on my laptop, which is Lenovo Thinkpad T14 AMD running 5.13-* kernel from sys-kernel/gentoo-sources. This machine hadn't had any problem running previous kernels until I upgraded the kernel to 5.13-*. After switching to 5.14-rc4, my desktop session could finally be restored(suspend functions also worked).
Hi, please test with gentoo-sources 5.13.9 when it is bumped in the tree. According to the upstream changelog[1] there is a patch which should fix the graphical noise (or "garbage storm"[2]) as well as displays staying blank: > commit fad0494f626f1a6b2ea76cd7c6d137d1b4961636 > Author: Stylon Wang <stylon.wang@amd.com> > Date: Wed Jul 21 12:25:24 2021 +0800 > > drm/amd/display: Fix ASSR regression on embedded panels > > commit 6be50f5d83adc9541de3d5be26e968182b5ac150 upstream. > > [Why] > Regression found in some embedded panels traces back to the earliest > upstreamed ASSR patch. The changed code flow are causing problems > with some panels. > > [How] > - Change ASSR enabling code while preserving original code flow > as much as possible > - Simplify the code on guarding with internal display flag > > Bug: https://bugzilla.kernel.org/show_bug.cgi?id=213779 > Bug: https://gitlab.freedesktop.org/drm/amd/-/issues/1620 > Reviewed-by: Alex Deucher <alexander.deucher@amd.com> > Signed-off-by: Stylon Wang <stylon.wang@amd.com> > Signed-off-by: Alex Deucher <alexander.deucher@amd.com> > Cc: stable@vger.kernel.org > Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> [1] https://cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.13.9 [2] https://gitlab.freedesktop.org/drm/amd/-/issues/1625 via https://gitlab.freedesktop.org/drm/amd/-/issues/1620
It works now with 5.13.9 sources from kernel.org plus manually applied genpatches on my machine.
(In reply to Nils Freydank from comment #5) > Hi, > please test with gentoo-sources 5.13.9 when it is bumped in the tree. > According to the upstream changelog[1] there is a patch which should fix the > graphical noise (or "garbage storm"[2]) as well as displays staying blank: > > > commit fad0494f626f1a6b2ea76cd7c6d137d1b4961636 > > Author: Stylon Wang <stylon.wang@amd.com> > > Date: Wed Jul 21 12:25:24 2021 +0800 > > > > drm/amd/display: Fix ASSR regression on embedded panels > > > > commit 6be50f5d83adc9541de3d5be26e968182b5ac150 upstream. > > > > [Why] > > Regression found in some embedded panels traces back to the earliest > > upstreamed ASSR patch. The changed code flow are causing problems > > with some panels. > > > > [How] > > - Change ASSR enabling code while preserving original code flow > > as much as possible > > - Simplify the code on guarding with internal display flag > > > > Bug: https://bugzilla.kernel.org/show_bug.cgi?id=213779 > > Bug: https://gitlab.freedesktop.org/drm/amd/-/issues/1620 > > Reviewed-by: Alex Deucher <alexander.deucher@amd.com> > > Signed-off-by: Stylon Wang <stylon.wang@amd.com> > > Signed-off-by: Alex Deucher <alexander.deucher@amd.com> > > Cc: stable@vger.kernel.org > > Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> > > > [1] https://cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.13.9 > [2] https://gitlab.freedesktop.org/drm/amd/-/issues/1625 via > https://gitlab.freedesktop.org/drm/amd/-/issues/1620 Emerged. Compiled. Tested. Issue now resolved.
(In reply to darkaudit from comment #7) > (In reply to Nils Freydank from comment #5) > > Hi, > > please test with gentoo-sources 5.13.9 when it is bumped in the tree. > > According to the upstream changelog[1] there is a patch which should fix the > > graphical noise (or "garbage storm"[2]) as well as displays staying blank: > > > > > commit fad0494f626f1a6b2ea76cd7c6d137d1b4961636 > > > Author: Stylon Wang <stylon.wang@amd.com> > > > Date: Wed Jul 21 12:25:24 2021 +0800 > > > > > > drm/amd/display: Fix ASSR regression on embedded panels > > > > > > commit 6be50f5d83adc9541de3d5be26e968182b5ac150 upstream. > > > > > > [Why] > > > Regression found in some embedded panels traces back to the earliest > > > upstreamed ASSR patch. The changed code flow are causing problems > > > with some panels. > > > > > > [How] > > > - Change ASSR enabling code while preserving original code flow > > > as much as possible > > > - Simplify the code on guarding with internal display flag > > > > > > Bug: https://bugzilla.kernel.org/show_bug.cgi?id=213779 > > > Bug: https://gitlab.freedesktop.org/drm/amd/-/issues/1620 > > > Reviewed-by: Alex Deucher <alexander.deucher@amd.com> > > > Signed-off-by: Stylon Wang <stylon.wang@amd.com> > > > Signed-off-by: Alex Deucher <alexander.deucher@amd.com> > > > Cc: stable@vger.kernel.org > > > Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> > > > > > > [1] https://cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.13.9 > > [2] https://gitlab.freedesktop.org/drm/amd/-/issues/1625 via > > https://gitlab.freedesktop.org/drm/amd/-/issues/1620 > > Emerged. Compiled. Tested. Issue now resolved. Thanks for testing and reporting. Closing this one as resolved.