Hi
I've spent some time looking into this problem so would be grateful of any help!
I have a Dell Poweredge T430 running PVE 8.1. I have an AMD Instinct MI25 (Vega10) installed and configured for passthrough. The guest is Ubuntu 23.10. Trying to install (for example) Stable Diffusion. No matter what I do I keep getting the error:
Which prevents rocm from running.
I tried editing the pcie device in the conf file to enable atomics, but it doesn't like that.....
Which results in
and there being no gpu in the VM at all!
My CPUs support atomics, and the MI25 requires it. Atomics are working on the host just fine.
Any ideas? I have tried a few other things, but don't seem to be able to find any concrete info on this. Many thanks!
I've spent some time looking into this problem so would be grateful of any help!
I have a Dell Poweredge T430 running PVE 8.1. I have an AMD Instinct MI25 (Vega10) installed and configured for passthrough. The guest is Ubuntu 23.10. Trying to install (for example) Stable Diffusion. No matter what I do I keep getting the error:
Code:
john@ubuntutest:~$ sudo dmesg | grep atomic
[ 0.499676] DMA: preallocated 2048 KiB GFP_KERNEL pool for atomic allocations
[ 0.499949] DMA: preallocated 2048 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[ 0.500215] DMA: preallocated 2048 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[ 17.430475] amdgpu 0000:01:00.0: amdgpu: PCIE atomic ops is not supported
Which prevents rocm from running.
I tried editing the pcie device in the conf file to enable atomics, but it doesn't like that.....
Code:
balloon: 0
bios: ovmf
boot: order=scsi0
cores: 16
cpu: x86-64-v2-AES
efidisk0: zfs-local:200/vm-200-disk-0.qcow2,efitype=4m,pre-enrolled-keys=1,size=528K
hostpci0: 0000:04:00,pcie=1,atomic=1
machine: q35
memory: 16384
meta: creation-qemu=8.1.2,ctime=1700759584
name: Ubuntu2310rocm
net0: virtio=BC:24:11:FC:60:C5,bridge=vmbr0,firewall=1
numa: 0
ostype: l26
scsi0: LocalStorageZ:vm-200-disk-0,iothread=1,size=50G
scsihw: virtio-scsi-single
serial0: socket
smbios1: uuid=46780e1f-409b-4513-aba0-3dc8d70c8ba4
sockets: 1
vga: memory=64
vmgenid: c7f4565b-4f00-4b0d-a3c1-335f2a5c6cfb
Which results in
Code:
vm 200 - unable to parse value of 'hostpci0' - format error
atomic: property is not defined in schema and the schema does not allow additional properties
starting serial terminal on interface serial0
BdsDxe: loading Boot0004 "ubuntu" from HD(1,GPT,29436749-2657-4AAD-B865-1379970CC259,0x800,0x219800)/\EFI\ubuntu\shimx64.efi
and there being no gpu in the VM at all!
My CPUs support atomics, and the MI25 requires it. Atomics are working on the host just fine.
Any ideas? I have tried a few other things, but don't seem to be able to find any concrete info on this. Many thanks!
Last edited: