https://bugs.kde.org/show_bug.cgi?id=500392

            Bug ID: 500392
           Summary: kwin fails to start with NVIDIA driver
    Classification: Plasma
           Product: kwin
           Version: 6.3.1
          Platform: Fedora RPMs
                OS: Linux
            Status: REPORTED
          Severity: crash
          Priority: NOR
         Component: platform-drm
          Assignee: kwin-bugs-n...@kde.org
          Reporter: ofour...@redhat.com
  Target Milestone: ---

SUMMARY

kwin 6.3.1 fails to start on a Fedora 42 installation with the NVIDIA driver:

```
kwin_core: Failed to open drm node: ""
kwin_scene_opengl: couldn't find dev node for drm device
kwin_scene_opengl: No render nodes have been found, falling back to primary
node
kwin_scene_opengl: 0x502: GL_INVALID_OPERATION error generated. <image> and
<target> are incompatible
kwin_wayland_drm: Failed to create framebuffer: Invalid argument
kwin_wayland_drm: Failed to create framebuffer: Invalid argument
```

STEPS TO REPRODUCE
1. Install Fedora 42
2. Enable RPMfusion and install NVIDIA proprietary driver
3. Log in KDE Plasma

OBSERVED RESULT

Screen stays black.

EXPECTED RESULT

KDE session starts.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
KDE Plasma Version: 6.3.1-1.fc42.x86_64
KDE Frameworks Version: kf6-frameworkintegration-6.11.0-1.fc42.x86_64
Qt Version: 6.8.2-1.fc42.x86_64

ADDITIONAL INFORMATION

GNOME Shell as a Wayland compositor works fine on that exact same setup.

```
s -l /dev/dri/
total 0
drwxr-xr-x. 2 root root        100 Feb 19 11:56 by-path
crw-rw----+ 1 root video  226,   0 Feb 19 11:56 card0
crw-rw----+ 1 root video  226,   1 Feb 19 11:56 card1
crw-rw-rw-. 1 root render 226, 128 Feb 19 11:56 renderD128
```

card0 is simpledrm and card1 is nvidia:

```
$ ls -l /sys/class/drm/card0/device/driver/
total 0
--w------- 1 root root 4096 Feb 19 12:15 bind
lrwxrwxrwx 1 root root    0 Feb 19 12:15 simple-framebuffer.0 ->
../../../../devices/pci0000:51/0000:51:01.0/0000:52:00.0/simple-framebuffer.0
--w------- 1 root root 4096 Feb 19  2025 uevent
--w------- 1 root root 4096 Feb 19 12:15 unbind

$ ls -l /sys/class/drm/card1/device/driver/
total 0
lrwxrwxrwx 1 root root    0 Feb 19 12:15 0000:52:00.0 ->
../../../../devices/pci0000:51/0000:51:01.0/0000:52:00.0
--w------- 1 root root 4096 Feb 19 12:15 bind
lrwxrwxrwx 1 root root    0 Feb 19 12:15 module -> ../../../../module/nvidia
--w------- 1 root root 4096 Feb 19 12:15 new_id
--w------- 1 root root 4096 Feb 19 12:15 remove_id
--w------- 1 root root 4096 Feb 19 12:15 uevent
--w------- 1 root root 4096 Feb 19 12:15 unbind
```

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to