Created attachment 154206 [details] WAYLAND_DEBUG=1 KWIN_GL_DEBUG=1 kwin_wayland --exit-with-session konsole SUMMARY I noticed that kwin_wayland produces black screen on my rk3399 (rockpro64) when i run Plasma or sddm Weston works wihout any problems. When i run MESA_GL_VERSION_OVERRIDE=2.0 kwin_wayland --exit-with-session konsole i see a black screen with a white rectangle which i seems it is a konsole window This gives a konsole window with decorations with swrast and it works like expected - MESA_GL_VERSION_OVERRIDE=1.0 kwin_wayland --exit-with-session konsole STEPS TO REPRODUCE 1. Run startplasma-wayland on rk3399 i.e Pine64 rockpro64 2. Observe a black screen 4. kill session 5. Run kwin_wayland --exit-with-session konsole - from fresh VT on rk3399 i.e Pine64 rockpro64 6. Observe a black screen OBSERVED RESULT Black empty screen EXPECTED RESULT Working plasma SOFTWARE/OS VERSIONS Linux/KDE Plasma: OpenMandriva cooker aarch64 KDE Plasma Version: 5.26.4 KDE Frameworks Version: 5.100 Qt Version: 5.15.7 with all the KDE patches ADDITIONAL INFORMATION [tpg@omv-rockpro64 ~]$ rpm -qf $(command -v kwin_wayland) kwin-wayland-5.26.4-1.aarch64 [tpg@omv-rockpro64 ~]$ rpm -qf /usr/lib64/libQt5Core.so.5 lib64qt5core5-5.15.7-5.aarch64 [tpg@omv-rockpro64 ~]$ rpm -qf /usr/lib64/libKF5WaylandClient.so.5 lib64KF5WaylandClient5-5.100.0-1.aarch64 [tpg@omv-rockpro64 ~]$ rpm -qf /usr/lib64/libOSMesa.so.8 lib64osmesa8-22.3.0-1.aarch64 [tpg@omv-rockpro64 ~]$ uname -a Linux omv-rockpro64 6.1.0-server-0.rc7.2omv2290 #1 SMP PREEMPT_DYNAMIC Mon Nov 2 8 08:47:13 UTC 2022 aarch64 aarch64 aarch64 GNU/Linux
Created attachment 154207 [details] MESA_GL_VERSION_OVERRIDE=2.0 WAYLAND_DEBUG=1 KWIN_GL_DEBUG=1 kwin_wayland --exit-with-session konsole
[tpg@omv-rockpro64 ~]$ kwin_wayland --exit-with-session konsole No backend specified, automatically choosing Wayland because WAYLAND_DISPLAY is set kf.globalaccel.kglobalacceld: No desktop file found for service "krunner.desktop" OpenGL vendor string: Panfrost OpenGL renderer string: Mali-T860 (Panfrost) OpenGL version string: 3.1 (Core Profile) Mesa 22.3.0 Driver: Panfrost GPU class: Mali T8xx series OpenGL version: 3.1 Mesa version: 22.3 Linux kernel version: 6.1 Requires strict binding: no GLSL shaders: no Texture NPOT support: yes Virtual Machine: no kwin_xkbcommon: XKB: inet:323:58: unrecognized keysym "XF86EmojiPicker" kwin_xkbcommon: XKB: inet:324:58: unrecognized keysym "XF86Dictate" libkwinglutils: Shaders are not supported libkwinglutils: Failed to link shader: "error: no shaders attached to the program\n\x00" libkwinglutils: Shaders are not supported libkwinglutils: Failed to link shader: "error: no shaders attached to the program\n\x00" libkwinglutils: Shaders are not supported libkwinglutils: Failed to link shader: "error: no shaders attached to the program\n\x00" libkwinglutils: Shaders are not supported libkwinglutils: Failed to link shader: "error: no shaders attached to the program\n\x00"
I tried with startplasma-x11 and i got the same effect o_0 Even dowgrade mesa to 22.2.3 without no luck
Ok, i know what is going on. Will come back with a PR to fix this today.
Ok after a deep dive i found a culprit inside one of downstream patches. Sorry for the noise.