[SOLVED] [Issue] GPU Passthrough not working since Proxmox 8.4.1: vfio does not load

Larnal

New Member
Nov 11, 2024
3
0
1
Hi there,

I was using GPU passthrough for my VM using a Nvidia RTX 2080 Ti and it worked perfectly. I set my config following one of the many guide, like this one : https://forum.proxmox.com/threads/p...x-ve-8-installation-and-configuration.130218/

Since I updated my server to Proxmox 8.4.1, it doesn't work anymore.
lsmod | grep vfio returns nothing.

Bash:
$ lsmod | grep vfio
$
$ dmesg | grep vfio
$

My config:
Bash:
$ cat /etc/modules
# /etc/modules: kernel modules to load at boot time.
#
# This file contains the names of kernel modules that should be loaded
# at boot time, one per line. Lines beginning with "#" are ignored.
# Parameters can be specified after the module name.
vfio
vfio_iommu_type1
vfio_pci
# vfio_virqfd
# nvidia
# nvidia_uvm

# Generated by sensors-detect on Fri Feb 28 22:53:25 2025
# Chip drivers
coretemp
nct6775
$

Bash:
$ cat /etc/kernel/cmdline
root=ZFS=rpool/ROOT/pve-1 boot=zfs quiet intel_iommu=on iommu=pt
$

Bash:
$ cat /etc/modprobe.d/blacklist.conf
blacklist nouveau
blacklist nvidia
blacklist nvidiafb
blacklist nvidia_drm
$

Bash:
$ cat /etc/modprobe.d/kvm.conf
options kvm ignore_msrs=1 report_ignored_msrs=0
$

Bash:
$ cat /etc/modprobe.d/vfio.conf
options vfio-pci ids=10de:1e07,10de:10f7 disable_vga=1
# softdep nouveau pre: vfio-pci
# softdep nvidia pre: vfio-pci
# softdep nvidia-gpu pre: vfio-pci
# softdep nvidiafb pre: vfio-pci
# softdep nvidia_drm pre: vfio-pci
# softdep drm pre: vfio-pci
# options vfio-pci ids=10de:1e07,10de:10f7
$

I could use your help !
 
Last edited:
SOLVED :
It was simply an error in the configuration:
vfio modules were loaded in /etc/modules but nvidia modules were loaded in etc/modules-load.d/nvidia.conf, conflicting.
I simply removed the nvidia.conf and moved vfio lines from /etc/modules to /etc/modules-load.d/vfio.conf