Hello, i have been trying to get prime offloading working on my system unsuccessfully for a few days now. I own both a GTX 1070 and a RTX 3080, they are both installed in the system and when i run nvidia-smi they both show up fine. I am on Fedora 42 with a X11 based DE
My main monitor is a CRT and requires an interlaced output to get a high refresh rate, something the 30 series cards is not capable of. My plan was to have the 1070 run everything, and then prime offload my games to the 3080. I had this working very briefly but it suddenly stopped working and I can’t for the life of me find out why.
Xrandr only lists a single provider, that being whichever one is running X. When i try to prime offload to the 3080 from the 1070 or vice versa it just boots the program on whichever GPU has the monitors plugged in. I’ve tried tons of different xorg.conf setups and reinstalling nvidia drivers, but almost all the documentation i can find is only about a iGpu + dGpu setup, i’ve tried everything I could find on the internet about it.
I would think it’s simply not possible but I had it working a few days ago.
I have both cards showing as providers again by reinstalling my nvidia drivers generating a new xorg config through nvidia-settings,
Providers: number : 2
Provider 0: id: 0x1b7 cap: 0x1, Source Output crtcs: 4 outputs: 7 associated providers: 1 name:NVIDIA-0
Provider 1: id: 0x3b4 cap: 0x2, Sink Output crtcs: 4 outputs: 8 associated providers: 1 name:NVIDIA-G0
and if i run glxgears or a native game with __NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia then it shows it’s properly offloading through nvidia-smi, but I cannot get anything to offload under proton at all.
Still trying to figure this out
I have vkcube working as well by running
__NV_PRIME_RENDER_OFFLOAD=1 __VK_LAYER_NV_optimus=NVIDIA_only vkcube --gpu_number 1
From what I can gather It seems the issue is that when trying to load something through proton, it’s always using the GPU that xorg is running on. Perhaps this is a rather a proton issue.
You say you are on f42 using X11.
Are you aware that f43 workstation has totally dropped X11, and that most spins will do the same soon?
Are you also aware that f42 is due to become EOL with no further support when f44 is released in about 2 months?
I am not sure why you are sticking with X11 at this late date, but soon you will be forced to give it up since X11 is rapidly becoming an artifact of software history.
Additionally, with the release of f44 the nvidia driver is expected to become version 590 and replace the current 580 version. With that change the 1070 GPU you have will not be supported on the 590 driver.
I was not aware of these things, no. I have been using xfce for a rather long time now, wayland was too unstable for me the last time i’ve tried it. That was a while ago however, and I have not been keeping up with it’s development so I’ll have to give it another go now that it’s had some time to mature. Thank you.
1 Like
Nvidia’s 580.xx branch will become the new legacy GPU branch once 595 or 600 is released as the new production branch version.
You can find 580.126.09 packaged by rpmfusion as the new legacy 580xx branch
$ dnf rq --repo rpmfusion-nonfree-updates-testing '*nvidia*'
Updating and loading repositories:
Repositories loaded.
akmod-nvidia-580xx-3:580.126.09-3.fc43.x86_64
kmod-nvidia-580xx-3:580.126.09-3.fc43.x86_64
nvidia-modprobe-3:580.126.09-1.fc43.x86_64
nvidia-persistenced-3:580.126.09-1.fc43.x86_64
nvidia-settings-580xx-3:580.126.09-1.fc43.x86_64
xorg-x11-drv-nvidia-580xx-3:580.126.09-2.fc43.1.x86_64
xorg-x11-drv-nvidia-580xx-cuda-3:580.126.09-2.fc43.1.x86_64
xorg-x11-drv-nvidia-580xx-cuda-libs-3:580.126.09-2.fc43.1.i686
xorg-x11-drv-nvidia-580xx-cuda-libs-3:580.126.09-2.fc43.1.x86_64
xorg-x11-drv-nvidia-580xx-devel-3:580.126.09-2.fc43.1.i686
xorg-x11-drv-nvidia-580xx-devel-3:580.126.09-2.fc43.1.x86_64
xorg-x11-drv-nvidia-580xx-kmodsrc-3:580.126.09-2.fc43.1.x86_64
xorg-x11-drv-nvidia-580xx-libs-3:580.126.09-2.fc43.1.i686
xorg-x11-drv-nvidia-580xx-libs-3:580.126.09-2.fc43.1.x86_64
xorg-x11-drv-nvidia-580xx-power-3:580.126.09-2.fc43.1.x86_64
xorg-x11-drv-nvidia-580xx-xorg-libs-3:580.126.09-2.fc43.1.x86_64
595 and newer do not support the GTX 1070.
I must say this is an unusual setup (CRT in interlace mode? ) .
1 Like
I think this is what was expected, and like the other legacy drivers, once that version (580xx) is installed the system will not try to install the newer 590+ drivers.
Thankfully my laptop has a 1650 GPU so the newer driver still supports it.