-
Notifications
You must be signed in to change notification settings - Fork 94
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
KDE Plasma Wayland session using software rendering and is slow - va-api not working on nVidia #1742
Comments
These issues sound like a variety of issues that were resolved as part of Plasma 6.0. Another thing that could also help is turning on NVK in Mesa (with updating to Mesa 24) and setting |
(Blame @EbonJaeger for me commenting there 😜 ) |
Update: Problem persists after updating to Plasma 6 via regular updates with the unstable repo |
I found something that is probably related for nVidia GPU systems I reinstalled nvidia-vaapi-driver but VA-API is still not working ❯ vainfo
Trying display: wayland
libva info: VA-API version 1.22.0
libva info: User environment variable requested driver 'nvidia'
libva info: Trying to open /usr/lib64/dri/nvidia_drv_video.so
libva info: Found init function __vaDriverInit_1_0
libva error: /usr/lib64/dri/nvidia_drv_video.so init failed
libva info: va_openDriver() returns 1
vaInitialize failed with error code 1 (operation failed),exit |
Related issue elFarto/nvidia-vaapi-driver#329 |
Does your NVIDIA driver have kernel modesetting enabled? Without it, Plasma cannot use it. Does your nvidia driver package have this patch? |
@ReillyBrogan, it doesn't look like nvidia-glx-driver has the patch mentioned above. Would you be up for including it? |
It looks like the package installs a kernel cmdline conf file that includes |
https://github.com/getsolus/packages/blob/main/packages/n/nvidia-glx-driver/package.yml#L235 modeset is enabled by default for our nvidia driver, fbdev is not yet but we ship a patch to workaround it currently: the |
Closed by caa547b which enabled fbdev by default and more importantly fixed nvidia-modprobe not having the setuid bit. |
Please confirm there isn't an existing open bug report
Summary
When logged into Plasma Wayland, rendering is slow. It is unusable with an external monitor. There is a warning in the system tray that software rendering is in use
Steps to reproduce
Log into KDE Plasma with Wayland
Expected result
System is as responsive as with X11
Actual result
System is laggy, more so with an external monitor in use (laptop)
Environment
Repo
Unstable
Desktop Environment
Plasma
System details
Operating System: Solus 4.5
KDE Plasma Version: 5.27.10
KDE Frameworks Version: 5.115.0
Qt Version: 5.15.12
Kernel Version: 6.6.17-277.current (64-bit)
Graphics Platform: X11
Processors: 16 × 11th Gen Intel® Core™ i7-11800H @ 2.30GHz
Memory: 62.5 GiB of RAM
Graphics Processor: NVIDIA GeForce RTX 3060 Laptop GPU/PCIe/SSE2
Manufacturer: Dell Inc.
Product Name: XPS 17 9710
Other comments
Plasma Wayland had been very usable up until around June 2023. After an update, it became laggy. I hadn't reported this before because I had been doing testing of VAAPI / Firefox with Reilly and thought that might have affected things. Even after removing the vaapi package, however, the performance is still slow.
As a workaround I tried setting
KWIN_DRM_USE_MODIFIERS=0
in/etc/environment
as well asKWIN_DRM_USE_MODIFIERS=1
but saw no change in performance.Possibly useful logs attached
logs_wayland_compositing.txt
The text was updated successfully, but these errors were encountered: