Howdy,
Have been trying to find a solution to this for over a month (on and off) - Hoping someone can point me in the right direction.
I have my proxmox host setup with one VM that is a dedicated game machine for my partner.
The system is:
- Gigabyte B550 AORUS Elite V2
- RYZEN 5950x
- 5900XT
It has been working flawlessly for some time. However, I now want to add a 1050 to the system just to share amongst other VMs for acceleration on the desktop and things like PLEX - To whatever extent that is possible.
The problem is, when I add the gpu to the host machine it gets recognized but its existence breaks the game VM. It will start in proxmox without error but isn't connecting to the network so presumably it fails to boot successfully. If I change vm settings for the display so it shows in VNC, it is just a black screen.
Using `lspci -v` I can see that the 5700 xt id gets changed from 07:00 to 08:00, this is because the new card gets added into 04:00.
I update the game conf to reflect this and it makes no difference.
Game VM Config
	
	
	
		
Grub (has this added)
	
	
	
		
Blacklist
	
	
	
		
Modules (/etc/modules)
	
	
	
		
Other checks
- 5700xt is added to vfio.conf
- Am using https://github.com/gnif/vendor-reset
Any help would be greatly appreciated
				
			Have been trying to find a solution to this for over a month (on and off) - Hoping someone can point me in the right direction.
I have my proxmox host setup with one VM that is a dedicated game machine for my partner.
The system is:
- Gigabyte B550 AORUS Elite V2
- RYZEN 5950x
- 5900XT
It has been working flawlessly for some time. However, I now want to add a 1050 to the system just to share amongst other VMs for acceleration on the desktop and things like PLEX - To whatever extent that is possible.
The problem is, when I add the gpu to the host machine it gets recognized but its existence breaks the game VM. It will start in proxmox without error but isn't connecting to the network so presumably it fails to boot successfully. If I change vm settings for the display so it shows in VNC, it is just a black screen.
Using `lspci -v` I can see that the 5700 xt id gets changed from 07:00 to 08:00, this is because the new card gets added into 04:00.
I update the game conf to reflect this and it makes no difference.
Game VM Config
		Code:
	
	args: -cpu 'host,-hypervisor,+kvm_pv_unhalt,+kvm_pv_eoi,hv_spinlocks=0x1fff,hv_vapic,hv_tim>balloon: 0
bios: ovmf
boot: order=scsi0;net0
cores: 6
cpu: host,hidden=1
efidisk0: local-lvm:vm-600-disk-0,efitype=4m,pre-enrolled-keys=1,size=4M
hostpci0: 0000:07:00,pcie=1,romfile=5700xt.bin,x-vga=1
machine: pc-q35-7.2
memory: 12288
meta: creation-qemu=7.2.0,ctime=1680302718
name: game-vm
net0: virtio=C6:68:7A:32:8D:FE,bridge=vmbr0
numa: 0
ostype: win11
scsi0: local-lvm:vm-600-disk-1,cache=writeback,iothread=1,replicate=0,size=512G,ssd=1
scsihw: virtio-scsi-single
smbios1: uuid=ddb7af44-574b-4de3-b0a1-f00b8a012e6b
sockets: 1
tpmstate0: local-lvm:vm-600-disk-2,size=4M,version=v2.0
vmgenid: dcabdc61-59c5-4970-8b02-fdf239b09879Grub (has this added)
		Code:
	
	GRUB_CMDLINE_LINUX_DEFAULT="quiet amd_iommu=on iommu=pt initcall_blacklist=sysfb_init"
GRUB_CMDLINE_LINUX=""Blacklist
		Code:
	
	blacklist radeon
blacklist amdgpuModules (/etc/modules)
		Code:
	
	vendor-reset
vfio
vfio_iommu_type1
vfio_pci
vfio_virqfdOther checks
- 5700xt is added to vfio.conf
- Am using https://github.com/gnif/vendor-reset
Any help would be greatly appreciated

 
	 
	