For the few that bought a 4080... They changed the name of the driver folder (at least for me). It's now nvmdi.inf_amd64 instead of nv_dispi.inf_amd64. Like this so more people see it!
I am using windows 11 v2. I have a 3080 Ti graphics card. Even though I did everything, I get code 43 error. Can someone tell me how to find which driver file?
Thank you so much Jeff! My gf and I play stardew valley together and her laptop is an i3 and 4gbs of ram and she was able to play using my rigs power with zero lag. Worked amazing and brought her a lot of happiness. I set this up on my 5950x and 2070 super rig.
Got ahold of a 3070 gonna basically build this so I can share my pc with my brother who sat outside of Best Buy for 10hrs for me to get the GPU. Thank you for allowing me to share the love and the FPS.
I used usbipd and usbip on github and it works but the cursor is invisible so ud have to use mouse trails to see it@@Stong1337
3 года назад+93
Contribution: For those who could not find the driver folder "nv_...", look at all the folders that start with the letters 'nv', the correct folder is the biggest one, about 1GB (in my case the name was " nvdmi.inf_amd64..." ;)
What if i got two big 1 gb folders that start with nv which one do i pick
2 года назад+1
@@Someone-ox1oh Well, if you understand a little deeper, you can open the folders and check their contents. In the last case, if there are no differences for the choice, you will have to test each one.
This is by far THE best video on how to do this. Worked first time for me, got family members playing off of the same GPU with little to no hit on my side🔥
Thank you so much for creating this tutorial, this is going to be so helpful for my used case of having multiple video editors using the same machine remotely. Really appreciate the thoughtful and straightforward guides.
I hate that tech reviewers now have a sense of guilt because parts/devices aren't available. Yall are just doing your jobs. EDIT: And you're not even using a review sample card! Anyway, This is super cool. I'd love to see an AMD version of this too at some point
16:43 For everyone who doesn't have that folder: Device Manager > Your Graphics Card > Properties > Driver > Driver Details > Scroll all the way down, that's the folder you need.
You can also copy the PowerShell script into a new ISE tab without saving it, then you can run it without changing the script execution policies. You can also do a set-executionpolicy unrestricted -scope process That will set the policy for the current process only.
What's your specs? I'm considering gaming with my younger brother... And did you experience any drawbacks? My specs: CPU - Intel Core i5 12400F GPU - GIGABYTE RTX 3070 Eagle RAM - 2x16GB 3200Mhz (DDR4) SSD - NvMe M.2 1TB PSU - 750W Motherboard - Gigabyte B660I AORUS PRO DDR4 Case - NZXT H1 V2 Windows 10 Pro
@@CraftComputing yes please, I have 5800x with 6800xt and would be nice to set up a 3 system setup so I can try out Minecraft that my daughter's play all the time.
i have a 4070TiS and this video has worked for me at this current time and date.thank you so much for making this video. (just make sure to name everything in the correct spelling and capitalizations)
What's your specs? I'm considering gaming with my younger brother... And did you experience any drawbacks? My specs: CPU - Intel Core i5 12400F GPU - GIGABYTE RTX 3070 Eagle RAM - 2x16GB 3200Mhz (DDR4) SSD - NvMe M.2 1TB PSU - 750W Motherboard - Gigabyte B660I AORUS PRO DDR4 Case - NZXT H1 V2 Windows 10 Pro
@@cptpowerpuff amd 5600x with a 3070 fe but I had 32gb of ram. With less RAM you won't be able to give as much ram to the other computer. Everything works pretty well once you go through the set up and it works as expected. I found a second monitor helpful but not necessary. Your router and Internet connection will have a big impact on how good the have works for your brother.
@@player1dad808 Beautiful, really thanks for the reply - As I've written I also have 32GB of RAM, but it's 2x16GB (So it adds up to 32GB) - Or did you have a total of 64GB?
Great way of getting GPU-P working quickly. We also started incorporating this into a project. Just wish Microsoft would add the ability to chose which GPU goes where rather than just picking randomly from all cards in the system.
@@EnzoBergstrom awesome. I was hoping so. Some of the original documents from Microsoft employees suggested this was the case but the arguments from the power shell side didn’t give any hints. I did ask a few of them whether this was a future version of windows 10 back when I looked at this last year but they wouldn’t answer. Assume it was windows 11. Can’t wait to try it. Woop woop.
I did this months ago and really enjoyed how well it worked. Thanks for making a video and spreading the word around. Also for a two player setup I recommend having 2 vms with partitioned graphics as that will help prevent frame drops/stuttering
Wow, this is incredible. I consider myself an enthusiast and support our small 6 man office in terms of IT but never had a chance to play with virtualization despite the growth in it's popularity in the last decade. This will really push me to try it. Especially since I have a decommissioned Dell Poweredge T320 with e5-2450v2 (ivy bridge 8 core/16 thread) server. Now I just have to find a cheap graphics card or scavenge my gaming pc's 1070ti. Really exciting
It's worth noting that you need to have hyper-v installed prior to running Get-VMPartitionableGpu or else PowerShell will throw an error about not recognizing that commandlet.
I miss one key part of the video and it's "this is a write up, rett." And "I don't want to dock your pay" and "you're on thin ice" and "blah blah blah final warning." But like... He said it's good. That's it. Like sure. He mentioned the hop profile, and how the mosaics really brought out the spirit of the PNW. And how there was just enough malt to off set the pretense of far off spice and winter fruit. And he might have said wow a few times. Kinda dry stuff really. So I cut it out. I don't see the big deal. Anyways. Hope he doesn't see this. Boss hates it when I waste time on social media.
Thank you for this video, I made Win10-21H2 host+guest work with RTX 2070 Super. I had one issue, so folks beware: make sure your host and guest OS version is the same (down to the build level! - I initially installed the guest using an older Windows ISO.) Otherwise the native video device may not show up in the guest Device manager.
I think do that use case you can just use the hyper v window directly and move it over to the secondary monitor. Usb peripherals can be passed through to the vm in the settings options. You may have to use usb headphones or sound card to pass through to the vm for separate audio though
I think raspberry pis are usually used for this purpose not native, but much more practical than telling your computer to ignore a monitor which is usually impossible
Really appreciate this video. I just split up my Ryzen 5950X and a 3090 into 4 separate VMs. Parsec sometimes has troubles connecting. Not 100% sure of the root cause yet as it may be because I either need a monitor plugged in or a HDMI dummy plug. Other than that, the instructions works GREAT! And I can also confirm that Parsec allows multiple sessions per account which is great as that my tiny human and I will be able to game remotely with Parsec, simultaneously.
Jared, do you know how to set up with 2 or more VMs? I got it working perfectly for 1VM following the video.. and I saw he mentionated it is possible to do with multiple VMs.. I just want to make with 2VMs on my 1080... but than when I try to make a 2nd VM I don't know how to proceed to split it... could you enlighten me up please?
@@AlexandreBackes can't say that I do. Have only set it up with 1 VM myself. But from my understanding I think you have to split the GPU into even number? So 2 or 4, can't do 3. I think.
I think the powershell execution script policy should be > set-executionpolicy remotesigned it's a security thing. setting it to unrestricted I think isn't really recommended. Edit: great video by the way. super excited to up my windows version and get hyper v going.
Fantastic video. I’m skeptical of these low cost windows licenses as even with volume EDU licenses I was still hitting closer to $60. I don’t have a number from my companies enterprise licensing as they push windows 10 enterprise. I can see the wife pointing to this and saying : I knew you didn’t need a new gpu if your only using half of it “
I was too, but Ive bought 4 of them and I've been using them since windows 10 first came out with no issue. I've gotten one for as little as $7, with the most expensive one being $20. Though if you go with an OEM key, you have no support and you're on your own. Which is part of why it costs so little.
The default switch in Hyper-V is meant for NAT, it does have internet access. And sadly USB pass-through is not available in Hyper-V, it is on almost any other virtualization platform. But otherwise thanks for the video!
So there is no chance of playing two games at the same time (keyboard and mouse)? Maybe there was information in the video, but I did not catch it. Thanks in advance!
@@MrSkateVans you could use any computer, even a raspberry pi, to run parsec on and then play two games at the same time without owning 2 gaming machines...
What if I want to have Linux as a guest OS? Will it work (given that the drivers are different)? I remember what a pain it is to make CUDA work in WSL, so this GPU-splitting might be an option to have a Linux VM with CUDA support inside a standard Windows installation.
Maybe with a quadro. otherwise no, this is mainly the software in windows as a guest not so much the software inside hyper v. GPUp is a Windows feature, but I think there are other ways to do it through hardware on Quadro.
Despite the other answers, I would say YES. It is the same tech used in WSL2 with GPU support (maybe using WSL directly is better). The linux guest need a special driver to work. In case you want to know more, take a look at: -Directx for Linux -Cuda WSL Stable support for GPU in linux guests should come with Win11
For powershell execution policy might be a little safer to tell people RemoteSigned instead of Unrestricted so they don't accidentally execute something bad. That feature was actually able to detect that your GPU-P script was not digitally signed which is pretty cool. Thank you for the tutorial!
Worked for Divinity 2 after a lot of fiddling. My main problems were: 1) Client computer GPU stuck on "Virtual Render Display." I just needed to update my host Windows 10 Education to the latest version. After that, my RTX 3070 popped up 2) Benchmarks (Heaven & Furmark) were utilizing the GPU but Divinity 2 Definitive Edition was not (capped at
I tried it and work! My config: Ryzen 3900x - 64 GB ram - RTX 3070 - 10 GbE network - Windows 10 Pro I also copied the nv* files from SysWOW64. Unfortunately It not work with CS:GO (exit without error before load the online match)
Hey Craft.. I have two questions and I am hoping you have some leads I can follow. 1. My drivers have the prefix nv_dispig.inf_amd64_* and I hope nothing changes with that. 2. I am getting error 43 on my GPU on certain windows versions. Is there a minimum windows version on VM that this works with? (I am having issues with 1909 and below but works on 22h2) Also the GPU name comes out like "Microsoft virtual render driver"
@@mikihinasann The part of the video regarding copying the host computer's driver files is incorrect. You need to find the right driver to copy by going to the Device Manager -> Display Adapters -> (your video card) -> Driver -> Driver Details. Check what files are used and copy these files instead. I actually deleted my Hyper-V VM after getting this to work because nvidia has purposefully slow down the GPU on virtualization because they want you to buy more GPUs instead of sharing one.
I like the beer... Not available in Australia unfortunately. I also like your content. Always very informative and educational. I have subscribed :) Thank you for your hard work.
I have triplets and they just turned 13 and want their own computers for gaming... so I'm immediately excited to find this video as this was my first idea to buy a beast machine and just a VM for each of them (can also lock down their VM when they bring home bad grades :P) so I'm definitely going to try this
11:00 Just a heads up but on newer versions of Windows (and therefore the built in Powershell) it seems the command is changing to "Get-VMHostPartitionableGpu". The one in the video (and by extension the directions) still works but warns that the command is being depreciated.
@@biiLL4bonG It will work after you install Hyper-V (The next step in the video for some reason). Found this in the comments deep down, so thank ful to that person
Hello! So I've an AMD GPU and I've successfully copied and pasted the drivers, partitioned the GPU and restarted the VM. The graphics card does show on the list on Display Adapters in Device Manager as well without any issues (no code 43). However in the properties, the driver is signed by Microsoft (Microsoft Virtual Render Driver or vrd.inf_amd64_hex\vrd.sys), so I wanted to know that whether its normal behaviour and also is the same observed with successful Nvidia installations? That's because Parsec has not been functioning, always crashes with a black screen for a few seconds upon initiating a connection, then gives Error 15000, Host Encoder failed to initialize. Any help would be appreciated! Thanks.
how were you able to find the corrector driver directory in FileRepository for an amd gpu? I'm lost at this point as I'm not sure which directory to try and copy. Also, which set of "nv_" files are amd gpu ones in the System32 directory?
You're missing a step at 16:45, there's a whole step of finding your device UUID that you didn't do because you only have one. A guide intended for mass consumption should explore both cases. Other than that, this is still a fantastic tutorial, the best one out there!
I didn't think you could do this with windows 10 PRO. I thought you needed hyper-v server or server 2019. I wish somebody would build a GUI to help with this process, but it's nice to know you can tweak a powershell script for it.
Could you do a video showing this feature with multiple graphic cards (the same one or maybe different one)? Could you maybe also explain the numbers and functions in the power-shell script?
Amazing Video! honestly!!, you explained even the minor details that most people would gloss over. This has been super helpful and I and now running 2 VM's with my fav games. Thanks again for this masterful tutorial!
I'm playing d2r game on the vm and the loading is insanity slow compared to the host running d2r. What can I do ? Is this expected/normal ? Are you have same thing ?
Thank you for this tutorial... This is quite effective in running some games that usually fail to run in a virtualized environment... I also discovered that mounting/attaching the VHD file via disk manager is just as effective in copying the needed system files.
Given the insane GPU prices right now, if anyone has a need for a gaming computer for their kid, partner this basically is a good stop gap to play games if you have half decent hardware. Nice job Jeff, this was a great tutorial.
Had it working on 6 simultaneous VM's for diablo 2 with 2x GTX 1080's. Switched out to 2x 3090's, reran the scripts, but now this causes a BSOD on my main rig after just a couple load. No instructions on how to properly reverse the procedure within a VM to sort of "reset" it. Great tutorial though. Was great while I had it working.
Awesome tutorial, thanks! Kinda what I was looking for...Don't know the parsec or poxmox mentioned in the comments tho, would have to look closely. My idea is running strong GPU/CPU server and directly connect tiny clients around home to it's own VMs per user and be able to game together. I also wonder whether running game clients (steam, gog, epic, etc) and thus also share the game libraries within such home cluster would be possible...?
Hey very interesting Video! Can you do a follow up video where you Show how to assign each vm a GPU If you Had two gpus. That would be very very helpful. Edit: someone please explain how to remove a GPU Partition Table. I messed around with a VM in Hyper-V and now my VM is showing 2x GTX 970s even though there is only one in my System currently.
such a great tutorial = great speed and detail note: if you update ur drivers on ur host - the pass through will break- just copy the new driver directory from C:\Windows\System32\DriverStore\FileRepository on the host to C:\Windows\System32\HostDriverStore\FileRepository on the vm delete the old one reboot the vm
Thanks for the tutorial. I followed it through and it works for me. One question: is there a way to have the same GPU priorities between the host and the guess machine?
Ive been running this setup for a few weeks, I am wondering this myself. But from what I understand, Moonlight needs Geforce Experience to run i think, coz you need to enable the Nvidia Shield setting for streaming? And Geforce Experience simply does not install bcoz it doesnt recognize the GPU passthrough on the VM (even if device manager shows it). That said, i might download moonlight anyway to see if it actually works w/o geforce experience-- I'll let you know how that goes!
I know this is one of your "older" videos, but that the relevance is probably even more prevailing today! I think with the current new-GPU-market pricing more and more people are looking at dynamically utilizing their hardware and this but probably more so the proxmox content is very underrated! Always had a thing where I couldn't watch more than a couple of minutes of your content, due to some mental instability on my part and possibly your tendency to talk in a rhythmic manner where always seem to start and end a sentence on the same god-damn tone🤣 But I have been won over by the fact that I saw your content on Floatplane as well! New found respect from a new found subscriber with some issues🤞🤞🤞
Found the Solution. The driver folder that needs to be copied over is not always the one covered in the video. Look for the correct one in device settings under device manager for your GPU.
this is such a great tutorial man,, Question: Why disable enhanced session mode??? Question: do you think this will work with a linux mint install? (instead of a virtual windows desktop)? You're doing God's work here jeff, keep it up!! Thank you!!
@@AteAllThePies I've been using hyper-v vm's since the pandemic started. I was sent home with a laptop to work, but I hated having to use the tiny laptop screen, so I tried to virtualize the laptop on my main pc's hyper-v. I was suprised how well hyper-v works for this, and the flexibility it offers. You can LITTERALLY BOOT OFFF A DEDCATED SSD CONTAINING THE OS, and run the vm!! and IT WORKS!! PERFECTLY!!! like, litteraly, you yank out a computer's ssd, plug it into your pc,, and via hyper-v you can boot a VM off that dsk!, What i've found enhanced session mode to do is make the connection behave more like a regular RDP connection, rather than a console connection. Things flow smoother, copy paste works, you can get higher refresh rates and higher resolutions, kinda acts like a browser window that you can snap around. I ended up just assigning a static IP to my vm's and using RDCMAN, which works perfectly with windows powertoys (fanzyzones) allowing me to use custom snaps on my g9. Jeff's training videos are the stuff of legend. I wish I could have worked with this guy in the same I.T company :D gg!!
I'm searching for a possibility to do something similar with VR if anyone knows how Essentially I want to be able to run my HP Reverb G2 headset on a relatively low power device (such as a laptop) and obviously that headset requires enormous processing power and only my main PC will do it Essentially I want to be able to do what Virtual Desktop does for the Quest/Quest2 - Use a main PC to do all the rendering, and the headset is essentially just a receiving device The principle is effectively the same thing, have a PC act like its the virtual desktop client running on a Quest2
Hi @aidangillett5396 did you try it? Are you able to play game with VR glasses on client computer/box and all rendering process is on main host pc. also with hyper virtualization. Did you try it?
For my AMD it was this folder: u0379774.inf_amd64_6708f07e8af3f5cf You can go to Device Manager, Display Adapter, Driver Details, then look for a name like this, don't know if it's the same.
omg, I'm impressed, i had problems with performance with the new Diablo 2 Resurrected, i need use 2 games at same time to do some thing in the game.... Previuosly i had 2fps and now i have 60fps in 2 machines... Thank you!!!
Struggling with code 43 on a laptop. It seems that there is a known issue with laptop nvidia gpus. I am using w11 host with w10 vm Igpu is intel arc, dgpu is ada 500 I initially only passed ada gpu through but have now passed ada and arc gpu both get code 43 after moving the drivers. I am trying to update the vm to w11 to see if the situation improves. Will update with my findings. Update I was missing the Set-VM flags it works on w11 host w10 vm Update 2: gpu switching works and sunshine/moonlight works inside the vm. You have to use a different display driver emulator to get sunshine working. You need to bind a virtual display to the gpu. As sunshine needs a display on the gpu it is using for encoding.
Tank you! ;-) I had trouble with Win10 and used Win11 instead, which worked out nicely. However, just your guide is not enough (maybe things have changed, so not saying you did something wrong). I had to run a few extra commands to get hyper v actually running, but other than that it worked great. AND your recommendation of the USB monitor was not mentioned in any other tutorial I found, so I saved buy not buying that. Thanks again.
AFTER MORE THAN 100h DEDICATED TO TRYING FOR A GPU VIRTUALIZACION FINALY THE ONLY VIDEO THAT IT WORK PERFECTLY IT WAS U THNX A LOT A LOT MAN A LOT!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Another tip, instead of using a network share you can use Copy-VMFile powershell command to copy from your host to vm directly. I believe this command is within the Hyper-V Powershell module, but I think in windows 11 this is installed by default when you enable Hyper-V in the programs and features.
my nvidia driver folder is missing, only thing that resembles it is "nvmdi.inf_amd64_410df974fae868d3" ... I have Win10 PRO and RTX 2070 ... Ive tried copying this folder, and my GPU is in VMs Device manager, but its there with an exclamation mark
For the few that bought a 4080...
They changed the name of the driver folder (at least for me). It's now nvmdi.inf_amd64 instead of nv_dispi.inf_amd64.
Like this so more people see it!
i have nv_dispig.inf_amd64 on an rtx 3090 ti
THANK YOU VERY MUCH
This solved code 43 for me. Thank you!
@@alexboot22 same on 3080 !
I am using windows 11 v2. I have a 3080 Ti graphics card. Even though I did everything, I get code 43 error. Can someone tell me how to find which driver file?
Thank you so much Jeff!
My gf and I play stardew valley together and her laptop is an i3 and 4gbs of ram and she was able to play using my rigs power with zero lag. Worked amazing and brought her a lot of happiness.
I set this up on my 5950x and 2070 super rig.
Got ahold of a 3070 gonna basically build this so I can share my pc with my brother who sat outside of Best Buy for 10hrs for me to get the GPU. Thank you for allowing me to share the love and the FPS.
Did ya do it?
@@blackniga420 yeah so I have my setup split off between me and my fiancé.
@@nilyaj how did u get 2 controller or keyboards on the one pc to work ?
@@Stong1337 You could probably pass through a USB hub.
I used usbipd and usbip on github and it works but the cursor is invisible so ud have to use mouse trails to see it@@Stong1337
Contribution: For those who could not find the driver folder "nv_...", look at all the folders that start with the letters 'nv', the correct folder is the biggest one, about 1GB (in my case the name was " nvdmi.inf_amd64..." ;)
What if i got two big 1 gb folders that start with nv which one do i pick
@@Someone-ox1oh Well, if you understand a little deeper, you can open the folders and check their contents. In the last case, if there are no differences for the choice, you will have to test each one.
@ Or just use both
Valeu Luisssss
and what folder do I copy if I dont have nvidia card? I have amd radeon
This is by far THE best video on how to do this. Worked first time for me, got family members playing off of the same GPU with little to no hit on my side🔥
Thank you so much for creating this tutorial, this is going to be so helpful for my used case of having multiple video editors using the same machine remotely.
Really appreciate the thoughtful and straightforward guides.
I hate that tech reviewers now have a sense of guilt because parts/devices aren't available. Yall are just doing your jobs. EDIT: And you're not even using a review sample card!
Anyway, This is super cool. I'd love to see an AMD version of this too at some point
Acknowledgment of the issue is appreciated though and this is a creative solution to the problem as well.
Same here. I have Radeon and it didn't work for me
AMD doesn't work? Really? I tried so long thinking the problem was in my end. Anyone know a work through?
@@flyinghead1147 I managed to get it to work but it's confusing. Don't expect GPU Z to see the card.
@@oMeGa0122 how did you get it working
16:43 For everyone who doesn't have that folder:
Device Manager > Your Graphics Card > Properties > Driver > Driver Details > Scroll all the way down, that's the folder you need.
GOAT
Thanks, found it "nvam.inf_amd64_016e41f7ec092617" on 3060 laptop
Looks like I'm re-rolling our Parsec server next week lol
You can also copy the PowerShell script into a new ISE tab without saving it, then you can run it without changing the script execution policies.
You can also do a set-executionpolicy unrestricted -scope process
That will set the policy for the current process only.
Hell yes! Feels like Christmas in August! I just love virtualization content. I don't know why, but I do.
Solid walkthrough, explanation, and with downloadable project files. Your attention to detail is much appreciated -Cheers!
This video is very helpful. I tried it and now my sister can game from her home on my computer. It works perfectly. Thanks!
What's your specs? I'm considering gaming with my younger brother... And did you experience any drawbacks?
My specs:
CPU - Intel Core i5 12400F
GPU - GIGABYTE RTX 3070 Eagle
RAM - 2x16GB 3200Mhz (DDR4)
SSD - NvMe M.2 1TB
PSU - 750W
Motherboard - Gigabyte B660I AORUS PRO DDR4
Case - NZXT H1 V2
Windows 10 Pro
This is a amazing tutorial. I managed to do it in a fx-6300 and 1050 ti adn 16gb ddr3 memory. With the fps limitation some games works fine.
Could we get a short video showing just the different files etc for using this with an AMD card. Such a cool idea thank you!
I may just do that as a standalone video. After my vacation though.
@@CraftComputing hey thanks that would awesome!! I do appreciate it. Have a great time on your vacation!
@@CraftComputing yes please. Im wanting to do something like this for my 6800
@@CraftComputing yes please, I have 5800x with 6800xt and would be nice to set up a 3 system setup so I can try out Minecraft that my daughter's play all the time.
@@sootynukkels8366 you sure your 8 core 16 threads CPU would be enough to be split to 3 VMs without bottlenecking the GPU?
i have a 4070TiS and this video has worked for me at this current time and date.thank you so much for making this video.
(just make sure to name everything in the correct spelling and capitalizations)
So now I have an excuse for a 3080 and a 3900x? That's great, I'm sure my wife will understand :)
"It's for the children"
Underrated comment
happy wife happy life lol
Starts around 9:30 why not make another video with just relevant data
Damn it, my wife asked me why did I get a 5950X, 128GB of RAM and a 3080Ti. I couldn't give her an explanation.
possibly the best manscape advert i've seen!
I know this is two months old but I just followed this to get my son gaming with me and it was awesome and I just wanted to thank you.
What's your specs? I'm considering gaming with my younger brother... And did you experience any drawbacks?
My specs:
CPU - Intel Core i5 12400F
GPU - GIGABYTE RTX 3070 Eagle
RAM - 2x16GB 3200Mhz (DDR4)
SSD - NvMe M.2 1TB
PSU - 750W
Motherboard - Gigabyte B660I AORUS PRO DDR4
Case - NZXT H1 V2
Windows 10 Pro
@@cptpowerpuff amd 5600x with a 3070 fe but I had 32gb of ram. With less RAM you won't be able to give as much ram to the other computer. Everything works pretty well once you go through the set up and it works as expected. I found a second monitor helpful but not necessary. Your router and Internet connection will have a big impact on how good the have works for your brother.
@@player1dad808 Beautiful, really thanks for the reply - As I've written I also have 32GB of RAM, but it's 2x16GB (So it adds up to 32GB) - Or did you have a total of 64GB?
@@cptpowerpuff ah no, same as you. I misread your post. You shouldn't have any trouble as long as you suck to moderate settings in more modern games
Great way of getting GPU-P working quickly. We also started incorporating this into a project. Just wish Microsoft would add the ability to chose which GPU goes where rather than just picking randomly from all cards in the system.
In Windows 11(host) you can choose exactly what GPU goes where.
@@EnzoBergstrom awesome. I was hoping so. Some of the original documents from Microsoft employees suggested this was the case but the arguments from the power shell side didn’t give any hints. I did ask a few of them whether this was a future version of windows 10 back when I looked at this last year but they wouldn’t answer. Assume it was windows 11. Can’t wait to try it. Woop woop.
@@EnzoBergstrom how?
@@EnzoBergstrom so theoretically if I had 2 4070s or 2 4080s, I could give each client it's own GPU?
I did this months ago and really enjoyed how well it worked. Thanks for making a video and spreading the word around. Also for a two player setup I recommend having 2 vms with partitioned graphics as that will help prevent frame drops/stuttering
I'd only do that with a fast SSD though. Or seperate ones. Proxmox is much better for this use case
@@TeakKey7 yeah prox mox is better. I just use this for better vms on my main rig.
@@TeakKey7 But Proxmox is only a viable way with a dedicated server PC right? the PC would have to run headless
@@lorsch. Yes, but it offers more flexibility in other regards, such as being able to use both PCs without needing the host one turned on.
@@TeakKey7 The problem is sharing the GPU on proxmox, 30xx series is not possible for now, only 20xx and below.
Wow, this is incredible. I consider myself an enthusiast and support our small 6 man office in terms of IT but never had a chance to play with virtualization despite the growth in it's popularity in the last decade. This will really push me to try it. Especially since I have a decommissioned Dell Poweredge T320 with e5-2450v2 (ivy bridge 8 core/16 thread) server. Now I just have to find a cheap graphics card or scavenge my gaming pc's 1070ti. Really exciting
It worked?
It's worth noting that you need to have hyper-v installed prior to running Get-VMPartitionableGpu or else PowerShell will throw an error about not recognizing that commandlet.
finally found an answer!
Thanks bro but i needed to turn virtualization on in bios
thanks I needed this
if anyones wondering you can find your driver folder using system information > components > display > installed driver - text field
A craft computing video without a beer review is like an LTT video without a sponsor segue.
Is Rett slipping?
I miss one key part of the video and it's "this is a write up, rett." And "I don't want to dock your pay" and "you're on thin ice" and "blah blah blah final warning."
But like... He said it's good. That's it. Like sure. He mentioned the hop profile, and how the mosaics really brought out the spirit of the PNW. And how there was just enough malt to off set the pretense of far off spice and winter fruit. And he might have said wow a few times. Kinda dry stuff really. So I cut it out. I don't see the big deal.
Anyways. Hope he doesn't see this. Boss hates it when I waste time on social media.
@@rett.isawesome Hey If it didn't fit, it didn't fit. I was just really caught off guard when the video just ended.
@@elliotthanford1328 I'm just messing around mah dude. We were just short on time.
To me is a LTT video, just Linus dropping something of importance.
Did this setup yesterday when I had some time! Enjoying it with my oldest son, thanks!
Thank you for this video, I made Win10-21H2 host+guest work with RTX 2070 Super. I had one issue, so folks beware: make sure your host and guest OS version is the same (down to the build level! - I initially installed the guest using an older Windows ISO.) Otherwise the native video device may not show up in the guest Device manager.
@kilsnacks any info?
man, that was a really well done video, describing exactly what I had in mind, but a much more simple, elegant solution. thanks dude
The tomato ad-read was the one you teased wasnt it. Its incredible and hilarious.
LOVE that tomato ad xD BEST AD EVER!
I wanted to say this but you beat me too it 👍
Any way to designate a port on the GPU for the VM and attach a second screen directly?
I think do that use case you can just use the hyper v window directly and move it over to the secondary monitor. Usb peripherals can be passed through to the vm in the settings options. You may have to use usb headphones or sound card to pass through to the vm for separate audio though
I'm guessing this is why Linus hasn't done a video on this (aside from the unraid shilling)
I think raspberry pis are usually used for this purpose not native, but much more practical than telling your computer to ignore a monitor which is usually impossible
It can be done with VFIO gpu passthrough. I'm not sure about GPU P
@@MuditGupta89 tell me where can i pass through a usb keyboard / mouse in hyperv? I'm thinking it is not supported.
Really appreciate this video.
I just split up my Ryzen 5950X and a 3090 into 4 separate VMs.
Parsec sometimes has troubles connecting. Not 100% sure of the root cause yet as it may be because I either need a monitor plugged in or a HDMI dummy plug.
Other than that, the instructions works GREAT!
And I can also confirm that Parsec allows multiple sessions per account which is great as that my tiny human and I will be able to game remotely with Parsec, simultaneously.
What timing! Just about to build mine!
❤️
This is really awesome. Thank you so much for sharing. There is lots of GPU applications I would love to be able to run on VM's.
"set-execultionpolicy bypass" works to let you run scripts in that session instead of needing to restrict the running of scripts again.
Jared, do you know how to set up with 2 or more VMs? I got it working perfectly for 1VM following the video.. and I saw he mentionated it is possible to do with multiple VMs.. I just want to make with 2VMs on my 1080... but than when I try to make a 2nd VM I don't know how to proceed to split it... could you enlighten me up please?
@@AlexandreBackes can't say that I do. Have only set it up with 1 VM myself. But from my understanding I think you have to split the GPU into even number? So 2 or 4, can't do 3. I think.
@@SparJar 4 being 1 actual PC and 3 VMs? How could i do that? I tried finding in his videos but i couldnt
@@AlexandreBackes I'm not sure. I would eat through the git hub of the guy who made the paravirtualization scripts
I think the powershell execution script policy should be > set-executionpolicy remotesigned
it's a security thing. setting it to unrestricted I think isn't really recommended.
Edit: great video by the way. super excited to up my windows version and get hyper v going.
Fantastic video. I’m skeptical of these low cost windows licenses as even with volume EDU licenses I was still hitting closer to $60. I don’t have a number from my companies enterprise licensing as they push windows 10 enterprise.
I can see the wife pointing to this and saying : I knew you didn’t need a new gpu if your only using half of it “
I was too, but Ive bought 4 of them and I've been using them since windows 10 first came out with no issue. I've gotten one for as little as $7, with the most expensive one being $20. Though if you go with an OEM key, you have no support and you're on your own. Which is part of why it costs so little.
The default switch in Hyper-V is meant for NAT, it does have internet access.
And sadly USB pass-through is not available in Hyper-V, it is on almost any other virtualization platform.
But otherwise thanks for the video!
So there is no chance of playing two games at the same time (keyboard and mouse)?
Maybe there was information in the video, but I did not catch it.
Thanks in advance!
@@MrSkateVans He's using Parsec for the input, rather than plugging in a second keyboard and mouse directly.
@@aetherspoon Thanks, will do more research with the knowledge you gave me.
@@MrSkateVans you could use any computer, even a raspberry pi, to run parsec on and then play two games at the same time without owning 2 gaming machines...
@@MrSkateVans Or try using a "USB over IP" server to pass through usb peripherals... not sure how well this would work with games though.
you are the man for this one! I have been trying to do this for years now!
25:34 FYI the Rasberry Pi 400 doesn’t actually work with parsec. Also, Parsec supports 120hz for free.
now if only we could push the resolution beyond 1080p (what seems to be the limit in hyperv)
Hiii How did you get Parsec to run at 120 fps?
@@jkasturias Well, your host needs to have at least a 120hz monitor on it. Then you go into the Host settings and set the FPS to 120hz.
Nice Video Jeff! It worked for me, now I have my old GTX960 running my own Cloud PC
Thank you !!!
What if I want to have Linux as a guest OS? Will it work (given that the drivers are different)? I remember what a pain it is to make CUDA work in WSL, so this GPU-splitting might be an option to have a Linux VM with CUDA support inside a standard Windows installation.
Maybe with a quadro. otherwise no, this is mainly the software in windows as a guest not so much the software inside hyper v. GPUp is a Windows feature, but I think there are other ways to do it through hardware on Quadro.
Despite the other answers, I would say YES. It is the same tech used in WSL2 with GPU support (maybe using WSL directly is better). The linux guest need a special driver to work.
In case you want to know more, take a look at:
-Directx for Linux
-Cuda WSL
Stable support for GPU in linux guests should come with Win11
Man, wish I watched your vid two weeks ago, would have saved me a lot of work. This works flawlessly!
Thanks for sharing the knowledge.
For powershell execution policy might be a little safer to tell people RemoteSigned instead of Unrestricted so they don't accidentally execute something bad. That feature was actually able to detect that your GPU-P script was not digitally signed which is pretty cool. Thank you for the tutorial!
Wow. Outstanding work. Thank you for this video :)
This is really cool. Hoping the GPU prices will come down soon enough so i could experiment with this.
Worked for Divinity 2 after a lot of fiddling. My main problems were:
1) Client computer GPU stuck on "Virtual Render Display." I just needed to update my host Windows 10 Education to the latest version. After that, my RTX 3070 popped up
2) Benchmarks (Heaven & Furmark) were utilizing the GPU but Divinity 2 Definitive Edition was not (capped at
Great video! I've been waiting for this feature for years! How, though, would you implement GPU splitting with a Linux guest?
I tried it and work! My config: Ryzen 3900x - 64 GB ram - RTX 3070 - 10 GbE network - Windows 10 Pro
I also copied the nv* files from SysWOW64. Unfortunately It not work with CS:GO (exit without error before load the online match)
Hey Craft.. I have two questions and I am hoping you have some leads I can follow.
1. My drivers have the prefix nv_dispig.inf_amd64_* and I hope nothing changes with that.
2. I am getting error 43 on my GPU on certain windows versions. Is there a minimum windows version on VM that this works with? (I am having issues with 1909 and below but works on 22h2) Also the GPU name comes out like "Microsoft virtual render driver"
Did you fix this issue? I got the same code 43 on Windows 22H2 (the latest download) and I double check all the file/directory names ...
Finally got it to work. Basically the video's instruction is wrong and only works in a particular version of the driver.
how to fix it (Code 43)@@mannotwiththeplan
@@mikihinasann The part of the video regarding copying the host computer's driver files is incorrect. You need to find the right driver to copy by going to the Device Manager -> Display Adapters -> (your video card) -> Driver -> Driver Details. Check what files are used and copy these files instead. I actually deleted my Hyper-V VM after getting this to work because nvidia has purposefully slow down the GPU on virtualization because they want you to buy more GPUs instead of sharing one.
@@mannotwiththeplan when i go to driver detail i found so many file can u tell me what filename it use in driver?
I like the beer... Not available in Australia unfortunately.
I also like your content. Always very informative and educational.
I have subscribed :)
Thank you for your hard work.
I have triplets and they just turned 13 and want their own computers for gaming... so I'm immediately excited to find this video as this was my first idea to buy a beast machine and just a VM for each of them (can also lock down their VM when they bring home bad grades :P) so I'm definitely going to try this
I followed the instructions. The GPU is now used on the VM! What I found out additionally is that it works in "Enhanced session" as well.
that case represents everything i hate about computer cases.
Thankyou! I was having troubleshooting problems following another video, but your guide resolved theml
11:00 Just a heads up but on newer versions of Windows (and therefore the built in Powershell) it seems the command is changing to "Get-VMHostPartitionableGpu". The one in the video (and by extension the directions) still works but warns that the command is being depreciated.
This doesnt work either for me :(
@@biiLL4bonG It will work after you install Hyper-V (The next step in the video for some reason). Found this in the comments deep down, so thank ful to that person
@@mohib1111 my problem wasnt the installation, it was that PowerShell didnt accept my command. I had to autofil it with tabulator and it worked :)
@@mohib1111 Thank you
Joining the list of fans who are wowed by this. Thank you for sharing! Works great.
Hello! So I've an AMD GPU and I've successfully copied and pasted the drivers, partitioned the GPU and restarted the VM. The graphics card does show on the list on Display Adapters in Device Manager as well without any issues (no code 43). However in the properties, the driver is signed by Microsoft (Microsoft Virtual Render Driver or vrd.inf_amd64_hex\vrd.sys), so I wanted to know that whether its normal behaviour and also is the same observed with successful Nvidia installations?
That's because Parsec has not been functioning, always crashes with a black screen for a few seconds upon initiating a connection, then gives Error 15000, Host Encoder failed to initialize.
Any help would be appreciated! Thanks.
Same here
how were you able to find the corrector driver directory in FileRepository for an amd gpu? I'm lost at this point as I'm not sure which directory to try and copy. Also, which set of "nv_" files are amd gpu ones in the System32 directory?
@@ayechonk im in the same boat, hopefully someone can reply to this..
@@ballr4life487 I got it to work. But I forget which files I moved. Let me try to refresh my memory and I'll get back to you.
@@ayechonk any luck getting back to us?
Amazing! You got a new subscription from Brasil
You're missing a step at 16:45, there's a whole step of finding your device UUID that you didn't do because you only have one. A guide intended for mass consumption should explore both cases. Other than that, this is still a fantastic tutorial, the best one out there!
How do I do this?
You failed to explain as well, good job.
@@Silvertarian Because I don't know how to do it, and I'm not making an instructional youtube video claiming I do.
15:14- I can't tell you how many times I forgot this setting and had to wait 20+ minutes for the darn OS to install! Please add this to the wizard!
I didn't think you could do this with windows 10 PRO. I thought you needed hyper-v server or server 2019. I wish somebody would build a GUI to help with this process, but it's nice to know you can tweak a powershell script for it.
HyperV is available in Win10 Pro and above. Just did this on my pro machine.
Hey man, you're awesome, you saved me the money.... I bought a second graphics card for that and you have a solid solution that works on Windows 10.
What's your GPU?
Could you do a video showing this feature with multiple graphic cards (the same one or maybe different one)? Could you maybe also explain the numbers and functions in the power-shell script?
Im also interested how we can add 2 or more cards. During my test, it works but the VM recognized 1 GPU out of 3 (all rtx 3080)
This man is the most qualified person in RUclips.
Amazing Video! honestly!!, you explained even the minor details that most people would gloss over. This has been super helpful and I and now running 2 VM's with my fav games. Thanks again for this masterful tutorial!
I'm playing d2r game on the vm and the loading is insanity slow compared to the host running d2r. What can I do ? Is this expected/normal ? Are you have same thing ?
Thank you for this tutorial... This is quite effective in running some games that usually fail to run in a virtualized environment... I also discovered that mounting/attaching the VHD file via disk manager is just as effective in copying the needed system files.
did u test it for riot games, cs2, overwatch or other games with very restrictive anti-cheat?
Given the insane GPU prices right now, if anyone has a need for a gaming computer for their kid, partner this basically is a good stop gap to play games if you have half decent hardware. Nice job Jeff, this was a great tutorial.
It's exactly what I use it for. Works great paired with my firestick over steam link.
Had it working on 6 simultaneous VM's for diablo 2 with 2x GTX 1080's. Switched out to 2x 3090's, reran the scripts, but now this causes a BSOD on my main rig after just a couple load. No instructions on how to properly reverse the procedure within a VM to sort of "reset" it. Great tutorial though. Was great while I had it working.
Awesome tutorial, thanks! Kinda what I was looking for...Don't know the parsec or poxmox mentioned in the comments tho, would have to look closely.
My idea is running strong GPU/CPU server and directly connect tiny clients around home to it's own VMs per user and be able to game together.
I also wonder whether running game clients (steam, gog, epic, etc) and thus also share the game libraries within
such home cluster would be possible...?
demn man, your work is simply amazing
your method working even after years
Thanks so much man
Hey very interesting Video! Can you do a follow up video where you Show how to assign each vm a GPU If you Had two gpus. That would be very very helpful.
Edit: someone please explain how to remove a GPU Partition Table. I messed around with a VM in Hyper-V and now my VM is showing 2x GTX 970s even though there is only one in my System currently.
Dude thank you so much for this!
what should we do if we want to undo the gpu repartition?
such a great tutorial = great speed and detail
note: if you update ur drivers on ur host - the pass through will break-
just copy the new driver directory from C:\Windows\System32\DriverStore\FileRepository on the host
to
C:\Windows\System32\HostDriverStore\FileRepository on the vm
delete the old one
reboot the vm
Thanks for the tutorial. I followed it through and it works for me. One question: is there a way to have the same GPU priorities between the host and the guess machine?
Are you required to use Parsec or can you use Moonlight with the VM?
Ive been running this setup for a few weeks, I am wondering this myself. But from what I understand, Moonlight needs Geforce Experience to run i think, coz you need to enable the Nvidia Shield setting for streaming? And Geforce Experience simply does not install bcoz it doesnt recognize the GPU passthrough on the VM (even if device manager shows it).
That said, i might download moonlight anyway to see if it actually works w/o geforce experience-- I'll let you know how that goes!
@@jkasturiashow did moonlight go?
I know this is one of your "older" videos, but that the relevance is probably even more prevailing today! I think with the current new-GPU-market pricing more and more people are looking at dynamically utilizing their hardware and this but probably more so the proxmox content is very underrated!
Always had a thing where I couldn't watch more than a couple of minutes of your content, due to some mental instability on my part and possibly your tendency to talk in a rhythmic manner where always seem to start and end a sentence on the same god-damn tone🤣
But I have been won over by the fact that I saw your content on Floatplane as well! New found respect from a new found subscriber with some issues🤞🤞🤞
Great tutorial. But after trying everything I can find, I cannot solve the code 43 error for 3080 ti. :'(
Found the Solution. The driver folder that needs to be copied over is not always the one covered in the video. Look for the correct one in device settings under device manager for your GPU.
@@sjanett09 That was good info. Thank you dino dude.
@@sjanett09 Helped fix my issue. Thanks bro
Excellent video. I'll be trying this soon.
this is such a great tutorial man,,
Question: Why disable enhanced session mode???
Question: do you think this will work with a linux mint install? (instead of a virtual windows desktop)?
You're doing God's work here jeff, keep it up!! Thank you!!
Hey did you ever figure out why the tutorial suggested to disable enhanced session mode?
@@AteAllThePies I've been using hyper-v vm's since the pandemic started. I was sent home with a laptop to work, but I hated having to use the tiny laptop screen, so I tried to virtualize the laptop on my main pc's hyper-v. I was suprised how well hyper-v works for this, and the flexibility it offers. You can LITTERALLY BOOT OFFF A DEDCATED SSD CONTAINING THE OS, and run the vm!! and IT WORKS!! PERFECTLY!!! like, litteraly, you yank out a computer's ssd, plug it into your pc,, and via hyper-v you can boot a VM off that dsk!, What i've found enhanced session mode to do is make the connection behave more like a regular RDP connection, rather than a console connection. Things flow smoother, copy paste works, you can get higher refresh rates and higher resolutions, kinda acts like a browser window that you can snap around. I ended up just assigning a static IP to my vm's and using RDCMAN, which works perfectly with windows powertoys (fanzyzones) allowing me to use custom snaps on my g9.
Jeff's training videos are the stuff of legend. I wish I could have worked with this guy in the same I.T company :D gg!!
Awesome video! I have an old 4770K and was considering buying a used Xeon to get VT-D functionality to do GPU passthrough, but this is even better!
I'm searching for a possibility to do something similar with VR if anyone knows how
Essentially I want to be able to run my HP Reverb G2 headset on a relatively low power device (such as a laptop) and obviously that headset requires enormous processing power and only my main PC will do it
Essentially I want to be able to do what Virtual Desktop does for the Quest/Quest2 - Use a main PC to do all the rendering, and the headset is essentially just a receiving device
The principle is effectively the same thing, have a PC act like its the virtual desktop client running on a Quest2
Hi @aidangillett5396 did you try it? Are you able to play game with VR glasses on client computer/box and all rendering process is on main host pc. also with hyper virtualization. Did you try it?
For my AMD it was this folder:
u0379774.inf_amd64_6708f07e8af3f5cf
You can go to Device Manager, Display Adapter, Driver Details, then look for a name like this, don't know if it's the same.
Thank you so much for your help
Damn, this was incredible. Thank you, it's helped me a lot.
This simplifies the processes and saves me a lot of time! Thank you so much for the tutorial.
This is amazing! Can you do a tutorial for AMD cards too, and for other cards like the 3060 and 3080?
He did this, because he doesn't have more GPUs. So it's improbable he would magically get those other GPUs now and re-do the tutorial.
Its the same thing..
Man. You're the best. I really liked this tip. Very thanks.
omg, I'm impressed, i had problems with performance with the new Diablo 2 Resurrected, i need use 2 games at same time to do some thing in the game....
Previuosly i had 2fps and now i have 60fps in 2 machines...
Thank you!!!
Struggling with code 43 on a laptop. It seems that there is a known issue with laptop nvidia gpus.
I am using w11 host with w10 vm
Igpu is intel arc, dgpu is ada 500
I initially only passed ada gpu through but have now passed ada and arc gpu both get code 43 after moving the drivers.
I am trying to update the vm to w11 to see if the situation improves. Will update with my findings.
Update I was missing the Set-VM flags it works on w11 host w10 vm
Update 2: gpu switching works and sunshine/moonlight works inside the vm. You have to use a different display driver emulator to get sunshine working. You need to bind a virtual display to the gpu. As sunshine needs a display on the gpu it is using for encoding.
Tank you! ;-)
I had trouble with Win10 and used Win11 instead, which worked out nicely.
However, just your guide is not enough (maybe things have changed, so not saying you did something wrong). I had to run a few extra commands to get hyper v actually running, but other than that it worked great. AND your recommendation of the USB monitor was not mentioned in any other tutorial I found, so I saved buy not buying that. Thanks again.
Can you please share the extra commands for Win11?
This Video is so good!
AFTER MORE THAN 100h DEDICATED TO TRYING FOR A GPU VIRTUALIZACION FINALY THE ONLY VIDEO THAT IT WORK PERFECTLY IT WAS U THNX A LOT A LOT MAN A LOT!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Another tip, instead of using a network share you can use Copy-VMFile powershell command to copy from your host to vm directly. I believe this command is within the Hyper-V Powershell module, but I think in windows 11 this is installed by default when you enable Hyper-V in the programs and features.
my nvidia driver folder is missing, only thing that resembles it is "nvmdi.inf_amd64_410df974fae868d3" ... I have Win10 PRO and RTX 2070 ... Ive tried copying this folder, and my GPU is in VMs Device manager, but its there with an exclamation mark
same :(
This could also be done using Aster Multiseat, which would run better as there's no virtualization taking place or remote desktop.
Just coming from aster to give this a shot, aster been working good but sharing the same file system causes problems with some applications
FYI, if you do not install hyper before everything you cannot type the command get-vmpartionablegpu in the powershell. just to tell.
at least in 22h2
Amazing content,......I'm always learning from your channel!
Thanks for the knowledge!
It worked Perfectly!! Thank you
Ok so how do I add the extra keyboard and mouse to let both players play because now I have to press alt+tab to switch between the two?
One of the best Manscaped sponsor ads I have seen! LOL!!!!!!!