Oh boy here we go again !!!
Hello all,
Same as : here but this time the VM is a Linux (GPU is Nvidia)
GPU passthrough was working in 6.1 but not anymore in 6.2. I'm greeted with the error message "device does not support requested feature x-vga ".
And I can't boot without the x-vga otherwise inside the VM I can't use the GPU, nvidia-smi returns "Unable to determine the device handle for GPU ... : Unkown error"
Some logs/ouputs:
And the full error output I'm greeted with.
So goal is to understand what has changed between 6.1 and 6.2 and update the conf accordingly to make it work.
If anyone has any idea !
Hello all,
Same as : here but this time the VM is a Linux (GPU is Nvidia)
GPU passthrough was working in 6.1 but not anymore in 6.2. I'm greeted with the error message "device does not support requested feature x-vga ".
And I can't boot without the x-vga otherwise inside the VM I can't use the GPU, nvidia-smi returns "Unable to determine the device handle for GPU ... : Unkown error"
Some logs/ouputs:
Bash:
root@pve:~# cat /etc/modprobe.d/pve-blacklist.conf
blacklist nvidiafb
blacklist nouveau
Bash:
root@pve:~# cat /etc/pve/qemu-server/100.conf
agent: 1
bios: seabios
bootdisk: scsi0
cores: 1
hostpci0: 43:00,pcie=1,romfile=1050.bin,x-vga=1
machine: q35
memory: 1024
name: Emby
net0: virtio=52:2F:E2:C0:6B:D2,bridge=vmbr0,firewall=1
numa: 0
ostype: l26
scsi0: VM-OS:vm-100-disk-0,size=32G
scsihw: virtio-scsi-pci
smbios1: uuid=d974b174-48cb-4c54-aab4-64e14020723c
sockets: 1
unused0: VM-OS:vm-100-disk-1
vmgenid: b31f8de9-538e-4fa8-a3c4-baff2e017a3a
Bash:
root@pve:~# cat /etc/modprobe.d/vfio.conf
options vfio-pci ids=10de:1c81,10de:0fb9 disable_vga=1
Bash:
root@pve:~# lspci -nnk
43:00.0 VGA compatible controller [0300]: NVIDIA Corporation GP107 [GeForce GTX 1050] [10de:1c81] (rev a1)
Subsystem: Gigabyte Technology Co., Ltd GP107 [GeForce GTX 1050] [1458:3766]
Kernel driver in use: vfio-pci
Kernel modules: nvidiafb, nouveau
43:00.1 Audio device [0403]: NVIDIA Corporation GP107GL High Definition Audio Controller [10de:0fb9] (rev a1)
Subsystem: Gigabyte Technology Co., Ltd GP107GL High Definition Audio Controller [1458:3766]
Kernel driver in use: vfio-pci
Kernel modules: snd_hda_intel
And the full error output I'm greeted with.
Bash:
kvm: -device vfio-pci,host=0000:43:00.0,id=hostpci0.0,bus=ich9-pcie-port-1,addr=0x0.0,x-vga=on,multifunction=on,romfile=/usr/share/kvm/1050.bin: vfio 0000:43:00.0: failed getting region info for VGA region index 8: Invalid argument
device does not support requested feature x-vga
TASK ERROR: start failed: QEMU exited with code 1
So goal is to understand what has changed between 6.1 and 6.2 and update the conf accordingly to make it work.
If anyone has any idea !