Yes, I reconfigured the VM as q35 with vIOMMU = Intel, it didn't even boot up and gave a console error of "guest has not initialized the display (yet)"
Yes, I reconfigured the VM as q35 with vIOMMU = Intel, it didn't even boot up and gave a console error of "guest has not initialized the display (yet)"
So, it did boot up then? What is its status after a while: running or stopped?It gives no error, that's the strange part, when entering the console I just get the message "guest has not initialized the display (yet)""
When I try to log into home assistant, I just get the error Connection lost. Reconnecting…,
vIOMMU=Default(none)
, Display=Standard VGA
, PCI Passthrough=ALL Functions enabled, and Primary GPU disabled
System Log
of the Proxmox machine to see, if there is something helpful.Ok, I got it working after a few hours of messing around. I gave up and installed a new and clean VM. installed the nvidia 535 drivers manually using apt. And voila, its working.
After fiddeling around with my AMD 6650XT GPU, I got it working rather well. But I wanted more. I bought an Nvidia 4070. swapped it. Network card doesn't work anymore. OMFG. I got that fixed. Now the passthrough of the 4070 does not work, I assume. I can see the card using lspci in the guest. NVidia drivers are installed.
nvidia-smi
NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.
Now what? I added the gpu raw also tried to map it, both same result.
The guest:
agent: 1
balloon: 2048
bios: ovmf
boot: order=scsi0;ide2;net0
cores: 6
cpu: host
efidisk0: LVM-Thin-Local:vm-104-disk-0,efitype=4m,pre-enrolled-keys=1,size=4M
hostpci0: mapping=RTX4070,pcie=1
ide2: local:iso/ubuntu-24.04.1-live-server-amd64.iso,media=cdrom,size=2708862K
machine: q35
memory: 24576
meta: creation-qemu=9.0.2,ctime=1734616326
name: ollama
net0: virtio=BC:24:11:51:CE:EA,bridge=vmbr0,firewall=1
numa: 0
ostype: l26
parent: working_before_rocm
scsi0: LVM-Thin-Local:vm-104-disk-1,discard=on,iothread=1,size=128G
scsihw: virtio-scsi-single
smbios1: uuid=6f37a799-0309-4073-99b3-6111a85f8e87
sockets: 1
vmgenid: 90a39d27-a595-4f4d-8f26-1dad89b47c32
From the guest:
lspci | grep VGA
00:01.0 VGA compatible controller: Device 1234:1111 (rev 02)
01:00.0 VGA compatible controller: NVIDIA Corporation AD104 [GeForce RTX 4070] (rev a1)
agent: 1
bios: ovmf
boot: order=scsi1;ide2
cores: 6
cpu: host
efidisk0: vm_lxc_storage:vm-1004-disk-0,efitype=4m,size=4M
hostpci0: mapping=rx570,pcie=1
ide2: none,media=cdrom
machine: q35
memory: 16384
meta: creation-qemu=9.0.2,ctime=1737725644
name: Manjaro24
net0: virtio=BC:24:11:51:EB:31,bridge=vmbr0,firewall=1
numa: 0
ostype: l26
scsi1: /dev/disk/by-id/usb-Samsung_SSD_850_EVO_500G_462104130242-0:0,size=488386584K
scsihw: virtio-scsi-single
smbios1: uuid=ba225535-e240-4873-87df-62bcb942bb59
sockets: 1
usb0: host=1-4.4
usb1: host=1-4.3
vga: none
vmgenid: 2169b721-a5fa-47ae-8566-f88550bc1301
error writing '1' to '/sys/bus/pci/devices/0000:c6:00.0/reset': Inappropriate ioctl for device
failed to reset PCI device '0000:c6:00.0', but trying to continue as not all devices need a reset
TASK ERROR: timeout waiting on systemd
GRUB_CMDLINE_LINUX_DEFAULT="quiet amd_iommu=on iommu=pt"
root=ZFS=rpool/ROOT/pve-1 boot=zfs quiet amd_iommu=on iommu=pt
vfio
vfio_iommu_type1
vfio_pci
vfio_virqfd
vendor-reset
AMD-Vi: Interrupt remapping enabled
[57709.971750] vfio-pci 0000:01:00.0: AMD_POLARIS10: version 1.1
[57709.971755] vfio-pci 0000:01:00.0: AMD_POLARIS10: performing pre-reset
[57709.971881] vfio-pci 0000:01:00.0: AMD_POLARIS10: performing reset
[57709.971885] vfio-pci 0000:01:00.0: AMD_POLARIS10: CLOCK_CNTL: 0x0, PC: 0x2055c
[57709.971889] vfio-pci 0000:01:00.0: AMD_POLARIS10: Performing BACO reset
[57710.147491] vfio-pci 0000:01:00.0: AMD_POLARIS10: performing post-reset
[57710.171814] vfio-pci 0000:01:00.0: AMD_POLARIS10: reset result = 0
We use essential cookies to make this site work, and optional cookies to enhance your experience.