Summary: | [NVIDIA] Immediate segfault in kwin_wayland upon initiation of Wayland session by SDDM; followed by prompt return to SDDM greeter | ||
---|---|---|---|
Product: | [Plasma] kwin | Reporter: | Gary S. Martin <gmartin> |
Component: | wayland-generic | Assignee: | KWin default assignee <kwin-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | gmartin, xaver.hugl |
Priority: | NOR | ||
Version: | 5.27.8 | ||
Target Milestone: | --- | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | Complete boot journal for Wayland attempt and X11 login |
Description
Gary S. Martin
2023-10-12 00:23:24 UTC
Please attach the output of drm_info on your PC (In reply to Zamundaaa from comment #1) > Please attach the output of drm_info on your PC http://0x0.st/H4_h.txt I have also submitted this to linux-bugs@nvidia.com. You seem to have some setup issue, there should never be simpledrm + another drm driver at the same time.
As for the actual crash, do you have the environment variables set the arch wiki suggests?
> GBM_BACKEND=nvidia-drm
> __GLX_VENDOR_LIBRARY_NAME=nvidia
If so, I'd recommend you to delete them, they just break things.
(In reply to Zamundaaa from comment #4) > You seem to have some setup issue, there should never be simpledrm + another > drm driver at the same time. > As for the actual crash, do you have the environment variables set the arch > wiki suggests? > > GBM_BACKEND=nvidia-drm > > __GLX_VENDOR_LIBRARY_NAME=nvidia > If so, I'd recommend you to delete them, they just break things. #GBM_BACKEND=nvidia-drm #__GLX_VENDOR_LIBRARY_NAME=nvidia #LIBVA_DRIVER_NAME=nvidia Yes, they were set as recommended in the Archlinux wiki. I commented out the three lines above in /etc/environment and rebooted and I am now able to start a Wayland session. I am seeing occasional incidences of flickering of this browser window and some occasional weird shifting of this text as I type, but Wayland starts and seems to be mostly stable now. New output of drm_info: http://0x0.st/H4Lw.txt (In reply to Gary S. Martin from comment #5) > (In reply to Zamundaaa from comment #4) > > You seem to have some setup issue, there should never be simpledrm + another > > drm driver at the same time. > > As for the actual crash, do you have the environment variables set the arch > > wiki suggests? > > > GBM_BACKEND=nvidia-drm > > > __GLX_VENDOR_LIBRARY_NAME=nvidia > > If so, I'd recommend you to delete them, they just break things. > > #GBM_BACKEND=nvidia-drm > #__GLX_VENDOR_LIBRARY_NAME=nvidia > #LIBVA_DRIVER_NAME=nvidia > > Yes, they were set as recommended in the Archlinux wiki. I commented out the > three lines above in /etc/environment and rebooted and I am now able to > start a Wayland session. I am seeing occasional incidences of flickering of > this browser window and some occasional weird shifting of this text as I > type, but Wayland starts and seems to be mostly stable now. > > New output of drm_info: http://0x0.st/H4Lw.txt FYI, the browser is Firefox. The flickering does not seem to involve the desktop image or the console window that is to the right of the Firefox window. (In reply to Gary S. Martin from comment #6) > (In reply to Gary S. Martin from comment #5) > > (In reply to Zamundaaa from comment #4) > > > You seem to have some setup issue, there should never be simpledrm + another > > > drm driver at the same time. > > > As for the actual crash, do you have the environment variables set the arch > > > wiki suggests? > > > > GBM_BACKEND=nvidia-drm > > > > __GLX_VENDOR_LIBRARY_NAME=nvidia > > > If so, I'd recommend you to delete them, they just break things. > > > > #GBM_BACKEND=nvidia-drm > > #__GLX_VENDOR_LIBRARY_NAME=nvidia > > #LIBVA_DRIVER_NAME=nvidia > > > > Yes, they were set as recommended in the Archlinux wiki. I commented out the > > three lines above in /etc/environment and rebooted and I am now able to > > start a Wayland session. I am seeing occasional incidences of flickering of > > this browser window and some occasional weird shifting of this text as I > > type, but Wayland starts and seems to be mostly stable now. > > > > New output of drm_info: http://0x0.st/H4Lw.txt > > FYI, the browser is Firefox. The flickering does not seem to involve the > desktop image or the console window that is to the right of the Firefox > window. The whole Firefox window just disappeared for about ten seconds and then came back. The original crash issue was resolved by commenting out the setting of the three NVIDI-Wayland-related environment variables (GBM_BACKEND, GLX_VENDOR_LIBRARY_NAME, andLIBVA_DRIVER_NAME. My flickering issue does not seem to be a duplicate of any previously reported bugs, so I will open a new bug for the flickering issue. |