April 8, 20224 yr Hi all I'm trying to passtrought my amd gpu to my vm but everytime i do it the vm freeze at boot and i can't see nothing. [AMD/ATI] Oland XT [Radeon HD 8670 / R5 340X OEM / R7 250/350/350X OEM] (rev 83) unraid-diagnostics-20220408-1444.zip
April 12, 20224 yr You need to passthrough all the components of the gpu, you didn't pass the audio portion: 0b:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Oland XT [Radeon HD 8670 / R5 340X OEM / R7 250/350/350X OEM] [1002:6610] (rev 83) Subsystem: Dell Radeon R5 340X OEM [1028:0083] Kernel modules: radeon, amdgpu 0b:00.1 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] Oland/Hainan/Cape Verde/Pitcairn HDMI Audio [Radeon HD 7000 Series] [1002:aab0] Subsystem: Dell Cape Verde/Pitcairn HDMI Audio [Radeon HD 7700/7800 Series] [1028:aab0] So: <hostdev mode='subsystem' type='pci' managed='yes' xvga='yes'> <driver name='vfio'/> <source> <address domain='0x0000' bus='0x0b' slot='0x00' function='0x0'/> </source> <rom file='/mnt/user/Downloads/192110.rom'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0' multifunction='on'/> </hostdev> <hostdev mode='subsystem' type='pci' managed='yes' xvga='yes'> <driver name='vfio'/> <source> <address domain='0x0000' bus='0x0b' slot='0x00' function='0x1'/> </source> <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x1'/> </hostdev> Make sure 192110.rom is a proper vbios for your gpu. You need to isolate the gpu, bind to vfio at boot iommu group 27.
April 14, 20224 yr Author You need to passthrough all the components of the gpu, you didn't pass the audio portion:0b:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Oland XT [Radeon HD 8670 / R5 340X OEM / R7 250/350/350X OEM] [1002:6610] (rev 83)Subsystem: Dell Radeon R5 340X OEM [1028:0083]Kernel modules: radeon, amdgpu0b:00.1 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] Oland/Hainan/Cape Verde/Pitcairn HDMI Audio [Radeon HD 7000 Series] [1002:aab0]Subsystem: Dell Cape Verde/Pitcairn HDMI Audio [Radeon HD 7700/7800 Series] [1028:aab0] So: mode='subsystem' type='pci' managed='yes' xvga='yes'> name='vfio'/> domain='0x0000' bus='0x0b' slot='0x00' function='0x0'/> file='/mnt/user/Downloads/192110.rom'/> type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0' multifunction='on'/> mode='subsystem' type='pci' managed='yes' xvga='yes'> name='vfio'/> domain='0x0000' bus='0x0b' slot='0x00' function='0x1'/> type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x1'/> Make sure 192110.rom is a proper vbios for your gpu. You need to isolate the gpu, bind to vfio at boot iommu group 27.Thx a lot i will try that Do you know if i should isolate cpu core also if so is there a specific setup or i can choose myself ? Envoyé de mon Pixel 5 en utilisant Tapatalk
April 15, 20224 yr 8 hours ago, francrouge said: Do you know if i should isolate cpu core also if so is there a specific setup or i can choose myself not needed to see if it works or not, you can optimize eventually later.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.