Share a GPU with Hyper-V Virtual Machines - Easy Steps No SW Required to Share Graphics Card! 🖥️

Поделиться
HTML-код
  • Опубликовано: 20 авг 2024

Комментарии • 187

  • @talon343
    @talon343 5 месяцев назад +4

    Bro what a legend. I don't know how you did it, but it worked perfectly. You have been a life saver!

    • @stuffaboutstuff4045
      @stuffaboutstuff4045  5 месяцев назад

      No problem 👍 Glad the video helped! Thanks for the feedback.

  • @treneroidmanducoka4011
    @treneroidmanducoka4011 Месяц назад +1

    actually helped me, and without thousands of actions to set up everything correctly. I was trying to find a way to do this whole day, thanks a lot man!

    • @stuffaboutstuff4045
      @stuffaboutstuff4045  26 дней назад

      You're welcome! Glad the video helped out. Thanks for the feedback.

  • @YanMarchal
    @YanMarchal 2 месяца назад +1

    Awesome! Exactly what I needed. You are a life saver.

  • @wileyc6060
    @wileyc6060 5 месяцев назад +1

    Followed along, and got stuck.
    Im an idiot, didnt listen well.
    10/10 you are a star

    • @stuffaboutstuff4045
      @stuffaboutstuff4045  5 месяцев назад

      😊Glad you are sorted! Thanks for the feedback. Much appreciated. Glad the video helped out..

  • @ericklima8121
    @ericklima8121 5 месяцев назад +2

    Thank you very much man, I followed it step by step and it worked perfectly, keep going with the videos and fly far :D your video arrived and helped someone here in Brazil🌍 muito obrigado e continue assim trazendo ótimos conteúdos, mais um inscrito :D ✈

    • @stuffaboutstuff4045
      @stuffaboutstuff4045  5 месяцев назад +1

      You're welcome! Thanks for the feedback and thanks for subscribing!

  • @arty_3794
    @arty_3794 Месяц назад +1

    Thank you. I had to run some gpu-bounded app in my dev vm (dont like to install working env on my home PC) and you saved me

  • @knightsofthebedrock938
    @knightsofthebedrock938 4 месяца назад +1

    Great! Perfect video. Easy to follow and worked like a charm even with my Nivdiea GPU!

    • @stuffaboutstuff4045
      @stuffaboutstuff4045  4 месяца назад +1

      You're welcome! Glad it helped. Thanks for reaching out and for the feedback!

    • @knightsofthebedrock938
      @knightsofthebedrock938 4 месяца назад

      @@stuffaboutstuff4045 you wouldn’t happen to have a video on how to share a Xbox controller with Hyper V would you?

  • @composition563
    @composition563 15 дней назад +1

    damn Are you genius? Thanks LEGEND man!!!!!!!!!!! such a life saver

    • @stuffaboutstuff4045
      @stuffaboutstuff4045  9 дней назад

      Hi, thanks for reaching out. Glad the video got you up and running. Thanks for the nice feedback!

  • @aleksandarglisic1794
    @aleksandarglisic1794 2 месяца назад +1

    GOOD JOB MAN! This work perfectly and help me too much thank you really!

    • @stuffaboutstuff4045
      @stuffaboutstuff4045  2 месяца назад

      You're welcome! Glad you are up and running. Thanks for the feedback.

  • @matthieumorel8467
    @matthieumorel8467 4 месяца назад +1

    Thanks a lot, it been a while that i tried it and never succed before :) :) :)

    • @stuffaboutstuff4045
      @stuffaboutstuff4045  4 месяца назад

      You are welcome! Glad it worked. Thanks for the feedback.

  • @ijazulhaq6435
    @ijazulhaq6435 3 месяца назад +3

    Error: The operation cannot be perform on the virtual machine because it is assigned one or more GPUP partitions.
    ---
    Solution: Simply disable Checkpoint in your VM setting. It might works.

  • @Cotopia
    @Cotopia 2 месяца назад +1

    Worked like a charm. Ty kind sir

    • @stuffaboutstuff4045
      @stuffaboutstuff4045  2 месяца назад

      Pleasure! Thanks for the feedback. Glad you up and running.

  • @shadow_hive
    @shadow_hive 4 месяца назад +1

    Awesome man, appreciate it very much

    • @stuffaboutstuff4045
      @stuffaboutstuff4045  4 месяца назад

      No problem 👍Glad it helped! Thanks for reaching out and for the feedback!

  • @martintm3930
    @martintm3930 3 месяца назад +1

    Working !!! Perfect, thanks

    • @stuffaboutstuff4045
      @stuffaboutstuff4045  3 месяца назад

      You're welcome! Glad the video helped. Thanks for the feedback.

  • @user-yn8tj3pt3b
    @user-yn8tj3pt3b 3 месяца назад +4

    Thanks for sharing, but I received an error message if I trying to start the vm: GPU Partition (Instanz-ID:
    9FFDD6EE-5F09-45DA-ACB7-29E8B9F3FDEF): Error Insufficient
    system resources exist to complete the requested service.*.
    Any idea to fix the problem?

    • @stuffaboutstuff4045
      @stuffaboutstuff4045  3 месяца назад

      Hi, thanks for reaching out. Did you come right with this? Almost sound like RAM or VRAM issue? What card are you using and do you only have one GPU on the system? The script used in the video will try and share the default GPU detected on the host. If you have multiple GPUs and one is onboard the above could happen as it might share the onboard. This can also happen if your card does not have enough VRAM to support the shared GPU on the host and VM simultaneously, but you should not experience this with any reasonable Nvidia or AMD card. Let me know..

    • @hartleyelectricalcontracto2537
      @hartleyelectricalcontracto2537 3 месяца назад +2

      Set-ItemProperty -Path “HKLM:\SOFTWARE\Policies\Microsoft\Windows\HyperV” -Name “RequireSecureDeviceAssignment” -Type DWORD -Value 0 -Force
      Set-ItemProperty -Path “HKLM:\SOFTWARE\Policies\Microsoft\Windows\HyperV” -Name “RequireSupportedDeviceAssignment” -Type DWORD -Value 0 -Force

    • @hartleyelectricalcontracto2537
      @hartleyelectricalcontracto2537 3 месяца назад

      I had this same issue on 22 server and the above fixed the issue

  • @toxfux
    @toxfux 4 дня назад

    I have a problem, everything works fine until I turn off the virtual machine. If I want to continue working on my host, after a while of the virtual machine being turned off, everything hangs. I have to press CTRL + Shift + Windows + B to restart my GPU and everything works again. It seems that the GPU is not automatically released from the VM. Is there some configuration that I am doing wrong, does this happen to anyone else?
    PD: I have a NVidia 40 GPU

  • @KC-qr4sc
    @KC-qr4sc Месяц назад +1

    Excellent video thank you...

  • @WhollySchiit
    @WhollySchiit 6 месяцев назад +1

    With NVDIA, Code 43 Still present for RTX3090Ti Using the Driver updated on Jan. 24, 2024. Win 11 for V host and Virtual Machine.

    • @stuffaboutstuff4045
      @stuffaboutstuff4045  6 месяцев назад +1

      Hi, it should be the driver. When you update the driver on the host you must do the whole procedure from scratch each time as per video. Let me know if you came right with this..

  • @MildlyInsane
    @MildlyInsane 13 часов назад

    When I try to run the VM it just errors saying that I assigned a gpu partition,
    nvm I'm an idiot didn't check other comments. Second edit: still having issues with having the gpu work even though it looks like it does with the script.

  • @FreeJAC
    @FreeJAC 7 месяцев назад +1

    I was just playing with this myself the other day. It will render now on the VM yes however the remote connection client app to the VM also has to support the 3D graphics. MS killed off their remote Fx so without installing something like Citrix on the corporate side. Rain way or parsec appears to be an option for home use but i never made it that far yet.

    • @stuffaboutstuff4045
      @stuffaboutstuff4045  7 месяцев назад

      Hi,
      Thanks for reaching out. Yes this process works well without the need for 3rd party app or Remote FX. Agreed, for production use this might not be an option. This does work well to quickly just give a VM GPU access or share it with multiple VMs without using direct assignment, especially handy for the AI workloads :-)

  • @Sherlock385
    @Sherlock385 Месяц назад +1

    Thanks a lot!

    • @stuffaboutstuff4045
      @stuffaboutstuff4045  Месяц назад +1

      Pleasure, glad the video assisted. Thanks for reaching out.

  • @bernvrdo
    @bernvrdo 4 месяца назад +1

    thanks, quick and easy

  • @panchz1064
    @panchz1064 2 месяца назад +1

    please point somewhere that for WINDOWS SERVER 2022 YOU NEED ADDITIONAL STEPS: (
    two additional REGEDIT DWORDS , it may help someone out there:
    HKLM:\SOFTWARE\Policies\Microsoft\Windows\HyperV" -Name "RequireSecureDeviceAssignment" -Type DWORD -Value 0
    HKLM:\SOFTWARE\Policies\Microsoft\Windows\HyperV" -Name "RequireSupportedDeviceAssignment" -Type DWORD -Value 0
    ) and create the HyperV "folder" that is not there by default

  • @agungbuana6796
    @agungbuana6796 5 часов назад

    What if I already have a snapshot of a VM, can i still do this?

  • @seanwilley2923
    @seanwilley2923 3 месяца назад +1

    My Hyper-V machine is windows 11 and the vm is windows 7. I have to run window 7 because of software that only works on windows 7 (no, compatibility mode doesn't work). I followed the process and the vm saw the new card but the drivers don't work. Nvidia doesn't make win7 drivers for this gpu. Just an fyi for anyone wanting to try this and are in a similar situation.

  •  2 месяца назад +1

    Perfect, Thanks...

  • @godtier5472
    @godtier5472 6 месяцев назад +1

    dude you are god thx so much i watch 100000000000 video's not working not working i make with ur video nothing thx so much

  • @julniko1556
    @julniko1556 2 месяца назад +1

    it's a pity that audio outputs can't be shared as easily

  • @TahmidZaman-uv6io
    @TahmidZaman-uv6io 3 месяца назад +1

    You have saved me!!

    • @stuffaboutstuff4045
      @stuffaboutstuff4045  3 месяца назад

      Pleasure, Glad the video helped. Thanks for reaching out.

  • @panchz1064
    @panchz1064 2 месяца назад +1

    how do you have configuration version 11 when my windows server 2022 is only 10?

    • @wgoldwing
      @wgoldwing 2 месяца назад +1

      Configuration Version 11 will come in Server 2025. Server 2022 has the Windows 10 hypervisor, which is v.10

    • @stuffaboutstuff4045
      @stuffaboutstuff4045  2 месяца назад

      Hi, I am running the Hypervisor on Win11 host. Hope you are up and running. Looks like @wgoldwing answered the question (Thanks!) Thanks for reaching out.

  • @markgamez1
    @markgamez1 Месяц назад +1

    Hi! The GPU is there, but it doesnt work. It works fine on my PC, but trying to run something like Roblox says theres no gpu, and looking in task manager theres no GPU tab. AMD also says that it cant find it on my pc even though its there. Im using a Radeon RX 6650 XT.

    • @stuffaboutstuff4045
      @stuffaboutstuff4045  26 дней назад

      Hi, on the VM you are sharing the GPU with you wont see it in Task Manager. Check if it shows in Device Manager. Make sure it does not have ! next to it. Remember if you update the host drivers you must copy it to VM again each time. Please just carefully run the steps in the video again and let me know if you see it correctly shared in the VM Device Manager. Run a free benchmark tool like I am using, check your Host GPU and you should see it ramp up. Hope you come right with this.

    • @markgamez1
      @markgamez1 26 дней назад

      @@stuffaboutstuff4045 Yes, there is no ! next to it. The Vm does not receive GPU though.

  • @doobiescoo
    @doobiescoo 2 месяца назад +1

    I've been running a plex vm using no external gpu because I thougt it wasnt possible due to there being no option to do so within the VM settings. I've been doing it this way cluelessly for YEARS.

    • @stuffaboutstuff4045
      @stuffaboutstuff4045  2 месяца назад

      Glad to hear you are up and running. Thanks for the feedback.

  • @nitko2
    @nitko2 3 месяца назад +1

    Not working, first i found snapshots on program data hyper v and there is not files at snapshots folder, and still cant mount the vm...so not working

    • @stuffaboutstuff4045
      @stuffaboutstuff4045  3 месяца назад +1

      Hi, just checking to see if you resolved the issue and were able to mount your VM drive to copy the files and folders across? You need to open Hyper V Manager on your host. Go to settings for the VM and make sure Snapshots are not used and that you dont see any checkpoints when you select the VM in Hyper V Manager. Make sure the VM is off, check in Hyper V Manager where the hard drive is located for the VM. Go to this folder, if the VM is switched off and you dont have current snapshots you should see only the *.vhdx VM disk file, from there you should be able to right click and mount it the way I do in the video. Thanks for reaching out and hope you get the drive mounted.

    • @nitko2
      @nitko2 3 месяца назад

      ​@@stuffaboutstuff4045ok thanks

  • @nomisa1980
    @nomisa1980 8 дней назад

    Im using a Nuc 12 extreme with UHD 770. It works with the extra step on server 2022. I do get an exclamation mark against it when the server starts, if i unstall and let it install again it works fine. Ive tied installing the drivers but it fails. Any ideas? Ps thanks for the video, its saved me running tuns of ps scripts.

  • @IGaming73
    @IGaming73 4 месяца назад +1

    Thanks for the video, it works, but I have an issue. When I try to open Wondershare Filmora on my VM, my host PC shuts down with a blue screen and then restarts. I have a RTX 4060 and did every step, including copying the nv* files from System32. Do you have any idea how to fix that, or at least how to reverse the changes as it worked before ?

    • @stuffaboutstuff4045
      @stuffaboutstuff4045  4 месяца назад +1

      Hi, I have not seen this behavior on my VMs. I have a couple of them, some on AMD some on Nvidia. I have not seen a VM causing BSOD on the host sharing the GPU. Maybe carefully check the PowerShell script and just make sure nothing strange in your script. Run the script in PowerShell ISE in admin mode. I am currently using Win 11 as host and have not had issues. Let me know if you got this resolved. When you update host GPU drivers you have to do this procedure again. Download heaven benchmark and see if that works and if you can see the GPU working on the host, if that works the issue might be in the software trying to launch.

  • @360highlights9
    @360highlights9 14 дней назад +1

    Getting error "Failed to Power on with Error 'Insufficient system resources exist
    to complete the requested service." I'm trying to use Nvidia Quadro M4000. drive is properly installed on the Hyperv host. any idea?

    • @uzairahmed09
      @uzairahmed09 12 дней назад

      I have the same issues

    • @uzairahmed09
      @uzairahmed09 12 дней назад

      Did you find the solution to that problem

    • @stuffaboutstuff4045
      @stuffaboutstuff4045  8 дней назад

      Hi, just checking in if you were able to resolve this. It sounds like something might be hogging resources on the host? It might also be that you have an onboard screen card being detected as root GPU and its trying to share that? Run Get-VMHostPartitionableGpu in admin mode PowerShell and check which GPU it returns. Let me know if you managed to resolve this.

    • @stuffaboutstuff4045
      @stuffaboutstuff4045  8 дней назад

      Hi, just checking in if you were able to resolve this. It sounds like something might be hogging resources on the host? It might also be that you have an onboard screen card being detected as root GPU and its trying to share that? Run Get-VMHostPartitionableGpu in admin mode PowerShell and check which GPU it returns. Let me know if you managed to resolve this.

  • @abigailjennings1180
    @abigailjennings1180 Месяц назад

    It worked.. But whemever trying to play a game, I'm getting the error "NVAPI_ACCESS_DENIED"

    • @stuffaboutstuff4045
      @stuffaboutstuff4045  Месяц назад

      Hi, thanks for reaching out. I have not seen this myself. I checked on google and it points to drivers. You can also check if this maybe applies?
      steamcommunity.com/app/570/discussions/0/4209246056406806706/
      Let me know if you get this resolved. Also remember when you update the drivers on the host you have to copy them to VM again like in the video.

  • @andreas4959
    @andreas4959 16 дней назад

    I followed this step by step, making sure I nailed everything. But when looking in Device Manager in the VM, the card doesn't show up. I do, however, have a "Display Controller" with a yellow warning triangle on it under "Other Devices", which should be the GPU considering it was not there on the first startup, but rather it appeared after I ran that script in Powershell. However, when trying to have it search my PC for drivers, it does find a driver that it thinks is for that device, but it just fails to install it.
    "The third-party INF does not contain digital signature information."
    I tried to just download the drivers directly and install it, but that installation also failed and said it didn't detect a GPU in the system.
    Any help would be appreciated!
    Host - Win11 Pro
    VM - Win10 Pro
    GPU - RTX 4090

    • @stuffaboutstuff4045
      @stuffaboutstuff4045  8 дней назад

      Hi, just to confirm, did you run the script in admin mode PowerShell ISE prompt on the host machine. I would run the script again. After the script completes it will partition the GPU for VM specified in the script. You have to follow the steps exactly the way I did it in the video. You must copy the folders over the way I do in the video between the host and VM. That is how the VM is supplied with the drivers. Each time you update drivers on the host you have to copy them across again using the same steps as in the video. Thanks for reaching out. Let me know if you are up and running.

  • @uzairahmed09
    @uzairahmed09 12 дней назад

    I have performed every steps as it instructed but getting the error "A gpu partition cannot be allocated because resource pool does not have any partitionable GPUs"

    • @stuffaboutstuff4045
      @stuffaboutstuff4045  8 дней назад

      Hi, just checking if you managed to resolve this issue. To check that you have GPU that supports partitioning you can run the following in admin mode PowerShell, Get-VMHostPartitionableGpu. This will tell you if its sees any GPU it can use on the OS. Thanks for reaching out.

    • @uzairahmed09
      @uzairahmed09 8 дней назад

      @@stuffaboutstuff4045 when I ran the command it doesn't show anything to me

  • @thunderstormaway5438
    @thunderstormaway5438 Месяц назад

    Hi bro, I see my rx6600xt in device manager on vm but every time I start anything that uses gpu my driver is crashing with 43 error. Any ideas how to fix that? I’ve tried copying whole system32 from host, different ways of copying driver and still stuck. Planning to try it on windows 11 but dunno if it helps😢

    • @stuffaboutstuff4045
      @stuffaboutstuff4045  26 дней назад

      Hi, error 43 should be drivers. The drivers should not be installed on the VM, only on host then copied. If you updated the drivers on the host you have to run the process to mount the VM drive and copy them across again. Carefully view the video step by step and ensure you not skipping something. Remember some extra files to copy if you have NVidia GPU. Also make sure you execute the script in PowerShell ISE and make sure it executes without errors. Let me know if you come right, hope you are up and running soon.

  • @sys0423
    @sys0423 6 месяцев назад +2

    he is fucxing genius

  • @soapman7x7
    @soapman7x7 Месяц назад

    HI !! i try to follow all steps but unfortunatly my VM still give me (!) on my GPU that is correctly added into VM after run script in powershell, my questions is how can i fix this problem? i can't install AMD drivers from VM setup doesn't see GPU, my is a RX5700XT 8gb, thanks

    • @stuffaboutstuff4045
      @stuffaboutstuff4045  Месяц назад

      Hi, The exclamation usually means the VM does not have the drivers. When you update the drivers on the host you have to update them on your VMs again. Shut down the VM and copy the folders over again exactly like I do in the video. For good measure run the script again. Let me know if you get it up and running. Thanks for reaching out.

  • @shawndonnelly5642
    @shawndonnelly5642 8 дней назад

    Is there any way to do this with a windows host and a linux guest?

    • @stuffaboutstuff4045
      @stuffaboutstuff4045  6 дней назад +1

      Hi, not a lean way I could figure out using partitioning. You could try DDA assignment. If you have NVIDIA card you can use WSL and it will share the NVIDIA card. Thanks for reaching out.

  • @renithens.2321
    @renithens.2321 3 месяца назад

    I can not get heaven to run more than once in the VM no matter what via Directx 11 API. after the first run, it crashes at startup and i have to reinstall GPU drivers on host and copy back over to VM to get it to only work again, once. OpenGL works flawlessly.
    anyone have a fix for this? im trying to get directx 11 to work on this VM but its been just such a constant pain.

    • @stuffaboutstuff4045
      @stuffaboutstuff4045  3 месяца назад

      Hi, just checking if you resolved this issue? Strange one with Heaven only working on the first run? My host currently is Win 11 and all my VMs mainly Win 10 all running latest updates, I have not seen this behavior on them. Do you have any other software to benchmark if the GPU is still being shared when this happens? When heaven crashes are you still seeing the GPU in device manager on the VM listed without issues?

  • @congconghobimakan3009
    @congconghobimakan3009 3 месяца назад

    my hyper v why its configure 9.0 not like yours 11.0 ?i still facing error state when i follow this step

    • @stuffaboutstuff4045
      @stuffaboutstuff4045  3 месяца назад

      Hi, I am running a newer VM configuration. The host used in the video is Windows 11 with the latest updates installed. The newer configuration version do unlock more features for the VM. You can check out the link below. Let me know if this helps.
      learn.microsoft.com/en-us/windows-server/virtualization/hyper-v/deploy/upgrade-virtual-machine-version-in-hyper-v-on-windows-or-windows-server

  • @luc1ky924
    @luc1ky924 9 дней назад

    i cant mount the vhd

    • @stuffaboutstuff4045
      @stuffaboutstuff4045  8 дней назад

      Hi, did you make sure to merge all the snapshots? If you only have one vhd it should mount fine. Let me know if you came right.

  • @timreinmann6731
    @timreinmann6731 6 месяцев назад +1

    Everything worked as described for me.
    However, I have two GPUs on my system, and only the onboard GPU seems to be integrated, not the dedicated GPU.
    How can I change this? Any suggestions or guidance would be greatly appreciated!

    • @stuffaboutstuff4045
      @stuffaboutstuff4045  6 месяцев назад

      Hi, I take it you are using the onboard? If not just disable it. If you want to assign a specific GPU you can add it with the -Instancepath "SampleGPUInstancePath" switch at the end of the (Add-VMGpuPartitionAdapter powershell) last line of the powershell script. Check MS Article learn.microsoft.com/en-us/powershell/module/hyper-v/add-vmgpupartitionadapter?view=windowsserver2022-ps
      Run ‘Get-VMHostPartitionableGpu’ in PowerShell and match the instance path that corresponds to the GPU you want to share. The instance path will be the long Name: variable. Let me know if this worked for you...

    • @timreinmann6731
      @timreinmann6731 6 месяцев назад

      @@stuffaboutstuff4045 Thanks for the help, but I can't use "Get-VMHostPartitionableGpu" in Win10.. Always get an error (CommandNotFoundException).

    • @stuffaboutstuff4045
      @stuffaboutstuff4045  6 месяцев назад

      Try in Admin mode PowerShell run Get-VMPartitionableGpu. Make sure you are on latest Win10 build.

    • @jeremy.crittendon
      @jeremy.crittendon 4 месяца назад +1

      I typed up a whole thing that would be helpful for getting this to work with an iGPU (I got it to work with my 7950x3D Raphael), but youtube saw fit to remove it ???
      Reply to this if still interested, and I will find a way to communicate it 🙂

    • @stuffaboutstuff4045
      @stuffaboutstuff4045  4 месяца назад +1

      @@jeremy.crittendon Sure, apologies for the late reply, I missed this comment. You are welcome to email this to the channel email addy listed on the channel. I will check how I can make it available. Thanks for reaching out! Glad to hear your card is working!👨‍💻😊

  • @Rmerfo
    @Rmerfo 4 месяца назад

    The copying process in the Terminal is underway. However, after completion the Temp folder is not created

    • @stuffaboutstuff4045
      @stuffaboutstuff4045  4 месяца назад

      Hi, you must ensure the VM you are copying to is switch off and mount its drive. Then follow the procedure in the video. Can also not be running snapshots otherwise it wont work. Let me know if you came right with this. Thanks for reaching out.

    • @Rmerfo
      @Rmerfo 4 месяца назад

      @@stuffaboutstuff4045 I didn't watch the video carefully and did everything wrong! I thought the TEM folder was being created on my PC and not on the virtual machine. I did everything exactly according to the instructions - its works. Thanks a lot.
      But I want to ask another question. Perhaps you can give me some advice. I have a license key for one program on my PC. The license is tied to the hardware. However, the program (license) does not work on a virtual machine. Is there any way to fix this?

  • @22om
    @22om 3 месяца назад

    i saw my gpu in the vm but i cant use it in games why

    • @stuffaboutstuff4045
      @stuffaboutstuff4045  3 месяца назад

      Hi, can you confirm in device manager of the VM if it comes up without errors or exclamation next to the device. When you double click it does same apply? When you benchmark it using something like the Heaven tool I used in the video, can you see the GPU on the host being used? Hope you got this resolved. Let me know..

  • @sys0423
    @sys0423 6 месяцев назад +1

    감사합니다

    • @stuffaboutstuff4045
      @stuffaboutstuff4045  6 месяцев назад

      Appreciated! Pleasure, glad the video helped and for the nice feedback.

  • @gustavovieira8043
    @gustavovieira8043 Месяц назад

    will this only work with win10 x64 host -> win10 x64 guest ?
    Cause i'm trying with win10 x64 host -> win10 x86 guest and unfortunately the gpu isn't seen by the guest OS.

    • @stuffaboutstuff4045
      @stuffaboutstuff4045  Месяц назад

      Hi, I am using Win 11 Host with Win 10 VMs and the work fine. It will work on your Win 10 host. Just make sure you have the latest updates installed.

  • @abdullahaslam9407
    @abdullahaslam9407 2 месяца назад

    After completing all the steps.
    When i start the VM, i got the error message
    "GPU Partition (Instance ID) failed to power on with errors 'Insufficient system resources exist to complete the requested service"

    • @stuffaboutstuff4045
      @stuffaboutstuff4045  2 месяца назад

      Hi, did you manage to resolve this. The script will share your default GPU, do you perhaps have an onboard active?

    • @abdullahaslam9407
      @abdullahaslam9407 2 месяца назад

      @@stuffaboutstuff4045 yes i do have RTX 3060 installed but it doesn't show on the task manager. Didn't found any solution yet

    • @stuffaboutstuff4045
      @stuffaboutstuff4045  2 месяца назад

      Hi, it wont show on the VM task manager. It will only show in device manager. Can you see it in the VM device manager? You must see it in there under display adaptors. When you double click it, it should not have any warnings on the VM. You should also see it in dxdiag on the VM in one of the tabs. If not in device manager then carefully check the PowerShell script and make sure you run it in Admin mode within PowerShell ISE.

  • @bulcub
    @bulcub 25 дней назад

    will this work on all vm's that i create? or will the process need to be repeated? thanks

    • @stuffaboutstuff4045
      @stuffaboutstuff4045  24 дня назад

      Hi, you will need to do this for each VM you planning to share the host GPU with. Thanks for reaching out.

  • @jlelelr
    @jlelelr 5 месяцев назад

    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

    • @stuffaboutstuff4045
      @stuffaboutstuff4045  5 месяцев назад

      Hi, just to check, if you update the drivers on the host you have to do the whole process on the VM again. If its not host drivers changing can you run a 3D benchmark like Heaven and Dxdiag to check the Render device. Let me know if you came right with this. It might be that Solid need DDA rather than GPU sharing...

    • @jlelelr
      @jlelelr 5 месяцев назад

      @@stuffaboutstuff4045 Dxdiag shows render device as 3070Ti correctly. DDA= enable but D3DA= not available. :( Moreover, my main OS is Win11Pro, my Hyper-V is Win10Pro and I copied driver files from /system32 of Win11Pro to Win10Pro Hyper-V. Is this a problem?

    • @jlelelr
      @jlelelr 5 месяцев назад

      @@stuffaboutstuff4045 Found out that it works with other software such as vray, cinebenchR24 even though GPU still cant be seen in task manager.

    • @stuffaboutstuff4045
      @stuffaboutstuff4045  4 месяца назад +1

      @@jlelelr Hi, my host is also Win 11 and VMs Win 10, that works fine. Did you follow both steps in the video. Copy directory from host to vm and also copy all the files starting with *.nv for your Nvidia GPU? The script used in the video will use the default card on the host and try to share that using GPU partitioning. Make sure the Nvidia card is your default on the host. Let me know if you came right with this.

  • @steelingmonroe
    @steelingmonroe 3 месяца назад

    So close, but can't for the life of me get this to work. I've followed all steps and can see the RTX4090 in the VM, but it has an exclamation mark next to it. There was one file that refused to copy from DriverStore folder (some "offline_hptuning" db file) but apart from that it was fine. The Nvidia installer won't run on the host machine as it says no Nvidia cards are present. Any ideas? Thanks

    • @steelingmonroe
      @steelingmonroe 3 месяца назад +1

      I did not use Powershell ISE, just normal powershell the first time. After using ISE it is now working and I can run Heaven to benchmark it! Guys, gotta follow the instructions to the letter lol. Only issue I have now is I can't see the GPU in task manager. Is that normal? Cheers

    • @stuffaboutstuff4045
      @stuffaboutstuff4045  3 месяца назад

      Hi, thanks for reaching out and glad to hear you are up and running. Yes that's normal on the VM. Open task manager on the host and launch something like Heaven on the VM and you should see the GPU on the hosting spinning up.

  • @DBonacich
    @DBonacich 3 месяца назад

    Will this PS script work for Linux based VMs? I have an Arch VM I'd really like to share the GPU with. Also, is there a way to revert the changes the script makes?

    • @stuffaboutstuff4045
      @stuffaboutstuff4045  3 месяца назад

      Hi, the script will work and share it with the VM. The drivers will be an issue and you would have to really hack the system as far as I know to get it working (possibly). I think you might be better off using DDA for Linux. If you have Nvidia GPU, that nicely shares natively using WSL on the host. Let me know if you got this working.

  • @szooxgames704
    @szooxgames704 5 месяцев назад

    For NVIDIA GPU when trying to start the game i'm getting NVAPI_ACCESS_DENIED, i can see my GPU listed on VM in device manager. Any tips?

    • @stuffaboutstuff4045
      @stuffaboutstuff4045  5 месяцев назад

      Hi, just to check, if you update the drivers on the host you have to do the whole process on the VM again. If its not host drivers changing can you run a 3D benchmark like Heaven and Dxdiag to check the Render device and check if it produces the same error. Let me know if you came right with this

  • @waste_of_time-1-
    @waste_of_time-1- 2 месяца назад

    Hello! I haven’t proceeded with this yet… but I have multiple GPUs. Am I able just to assign a specific GPU(s) to a VM? Much appreciated!
    Note: 4 of the same GPU, they all use the same driver.

    • @stuffaboutstuff4045
      @stuffaboutstuff4045  Месяц назад

      Hi, did you come right with this. The script will share the default GPU detected on the OS. You can check out command to ID the card on the below link. learn.microsoft.com/en-us/windows-server/virtualization/hyper-v/partition-assign-vm-gpu?tabs=powershell&pivots=windows-server#assign-gpu-partition-to-a-vm. You should be able to find the device with Get-VMPartitionableGpu

    • @waste_of_time-1-
      @waste_of_time-1- Месяц назад

      @@stuffaboutstuff4045 I see with the Get-VMHostPartitionableGpu Name property. Would I add the instance path to the Add-VMGpuPartitionAdapter portion? (Regarding the script you’ve made)
      Ex: Add-VMGpuPartitionAdapter -VMName $vm -InstancePath “PCI\VEN_10DE&DEV…(rest of the Device Instance)…009”
      Would there need to be quotation specifying a string as shown above? Or would this be correct usage?

  • @TheReacher24
    @TheReacher24 3 месяца назад

    I followed every step in the video and after all of it, my gpu is showing up in device manager with zero issues but i am still unable to use my gpu in the vm. I've tried running heaven benchmark and all it does is closes out. when i go into task manager, it also doesnt show my gpu anywhere. Ive tried installing amd drivers but the tool says no amd products are detected.
    Im running a windows 10 vm with a rx 7800 xt. Any help would be appreciated

    • @stuffaboutstuff4045
      @stuffaboutstuff4045  3 месяца назад +1

      Hi, the GPU will not show in task manager on the VM. You will only see it in device manager. You cannot load the drivers on the VM directly. You have to transport it the way I do it in the video. The drivers are transported when you copy the Folder on the Host and rename and place it on the VM. Each time the host drivers get updated or changed you have to do that part again. After you follow the process run Dxdiag on the VM, you should see the card in one of the top tabs. Let me know if you go this resolved.

    • @TheReacher24
      @TheReacher24 2 месяца назад

      @@stuffaboutstuff4045 replicated everything shown and still to no avail. However I decided to start up my windows 11 vm and it worked perfectly. Maybe the instructions don’t translate 1:1 between w10 and w11?

  • @Kr1ssz
    @Kr1ssz 2 месяца назад

    so i have to uninstall bullshitvirtualbox and have to use standard hyper v and i can passthrough my nvidia?

    • @stuffaboutstuff4045
      @stuffaboutstuff4045  2 месяца назад

      Hi, Yes you can share the GPU if you use the Hyper V. You can also natively share any Nvidia using WSL on Windows but that more for Ubuntu. Let me know if you are up and running. Thanks for reaching out.

  • @user-wn4pd3qc1h
    @user-wn4pd3qc1h 3 месяца назад

    I'm not sure why But this did not work for me with nvidia 2080.

    • @stuffaboutstuff4045
      @stuffaboutstuff4045  3 месяца назад

      Hi, this can go wrong at certain points. make sure you copy and rename folder correctly and everything in correct location as from about 0:55 in video. Copy everything starting with nv* over to VM ensure correct location. Make sure you not running Snapshots on the VM. Make sure you run the script in PowerShell ISE admin terminal. Also take note if you update the host GPU display drivers you need to do the whole procedure again. Let me know if you were able to resolve.

    • @user-wn4pd3qc1h
      @user-wn4pd3qc1h 3 месяца назад

      Never Mind. Moved "FileRepository" in to the wrong place. Everything works now. You are a legend!

  • @user-wm5xb5zo1s
    @user-wm5xb5zo1s 5 месяцев назад

    The disk image is not initialized

    • @stuffaboutstuff4045
      @stuffaboutstuff4045  4 месяца назад

      Hi, this should work for Windows machines running Hyper V. If the VM's running are also Windows you should be good to go. Make sure the machine has no snapshots otherwise you will not be able to mount the disk. Otherwise let me know at what point this does not work on your host?

  • @urandurparthu1526
    @urandurparthu1526 2 месяца назад

    is it possible to share intel gpu (igpu)?

    • @stuffaboutstuff4045
      @stuffaboutstuff4045  2 месяца назад

      Technically, yes. I have shared AMD and Nvidia without issues. The script will share the default card found on the machine. I have not tested this myself, but copying the host files over should supply the driver. You will need enough resources on the card to start and share any GPU. Let me know if you could get this working. Thanks for reaching out.

  • @rotunnoe
    @rotunnoe 2 месяца назад

    If I buy that specific video card and install it on my machine, could I use it for both my host machine and a virtual machine? Or can it only be assigned to the host machine, requiring an additional video card for the virtual machine?

    • @stuffaboutstuff4045
      @stuffaboutstuff4045  2 месяца назад

      Hi,
      The GPU will belong to the host and can be shared with multiple VM's. This procedure will work for any AMD or Nvidia GPU. Thanks for reaching out.

    • @smitfs
      @smitfs Месяц назад

      Hi. so just to confirm: example. R740 host with Tesla GPU
      use GPU on multiple virtual machines concurrently

  • @mattsunday5621
    @mattsunday5621 2 месяца назад

    Is there a trick to getting it to work on multiple VM's? I got it working on the first VM but can't seem to get it on a second one.

    • @stuffaboutstuff4045
      @stuffaboutstuff4045  2 месяца назад

      Hi, it does work on multiple VMs. I have my GPU shared with a couple where I require GPU processing. Let me know if you came right with this. Thanks for reaching out..

    • @DeadLike1
      @DeadLike1 11 дней назад

      did you solve the problem?

  • @En1gma3069
    @En1gma3069 5 месяцев назад

    how about if the VM has a linux os with nvidia GPU??? What do you do in this case? also I followed your instructions and your script did not work lol

    • @stuffaboutstuff4045
      @stuffaboutstuff4045  5 месяцев назад

      Hi, Thanks for reaching out. Let me test it, should be able to do it using DDA...

  • @whypinkfloyd
    @whypinkfloyd 2 месяца назад

    should we install experience in host?

    • @stuffaboutstuff4045
      @stuffaboutstuff4045  Месяц назад

      Hi, are you up and running. You need the latest windows updates installed on the OS. If you are running Windows 10 make sure its 21H2. Native windows and Hyper V, steps in the video should get you up and running. Thanks for reaching out. Let me know if you are up and running.

  • @jomynn
    @jomynn 6 месяцев назад

    My VM is hange when run GPU.

  • @ValipPowa
    @ValipPowa 27 дней назад +1

    brotha just said fuck nvidia lol

  • @wezzy1983
    @wezzy1983 4 месяца назад

    Any ideas on getting direct12 games to run, could swear i had hogwarts legacy running the first succesful attempt but i'm just getting dx12 errors now

    • @stuffaboutstuff4045
      @stuffaboutstuff4045  4 месяца назад

      Hi, if you update drivers on the host you have to do the process again. Check if the host drivers got updated perhaps. Thank for reaching out, let me know if resolved..

    • @wezzy1983
      @wezzy1983 4 месяца назад +1

      @@stuffaboutstuff4045 Yeah finally got it thanks was 100% the host drivers, done a ddu and re installed once copied over all working thanks!

    • @stuffaboutstuff4045
      @stuffaboutstuff4045  4 месяца назад

      @@wezzy1983 Cool great to hear you are sorted.😃

  • @meshomagdy1380
    @meshomagdy1380 4 месяца назад

    How can i get the missing driviers for my gpu cuz i see this ! Sign

    • @shadow_hive
      @shadow_hive 4 месяца назад

      are you using an nvidia gpu?

    • @meshomagdy1380
      @meshomagdy1380 4 месяца назад

      @@shadow_hive yes and i fixed the problem thanks but the gpu doesn’t work with the full power on the vm how can i edit the settings of it to give my hyper v more power to you?

    • @meshomagdy1380
      @meshomagdy1380 4 месяца назад

      @@shadow_hive sorry i meant more power to my vm on hyper -v

    • @stuffaboutstuff4045
      @stuffaboutstuff4045  4 месяца назад

      Hi just checking in but it looks like you came right with this issue..

    • @meshomagdy1380
      @meshomagdy1380 4 месяца назад

      @@stuffaboutstuff4045 do you know how can we edit pass through settings?

  • @levitoric6097
    @levitoric6097 6 месяцев назад

    intel graphis Iris Available?

    • @stuffaboutstuff4045
      @stuffaboutstuff4045  5 месяцев назад

      Hi, only tested on Nvidia and AMD, should work on other cards if you copy the whole driverstore folder.

  • @WladylawGomulka
    @WladylawGomulka 6 месяцев назад

    i cant mount the vm disk

    • @stuffaboutstuff4045
      @stuffaboutstuff4045  6 месяцев назад

      Hi, Did you check that there is no snapshots. It will not mount if you have checkpoints for the VM. Let me know if that was the issue..

    • @WladylawGomulka
      @WladylawGomulka 6 месяцев назад +1

      @@stuffaboutstuff4045 i think it was the issue, thanks

    • @stuffaboutstuff4045
      @stuffaboutstuff4045  4 месяца назад

      @@WladylawGomulka No problem. Pleasure.

  • @user-wm5xb5zo1s
    @user-wm5xb5zo1s 5 месяцев назад

    This method is not suitable for everyone due to the Microsoft implementation curve.

    • @stuffaboutstuff4045
      @stuffaboutstuff4045  4 месяца назад

      Hi, this should work for Windows machines running Hyper V. If the VM's running are also Windows you should be good to go. Make sure the machine has no snapshots otherwise you will not be able to mount the disk. Otherwise let me know at what point this does not work on your host?

  • @calu2450
    @calu2450 6 месяцев назад

    CONFIRM

    • @stuffaboutstuff4045
      @stuffaboutstuff4045  5 месяцев назад

      Hi, thanks for the feedback, hoping it worked for you.