FS#77418 - Blank screen or flashing screen when resuming from sleep or hibernate or when TV has been off for a
Attached to Project:
Arch Linux
Opened by Kris (sarvasana) - Tuesday, 07 February 2023, 09:43 GMT
Last edited by Toolybird (Toolybird) - Friday, 05 May 2023, 21:24 GMT
Opened by Kris (sarvasana) - Tuesday, 07 February 2023, 09:43 GMT
Last edited by Toolybird (Toolybird) - Friday, 05 May 2023, 21:24 GMT
|
Details
SUMMARY
Blank screen when resuming from sleep or hibernate or when TV has been off for a while Originally raised with KDE: https://bugs.kde.org/show_bug.cgi?id=465403. KDE developers think it is a kernel defect and asked to raise it upstream. Kernel.org suggests to raise kernel defects at the correct distribution. STEPS TO REPRODUCE 1. Boot 2. Login 3. Sleep or Hibernate 4. Wait for TV to go a sleep or switch off (Samsung Neo QLED QN90B 43") 5. Resume 6. You reached the failure state OBSERVED RESULT The screen is white or flickering between white and rendering the lock screen. Login works. Typing in kwin_x11 --replace sometimes works and then the system can be used again. Most of the times the system does not recover and a reboot is required. I used KDE Connect to unlock and execute kwin_x11 --replace also. This sometimes also works as a work arround. EXPECTED RESULT Rendering the lock screen normally and resume the system in a usable state. SOFTWARE/OS VERSIONS Linux/KDE Plasma: 6.1.9-arch1-2 (64-bit) KDE Plasma Version: 5.26.5 KDE Frameworks Version: 5.102.0 Qt Version: 5.15.8 |
This task depends upon
Closed by Toolybird (Toolybird)
Friday, 05 May 2023, 21:24 GMT
Reason for closing: Upstream
Additional comments about closing: If still happening, please follow up in the upstream ticket.
Friday, 05 May 2023, 21:24 GMT
Reason for closing: Upstream
Additional comments about closing: If still happening, please follow up in the upstream ticket.
https://bugs.kde.org/show_bug.cgi?id=465403#c2
Comment contents:
"The fact that restarting kwin_x11 doesn't help all the time and it also happens on wayland sounds like it's most likely a bug in the kernel.
If you use nvidia, try reporting the issue to nvidia developers; otherwise please report this issue upstream to kernel developers."
feb 07 14:34:49 anon xdg-desktop-portal-kde[123678]: qt.qpa.xcb: could not connect to display
feb 07 14:34:49 anon audit[123678]: ANOM_ABEND auid=0 uid=0 gid=0 ses=5 pid=123678 comm="xdg-desktop-por" exe="/usr/lib/xdg-desktop-portal-kde" sig=6 res=1
feb 07 14:34:49 anon xdg-desktop-portal-kde[123678]: qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
feb 07 14:34:49 anon xdg-desktop-portal-kde[123678]: This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, xcb.
[1] https://wiki.archlinux.org/title/Kernel#Debugging_regressions
[2] https://wiki.archlinux.org/title/Kernel#Troubleshooting
I did try 5.15.91-4-lts and there the problem is not present.
So between 5.15.91-4-lts and 6.1.9-arch1-2 something went pear-shaped.
About this machine:
UM690 Version 1.0.
CPU: AMD Ryzen 9 6900HX with Radeon Graphics (16) @ 3.300GHz
GPU: AMD ATI Radeon 680M
I also have a laptop, also AMD, which I can hookup to the same screen and test the both kernels.
Would that make sense?
Host: 82A2 Yoga Slim 7 14ARE05
Kernel: 6.1.9-arch1-2
CPU: AMD Ryzen 7 4800U with Radeon Graphics (16) @ 1.800GHz
GPU: AMD ATI 03:00.0 Renoir
[1] https://gitlab.freedesktop.org/drm/amd
https://gitlab.freedesktop.org/drm/amd/-/issues/2445
Upstream has asked me to test if amdgpu 6.3-rc1 or later fixes the problem.
I did not have a chance to test this yet and am actually unsure how to do this.
Probably would take the PKGBUILD of amdgpu-git and change it to some other commit and then install.
Would have to this on my own production machine, which I use for work daily.
Will see what I can do.