Hi,
I am running Arch (Garuda Linux) KDE Wayland and trying to set up dual GPU with AMD as my primary GPU and Nvidia purely for CUDA and NVEC workloads. I used to be able to do this on Ubuntu 18.04, but for some reason on Arch, I am being forced into GPU switching. So nothing picks up the Nvidia GPU when the AMD card is primary. Umder Ubuntu 18.04 Nvidia settings would still detect the Nvidia card even though it wasn’t the primary GPU. Even OBS would see the two GPUs and I could choose which one OBS would use.
I had the same issue when using Xorg on Arch + KDE so doesn’t seem to be a Wayland thing.
Don’t know if I am doing something wrong or if it’s an Arch thing regarding the Nvidia drivers?
It is probably not so much an ArchLinux/Garuda thing as much as it is a configuration thing. Ubuntu really holds your hand. While Manjaro and Garuda try to hold your hand, at the end of the day ArchLinux is aimed at the technical system administrator. It sounds like maybe, the NV GPU is being blacklisted when the AMD GPU is primary.
https://wiki.archlinux.org/title/Kernel_module#Blacklisting
I would read the Ubuntu Wiki and Compare that to the ArchLinux wiki to see if by chance there is something missing or not pre-configured on Arch.
https://wiki.archlinux.org/title/GPGPU#CUDA
Thanks will read through them as you suggest
Thanks for the pointers. Dug a bit deeper and noticed that the LTS version of the nvidia drivers worked on the LTS kernel, but it seems the dkms drivers didn’t want to install.
Playing around a bit more, it seems as though the Garuda hardware configuration tool that’s used to install GPU drivers didn’t seem to like the dkms drivers because it could not find the “Nvidia module”. Perhaps, I changed in the settings used by the tool or something not sure. Anyway, I tried installing via pacman in terminal and the dkms drivers installed. So things now work as I was expecting
Thanks again
2 Likes
Yeah, these type of things mixed with a bleeding edge distro that does not have those tools can be tricky due to how upstream works.
I am glad that you were able to fix this.
1 Like