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

            Bug ID: 494814
           Summary: NVIDIA DRM does not work with kwin_wayland
    Classification: Plasma
           Product: kwin
           Version: 6.2.0
          Platform: Fedora RPMs
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: wayland-generic
          Assignee: kwin-bugs-n...@kde.org
          Reporter: orf....@pm.me
  Target Milestone: ---

SUMMARY


STEPS TO REPRODUCE
1. Install `kernel 6.11.3-200.fc40.x86_64`
2. Install `nvidia-driver:open-dkms 560.35.03-1.fc39`
3. Reboot

OBSERVED RESULT
Kwin_wayland uses a lot of CPU and performance is slow because DRM is not used.
```
journalctl -b -g kwin_wayland
Oct 15 14:19:27 fedora sddm-helper-start-wayland[1584]: "kwin_wayland_drm:
Failed to create framebuffer: Invalid argument\n"
Oct 15 14:19:30 fedora sddm-helper-start-wayland[1584]: "kwin_wayland_drm:
Failed to create framebuffer: Invalid argument\n"
Oct 15 14:19:34 fedora sddm-helper-start-wayland[1584]: "kwin_wayland_drm:
Failed to create framebuffer: Invalid argument\n"
Oct 15 14:19:34 fedora sddm-helper-start-wayland[1584]: Stopping...
"kwin_wayland"
Oct 15 14:19:36 fedora systemd[1797]: Starting plasma-kwin_wayland.service -
KDE Window Manager...
Oct 15 14:19:36 fedora systemd[1797]: Started plasma-kwin_wayland.service - KDE
Window Manager.
Oct 15 14:19:36 fedora kwin_wayland[2118]: kwin_wayland_drm: Failed to create
framebuffer: Invalid argument
Oct 15 14:19:36 fedora kwin_wayland[2118]: kwin_wayland_drm: Failed to create
framebuffer: Invalid argument
```
In addition, when I run `kinfo` I got the warning:
```
libEGL warning: MESA-LOADER: failed to open simpledrm:
/usr/lib64/dri/simpledrm_dri.so: cannot open shared object file: No such file
or directory (search paths /usr/lib64/dri, suffix _dri)
```
EXPECTED RESULT
`Kwin` works normally and uses DRM with good performance.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma:  Fedora 40
KDE Plasma Version: 6.2.0
KDE Frameworks Version: 6.7.0
Qt Version: 6.7.2

ADDITIONAL INFORMATION
`kinfo` also shows this instead of the NVIDIA GPU
```
Graphics Processor: llvmpipe
```

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

Reply via email to