You are not logged in.

#1 2025-02-13 07:21:29

LeXa-NZ
Member
Registered: 2025-02-13
Posts: 1

KDE 6.3 upgrade - black screen on wayland

Kia ora,

Not super familiar to troubleshoot wayland, so I struggle to fix.

Issue happened just after upgrade to kde 6.3, I logout then blank screen when try to login back.
Plasma load properly with X11.

Using NVidia gtx1060 with dkms drivers

dkms status
nvidia/570.86.16, 6.12.10-arch1-1, x86_64: installed
nvidia/570.86.16, 6.12.10-zen1-1-zen, x86_64: installed
nvidia/570.86.16, 6.12.13-1-lts, x86_64: installed
zfs/2.3.0, 6.12.10-arch1-1, x86_64: installed
zfs/2.3.0, 6.12.10-zen1-1-zen, x86_64: installed
zfs/2.3.0, 6.12.13-1-lts, x86_64: installed
nvidia-smi      
+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 570.86.16              Driver Version: 570.86.16      CUDA Version: 12.8     |
|-----------------------------------------+------------------------+----------------------+
| GPU  Name                 Persistence-M | Bus-Id          Disp.A | Volatile Uncorr. ECC |
| Fan  Temp   Perf          Pwr:Usage/Cap |           Memory-Usage | GPU-Util  Compute M. |
|                                         |                        |               MIG M. |
|=========================================+========================+======================|
|   0  NVIDIA GeForce GTX 1060 6GB    Off |   00000000:01:00.0  On |                  N/A |
| 17%   55C    P0             28W /  120W |     695MiB /   6144MiB |      0%      Default |
|                                         |                        |                  N/A |
+-----------------------------------------+------------------------+----------------------+

Here what I found so far.

journalctl --user -b -u plasma-kwin_wayland.service

Feb 13 19:16:54 freya systemd[2212]: Starting KDE Window Manager...
Feb 13 19:16:54 freya systemd[2212]: Started KDE Window Manager.
Feb 13 19:16:55 freya kwin_wayland[2477]: No backend specified, automatically choosing drm
Feb 13 19:16:56 freya kwin_wayland[2477]: kwin_scene_opengl: 0x505: GL_OUT_OF_MEMORY error generated. Failed to allocate memory for texture.
Feb 13 19:16:56 freya kwin_wayland[2477]: kwin_scene_opengl: Invalid framebuffer status:  "GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT"
Feb 13 19:16:56 freya kwin_wayland_wrapper[2611]: The XKEYBOARD keymap compiler (xkbcomp) reports:
Feb 13 19:16:56 freya kwin_wayland_wrapper[2611]: > Warning:          Could not resolve keysym XF86RefreshRateToggle
Feb 13 19:16:56 freya kwin_wayland_wrapper[2611]: > Warning:          Could not resolve keysym XF86Accessibility
Feb 13 19:16:56 freya kwin_wayland_wrapper[2611]: > Warning:          Could not resolve keysym XF86DoNotDisturb
Feb 13 19:16:56 freya kwin_wayland_wrapper[2611]: Errors from xkbcomp are not fatal to the X server
Feb 13 19:16:56 freya kwin_wayland_wrapper[2620]: The XKEYBOARD keymap compiler (xkbcomp) reports:
Feb 13 19:16:56 freya kwin_wayland_wrapper[2620]: > Warning:          Unsupported maximum keycode 708, clipping.
Feb 13 19:16:56 freya kwin_wayland_wrapper[2620]: >                   X11 cannot support keycodes above 255.
Feb 13 19:16:56 freya kwin_wayland_wrapper[2620]: > Warning:          Could not resolve keysym XF86RefreshRateToggle
Feb 13 19:16:56 freya kwin_wayland_wrapper[2620]: > Warning:          Could not resolve keysym XF86Accessibility
Feb 13 19:16:56 freya kwin_wayland_wrapper[2620]: > Warning:          Could not resolve keysym XF86DoNotDisturb
Feb 13 19:16:56 freya kwin_wayland_wrapper[2620]: Errors from xkbcomp are not fatal to the X server
Feb 13 19:16:56 freya kcminit[2633]: Initializing  "/usr/lib/qt6/plugins/plasma/kcms/systemsettings/kcm_fonts.so"
Feb 13 19:16:56 freya kcminit[2633]: Initializing  "/usr/lib/qt6/plugins/plasma/kcms/systemsettings/kcm_style.so"
Feb 13 19:17:03 freya kwin_wayland[2477]: kwin_wayland_drm: atomic commit failed: Permission denied
Feb 13 19:17:51 freya kwin_wayland[2477]: kwin_core: Applying output config failed!
Feb 13 19:17:52 freya systemd[2212]: Stopping KDE Window Manager...
Feb 13 19:17:52 freya kwin_wayland[2477]: QThreadStorage: Thread 0x5b2b980bf8f0 exited after QThreadStorage 8 destroyed
Feb 13 19:17:52 freya systemd[2212]: Stopped KDE Window Manager.
Feb 13 19:17:52 freya systemd[2212]: plasma-kwin_wayland.service: Consumed 2.584s CPU time, 286.3M memory peak.

