My machine has an Intel CPU with an iGPU as well as a RX-580. I have the system configured to use the iGPU for the host and I have assigned the RX-580 to an Ubuntu VM using the TrueNAS Scale web UI.
Without the RX-580 assigned the VM boots and works flawlessly. Once I assign the GPU and boot the VM the system hangs 5 -15 seconds after the start button is pressed. If the VM is set to autostart you end up in an infinite boot loop.
Removing the assignment fixes the problem.
I am not sure where to start debugging this. I've included a screenshot of what the VNC console was displaying when the system crashed.
Hardware:
Without the RX-580 assigned the VM boots and works flawlessly. Once I assign the GPU and boot the VM the system hangs 5 -15 seconds after the start button is pressed. If the VM is set to autostart you end up in an infinite boot loop.
I am not sure where to start debugging this. I've included a screenshot of what the VNC console was displaying when the system crashed.
Hardware:
Code:
_,met$$$$$gg. root@truenas.local
,g$$$$$$$$$$$$$$$P. ------------------
,g$$P" """Y$$.". OS: Debian GNU/Linux 11 (bullseye) x86_64
,$$P' `$$$. Host: Z490 AORUS ELITE
',$$P ,ggs. `$$b: Kernel: 5.10.93+truenas
`d$$' ,$P"' . $$$ Uptime: 14 mins
$$P d$' , $$P Packages: 1440 (dpkg)
$$: $$. - ,d$$' Shell: zsh 5.8
$$; Y$b._ _,d$P' Terminal: /dev/pts/0
Y$$. `.`"Y$$$$P"' CPU: 11th Gen Intel i5-11400 (12) @ 4.400GHz
`$$b "-.__ GPU: AMD ATI Radeon RX 470/480/570/570X/580/580X/590
`Y$$ GPU: Intel Device 4c8b
`Y$$. Memory: 2732MiB / 39936MiB
`$$b.
`Y$$b.
`"Y$b._
`"""