digidep Posted December 11, 2020 Share Posted December 11, 2020 I have watched all of Spaceinvaders on this topic, but not able to get this to work with my Win10 VM. Only been running Unraid for a month or so, so please be gentle. I just don't get output to the monitor after starting the VM. I'm guessing I'm missing something stupid. I have manually made the recommended changes in the VM XML (red below) that are suggested for GPU passthrough, keeping it on the same bus and making it multi-function device. <hostdev mode='subsystem' type='pci' managed='yes'> <driver name='vfio'/> <source> <address domain='0x0000' bus='0x01' slot='0x00' function='0x0'/> </source> <rom file='/mnt/cache/domains/vbios/Sapphire.RX580.8192.180719.rom'/> <address type='pci' domain='0x0000' bus='0x04' slot='0x00' function='0x0' multifunction='on'/> </hostdev> <hostdev mode='subsystem' type='pci' managed='yes'> <driver name='vfio'/> <source> <address domain='0x0000' bus='0x01' slot='0x00' function='0x1'/> </source> <address type='pci' domain='0x0000' bus='0x04' slot='0x00' function='0x1'/> </hostdev> Interestingly, I am able to have it work with a MacOS VM. Quote Link to comment
digidep Posted December 11, 2020 Author Share Posted December 11, 2020 One more bit of information, I'm unable to remote desktop into the computer when I have the GPU set to pass through. When using VNC, RDP works fine. Seems like it is having a problem on boot. Quote Link to comment
digidep Posted December 17, 2020 Author Share Posted December 17, 2020 anyone have any ideas on how I can troubleshoot this or what I'm doing wrong? Quote Link to comment
SPOautos Posted March 2, 2021 Share Posted March 2, 2021 On 12/11/2020 at 9:14 AM, digidep said: I have watched all of Spaceinvaders on this topic, but not able to get this to work with my Win10 VM. Only been running Unraid for a month or so, so please be gentle. I just don't get output to the monitor after starting the VM. I'm guessing I'm missing something stupid. I have manually made the recommended changes in the VM XML (red below) that are suggested for GPU passthrough, keeping it on the same bus and making it multi-function device. <hostdev mode='subsystem' type='pci' managed='yes'> <driver name='vfio'/> <source> <address domain='0x0000' bus='0x01' slot='0x00' function='0x0'/> </source> <rom file='/mnt/cache/domains/vbios/Sapphire.RX580.8192.180719.rom'/> <address type='pci' domain='0x0000' bus='0x04' slot='0x00' function='0x0' multifunction='on'/> </hostdev> <hostdev mode='subsystem' type='pci' managed='yes'> <driver name='vfio'/> <source> <address domain='0x0000' bus='0x01' slot='0x00' function='0x1'/> </source> <address type='pci' domain='0x0000' bus='0x04' slot='0x00' function='0x1'/> </hostdev> Interestingly, I am able to have it work with a MacOS VM. Were you ever able to get your RX580 passed through? Quote Link to comment
digidep Posted March 2, 2021 Author Share Posted March 2, 2021 1 hour ago, SPOautos said: Were you ever able to get your RX580 passed through? No, I haven't with Windows. Only with my MacOS. I haven't offered @SpaceInvaderOne a couple of cases of beer yet. I'm hoping that maybe Unraid 6.9 makes this easier, but not brave enough to try any beta. Quote Link to comment
digidep Posted March 2, 2021 Author Share Posted March 2, 2021 And as I post, they release GA of 6.9. Going to try tomorrow as see if it works any better. Quote Link to comment
SPOautos Posted March 2, 2021 Share Posted March 2, 2021 10 minutes ago, digidep said: And as I post, they release GA of 6.9. Going to try tomorrow as see if it works any better. I'm sure every system is different but I am not much of a computer person and I updated from 6.8.3 to 6.9rc2 without any issues. I made a backup of my boot drive and updated all my apps and plugins. After it finished updating, I turned the server off and back on....everything is working just fine. If you figure out RX580 please update this thread....I dont have much time to get it worked out but if I do get it figured out, I'll post here and tell you what worked. Quote Link to comment
lnxd Posted March 25, 2021 Share Posted March 25, 2021 (edited) On 3/2/2021 at 2:16 PM, SPOautos said: If you figure out RX580 please update this thread....I dont have much time to get it worked out but if I do get it figured out, I'll post here and tell you what worked. I'm just spying on you now @SPOautos because I was trying to see if you had a recent diagnostics file posted somewhere 😂. The RX 580 is a great card for eth mining by the way, I get 28-28.5 MH/s on mine. Just in case anyone is still having trouble: As I'm sure you both know the RX 580 is plagued by the vendor reset bug, so even if you manage to get it going, without the vendor reset patch applied it won't be pretty with most OS. I managed to get mine passed through to Windows 10 without a custom Unraid kernel with only occasional restarts, but once I started mining on it in a Windows VM it would cause the whole Unraid host to hang after a few minutes of heavy workload. I managed to get mine passed through with basically the same xml as what's in OP. Once I was on a kernel with the vendor reset patch applied I was only getting a black screen as well. I had to change to legacy boot mode and use SEABIOS to get it working. This usually involves creating a VM from scratch as it's not default, but you can use the existing vdisk if you have one. Edited March 25, 2021 by lnxd Quote Link to comment
SPOautos Posted March 25, 2021 Share Posted March 25, 2021 5 hours ago, lnxd said: I'm just spying on you now @SPOautos because I was trying to see if you had a recent diagnostics file posted somewhere 😂. The RX 580 is a great card for eth mining by the way, I get 28-28.5 MH/s on mine. Just in case anyone is still having trouble: As I'm sure you both know the RX 580 is plagued by the vendor reset bug, so even if you manage to get it going, without the vendor reset patch applied it won't be pretty with most OS. I managed to get mine passed through to Windows 10 without a custom Unraid kernel with only occasional restarts, but once I started mining on it in a Windows VM it would cause the whole Unraid host to hang after a few minutes of heavy workload. I managed to get mine passed through with basically the same xml as what's in OP. Once I was on a kernel with the vendor reset patch applied I was only getting a black screen as well. I had to change to legacy boot mode and use SEABIOS to get it working. This usually involves creating a VM from scratch as it's not default, but you can use the existing vdisk if you have one. I was able to get Win 10 going with me RX580 but it became flakey and at some point crashed and I was never really able to get it going again. I just decided it wasn't stable enough for me to care about, I didnt really need Win 10 on this machine so just stopped messing with it. However since my card is just sitting there I did decide to look into mining and am working on getting your app setup and figured out. I'll probably put in a second card that has hdmi for my tv and is easy to pass through and just use this one for mining. 1 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.