#KDE Plasma(wayland) not using nvidia GPU
1 messages · Page 1 of 1 (latest)
Did you enable the kernel parameter?
Yes (nvidia-drm.modeset=1)
Are you using a laptop with dual GPU
integrated graphics(intel) + nvidia 1650ti (see-> neofetch)
Laptop, yes?
Then it's using your iGPU by default
You need to set an env var to use NVIDIA
Otherwise it runs stuff on iGPU
Ok so it'll never use the nvidia gpu I assume even under heavy load? I' so, how do i set an env var that does that
Also : should I use the nvidia-open drivers or nvidia proprietary?
Uh lemme find that
@cedar spoke DRI_PRIME=pci-0000_01_00_0 __VK_LAYER_NV_optimus=NVIDIA_only __GLX_VENDOR_LIBRARY_NAME=nvidia glxinfo try this
where do I input this?
will do, just a sec
Yup, working. "OpenGL renderer string: NVIDIA GEFORCE GTX 1650 Ti/PCIe/SSE2"
kde systeminfo still shows Mesa Intel though
Because it's the default
I recommend only using dedicated GPU for games
You don't need it for anything else
Ok, so now it'll use the gpu for heavy loads etc.? And is this change permanent right now or do I need to make the env var run every time I reboot?
No it won't
And no
You launched one app with the env var
And that one app used Nvidia
Anything else you run now will use Intel
So is it possible to achieve an endstate as described in this https://community.kde.org/Plasma/Wayland/Nvidia where wayland uses nvidia gpu
Wayland doesn't use any GPU
Well, Wayland always uses the GPU the display is connected to
You can't change the GPU your display is connected to
Ok. So my gpu was working as intended from the very beginning? I was confused because https://community.kde.org/Plasma/Wayland/Nvidia describes running wayland with proprietary nvidia drivers.
"Select "Plasma (wayland)" from your login manager
Enjoy your beautiful super-fast accelerated wayland desktop!"
Just set it for the steam process
So I paste this into launch options? DRI_PRIME=pci-0000_01_00_0 __VK_LAYER_NV_optimus=NVIDIA_only __GLX_VENDOR_LIBRARY_NAME=nvidia
Well no because that would set them ad parameters and not as env vars
ENV=stuff %command% like this
What about https://wiki.archlinux.org/title/NVIDIA_Optimus#Use_NVIDIA_graphics_only ? The reason I'm asking is I assume if it's possible to use the dedicated gpu wherever possible then everything would run smoother/better
You will not notice a difference running a web browser on the dedicated GPU
Only run games there
The benefit of this is 10x more battery
I see, is there a reason why plasma(x11) didn't display mesa from the beginning with glxinfo?
Because it's Xorg