You are not logged in.

#1 2025-01-15 02:27:39

jumperfox
Member
Registered: 2025-01-13
Posts: 12

Two nvidia gpu - quickpassthrough worked but host gpu loads no drivers

I am using nvidia-open drivers on my arch host, with a 3060ti for arch and a gtx 1080 for my passthrough. Passthrough works and I was able to see my vm using the 1080, but now arch is stuck with a basic video driver, nvidia-smi does not see any drivers.

running lspci -v i see both gpu's but theyve been assigned nouveau drivers.

0000:02:00.0 VGA compatible controller: NVIDIA Corporation GA104 [GeForce RTX 3060 Ti] (rev a1) (prog-if 00 [VGA controller])
        Subsystem: NVIDIA Corporation Device 147a
        Flags: bus master, fast devsel, latency 0, IRQ 10, NUMA node 0, IOMMU group 28
        Memory at 91000000 (32-bit, non-prefetchable) [size=16M]
        Memory at 70000000 (64-bit, prefetchable) [size=256M]
        Memory at 80000000 (64-bit, prefetchable) [size=32M]
        I/O ports at 2000 [size=128]
        Expansion ROM at 000c0000 [disabled] [size=128K]
        Capabilities: <access denied>
        Kernel modules: nouveau

0000:bd:00.0 VGA compatible controller: NVIDIA Corporation GP104 [GeForce GTX 1080] (rev a1) (prog-if 00 [VGA controller])
        Subsystem: NVIDIA Corporation Device 119e
        Flags: bus master, fast devsel, latency 0, IRQ 71, NUMA node 0, IOMMU group 3
        Memory at fa000000 (32-bit, non-prefetchable) [size=16M]
        Memory at 3803e0000000 (64-bit, prefetchable) [size=256M]
        Memory at 3803f0000000 (64-bit, prefetchable) [size=32M]
        I/O ports at f000 [size=128]
        Expansion ROM at fb000000 [disabled] [size=512K]
        Capabilities: <access denied>
        Kernel driver in use: vfio-pci
        Kernel modules: nouveau

I used the quickpassthrough 2.0 method, and in my modprobe I even tried to disable nouveau.

options vfio_pci ids=10de:10f0,10de:1b80 disable_vga=1

# Make sure vfio_pci is loaded before these modules: nvidia, nouveau, amdgpu and radeon
softdep nvidia pre: vfio vfio_pci
#softdep nouveau pre: vfio vfio_pci
softdep amdgpu pre: vfio vfio_pci
softdep radeon pre: vfio vfio_pci

(I ran mkinitcpio -p linux after and after a reboot there was no change. the nouveau kernel modules still load for both 3060 and 1080.

Offline

#2 2025-01-15 04:17:34

jumperfox
Member
Registered: 2025-01-13
Posts: 12

Re: Two nvidia gpu - quickpassthrough worked but host gpu loads no drivers

Issue resolved. Here are some posts I found that were close to what I think the issue was:

https://www.reddit.com/r/archlinux/comm … u_to_vfio/
https://www.reddit.com/r/VFIO/comments/ … _with_gpu/

But in reality, what happened to me was that quickpassthrough compiled initramfs and grub using the lts kernel, which was not the one I want to be using. I recently installed it but didnt intend my system to switch to it.

Offline

#3 2025-01-15 05:15:09

cryptearth
Member
Registered: 2024-02-03
Posts: 2,137

Re: Two nvidia gpu - quickpassthrough worked but host gpu loads no drivers

thank you for reply back with proper feedback so others have a point to look out for
how about raising an issue? https://github.com/HikariKnight/quickpassthrough/issues

Online

#4 2025-01-15 14:46:56

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,510

Re: Two nvidia gpu - quickpassthrough worked but host gpu loads no drivers

Also please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.

Offline

Board footer

Powered by FluxBB