tophat17 Posted February 18 Share Posted February 18 Hello Everyone, I just built myself a new server with the hope of doing a GPU passthrough to a windows VM to stream games remotely. Unfortunately I have run into an issue and can not, no matter how hard I try get the passthrough working. My system specs are: R9 5950x, RX 6800XT (pcie slot 1) GTX 1050ti (pcie slot 2) Gigabyte B450 AORUS PRO WIFI, I am able to spin up a VM when using noVNC, no problem; I can get into windows. HMV and IOMMU is enabled. I have tiered booting my bios with in Legacy and UEFI mode, no different, wont work either way. What baffles me is Im able to boot into the Windows VM when I passthrough the card, I can see on the unraid dashboard that the card is though put is enabled. In the XPM config file, same thing, I configured the GPU with its auto and video device on the same bus and enabled multifunction on the card. --- <hostdev mode='subsystem' type='pci' managed='yes'> <driver name='vfio'/> <source> <address domain='0x0000' bus='0x0a' slot='0x00' function='0x0'/> </source> <alias name='hostdev0'/> <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='0x0a' slot='0x00' function='0x1'/> </source> <alias name='hostdev1'/> <address type='pci' domain='0x0000' bus='0x04' slot='0x00' function='0x1'/> </hostdev> <memballoon model='none'/> </devices> <seclabel type='dynamic' model='dac' relabel='yes'> ---- And to put the cherry on the top of this confusion cake, I'm able to boot into the windows VM, no errors are being thrown at me when I start the VM and remote into it with TeamViewer. But, when I open the VM device manger, the GPU is suspectedly missing. At this point, frankly, I am confused beyond belief and I think I have tired every single combination under the sun to get the GPU passed though, no dice. Obviously something is set incorrectly. Id really appreciate a second opinion because im coming up on 8 hours of troubleshooting ad haven't made any headway. I have tired with an without the vBios, Iv tired a Linux VM and Windows VM, iv tired UEFI and Legacy boot modes, enabling unsafe interrupts, PCIE overrides, and cant get the card to show up on the VM. If anybody out there had any ideas for what else I could try, please throw me a line. Going into this project I thought it was going to be much more simple then the issues I am facing now. Thanks. Quote Link to comment
tophat17 Posted February 18 Author Share Posted February 18 Update: I attempted to pass though my GTX 1050TI and the issue is the same as the 6800xt. I can set the passthrough in the unraid VM configurator template, boot up the VM, and see in the VM that no GPU is being passed through. I suspect I have a general configuration error, rather then a GPU issue. If anyone has any ideas on how to solve this issue, please let me know, any help is appreciated. Quote Link to comment
tophat17 Posted March 3 Author Share Posted March 3 The issue is ongoing, if anyone has any ideas, please reach out. Quote Link to comment
SimonF Posted March 3 Share Posted March 3 1 hour ago, tophat17 said: The issue is ongoing, if anyone has any ideas, please reach out. attach Diagnostics when the VM is started. Quote Link to comment
tophat17 Posted March 5 Author Share Posted March 5 On 3/3/2024 at 1:23 AM, SimonF said: attach Diagnostics when the VM is started. Hey @SimonF Thanks for the response. Please see the logs attached. I setup the Card to be used in the VM, its bound at boot, all VM and PCIE passthrough settings are enabled and still no dice. Please let me know if you have any thoughts; I am out of ideas. gpn-server-diagnostics-20240304-1959.zip Quote Link to comment
Solution tophat17 Posted March 6 Author Solution Share Posted March 6 Okay, we're making progress. I found part of the solution by trail by fire. I found that because I have an Nvidia and AMD GPU in the same system, I was getting a strange driver error. Before I had "Latest" pre-selected as my branch. After changing it to production, the card shows up in Unraid, but with the error 43. Can you recommend how to fix this issue? Thanks. gpn-server-diagnostics-20240305-2152.zip 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.