This is an automated archive made by the Lemmit Bot.
The original was posted on /r/unraid by /u/dcchillin46 on 2023-09-26 14:15:05.
I’m new. I’ve managed to get most things up and running but for the life of me I cannot get a vm to work. I have bought new hardware, tried every setting, posted multiple times on the sub and forums. I’ve run out of ideas and google things to try.
I built this pc just a few weeks ago: 12700k, z690, 32gb ram, rx580, 750w psu. Updated unraid from 6.12.2 to 6.12.4. Iommu and vtd emabled, Updated bios, tried newest gpu drivers, multiple vbios. In vm creation I have tried every setting. All the old q35 and 1440fx. Vnc, spice, gpu as primary and secondary. I even borrowed a 1070 from a buddy and got the same results. Tried both w10 and w11. I can run a 5min stress test through radeon, but as soon as I start a 3dmark run it locks up the system. I haven’t been able to get a game to launch either.
Every time I add the gpu I’ve passed to vfio it gets repeating error on startup and continues until shutdown:
2023-09-14T23:41:25.917890Z qemu-system-x86_64: vfio_dma_map(0x14e477e5e600, 0x381000000000, 0x200000000, 0x14e26ec00000) = -22 (Invalid argument)
2023-09-14T23:41:25.918364Z qemu-system-x86_64: VFIO_MAP_DMA failed: Invalid argument
2023-09-14T23:41:25.918371Z qemu-system-x86_64: vfio_dma_map(0x14e477e5e600, 0x381200000000, 0x200000, 0x14e26d800000) = -22 (Invalid argument)
2023-09-14T23:41:25.982628Z qemu-system-x86_64: VFIO_MAP_DMA failed: Invalid argument
From what I’ve read I’m pretty sure it’s unable to map the gpu memory. I’ve read 6.11.5 fixes it for some, but I started in 6.12 so I hesitate to downgrade. Also I know people are running windows vm in 6.12, so idk why mine refuses to work? Others have suggested changing qemu, but I have no idea how to do that?
Is it possible to do a clean unraid install? Maybe save my jellyfin settings, dump the rest, and start fresh?
It’s gotten to the point where I’m willing to pay someone to fix this. It is driving me crazy, I’ve put significant money and time (hours a night for weeks) into an unraid server and can’t get one of the main features, a vm, to function. I feel like I’m going crazy.
If you need any more information please let me know and I’ll provide what I can.
Edit:
Most recent xml:
Unraid config:
my most recent log:
Things I’ve tried since making this post:
- Remove iso, ensure vdisk as boot 1
- multifunction, gpu/audio same device (xml edit)
- remove gpu from vfio, reboot, add to vm, run msi tool