those errors appears

Feb 13 19:16:56 freya kwin_wayland[2477]: kwin_scene_opengl: 0x505: GL_OUT_OF_MEMORY error generated. Failed to allocate memory for texture.
Feb 13 19:16:56 freya kwin_wayland[2477]: kwin_scene_opengl: Invalid framebuffer status:  "GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT"
Feb 13 19:17:03 freya kwin_wayland[2477]: kwin_wayland_drm: atomic commit failed: Permission denied

Find boot log here - http://0x0.st/8Z6q.txt

Thanks in advance for you help !

Cheers.

Last edited by LeXa-NZ (2025-02-13 07:22:42)

Offline

#2 2025-02-13 22:46:39

jvix
Member
Registered: 2025-02-13
Posts: 2

Re: KDE 6.3 upgrade - black screen on wayland

I'm also getting a similar issue after rebooting today following an upgrade showing similar errors. System loads into sddm fine, then I get a black screen after logging into Wayland. If I switch to tty3 then back to tty2, a cursor appears but that's it. I can log into X11 fine without issues.

GPU is an RTX 4080, OS has been in use for a few months now and have been only using Wayland. I am using nvidia-open drivers (570.86.16).

Feb 13 14:15:28 J-Vix kwin_wayland[901]: kwin_scene_opengl: 0x505: GL_OUT_OF_MEMORY error generated. Failed to allocate memory for texture.
Feb 13 14:15:28 J-Vix kwin_wayland[901]: kwin_scene_opengl: Invalid framebuffer status:  "GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT"
Feb 13 14:15:28 J-Vix kwin_wayland[901]: kwin_scene_opengl: 0x505: GL_OUT_OF_MEMORY error generated. Failed to allocate memory for texture.
Feb 13 14:15:28 J-Vix kwin_wayland[901]: kwin_scene_opengl: Invalid framebuffer status:  "GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT"
Feb 13 14:15:28 J-Vix kwin_wayland[901]: kwin_scene_opengl: 0x505: GL_OUT_OF_MEMORY error generated. Failed to allocate memory for texture.
Feb 13 14:15:28 J-Vix kwin_wayland[901]: kwin_scene_opengl: Invalid framebuffer status:  "GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT"

Journal log here - https://0x0.st/8ZhL.log

Offline

#3 2025-02-14 03:56:41

artemklevtsov
Member
Registered: 2015-08-24
Posts: 7

Re: KDE 6.3 upgrade - black screen on wayland

The same with AMD GPU.

