Use ANY GPU in a Virtual Machine / GPU Sharing with Virtual Machine
ฝัง
- เผยแพร่เมื่อ 8 ก.ย. 2024
- How to Integrate any GPU in a Virtual Machine - GPU Sharing with Virtual Machine - Simple as that. Either is Hyper-V, VirtualBox, VMWare or you name it... either is Nvidia or AMD... this is the fastest and easiest way to Integrate your Graphics Card in a Virtual Machine.
☕If you Enjoy my content - find it helpful - please consider supporting what I do. I don't say no to a nice cup of coffee☕ ➞ ko-fi.com/thea... ➞ Thank You ❤
★IMPORTANT★ The website is temporarily down, so join the Telegram group to download the files ➞ t.me/TheArtmann
★How To Install Windows 11 on Hyper-V Virtual Machine ➞ • How To Install Windows...
★How To Install Hyper-V on Windows 11 Home Edition ➞ • How To Install Hyper-V...
So, that being said, I hope you enjoy the video and if you do then don't forget to like it and, why not, SUBSCRIBE so you won't miss out the new videos to come.
Cheers!
#virtualmachines #gpu #theartmann
*!!! READ BEFORE YOU COMMENT OR TRY THIS FOR YOURSELF!!!*
Do NOT attempt this on other VMs such as Virtual Box or VMware, as it will not work! At the time of making this video, I was uncertain about the script's compatibility with other virtual machines. That is why (as you can see at minute 0:22) I publicly requested anyone who tries this on other VMs to share their results in the comments.
Many people did, and the answer is simply NO, it does not work on any other VM except Hyper-V. Therefore, if you truly want this to work, there is only one option... install Hyper-V.
PS: Before you mention that you cannot install Hyper-V because you do not have Windows 10/10 Pro, let me tell you that it doesn't matter. There are ways!
You should pin this comment
what if the vm is on a different drive
Hey Artmann, does this method support AMD graphics and does it share resources across multiple VM or only one VM can access the GPU power, and is there a way for it to work on linux or hackintosh?
Then why you didn't change the thumbnail
@dealwithpresent7988 Sunday
Thank you so much! I was using an outdated manual method and it was hit or miss. GPU:4090, Source OS: Windows 11, HyperV OS: Windows 10
This worked effortlessly and flawless.
Why would you want to run windows inside windows? Just looking for use cases
At least 143 reasons
@@xapsus2221 shh i use hacks and mods... For easy famring in games... I just run vm... Collect all the resources etc through the mod. Once im done.. I simply destroy the virtual machine just for safety xd.
shairing the pc using parsec so several people can play games on the same pc remotely@@xapsus2221
@@xapsus2221 when you have a 28 core 56 thread 64 ddr4 ecc ram machine with a whole lot of disks, you wanna do some nasty with it
You are the GOAT. Finally able to run Adobe After Effects in a Virtual Machine and have playback work smoothly. Being able to remote in and edit anywhere is going to be a game changer.
Installing the display is just for fun, but it can't run 3D software, games... because it can't find the gpu. try it
Thank you for this tutorial to grab my GPU into hyper v, I spent the whole day trying to research how to get it to show up until i stumbled onto yours, at first it didn't work because i screwed up somewhere and was about to give up, but i gave it a second go and then my GTX 1650 now finally shows up in hyper v windows 11 and im able to use steam link onto it! Thanks!
Hi. I'm glad it worked for you. Cheers!
@@TheArtmann did it work for gaming
Works with no problems. (Windows 10 running a Windows 10 in VM). Thanks!
Was sceptical at first, but it worked great! thanks
Thank you very much, TheArtMann!
I have been struggling with this issue for a few days and I am quite fed up. I was using other virtual machine programs and things like installing plugins were complicated for me. Now Hyper-V can see my graphics card and applications that were previously unable to open because DirectX was not detected can now open. You are great!
Glad it worked!
For those, who experience the errors like "Command Get-VM is not found", double check your Windows version. Hyper-V is only supported in certain Windows versions like Pro, Education and Enterprise. Also, this is not Virtual Box..
you can have HyperV on on Home Edition also
Probably, not by default, though. I had Windows Home, and I couldn't find the Hyper-V feature unless I switched to another version @@TheArtmann
Windows home edition, you have to force it to work and there is some tutorials on how to get hyper-v to work with windows home. First run through those and get normal hyper-v working without this script, then run the script once you get home to work fully @@aleksandrdolgavin7199
You are the best. I struggled so much with this before.
Thank you so much. Amazing and quick tutorial and worked great
Man tank you, worked great on win 10 with my amd 6600xt.
Thanks for the guide.
So I tried it and it does work but there are some caveats. I was using Hyper-V, as far as I'm aware if you want sound you will have to use some work arounds or stay in enhanced mode. Hyper-V does not capture true mouse input, while games were 3D accelerated mouse look doesn't work. Menus elements and keyboard inputs work though. So if you are just doing productivity this will pretty much work fuss free out of the box. If you want to play any 3D games a solution like Parsec or some way to remote into your machine to send inputs over IP is needed.
Another thing, It might seem excessive but if you are a dabbler like me I'd recommend making a system backup image(not a restore point, a real backup from "Backup and Restore" console) before trying this or try it in a lab environment. While killing the VM did give back the memory I lost GPU acceleration for video on the host for some reason, my system has a Ryzen 5800X3D and RTX2070 yet was dropping 50% of frames on 4k60 YT videos. Removing the VM gpu adapter from powershell did not resolve it. I do not understand this well enough to clean up my mess with PS commands so I resorted to reimaging and its back to normal. I hate wasting time trying to untangle operating systems.
Super cool technology though, hoping Microsoft and the hardware vendors make VMs more accessible to normal users.
Wow. Thanks for your input man. TBH, because I always need to start with a new video after finishing the last, I do not have the time for further testing this stuff. In a video I give the "How to's" and hope for ppl like you to share their experience. And you did a great job.
Thanks again!
I've seen people install parsec on the vm then stream into it via the client. Moonlight/sunshine should be similar.
As we say in London, "TOP BANANA"! Thank you. Microsoft has a super complex page to do this..! You tunred it into a batch-file! Lovely.
Tbh, this is not my creation. It's something I've picked up along the way, learning here and there, and now I'm sharing it with a larger audience. It's either this or paying for the Pro version. And in my opinion, free is always better:)
@@TheArtmann Does the Pro version solve (for gamers) the mouse capture and audio issues?
You are a legend. You made this so easy. Thank you very much!
Legend, for sharing misleading information?
@user-qm7bp4ul5t I promised Chuck Norris I would not engage with unicellular organisms anymore, but there's something about you that screams "attention please"... So here it goes.. I'll break my promise and reply: "misleading?". There.. done. I did my part. Bye
@@TheArtmann says the dude with a misleading youtube video... sure thing fakeo
Sure thing buddy. Just because you don't know how to follow a tutorial, it's fake. Lol
@@TheArtmann misleading, its misleading until you replace the thumbnail and edit the title
SO WELL EXPLAINED, AND USEFUL, THANK YOU
Glad it was helpful!
Give that man a cookie, great job
nice tutorial, I though Laptop Gpu won't work until i found this video thanks!
You're welcome!
Your videos are always topical and great. Do you know if this process works when using Windows Server 2022 as the host operating system and Windows 11 for the guest virtual machine too?
hi. thank you. yes, it should work
Was trying this in 2015 during my PhD but back then there was no support from NVIDIA or Microsoft for advanced drivers. Only one supported was qemu. Glad to know this now.
Just as a disclaimer since I didn't see anyone else talking about this. This will decrease your gpu's performance. It works by sharing the gpu (it's called gpu partitioning), which obviously lowers the performance of said gpu. Keep that in mind before doing this :D
...disclaimer since you haven't seen anyone else talking about this...? It's in the title - GPU Sharing - so it naturally divides the performance... it's exactly how a virtual machine works. When creating a virtual machine, you utilize the host's resources and distribute them among the VM. If you have 16GB RAM, you can't allocate the VM another 16GB, right? The same principle applies here. However, this is common knowledge, so I didn't think I needed to explicitly clarify the concept of "sharing".
@TheArtmann someone who doesn't know anything about VMs won't know how they work will they? Plus someone who has heard some stuff about VMs, could think this is GPU passthrough. I know it's in the title, but just in case you know.
Thank you for the heads up. Didnt know that
Would it still take up gpu performance when the VM is turned off?
What if we disable hyper-v and close virtual machine when we are playing games on our host windows. Do we get all performance?
Man, I love you. Thank you so much!
Glad to help!
Worked like a charm both with Windows 10 and 11, with RX 570 GPU.
Thank you!
how do u get drivers for it
let me know if u find out
@@that_clapped_250
worked with windows 10 with NVIDIA GeForce RTX 3070 card. Thank you very much!
So, if you aren’t running the virtual machine does this effect your graphics card performance? Does the partitioning work like partitioning a hard drive does? Thanks for the video
No. If you don't use the vm, the graphics resources goes to the host.
The best TH-cam video on gpu sharing in virtual machine. The virtual machine is running games normally. I'm using windows 10 on main and windows 11 on virtual. Thanks
Glad it helped
Hello my friend. Do you think it will be done for vmware workstation in the future? What is the reason that this doesn't work for vmware, but works for hyper-v?
Thank you! It's really great option for start VMware with GPU)
Glad you like it!
@@TheArtmann So it works with VMware ? Because you said no.
Thanks so much for the vid..
but I'm facing an issue..
On a laptop when I'm following you're guide, my intergrated amd gpu is appearing on the VM instead of the dedicated nvidia one.. please help..
FYI
I'm using an asus strix g15
with Nvidia rtx 3060 mobile GPU and Ryzen 5800H processor..
Hey, did you manage to solve the issue?
@@aLTaiR1147 ya actually.. I connected my laptop to a monitor via USB C port(using an adapter) which was paired to my dedicated nvidia graphics...
Now primarily nvidia graphics will be used..
Now I disabled my integrated graphics via driver manager and followed the process in the video and the nvidia card was now being used inside hyper v..
@@StevenSteel7 Thanks, now my dedicated graphics card is showed in the VM, however, with the danger traingle indicating issue with drivers. Did you have similiar problems? When I try to update it via device manager, I get best drivers are already installed.
@@aLTaiR1147 that means that you're drivers aren't properly installed.. don't try to update drivers on your pc and the vm once the drivers are copied.. And I too sometimes face this issue.. Just update the drivers on your pc.. uninstall the vm and try to redo the process.. it should work..
Note that the VM and the host need to be on the same driver version..
Worked well with Hyper-V on windows 11.
I did waste alot of time trying to run both scripts on the host machine instead of one on the host and one on the VM. Silly me
Hey mate, I've tested it out just now and unfortunately It doesn't seem to work. Went through to the steps 1:1 but at the end, instead of it showing my graphics card (3060), It says Microsoft Virtual render in the device manager under display adapters. Come to know of any solutions?
Make sure you have the latest driver
@@TheArtmann Alright brother, thanks.
@@TheArtmann Which 1 to dl install latest driver host or VM? thanks
Installing the display is just for fun, but it can't run 3D software, games... because it can't find the gpu. try it
Thanks this worked. Now I can use parsec on hyper-v
Thank you for the tutorial! But i've got a problem with my RTX 3060. In device manager after clicking properties on my gpu on the vm, I got this message: Windows has stopped this device because it has reported problems. (Code 43)
if you would google what you just pasted, you'd find some link that might help.
As intel suggests: "Error Code 43 can be caused by hardware problems or driver or settings corruption. To address this issue, we recommend performing a clean install of latest graphics drivers provided by the system manufacturer, since these drivers are customized."
Man a huge thanks 🙏🙏🙏 i always wanted something like this ❤️❤️ thanks
i get this issue:
Copy-VMFile : Failed to copy file "C:\Windows\System32\NV" to "C:\Temp\System32\NV" in the virtual machine.
The operation was passed a parameter that was not valid.
At line:35 char:9
+ Copy-VMFile $vm -SourcePath $sourcePath -DestinationPath $des ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidArgument: (:) [Copy-VMFile], VirtualizationException
+ FullyQualifiedErrorId : InvalidParameter,Microsoft.HyperV.PowerShell.Commands.CopyVMFile
ok👍
@@TheArtmann such a useless reply atleast try to help.
Immediately. Right away. Anything you say boss.
Instead of copy-pasting the entire freaking error here.. to spam the comments.. better read first. This issue was solved a bunch of times already. But instead of reading the comments, you choose to spam them.
Even better.. google the error.. you'll find 100 pages with solutions.
And WHY THE F should I try to help you when you did not even asked for help? All you said was "I get this issue:" and the pasted the entire freaking page long error
Thank you so much for this!!!
No problem 😊
Great tutorial, this does work, sort of. It's a mixed bag. I'm able to run a standalone 3D app, such as Superposition Benchmark and Unity Enemies and it does utilize GPU, but I'm unable to run any of Steam games for some reason as it simply won't launch, so I can't use that for remote play. I'm using Windows 11 on both host and guest with RTX 3090 for Hyper-V. Windows 10 guest on Windows 11 host behaves the same thing.
The technology is still in its infancy I guess. It still needs improvements. There are people who managed to run games on it.. I don't remember if it was with a windows 10 host (probably).. but this seems not to work for everyone. Maybe there will be updates in the future. I always keep an eye on it
@@TheArtmann I suspected that it has something to do with not being able to properly install nvidia drivers including nvidia control panel rather than running a script, but that's just my theory. I've also tested it in Windows Sandbox, same thing.
@@AdamIverson The technology works, you just have to follow the instructions exactly, you have questions I'm happy to help
@@agrash_oka Do you know any solutions for audio? Currently on Hyper V if you use enhanced mode (for audio) games and software won't lunch. They only work with enhanced mode off but that way I can't seem to get any audio of the dam thing.
@@iamwill737 I'm not sure I understand your question exactly. I have a virtual audio driver, VBCABLE_Driver_Pack43, installed on my virtual machine. Without it, I was not able to get audio. Maybe it will work in your case.
Nice man, Thx a lot.
Hey there, I have rtx 2070, and I have an amd rx 580. So I ran the script, and by pure luck it chose the 580 which I wanted it to pick. Either way, it showed up in the vm, under device manager, however it showed a yellow checkmark next to the small icon. So by there, I tried to manually robocopy, every single file on my entire computer, which was related to something called amd. Then when I launched the vm, the yellow checkmark had now disappeared and it seemed like it linked up with the driver files. However the problem now, is that it uses my cpu integrated graphics, the Microsoft Hyper-V Video as my display adapter, instead of my rx 580.
If I go into proproties and then resources, it says "This device isnt using any resources becuase it has a problem".
Do someone know, what is happening?
does it says error 43?
@@TheArtmann Actually I fixed the problem where it said that it was not using any resources, by simply running the inbuilt-tool which scans the hardware in windows. So from now on, there is no error message. However, it still only shows up in device manager, and not task manager, and it still only uses the cpu integrated graphics. Mhhhh weird....Do any of you guys, that have gotten this corrrect, been able to either see your graphics card in task manager or even tried to run either radeon software or nvidia control panel/geforce experience with success??
@@TheArtmann I actually got this to work, using parsec to stream my virtual machine. So, it's now fully functional. However, even though it works, my preferred way of doing this would obvsiously not having to stream my virtual machine, but rather use it in the hyper-v manager. But I'll take it as a win, it works great.
@@TheArtmann I'm getting error 43 on my VM. Redid the process twice and the error still persists for my 3080. Do you know a workaround?
Thank you so much for this!!!!
You're so welcome!
Hi. First of all, thank you for your dedication to this comment section with great explanations. I am encountering an error which apparently only occurs on older cpus: "Windows 11 specifies an upper mmio region that is above the supported physical address range" after the second script & I am unable to boot into the VM. Do you have any solutions for this?
What cpu u have?
@@TheArtmann i7-3770
Help me, estou com o mesmo problema, é o mesmo CPU I7 3770
@@TheArtmann i5-3470 CPU @ 3.20GH same issue
thank you very much, works on me. already subscribe to you :) cheers!
Thanks for the sub!
Thanks, worked very well!
Unfortunately when actually trying to start a game in the vm, the mouse seems to be violently rotating.
The cursor behaves completely normal, it only seems to be a problem when the mouse is captured.
Has anybody here a hint on how to fix this?
Haven't played games yet, so idk what to say. Weird glitch I have to say
@@TheArtmann Still got no good solution to this, but I found a somewhat acceptable workaround for games that do not require a quick reaction time.
Tunneling the USB-Devices using "usbip" and "VirtualHere" somewhat works.
"usbip" requires some dark driver magic and dubious settings, so not *that* recommmendable.
Bro same please helppp
hm. strange behavior. Your best bet is to fire up open stream or similar on a virtual machine. And only connect to it using moonlight.
Impresiveeee!!! Thanks you so much!!!
Glad you liked it!
Having the same problem as some other people using Hyper-V and WIndows 11:
"(Copy-VMFile : The term 'Copy-VMFile' is not recognized as the name of a cmdlet, function, script file, or operable
program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again."
Is there another term that can be used?
Yea...... so for anyone else who is a dunder head like my self, make sure you type the exact name of the VM that you created on Hyper-V or Virtual Box in the "$vm = ""!!!!!!!!!" section!
so that was the issue?
@@TheArtmann Yes, 100% lol
Great. I'm gonna pin your comment!
@@TheArtmann hello sir, how to do this in vmware?
mate you helped me so much appreciate it.
👍
you are the king man
i installed win 10 in hyper v and shared GPU but it got error code 43 , how can i fix it
How old is your cpu? if it's to old, it can't power both the host and the vm with the gpu
@@TheArtmann i have r5 5600x but it also gives the same error
Did you ever fix the error 43?
@@mVrandid you? got the same
Thank youu !!! Finally i can do it
Thank you so much for this video. Hopefully it will help my situation
Best of luck!
thanks it worked like charm
Thats SICK dude thanks ✨😎
Glad you like it!
Worked! Thank you.
This is amazing thank you!
nice work!it solved my problems
Thank you so much it worked
Thanks! subscribed!
Windows has stopped this device because it has reported problems. (Code 43)
how do i can fix?
I solved this problem by completely removing and installing the latest drivers on the host, then I did this procedure again and everything worked
nice, all works fine now, thanks!
when i paste it in powershell all messages are red and am getting this
Copy-VMFile : The term 'Copy-VMFile' is not recognized as the name of a cmdlet, function, script file, or operable
program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
Copy-VMFile is a PowerShell cmdlet used in Hyper-V environments. It is possible that it may not be recognized if you are not on a Hyper-V host or do not have the Hyper-V module installed.
Can you please confirm if you are running this command on a Hyper-V host, and whether the Hyper-V module is installed on the machine where you are running this command?
Works fine in Windows 10 22h2 Host with RX 6650 XT, VM Windows 10 22H2 (Phoenix lite os)
I had to switch to Hyper-V cuz couldn't figure out how to do this with vmware workstation, everyone is focused on ESXi which is a paid version..
thanks a lot from Brazil.
Welcome!!
AMD 7900 XTX, host Win 11, quest win 10. Working great! Thanks!
Enjoy it
Thanks a lot for the scripts and the description.
Yw!
thank you so much. you helped me out a lot
You are welcome!
Finally can i use now VM my online games..thankyou ..many time before i try .but cant play my games error dx11 etc..i save this your video and file copydriver and gop-p
sadly it dsnt work with my laptop..It gives error of video is disconnected
Thank you so much!
You're welcome!
I was hoping to see a variant for Linux VM aswell
i wish:)
i have two gpu the main one i use is not the one on VM how do i change
disable the one you don't want... follow the tutorial.. then re-enable
nice. thank you😇
No problem
Bravooo
Fantastic Tutorial, I have a question do you need to partition off the card every time you want to use the virtual machine with the GPU ie if you rebooted your real PC? Also how do you undo the GPU share is there a way to undo without a reboot? I subscribed I look following intelligent TH-camrs!
you don't need to partition every time. just if you make a driver update on host. if you want to undo it, then reinstall the driver.
Ugh not working.
Using Hyper-V windows 11.
keep getting a copy error.
Copy-VMFile : The term 'Copy-VMFile' is not recognized as the name of a cmdlet, function, script file, or operable
And Yes I checked the spelling of the VM.
Anyone else find any solutions ?
Did you checked the spelling?🤔
I seeeeee. The Spelling is correct.
The issue was I was running it on my guest machine and not the Host. I think that is why others are failing too.
My bad. Thanks for this script.
@@Adam-pz4oe what do you mean by it?
@@aper4250 The first script you run in powershell. I was running it on the VM and not my main computer (host). You are suppose to run it on the main computer (host)
1- I created a virtual server (Hyper-V)
2- I downloaded the file containing the codes from the specified website and edited it.
3- While my virtual server was off, I read the codes with PowerShell on my main computer and sent the Temp file to System32.
4- I cannot see my graphics card in device manager, it is not installed
5-To write the codes, will I open Powershell on my main machine or on the virtual server?
You need to open Powershell in host
Thanks Artman for the useful video . This is for a Windows VM. Is there a simiular procedure for a Linux machine ? Thanks
Not that I know of
An excellent solution to getting your dGPU seen in a virtual environment when using non-gaming software.
Unfortunately, gamers are going to be sorely disappointed because mouse capture is broken, and audio has significant issues. It's one step forward and one step backwards. It's truly shocking that after all these years, gaming in a virtual environment has still(!!) not been cracked (for the average Joe). Still, given that this method is partially successful, perhaps someone could package the required/missing pieces to solve these issues?
use obs and the ndi plugin for audio it is an easier solution even with the delay, mouse situation i have not figured it out yet
Also I forgot to mention use virtualized drivers like virtual cable will work best
I finally found a solution to the mouse problem this is extremely demand on hardware so it should be noted it will only work as well as your hard ware can handle download parsec on both the vm and your host then make two accounts and stream the delay is ok but it should be worth the extra 5-10ms
what a legend to be still replying, i have one small question -
once i do this and I dont want to use the hyper-v vm anymore, I remove it all and everything
will this have a performance or any issue AFTER? like do I have to run any script or smth to 'undo' what I did?
It will not affect the performance in any way. There's no "undo" script. Just simply reinstall or update the GPU driver and it will cancel the script.
@@TheArtmann ty for the answer and the video, v easy to follow and straightforward 😊
What about Linux inside VirtualBox GPU Passthrough? I don't want to use Hyper-V + I'm not sure it'll work as the script is made for Windows installations only.
not possible
When I run the script and look in the Temp folder, the folder is empty.
Then add it manually
... i dont have admin acess to replace files in repository? Help ?
can you play games on this?
yes, but you need a high end machine
friend, in my case I have a laptop too, it has the onboard video (amd vega 7) and the rtx 3060 offboard, it worked, but it took the onboard vga, how do I share the rtx 3060? Thanks! I'm from Brazil, sorry for the text because I use a translator to talk to you, and I'm your follower.
I would like to share the offboard video(rtx3060) is there anything in the code that I may be changing? my laptop is a dell g15 ryzen
try to disable the onboard gpu and then make the process
@@TheArtmann ok thanks
GPU showed in device manager, and every step was okay(without errors), but still game doesn't recognize GPU. Not sure how no one problem like this in the comments, because my friend and I have same problem. Does anyone know what should we do?
no ideea
Installing the display is just for fun, but it can't run 3D software, games... because it can't find the gpu. try it
mine shows 3070Ti in device manager "work properly" but gpu cant be seen in task manager and solidworks visualize cannot detect gpu. my main system has intel igpu and 3070ti working
disable igpu and try again
sir. i have rx 6400 on my pc when tried this device manager gives me error code 43 and driver isnt downloading. how can i fix that?
idk. i heard alot of ppl getting errors with amd. for some it worked, for other didn't
Running the 2nd script i get this error:
Remove-VMGpuPartitionAdapter : Unable to find a Gpu partition adapter matching the given criteria.
At line:2 char:1
+ Remove-VMGpuPartitionAdapter -VMName $vm
what vm u use?
@@TheArtmann It works now! It didnt seem to have any effect, I rewatched your video and you actually had the same error at 4:45
I see you reply to most/all of the comments - That's great. Quick question, Ive been exploring options of doing a VM for MacOS - Would this be possible to follow this guide and run MacOS on Hyper-V with my GPU shared (Nvdia 3090) ? Let me know, I'd appreciate it! Thanks.
@@SamDaniel2020 hi. Is not possible. Just windows
@@TheArtmann Thanks for your response. I don't understand the point of this then? If you're already on windows. get another windows on VM and use the GPU? Isn't that just re-doing what you already have with extra steps lol.
Not really. Personally I have 3 windows 11 machines and 1 Linux and I use every single one for a different, specific thing. A VM doesn't have to be a different OS only type of thing. Can be anything you want, serving any purposes you need if you don't want to involve your main host.
@@TheArtmann Fair enough! Thank you. I appreciate the responses.
Thank you. It work on my situation. Host OS:Windows11 GPU 4090*2, Hyper V OS:Windows10 GPU*1. It can run pytorch train on Hyper V OS GPU 4090, but slow 3 times than Host OS GPU 4090 and can't run on GPU 4090 just run on CPU when run pytorch pipeline.
I have two question.
1. If have way can run speed same or little slow on Host OS?
2. How to share Host OS GPU 4090*2 to Hyper V OS?
what do you mean?
Error: The session was disconnected. If you want to continue, try to connect again. If the problem persists, contact your system administrator.
Would you like to reconnect?
That was the question it spits out after enabling enhanced session.
What to do?
What specs/os you have?
@@TheArtmann I'm on Windows 11, and the system is fine it's a i9 12900k MOBO. Z690-A Video card is a RTX 4090.
I can't seem to install the Nvidia Drivers.
Nvidia experience says, no GPU detected, but it shows up in the VM's device manager. I also have 3 cards showing up under display adapters.
Should I enable enhanced mode?
My guess is it's not truly using the Video card, maybe it's just sharing it but not using it as a primary device.
After "paste" copyDriverFiles_v1.3.ps1, I get error like this, is it ok?
"Copy-VMFile : Failed to copy file "C:\Windows\System32\NV" to "C:\Temp\System32\NV" in the virtual machine.
The operation was passed a parameter that was not valid.
At line:35 char:9
+ Copy-VMFile $vm -SourcePath $sourcePath -DestinationPath $des ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidArgument: (:) [Copy-VMFile], VirtualizationException
+ FullyQualifiedErrorId : InvalidParameter,Microsoft.HyperV.PowerShell.Commands.CopyVMFile"
it says right there in the error what's the problem: "The operation was passed a parameter that was not valid." so a mistake was made.. either wrong path, wrong name, etc.
yo in the github official it says that its compatible only with windows 10 20h2...
Maybe they haven't updated the page because u saw the video.. I use windows 11 22h2
@@TheArtmann yo bro in parsec i cant stream what did i do wrong? i moved the file in good way
Thank you!!!
is it possible to download the gpu files without making a telegram acc?
Yesm download them from my website
its detected but lost internet connection
edit: forgot to disable guest service
thanks a lot, you help my work
Really nice video quick and easy steps! thanks sir.. A quick one, if I want to revert to original ? there is a script as well? Thanks
no script as far as I know, but if you update the nvidia drier on the host, it will reset by itself and you ned to do this all over again... so at least there's that
I have a problem with cs2, it gives me the following error: nvapi access denied
The error message you are receiving indicates that your system is encountering an issue with the NVIDIA API (nvapi). This can happen if your system is not properly configured for access to NVIDIA graphics hardware and software.
I suggest that you try the following troubleshooting steps:
1. Check that you have the latest NVIDIA drivers installed for your graphics card.
2. Check that the NVIDIA Control Panel is configured correctly for your hardware and software needs.
3. Ensure that your system meets the minimum requirements for the software you are using that requires the NVIDIA API.
4. If you are still having issues, try uninstalling and reinstalling the NVIDIA drivers, and restarting your system.
If none of these steps work, I recommend that you seek assistance from a qualified computer technician who is familiar with NVIDIA software and hardware.
Hey Artmann.
Vid instructions worked fine. Got gpu shared in the VM, except it chose to share CPU Integrated GPU instead of my dedicated GPU... is there a way I can make it choose my "proper" GPU?
disable the integrated gpu, leave only your "proper" card, and redo the process