SUMMARY When using latest plasma 5.15.90 beta in Archlinux, I cannot login into Wayland using NVIDIA hardware. Running kwin_wayland on console from an X sessions throws a segfault: dbus-launch kwin_wayland No backend specified through command line argument, trying auto resolution Icon theme "elementary" not found. Icon theme "gnome" not found. Icon theme "deepin" not found. OpenGL vendor string: NVIDIA Corporation OpenGL renderer string: GeForce GTX 1080/PCIe/SSE2 OpenGL version string: 4.6.0 NVIDIA 430.14 OpenGL shading language version string: 4.60 NVIDIA Driver: NVIDIA Driver version: 430.14 GPU class: Unknown OpenGL version: 4.6 GLSL version: 4.60 Linux kernel version: 5.1.2 Requires strict binding: no GLSL shaders: yes Texture NPOT support: yes Virtual Machine: no QImage::scaled: Image is a null image [1] 18274 segmentation fault (core dumped) dbus-launch kwin_wayland Also tried with a new user, but it also crashes. STEPS TO REPRODUCE 1. Login into plasma-wayland using nvidia hardware OBSERVED RESULT A black tty screen EXPECTED RESULT Plasma wayland UI SOFTWARE/OS VERSIONS Operating System: Arch Linux KDE Plasma Version: 5.15.90 KDE Frameworks Version: 5.58.0 Qt Version: 5.13.0 Kernel Version: 5.1.2-arch1-1-ARCH OS Type: 64-bit Processors: 8 × Intel® Core™ i7-7700HQ CPU @ 2.80GHz Memory: 23.5 GiB of RAM ADDITIONAL INFORMATION
Did you set KWIN_DRM_USE_EGL_STREAMS?
changing status of the bug report
After a bit of digging I was able to make it work: 1. I added KWIN_DRM_USE_EGL_STREAMS=1 to /etc/profile.d/ 2. I enabled nvidia DRM KMS https://wiki.archlinux.org/index.php/NVIDIA#DRM_kernel_mode_setting 3. Restarted the machine For some reason my first wayland login with nvidia made my kwin use 100% of the CPU, but the second login works fine.
Created attachment 150680 [details] Wayland Session Log I have disabled hybrid graphics and i used only Nvidia Card. On X11 all work ok but when i try to star a session with Wayland don't work. After I log in, it only shows a black screen with the cursor which I can move and it gets stuck here. Then i have that reset my notebook. STEPS TO REPRODUCE 1. Log in with a session Wayland and Nvidia Card. OBSERVED RESULT I can't lon in. EXPECTED RESULT I can log in. SOFTWARE/OS VERSIONS Operating System: KDE neon 5.25 KDE Plasma Version: 5.25.3 KDE Frameworks Version: 5.96.0 Qt Version: 5.15.5 Kernel Version: 5.15.0-41-generic (64-bit) Graphics Platform: X11 Processors: 12 × Intel® Core™ i7-8750H CPU @ 2.20GHz Memory: 62.7 GiB of RAM Graphics Processor: NVIDIA GeForce RTX 2060/PCIe/SSE2 Manufacturer: Micro-Star International Co., Ltd. Product Name: GS75 Stealth 8SE System Version: REV:1.0
(In reply to Alejandro Valdés from comment #3) > After a bit of digging I was able to make it work: > > 1. I added KWIN_DRM_USE_EGL_STREAMS=1 to /etc/profile.d/ > 2. I enabled nvidia DRM KMS > https://wiki.archlinux.org/index.php/NVIDIA#DRM_kernel_mode_setting > 3. Restarted the machine > > For some reason my first wayland login with nvidia made my kwin use 100% of > the CPU, but the second login works fine. I have tried this but for me it doesn't work. Happen same.
egl streams is outdated, this report is therefore too