francrouge Posted April 8, 2022 Share Posted April 8, 2022 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 Quote Link to comment
ghost82 Posted April 12, 2022 Share Posted April 12, 2022 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. 1 Quote Link to comment
francrouge Posted April 14, 2022 Author Share Posted April 14, 2022 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 Quote Link to comment
ghost82 Posted April 15, 2022 Share Posted April 15, 2022 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. Quote Link to comment
Recommended Posts
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.