❯ lspci | grep -i VGA
03:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Navi 31 [Radeon RX 7900 XT/7900 XTX/7900 GRE/7900M] (rev ce)
❯ journalctl --no-hostname --user -b -1 -u plasma-kwin_wayland.service
ев 14 10:39:14 systemd[2891]: Starting KDE Window Manager...
фев 14 10:39:14 systemd[2891]: Started KDE Window Manager.
фев 14 10:39:14 kwin_wayland[3047]: No backend specified, automatically choosing drm
фев 14 10:39:15 kwin_wayland_wrapper[3172]: The XKEYBOARD keymap compiler (xkbcomp) reports:
фев 14 10:39:15 kwin_wayland_wrapper[3172]: > Warning:          Could not resolve keysym XF86RefreshRateToggle
фев 14 10:39:15 kwin_wayland_wrapper[3172]: > Warning:          Could not resolve keysym XF86Accessibility
фев 14 10:39:15 kwin_wayland_wrapper[3172]: > Warning:          Could not resolve keysym XF86DoNotDisturb
фев 14 10:39:15 kwin_wayland_wrapper[3172]: Errors from xkbcomp are not fatal to the X server
фев 14 10:39:15 kwin_wayland_wrapper[3190]: The XKEYBOARD keymap compiler (xkbcomp) reports:
фев 14 10:39:15 kwin_wayland_wrapper[3190]: > Warning:          Unsupported maximum keycode 708, clipping.
фев 14 10:39:15 kwin_wayland_wrapper[3190]: >                   X11 cannot support keycodes above 255.
фев 14 10:39:15 kwin_wayland_wrapper[3190]: > Warning:          Could not resolve keysym XF86RefreshRateToggle
фев 14 10:39:15 kwin_wayland_wrapper[3190]: > Warning:          Could not resolve keysym XF86Accessibility
фев 14 10:39:15 kwin_wayland_wrapper[3190]: > Warning:          Could not resolve keysym XF86DoNotDisturb
фев 14 10:39:15 kwin_wayland_wrapper[3190]: Errors from xkbcomp are not fatal to the X server
фев 14 10:39:15 kcminit[3194]: Initializing  "/usr/lib/qt6/plugins/plasma/kcms/systemsettings/kcm_fonts.so"
фев 14 10:39:15 kcminit[3194]: Initializing  "/usr/lib/qt6/plugins/plasma/kcms/systemsettings/kcm_style.so"
фев 14 10:39:16 kwin_wayland[3047]: kf.config.core: "\"fsrestore1\" - conversion of \"0,0,0,0\" to QRect failed"
фев 14 10:39:16 kwin_wayland[3047]: kf.config.core: "\"fsrestore2\" - conversion of \"0,0,0,0\" to QRect failed"
фев 14 10:39:16 kwin_wayland[3047]: kf.config.core: "\"fsrestore3\" - conversion of \"0,0,0,0\" to QRect failed"
фев 14 10:39:16 kwin_wayland[3047]: kf.config.core: "\"fsrestore4\" - conversion of \"0,0,0,0\" to QRect failed"
фев 14 10:39:16 kwin_wayland[3047]: kf.config.core: "\"fsrestore5\" - conversion of \"0,0,0,0\" to QRect failed"
фев 14 10:39:16 kwin_wayland[3047]: kf.config.core: "\"fsrestore6\" - conversion of \"0,0,0,0\" to QRect failed"
фев 14 10:39:16 kwin_wayland[3047]: kf.windowsystem: static bool KX11Extras::mapViewport() may only be used on X11
фев 14 10:39:33 kwin_wayland[3047]: kwin_tabbox: Could not load window switcher package "org.kde.breeze.desktop" . Falling back to default
фев 14 10:39:33 kwin_wayland[3047]: kwin_scene_opengl: 0x2: GL_INVALID_OPERATION in glDrawBuffers(unsupported buffer GL_BACK_LEFT)
фев 14 10:39:33 kwin_wayland[3047]: kwin_scene_opengl: 0x2: GL_INVALID_OPERATION in glDrawBuffers(unsupported buffer GL_BACK_LEFT)
фев 14 10:39:33 kwin_wayland[3047]: kwin_scene_opengl: 0x2: GL_INVALID_OPERATION in glDrawBuffers(unsupported buffer GL_BACK_LEFT)
фев 14 10:39:33 kwin_wayland[3047]: kwin_scene_opengl: 0x2: GL_INVALID_OPERATION in glDrawBuffers(unsupported buffer GL_BACK_LEFT)
фев 14 10:39:33 kwin_wayland[3047]: kwin_scene_opengl: 0x2: GL_INVALID_OPERATION in glDrawBuffers(unsupported buffer GL_BACK_LEFT)
фев 14 10:39:33 kwin_wayland[3047]: kwin_scene_opengl: 0x2: GL_INVALID_OPERATION in glDrawBuffers(unsupported buffer GL_BACK_LEFT)
фев 14 10:39:33 kwin_wayland[3047]: kwin_scene_opengl: 0x2: GL_INVALID_OPERATION in glDrawBuffers(unsupported buffer GL_BACK_LEFT)
фев 14 10:39:33 kwin_wayland[3047]: kwin_scene_opengl: 0x2: GL_INVALID_OPERATION in glDrawBuffers(unsupported buffer GL_BACK_LEFT)
фев 14 10:39:33 kwin_wayland[3047]: kwin_scene_opengl: 0x2: GL_INVALID_OPERATION in glDrawBuffers(unsupported buffer GL_BACK_LEFT)
фев 14 10:39:33 kwin_wayland[3047]: kwin_scene_opengl: 0x2: GL_INVALID_OPERATION in glDrawBuffers(unsupported buffer GL_BACK_LEFT)
фев 14 10:39:33 kwin_wayland[3047]: kwin_scene_opengl: 0x2: GL_INVALID_OPERATION in glDrawBuffers(unsupported buffer GL_BACK_LEFT)
фев 14 10:39:33 kwin_wayland[3047]: kwin_scene_opengl: 0x2: GL_INVALID_OPERATION in glDrawBuffers(unsupported buffer GL_BACK_LEFT)
lines 1-37

