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

ความคิดเห็น • 1.4K

  • @TheArtmann
    @TheArtmann  ปีที่แล้ว +56

    *!!! 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!

    • @IGaming73
      @IGaming73 11 หลายเดือนก่อน +8

      You should pin this comment

    • @justinembrey3788
      @justinembrey3788 11 หลายเดือนก่อน +3

      what if the vm is on a different drive

    • @TomiWebPro
      @TomiWebPro 8 หลายเดือนก่อน +1

      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?

    • @dealwithpresent7988
      @dealwithpresent7988 7 หลายเดือนก่อน +5

      Then why you didn't change the thumbnail

    • @TheArtmann
      @TheArtmann  7 หลายเดือนก่อน

      @dealwithpresent7988 Sunday

  • @thinktech2go
    @thinktech2go ปีที่แล้ว +25

    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.

    • @xapsus2221
      @xapsus2221 ปีที่แล้ว +2

      Why would you want to run windows inside windows? Just looking for use cases

    • @TheArtmann
      @TheArtmann  ปีที่แล้ว +11

      At least 143 reasons

    • @Astroisback01
      @Astroisback01 ปีที่แล้ว +14

      ​@@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.

    • @sggsquadpresents
      @sggsquadpresents 11 หลายเดือนก่อน

      shairing the pc using parsec so several people can play games on the same pc remotely@@xapsus2221

    • @TomiWebPro
      @TomiWebPro 8 หลายเดือนก่อน

      @@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

  • @wizit1993
    @wizit1993 10 หลายเดือนก่อน +6

    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.

    • @jeeju8369
      @jeeju8369 2 หลายเดือนก่อน +1

      Installing the display is just for fun, but it can't run 3D software, games... because it can't find the gpu. try it

  • @MrPhazeDerp
    @MrPhazeDerp ปีที่แล้ว +18

    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!

    • @TheArtmann
      @TheArtmann  ปีที่แล้ว +3

      Hi. I'm glad it worked for you. Cheers!

    • @hopegaming3210
      @hopegaming3210 ปีที่แล้ว +3

      @@TheArtmann did it work for gaming

  •  ปีที่แล้ว +8

    Works with no problems. (Windows 10 running a Windows 10 in VM). Thanks!

  • @Ilujahrvatska
    @Ilujahrvatska ปีที่แล้ว +11

    Was sceptical at first, but it worked great! thanks

  • @Turgineer
    @Turgineer 18 วันที่ผ่านมา +1

    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!

    • @TheArtmann
      @TheArtmann  18 วันที่ผ่านมา +2

      Glad it worked!

  • @aleksandrdolgavin7199
    @aleksandrdolgavin7199 11 หลายเดือนก่อน +7

    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..

    • @TheArtmann
      @TheArtmann  11 หลายเดือนก่อน +2

      you can have HyperV on on Home Edition also

    • @aleksandrdolgavin7199
      @aleksandrdolgavin7199 11 หลายเดือนก่อน +2

      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

    • @Voorhees-Jason
      @Voorhees-Jason 11 หลายเดือนก่อน

      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

  • @as-ng5ln
    @as-ng5ln 24 วันที่ผ่านมา +1

    You are the best. I struggled so much with this before.

  • @johnsmith4567
    @johnsmith4567 ปีที่แล้ว +5

    Thank you so much. Amazing and quick tutorial and worked great

  • @Ro_Gaona
    @Ro_Gaona 11 หลายเดือนก่อน +3

    Man tank you, worked great on win 10 with my amd 6600xt.

  • @chinogambino9375
    @chinogambino9375 ปีที่แล้ว +16

    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.

    • @TheArtmann
      @TheArtmann  ปีที่แล้ว +4

      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!

    • @zipeee1
      @zipeee1 ปีที่แล้ว +3

      I've seen people install parsec on the vm then stream into it via the client. Moonlight/sunshine should be similar.

  • @DXCommanderHQ
    @DXCommanderHQ ปีที่แล้ว +1

    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.

    • @TheArtmann
      @TheArtmann  ปีที่แล้ว +1

      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:)

    • @ChrisM541
      @ChrisM541 8 หลายเดือนก่อน

      @@TheArtmann Does the Pro version solve (for gamers) the mouse capture and audio issues?

  • @kovaks42069
    @kovaks42069 ปีที่แล้ว +7

    You are a legend. You made this so easy. Thank you very much!

    • @user-qm7bp4ul5t
      @user-qm7bp4ul5t 3 หลายเดือนก่อน

      Legend, for sharing misleading information?

    • @TheArtmann
      @TheArtmann  3 หลายเดือนก่อน +2

      @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

    • @user-qm7bp4ul5t
      @user-qm7bp4ul5t 3 หลายเดือนก่อน

      @@TheArtmann says the dude with a misleading youtube video... sure thing fakeo

    • @TheArtmann
      @TheArtmann  3 หลายเดือนก่อน +2

      Sure thing buddy. Just because you don't know how to follow a tutorial, it's fake. Lol

    • @user-qm7bp4ul5t
      @user-qm7bp4ul5t 3 หลายเดือนก่อน

      @@TheArtmann misleading, its misleading until you replace the thumbnail and edit the title

  • @ivoturi
    @ivoturi 2 หลายเดือนก่อน +1

    SO WELL EXPLAINED, AND USEFUL, THANK YOU

    • @TheArtmann
      @TheArtmann  2 หลายเดือนก่อน

      Glad it was helpful!

  • @stivonpelno7981
    @stivonpelno7981 11 หลายเดือนก่อน +3

    Give that man a cookie, great job

  • @tigerpham1955
    @tigerpham1955 10 หลายเดือนก่อน +1

    nice tutorial, I though Laptop Gpu won't work until i found this video thanks!

    • @TheArtmann
      @TheArtmann  10 หลายเดือนก่อน +1

      You're welcome!

  • @hockeyplayer28
    @hockeyplayer28 3 หลายเดือนก่อน +3

    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?

    • @TheArtmann
      @TheArtmann  3 หลายเดือนก่อน +1

      hi. thank you. yes, it should work

  • @SaurabhGayali
    @SaurabhGayali 7 หลายเดือนก่อน +1

    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.

  • @rtzgf67games7
    @rtzgf67games7 ปีที่แล้ว +35

    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

    • @TheArtmann
      @TheArtmann  ปีที่แล้ว +26

      ...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".

    • @rtzgf67games7
      @rtzgf67games7 ปีที่แล้ว +5

      @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.

    • @musscullen4571
      @musscullen4571 9 หลายเดือนก่อน

      Thank you for the heads up. Didnt know that

    • @yoprojulian
      @yoprojulian 7 หลายเดือนก่อน +2

      Would it still take up gpu performance when the VM is turned off?

    • @LuckyYeti
      @LuckyYeti 4 หลายเดือนก่อน +1

      What if we disable hyper-v and close virtual machine when we are playing games on our host windows. Do we get all performance?

  • @noLKWD_vital
    @noLKWD_vital ปีที่แล้ว +2

    Man, I love you. Thank you so much!

  • @vladislavkaras491
    @vladislavkaras491 ปีที่แล้ว +16

    Worked like a charm both with Windows 10 and 11, with RX 570 GPU.
    Thank you!

  • @thiago87silva
    @thiago87silva 10 หลายเดือนก่อน +1

    worked with windows 10 with NVIDIA GeForce RTX 3070 card. Thank you very much!

  • @chrisa9549
    @chrisa9549 ปีที่แล้ว +6

    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

    • @TheArtmann
      @TheArtmann  ปีที่แล้ว +7

      No. If you don't use the vm, the graphics resources goes to the host.

  • @pauloexplod2009
    @pauloexplod2009 ปีที่แล้ว +1

    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

  • @cusacho
    @cusacho 9 หลายเดือนก่อน +3

    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?

  • @-anonim-3008
    @-anonim-3008 8 หลายเดือนก่อน +1

    Thank you! It's really great option for start VMware with GPU)

    • @TheArtmann
      @TheArtmann  8 หลายเดือนก่อน

      Glad you like it!

    • @dominikcislak191
      @dominikcislak191 6 หลายเดือนก่อน

      @@TheArtmann So it works with VMware ? Because you said no.

  • @StevenSteel7
    @StevenSteel7 ปีที่แล้ว +6

    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..

    • @aLTaiR1147
      @aLTaiR1147 ปีที่แล้ว

      Hey, did you manage to solve the issue?

    • @StevenSteel7
      @StevenSteel7 ปีที่แล้ว +2

      @@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..

    • @aLTaiR1147
      @aLTaiR1147 ปีที่แล้ว

      @@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.

    • @StevenSteel7
      @StevenSteel7 ปีที่แล้ว +1

      @@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..

    • @StevenSteel7
      @StevenSteel7 ปีที่แล้ว +1

      Note that the VM and the host need to be on the same driver version..

  • @Sopez1
    @Sopez1 ปีที่แล้ว +2

    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

  • @Nandanly
    @Nandanly ปีที่แล้ว +4

    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?

    • @TheArtmann
      @TheArtmann  ปีที่แล้ว +1

      Make sure you have the latest driver

    • @Nandanly
      @Nandanly ปีที่แล้ว +2

      @@TheArtmann Alright brother, thanks.

    • @ebbon99
      @ebbon99 ปีที่แล้ว

      @@TheArtmann Which 1 to dl install latest driver host or VM? thanks

    • @jeeju8369
      @jeeju8369 2 หลายเดือนก่อน

      Installing the display is just for fun, but it can't run 3D software, games... because it can't find the gpu. try it

  • @joey.99
    @joey.99 ปีที่แล้ว +1

    Thanks this worked. Now I can use parsec on hyper-v

  • @DeactivateGD
    @DeactivateGD ปีที่แล้ว +3

    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)

    • @TheArtmann
      @TheArtmann  ปีที่แล้ว +1

      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."

  • @He-Is-One-and-Only
    @He-Is-One-and-Only ปีที่แล้ว +1

    Man a huge thanks 🙏🙏🙏 i always wanted something like this ❤️❤️ thanks

  • @b1bek7
    @b1bek7 ปีที่แล้ว +3

    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

    • @TheArtmann
      @TheArtmann  ปีที่แล้ว +1

      ok👍

    • @b1bek7
      @b1bek7 ปีที่แล้ว +5

      ​@@TheArtmann such a useless reply atleast try to help.

    • @TheArtmann
      @TheArtmann  ปีที่แล้ว +1

      Immediately. Right away. Anything you say boss.

    • @TheArtmann
      @TheArtmann  ปีที่แล้ว +1

      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.

    • @TheArtmann
      @TheArtmann  ปีที่แล้ว +2

      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

  • @InHUM44n
    @InHUM44n หลายเดือนก่อน +1

    Thank you so much for this!!!

    • @TheArtmann
      @TheArtmann  หลายเดือนก่อน +1

      No problem 😊

  • @AdamIverson
    @AdamIverson ปีที่แล้ว +4

    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.

    • @TheArtmann
      @TheArtmann  ปีที่แล้ว +1

      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

    • @AdamIverson
      @AdamIverson ปีที่แล้ว +1

      @@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.

    • @agrash_oka
      @agrash_oka ปีที่แล้ว +1

      @@AdamIverson The technology works, you just have to follow the instructions exactly, you have questions I'm happy to help

    • @iamwill737
      @iamwill737 ปีที่แล้ว +1

      @@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.

    • @agrash_oka
      @agrash_oka ปีที่แล้ว +1

      @@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.

  • @guit_air
    @guit_air 5 หลายเดือนก่อน +1

    Nice man, Thx a lot.

  • @sondreuknow1234
    @sondreuknow1234 ปีที่แล้ว +3

    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?

    • @TheArtmann
      @TheArtmann  ปีที่แล้ว +1

      does it says error 43?

    • @sondreuknow1234
      @sondreuknow1234 ปีที่แล้ว +2

      @@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??

    • @sondreuknow1234
      @sondreuknow1234 ปีที่แล้ว +2

      @@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.

    • @TexasTwurkTeam
      @TexasTwurkTeam ปีที่แล้ว

      @@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?

  • @OGO161
    @OGO161 4 หลายเดือนก่อน +1

    Thank you so much for this!!!!

    • @TheArtmann
      @TheArtmann  4 หลายเดือนก่อน

      You're so welcome!

  • @ubt-uzaybilimveteknoloji8481
    @ubt-uzaybilimveteknoloji8481 ปีที่แล้ว +4

    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?

    • @TheArtmann
      @TheArtmann  ปีที่แล้ว +1

      What cpu u have?

    • @ubt-uzaybilimveteknoloji8481
      @ubt-uzaybilimveteknoloji8481 ปีที่แล้ว +1

      @@TheArtmann i7-3770

    • @midezera
      @midezera ปีที่แล้ว +1

      Help me, estou com o mesmo problema, é o mesmo CPU I7 3770

    • @gamesdean3842
      @gamesdean3842 7 หลายเดือนก่อน

      @@TheArtmann i5-3470 CPU @ 3.20GH same issue

  • @gallanoej
    @gallanoej ปีที่แล้ว +2

    thank you very much, works on me. already subscribe to you :) cheers!

    • @TheArtmann
      @TheArtmann  ปีที่แล้ว +1

      Thanks for the sub!

  • @hanswuast737
    @hanswuast737 ปีที่แล้ว +6

    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?

    • @TheArtmann
      @TheArtmann  ปีที่แล้ว

      Haven't played games yet, so idk what to say. Weird glitch I have to say

    • @hanswuast737
      @hanswuast737 ปีที่แล้ว +1

      @@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.

    • @ranomdde333
      @ranomdde333 ปีที่แล้ว

      Bro same please helppp

    • @agrash_oka
      @agrash_oka ปีที่แล้ว +1

      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.

  • @TeamTopGames
    @TeamTopGames 7 หลายเดือนก่อน +1

    Impresiveeee!!! Thanks you so much!!!

    • @TheArtmann
      @TheArtmann  7 หลายเดือนก่อน +1

      Glad you liked it!

  • @AnCasper
    @AnCasper ปีที่แล้ว +17

    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?

    • @AnCasper
      @AnCasper ปีที่แล้ว +2

      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!

    • @TheArtmann
      @TheArtmann  ปีที่แล้ว +4

      so that was the issue?

    • @AnCasper
      @AnCasper ปีที่แล้ว +1

      @@TheArtmann Yes, 100% lol

    • @TheArtmann
      @TheArtmann  ปีที่แล้ว +3

      Great. I'm gonna pin your comment!

    • @Blank-es9cg
      @Blank-es9cg ปีที่แล้ว

      @@TheArtmann hello sir, how to do this in vmware?

  • @karacal6290
    @karacal6290 ปีที่แล้ว +1

    mate you helped me so much appreciate it.

  • @mirjap.5969
    @mirjap.5969 ปีที่แล้ว +4

    👍

  • @mukocandir6354
    @mukocandir6354 3 หลายเดือนก่อน +1

    you are the king man

  • @sinha6776
    @sinha6776 ปีที่แล้ว +3

    i installed win 10 in hyper v and shared GPU but it got error code 43 , how can i fix it

    • @TheArtmann
      @TheArtmann  ปีที่แล้ว

      How old is your cpu? if it's to old, it can't power both the host and the vm with the gpu

    • @KRATOS.1258
      @KRATOS.1258 ปีที่แล้ว

      ​@@TheArtmann i have r5 5600x but it also gives the same error

    • @mVran
      @mVran ปีที่แล้ว +1

      Did you ever fix the error 43?

    • @rePath
      @rePath 5 หลายเดือนก่อน

      @@mVrandid you? got the same

  • @chtipilou
    @chtipilou 8 หลายเดือนก่อน +1

    Thank youu !!! Finally i can do it

  • @Jester12036
    @Jester12036 ปีที่แล้ว +1

    Thank you so much for this video. Hopefully it will help my situation

  • @dxg69
    @dxg69 7 หลายเดือนก่อน +1

    thanks it worked like charm

  • @imoxsh
    @imoxsh 10 หลายเดือนก่อน +1

    Thats SICK dude thanks ✨😎

    • @TheArtmann
      @TheArtmann  10 หลายเดือนก่อน +1

      Glad you like it!

  • @marinsekjaka
    @marinsekjaka 11 หลายเดือนก่อน +1

    Worked! Thank you.

  • @AstroFalcon_Z
    @AstroFalcon_Z ปีที่แล้ว +2

    This is amazing thank you!

  • @user-pz3lv1yf9s
    @user-pz3lv1yf9s ปีที่แล้ว +1

    nice work!it solved my problems

  • @anlturk3522
    @anlturk3522 6 หลายเดือนก่อน +1

    Thank you so much it worked

  • @royvincentniepes3734
    @royvincentniepes3734 ปีที่แล้ว +1

    Thanks! subscribed!

  • @SuperMishka
    @SuperMishka หลายเดือนก่อน +2

    Windows has stopped this device because it has reported problems. (Code 43)
    how do i can fix?

    • @SuperMishka
      @SuperMishka หลายเดือนก่อน +1

      I solved this problem by completely removing and installing the latest drivers on the host, then I did this procedure again and everything worked

  • @alanherrera5421
    @alanherrera5421 ปีที่แล้ว +1

    nice, all works fine now, thanks!

  • @VergiliusClaudius
    @VergiliusClaudius 5 หลายเดือนก่อน +2

    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.

    • @TheArtmann
      @TheArtmann  5 หลายเดือนก่อน +1

      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?

  • @CuervoVirtual
    @CuervoVirtual ปีที่แล้ว +2

    Works fine in Windows 10 22h2 Host with RX 6650 XT, VM Windows 10 22H2 (Phoenix lite os)

  • @mds698
    @mds698 13 วันที่ผ่านมา +1

    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..

  • @oliverhumberto19
    @oliverhumberto19 9 หลายเดือนก่อน +1

    thanks a lot from Brazil.

    • @TheArtmann
      @TheArtmann  9 หลายเดือนก่อน

      Welcome!!

  • @TonyM_FIN
    @TonyM_FIN 7 หลายเดือนก่อน +1

    AMD 7900 XTX, host Win 11, quest win 10. Working great! Thanks!

    • @TheArtmann
      @TheArtmann  7 หลายเดือนก่อน +1

      Enjoy it

  • @m1cha_el
    @m1cha_el ปีที่แล้ว +2

    Thanks a lot for the scripts and the description.

  • @zidenzz
    @zidenzz ปีที่แล้ว +1

    thank you so much. you helped me out a lot

  • @user-so4dt5wy7r
    @user-so4dt5wy7r 5 วันที่ผ่านมา +1

    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

  • @firetrys
    @firetrys ปีที่แล้ว +2

    sadly it dsnt work with my laptop..It gives error of video is disconnected

  • @audaxrallymedia
    @audaxrallymedia 7 หลายเดือนก่อน +1

    Thank you so much!

    • @TheArtmann
      @TheArtmann  7 หลายเดือนก่อน +1

      You're welcome!

  • @ivanciuandrei
    @ivanciuandrei หลายเดือนก่อน +1

    I was hoping to see a variant for Linux VM aswell

    • @TheArtmann
      @TheArtmann  หลายเดือนก่อน

      i wish:)

  • @bgimmy
    @bgimmy 9 หลายเดือนก่อน +2

    i have two gpu the main one i use is not the one on VM how do i change

    • @TheArtmann
      @TheArtmann  9 หลายเดือนก่อน +2

      disable the one you don't want... follow the tutorial.. then re-enable

  • @r.martinez413
    @r.martinez413 ปีที่แล้ว +2

    nice. thank you😇

  • @ferhat1983aydin
    @ferhat1983aydin หลายเดือนก่อน +2

    Bravooo

  • @ThePavilionWeb
    @ThePavilionWeb 5 หลายเดือนก่อน +1

    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!

    • @TheArtmann
      @TheArtmann  5 หลายเดือนก่อน +2

      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.

  • @Adam-pz4oe
    @Adam-pz4oe ปีที่แล้ว +2

    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 ?

    • @TheArtmann
      @TheArtmann  ปีที่แล้ว +1

      Did you checked the spelling?🤔

    • @Adam-pz4oe
      @Adam-pz4oe ปีที่แล้ว +2

      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.

    • @aper4250
      @aper4250 ปีที่แล้ว

      @@Adam-pz4oe what do you mean by it?

    • @Adam-pz4oe
      @Adam-pz4oe ปีที่แล้ว

      @@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)

  • @CyberWanted1
    @CyberWanted1 19 วันที่ผ่านมา +1

    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?

    • @TheArtmann
      @TheArtmann  19 วันที่ผ่านมา +1

      You need to open Powershell in host

  • @alessandroannunziato669
    @alessandroannunziato669 10 หลายเดือนก่อน +2

    Thanks Artman for the useful video . This is for a Windows VM. Is there a simiular procedure for a Linux machine ? Thanks

    • @TheArtmann
      @TheArtmann  10 หลายเดือนก่อน +1

      Not that I know of

  • @ChrisM541
    @ChrisM541 8 หลายเดือนก่อน +1

    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?

    • @roseqwixux9923
      @roseqwixux9923 8 หลายเดือนก่อน +1

      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

    • @roseqwixux9923
      @roseqwixux9923 8 หลายเดือนก่อน +1

      Also I forgot to mention use virtualized drivers like virtual cable will work best

    • @roseqwixux9923
      @roseqwixux9923 8 หลายเดือนก่อน

      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

  • @yash3459
    @yash3459 4 หลายเดือนก่อน +1

    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?

    • @TheArtmann
      @TheArtmann  4 หลายเดือนก่อน +2

      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.

    • @yash3459
      @yash3459 4 หลายเดือนก่อน +1

      @@TheArtmann ty for the answer and the video, v easy to follow and straightforward 😊

  • @RVTGROUP
    @RVTGROUP 7 หลายเดือนก่อน +2

    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.

    • @TheArtmann
      @TheArtmann  7 หลายเดือนก่อน +1

      not possible

  • @xtinct7555
    @xtinct7555 22 วันที่ผ่านมา +1

    When I run the script and look in the Temp folder, the folder is empty.

    • @TheArtmann
      @TheArtmann  22 วันที่ผ่านมา +1

      Then add it manually

  • @ibase_TV
    @ibase_TV ปีที่แล้ว +1

    ... i dont have admin acess to replace files in repository? Help ?

  • @gennavandella
    @gennavandella 11 หลายเดือนก่อน +2

    can you play games on this?

    • @TheArtmann
      @TheArtmann  11 หลายเดือนก่อน

      yes, but you need a high end machine

  • @GansosDroid2018
    @GansosDroid2018 ปีที่แล้ว +2

    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.

    • @GansosDroid2018
      @GansosDroid2018 ปีที่แล้ว +1

      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

    • @TheArtmann
      @TheArtmann  ปีที่แล้ว +1

      try to disable the onboard gpu and then make the process

    • @GansosDroid2018
      @GansosDroid2018 ปีที่แล้ว

      @@TheArtmann ok thanks

  • @miroslavant1c
    @miroslavant1c ปีที่แล้ว +2

    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?

    • @TheArtmann
      @TheArtmann  ปีที่แล้ว +1

      no ideea

    • @jeeju8369
      @jeeju8369 2 หลายเดือนก่อน

      Installing the display is just for fun, but it can't run 3D software, games... because it can't find the gpu. try it

  • @jlelelr
    @jlelelr 6 หลายเดือนก่อน +1

    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

    • @TheArtmann
      @TheArtmann  6 หลายเดือนก่อน +2

      disable igpu and try again

  • @deadlymania7416
    @deadlymania7416 7 วันที่ผ่านมา +1

    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?

    • @TheArtmann
      @TheArtmann  5 วันที่ผ่านมา +1

      idk. i heard alot of ppl getting errors with amd. for some it worked, for other didn't

  • @Giizk
    @Giizk ปีที่แล้ว +1

    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

    • @TheArtmann
      @TheArtmann  ปีที่แล้ว

      what vm u use?

    • @Giizk
      @Giizk ปีที่แล้ว +1

      @@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

  • @SamDaniel2020
    @SamDaniel2020 2 หลายเดือนก่อน +1

    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.

    • @TheArtmann
      @TheArtmann  2 หลายเดือนก่อน +1

      @@SamDaniel2020 hi. Is not possible. Just windows

    • @SamDaniel2020
      @SamDaniel2020 2 หลายเดือนก่อน +1

      @@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.

    • @TheArtmann
      @TheArtmann  2 หลายเดือนก่อน +2

      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.

    • @SamDaniel2020
      @SamDaniel2020 2 หลายเดือนก่อน +1

      @@TheArtmann Fair enough! Thank you. I appreciate the responses.

  • @hchcsuim
    @hchcsuim 4 หลายเดือนก่อน +1

    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?

    • @TheArtmann
      @TheArtmann  4 หลายเดือนก่อน +1

      what do you mean?

  • @TheForgottenOnestm
    @TheForgottenOnestm ปีที่แล้ว +2

    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?

    • @TheArtmann
      @TheArtmann  ปีที่แล้ว

      What specs/os you have?

    • @TheForgottenOnestm
      @TheForgottenOnestm ปีที่แล้ว

      @@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.

  • @mizrachayit
    @mizrachayit 11 หลายเดือนก่อน +2

    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"

    • @TheArtmann
      @TheArtmann  11 หลายเดือนก่อน +1

      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.

  • @g3nny9342
    @g3nny9342 ปีที่แล้ว +2

    yo in the github official it says that its compatible only with windows 10 20h2...

    • @TheArtmann
      @TheArtmann  ปีที่แล้ว

      Maybe they haven't updated the page because u saw the video.. I use windows 11 22h2

    • @g3nny9342
      @g3nny9342 ปีที่แล้ว

      @@TheArtmann yo bro in parsec i cant stream what did i do wrong? i moved the file in good way

  • @MadManX668
    @MadManX668 ปีที่แล้ว +1

    Thank you!!!

  • @Sofia_Transport_and_gaming
    @Sofia_Transport_and_gaming 19 วันที่ผ่านมา +2

    is it possible to download the gpu files without making a telegram acc?

    • @TheArtmann
      @TheArtmann  19 วันที่ผ่านมา +2

      Yesm download them from my website

  • @user-qr4jf4tv2x
    @user-qr4jf4tv2x ปีที่แล้ว +1

    its detected but lost internet connection
    edit: forgot to disable guest service

  • @adisfarady4853
    @adisfarady4853 ปีที่แล้ว +1

    thanks a lot, you help my work

  • @arthurduque-art8158
    @arthurduque-art8158 ปีที่แล้ว +1

    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

    • @TheArtmann
      @TheArtmann  ปีที่แล้ว

      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

  • @Latamando
    @Latamando 6 หลายเดือนก่อน +1

    I have a problem with cs2, it gives me the following error: nvapi access denied

    • @TheArtmann
      @TheArtmann  6 หลายเดือนก่อน +1

      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.

  • @Theomann_
    @Theomann_ 9 หลายเดือนก่อน +2

    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?

    • @TheArtmann
      @TheArtmann  9 หลายเดือนก่อน +2

      disable the integrated gpu, leave only your "proper" card, and redo the process