dopeytree Posted January 11, 2023 Share Posted January 11, 2023 (edited) GPU passthough is much easier than made out. You don't need to do any of the stuff in videos.. Set up the VM with software VNC. Load the VM. Click to open VNC in web browser. Install windows etc. Set up windows user. Close VM. Then Go to top menu choose unraid -> tool system -> devices scroll down and tick the NVIDIA GPU or AMD GPU & its soundcard. Reboot unraid. Edit VM. Add 2nd graphics card choose your AMD or Nvidia device. Add sound card choose your AMD or Nvidia device. Apply. Start VM. It should automatically install basic drivers for the card. Now go to amd or nvidia websites and download the drivers for your card. Run the installer for your card. Reboot VM. Now you have a gaming VM. Enjoy. 12 hours ago, RaidUnnewb said: Jesus, this took me a couple hours to troubleshoot.... I couldn't figure out what you were talking about by adding a second video card. Theres a tiny easily missed plus button to add more cards in the VM settings: Edited April 24 by dopeytree Added screenshot 3 Quote Link to comment
JonathanM Posted January 11, 2023 Share Posted January 11, 2023 Care to share for the rest of the class? Your font choice is not readable on the light theme. Quote Link to comment
dopeytree Posted January 11, 2023 Author Share Posted January 11, 2023 (edited) Apologies for that. I didn't know one could select a font or colour. I'm writing in the dark theme This should be auto changing with the users theme selection - I don't have access to that code. Edited January 11, 2023 by dopeytree Quote Link to comment
dopeytree Posted January 11, 2023 Author Share Posted January 11, 2023 Colour is set to automatic... Quote Link to comment
rawb Posted March 26, 2023 Share Posted March 26, 2023 Thank you for the guide up and running great with my 1070.. question.. are your gpu fans spinning? As mine are not and I'm worried. Quote Link to comment
dopeytree Posted March 26, 2023 Author Share Posted March 26, 2023 You can see the fan speed with the gpu monitor plugin. My fan has a default fan speed of 30% on all the time. I gave it some new paste on the heatsink so the temp only really jumps to 55*c when under a heavy load (gaming etc) the fan might go up to 50% Quote Link to comment
ThytanX Posted March 30, 2023 Share Posted March 30, 2023 Hello @dopeytree First of all: nice tutorial! It works for me with a 1060. I was struggling with ticking my in GPU Tools -> System Devices. In my BIOS IOMMU was not enabled. After enabling it, I could tick my GPU in System Devices and everything seems to work flawless so far. Quote Link to comment
exxis Posted April 5, 2023 Share Posted April 5, 2023 (edited) did the steps however didn't work without a vbios selected I get following error internal error: Unknown PCI header type '127' for device '0000:0c:00.0' So it doesn't even boot Edited April 5, 2023 by exxis Quote Link to comment
Avsynthe Posted May 10, 2023 Share Posted May 10, 2023 Will this work the same way for iGPU passthrough as well? Quote Link to comment
mv_dev Posted May 18, 2023 Share Posted May 18, 2023 Hi, I have a RX 6750 XT that I bought for vm gpu passtrough. But it didn’t work: I tried “multifunction” in the XML, YouTube tutorial and any AMD driver. When I start the vm and arrive at the Windows desktop 2/3 minutes and the whole server crash. Can anyone help? Quote Link to comment
mv_dev Posted June 19, 2023 Share Posted June 19, 2023 Diagnostic mv-diagnostics-20230619-1653.zip Quote Link to comment
buddylee7 Posted July 1, 2023 Share Posted July 1, 2023 Understanding you can create a gaming VM but how are you viewing the VM's desktop? Through an output display port or through some kind of accelerated virtual window (aka: VNC). I know there are various apps out there that can accomplish this but curious what would be a good solution. Quote Link to comment
dopeytree Posted July 1, 2023 Author Share Posted July 1, 2023 (edited) If you follow this method you have both options available. Depends how many PCs you have available I guess. For me I have a mac laptop. If you right click the VM you can open a VNC window in browser. Once booted into windows in control panel somewhere you can turn on Microsoft Remote Desktop for a better VNC type experience. Then download the Microsoft remote desktop app for your PC. Enter the login info and you now can connect remotely with decent video quality etc. You can also hook up a hdmi or display port out of the graphics card to a display.. Edited July 1, 2023 by dopeytree Quote Link to comment
buddylee7 Posted July 1, 2023 Share Posted July 1, 2023 Is there a better version for Linux distros other than VNC? Quote Link to comment
the4tress Posted July 2, 2023 Share Posted July 2, 2023 Hello. This is my first time setting up GPU passthrough. You said "Add 2nd graphics card". Does that mean that it is necessary to have 2 GPUs in the server? Quote Link to comment
dopeytree Posted July 2, 2023 Author Share Posted July 2, 2023 (edited) No the 1st is a software VNC graphics card. The 2nd is your real graphics card. Edited July 2, 2023 by dopeytree Quote Link to comment
JonathanM Posted July 4, 2023 Share Posted July 4, 2023 On 7/1/2023 at 2:29 PM, buddylee7 said: Is there a better version for Linux distros other than VNC? nomachine works well for me. Quote Link to comment
tjb_altf4 Posted July 5, 2023 Share Posted July 5, 2023 FYI font choice is not readable on the dark theme. Quote Link to comment
buddylee7 Posted July 7, 2023 Share Posted July 7, 2023 On 7/4/2023 at 7:38 PM, JonathanM said: nomachine works well for me. Is that 3D accelerated? Basically looking for a poor mans VDI Quote Link to comment
dopeytree Posted July 7, 2023 Author Share Posted July 7, 2023 It's the default font using dark mode as provided by limetec. Not sure why no one hasn't fixed the bug yet. Something like detect background if black make text white. Quote Link to comment
dopeytree Posted July 7, 2023 Author Share Posted July 7, 2023 Add comments here: Quote Link to comment
Lebowski89 Posted July 31, 2023 Share Posted July 31, 2023 (edited) On 5/18/2023 at 10:59 PM, mv_dev said: Hi, I have a RX 6750 XT that I bought for vm gpu passtrough. But it didn’t work: I tried “multifunction” in the XML, YouTube tutorial and any AMD driver. When I start the vm and arrive at the Windows desktop 2/3 minutes and the whole server crash. Can anyone help? Did someone help this guy out? I've run a 1080 in a gaming VM with zero issues for years, but am having issues with my new 6700XT. Mine doesn't crash. It just doesn't let the VM power off, and whines about not being able to change power state of it when booting up. Is there some issue with 6700/6750XT? Edit: Not sure why you're bothering with VNC if you're intending to game, etc. Ideally you've already installed an NVME or SSD in the server and have installed Windows on that. Then it's just a matter of passing-through the NVME/SSD. Then it's just a matter of passing through GPU/GPU-Sound/NVME or SSD/Mouse and Keyboard/Headphones. All explained years ago in SpaceInvaders tutorials. One PC, One GPU, One Monitor - good to go UnRaid VM and Gaming Machine all-in-one. He does need to refresh some of his guides for Windows 11's quirks, though. Edited July 31, 2023 by Lebowski89 Quote Link to comment
theFPVgeek Posted August 19, 2023 Share Posted August 19, 2023 I'm having the same issue. Mine crashes hard. I've tried: Error / Issue: Driver NOT loading correctly in Win11 VM & low resolution - Using ROM BIOS - Resizable BAR enabled Error / Issue: Driver loading correctly in Win11 VM and resolution correct BUT Unraid crashes (locks up) - No ROM BIOS (also tried with ROM BIOS) - Resizable BAR disabled Any ideas? Quote Link to comment
macmus Posted September 4, 2023 Share Posted September 4, 2023 Can I do same for primary card ? I have currently two cards in my server GT710 and 2080Ti. The 2080ti I'm able to passthrough using append vfio-pci.ids=1022:148c,10de:1ad6,10de:1ad7 video=efifb:off isolcpus=2-11,26-35 pic-ids are devicesID for 2080 but I am not able to passthrough GT710 ? Should I also list it within VFIO ? Quote Link to comment
SimonF Posted September 4, 2023 Share Posted September 4, 2023 4 minutes ago, macmus said: Can I do same for primary card ? I have currently two cards in my server GT710 and 2080Ti. The 2080ti I'm able to passthrough using append vfio-pci.ids=1022:148c,10de:1ad6,10de:1ad7 video=efifb:off isolcpus=2-11,26-35 pic-ids are devicesID for 2080 but I am not able to passthrough GT710 ? Should I also list it within VFIO ? You should be able to passthru that card also, You can bind to vfio, but you dont have to bind to vfio to passthru to a vm. 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.