journal log: https://0x0.st/8Nrv.txt

Offline

#4 2025-02-14 06:24:33

artemklevtsov
Member
Registered: 2015-08-24
Posts: 7

Re: KDE 6.3 upgrade - black screen on wayland

My be related bug report: https://bugs.kde.org/show_bug.cgi?id=499789
Remove ~/.config/kwinoutputconfig.json should help.

Last edited by artemklevtsov (2025-02-14 06:29:48)

Offline

#5 2025-02-14 06:56:50

Bobyl
Member
Registered: 2010-02-10
Posts: 17

Re: KDE 6.3 upgrade - black screen on wayland

artemklevtsov wrote:

May be related bug report: https://bugs.kde.org/show_bug.cgi?id=499789
Remove ~/.config/kwinoutputconfig.json should help.

That solved the issue, thanks !

Offline

#6 2025-02-14 07:48:04

jvix
Member
Registered: 2025-02-13
Posts: 2

Re: KDE 6.3 upgrade - black screen on wayland

artemklevtsov wrote:

My be related bug report: https://bugs.kde.org/show_bug.cgi?id=499789
Remove ~/.config/kwinoutputconfig.json should help.

Removing kwinoutputconfig.json fixed it for me as well. Thank you!

Offline

#7 2025-03-06 14:46:41

CxOrg2
Member
Registered: 2022-02-17
Posts: 6

Re: KDE 6.3 upgrade - black screen on wayland

The Plasma 6.3 update arrived with updates for Manjaro resulting in a black screen on login showing only the mouse cursor. Some 30 seconds later the desktop would appear. After trying a few fixes including the removal of ~/.config/kwinoutputconfig.json I checked the system log to find python-validity fatal errors.

As I have a fingerprint sensor which requires open-fprintd and libfprint-tod to work, I tried a re-install of all fprint related drivers including python-validity. After re-boot this seems to have fixed the black screen problem with the desktop appearing as normal after login, screen unlock or wake from sleep.

This may not be the exact problem others have experienced with Nvidia systems (mine is an integrated Intel) but may help those with fingerprint readers which rely on open-fprintd to work.

Offline

Board footer

Powered by FluxBB