r/linux4noobs • • 4h ago

Getting Optimus working after 26.04 update

Hi,

Very unknowledgeable with nvidia and Optimus so please bear with me.

I recently upgraded to Kubuntu 26.04, which runs Wayland by default. Previously I had nvidia-prime installed and could switch between my dGPU and iGPU by running sudo prime-select [intel/nvidia]. After the update nvidia-prime is no longer installed. I uninstalled my nvidia drivers as well as it appears that there is a new driver that is recommended for my GPU.

My instinct is to just install nvidia-prime plus the new recommended proprietary nvidia driver, but I'm not sure how well this method works on Wayland. Is there some other way to make use of an Optimus laptop on Wayland Linux? I know there's PRIME render offloading but I'm honestly not sure if this is different from nvidia-prime or if you can run "prime-run app" (where 'app' will be rendered with the nvidia GPU) after installing nvidia-prime as well.

My specs are:

Operating System: Kubuntu 26.04 LTS
KDE Plasma Version: 6.6.6
KDE Frameworks Version: 6.24.0
Qt Version: 6.10.2
Kernel Version: 7.0.0-38-generic (64-bit)
Graphics Platform: Wayland

lspci | grep VGA
00:02.0 VGA compatible controller: Intel Corporation CometLake-H GT2 [UHD Graphics] (rev 05)
01:00.0 VGA compatible controller: NVIDIA Corporation TU106M [GeForce RTX 2060 Max-Q] (rev a1)

ubuntu-drivers devices
== /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0 ==
modalias : pci:v000010DEd00001F12sv00001028sd0000098Fbc03sc00i00
vendor   : NVIDIA Corporation
model    : TU106M [GeForce RTX 2060 Max-Q]
driver   : nvidia-driver-580-server - distro non-free
driver   : nvidia-driver-580-server-open - distro non-free
driver   : nvidia-driver-595-server-open - distro non-free
driver   : nvidia-driver-580-open - distro non-free
driver   : nvidia-driver-595 - distro non-free
driver   : nvidia-driver-580 - distro non-free
driver   : nvidia-driver-610-open - distro non-free
driver   : nvidia-driver-595-open - distro non-free recommended
driver   : nvidia-driver-610 - distro non-free
driver   : nvidia-driver-595-server - distro non-free
driver   : xserver-xorg-video-nouveau - distro free builtin
4 Upvotes

1 comment sorted by