| Summary: | kwin fails to start with NVIDIA driver | ||
|---|---|---|---|
| Product: | [Plasma] kwin | Reporter: | Olivier Fourdan <ofourdan> |
| Component: | platform-drm | Assignee: | KWin default assignee <kwin-bugs-null> |
| Status: | RESOLVED WORKSFORME | ||
| Severity: | crash | CC: | john.kizer, nate, ngompa |
| Priority: | NOR | ||
| Version First Reported In: | 6.3.1 | ||
| Target Milestone: | --- | ||
| Platform: | Fedora RPMs | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Olivier Fourdan
2025-02-19 11:16:56 UTC
FWIW, it works in mutter because mutter uses the udev property `boot_vga` to select the device to use, see `meta_is_udev_device_boot_vga()`: https://gitlab.gnome.org/GNOME/mutter/-/blob/main/src/backends/meta-udev.c?ref_type=heads#L64-74 Did 6.2 work? Actually, Austin Shafer from NVIDIA pointed at https://github.com/NVIDIA/open-gpu-kernel-modules/issues/788 as being the issue, basically, the NVIDIA driver does not enable the fbdev options with RC kernels as found in F42 at the moment. FTR, If anyone else with the same problem comes across this bug report, a workaround suggested by Xaver is to set `KWIN_DRM_DEVICES` to point to the NVIDIA device, e.g.: ``` $ cat /etc/environment KWIN_DRM_DEVICES=/dev/dri/card1 ``` Hi - just to double-check on this one, is there still an issue to be tackled here for KWin? If so, are there updated steps to reproduce, since it sounds like perhaps the immediate issue when this bug was filed has since been resolved? Thanks! ๐๐งน โ ๏ธ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME. For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging. Thank you for helping us make KDE software even better for everyone! The issue is presumably caused by the use on an RC kernel as Austin pointed out (comment #3). Dunno why that works with GNOME, maybe by chance, so please feel free to close this bug if you reckon this is not KDE. ๐๐งน โ ๏ธ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME. For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging. Thank you for helping us make KDE software even better for everyone! ๐๐งน This bug has been in NEEDSINFO status with no change for at least 30 days. Closing as RESOLVED WORKSFORME. |