Use ANY GPU in a Virtual Machine / GPU Sharing with Virtual Machine

Поделиться
HTML-код
  • Опубликовано: 21 авг 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,4 тыс.

  • @TheArtmann
    @TheArtmann  Год назад +54

    *!!! 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 месяцев назад +7

      You should pin this comment

    • @justinembrey3788
      @justinembrey3788 10 месяцев назад +3

      what if the vm is on a different drive

    • @TomiWebPro
      @TomiWebPro 7 месяцев назад +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 6 месяцев назад +5

      Then why you didn't change the thumbnail

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

      @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 Год назад +13

      ​@@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 7 месяцев назад

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

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

  • @Ilujahrvatska
    @Ilujahrvatska Год назад +11

    Was sceptical at first, but it worked great! thanks

  • @aleksandrdolgavin7199
    @aleksandrdolgavin7199 10 месяцев назад +6

    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  10 месяцев назад +2

      you can have HyperV on on Home Edition also

    • @aleksandrdolgavin7199
      @aleksandrdolgavin7199 10 месяцев назад +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 10 месяцев назад

      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

  • @wizit1993
    @wizit1993 9 месяцев назад +5

    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

  •  11 месяцев назад +7

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

  • @as-ng5ln
    @as-ng5ln 5 дней назад +1

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

  • @hockeyplayer28
    @hockeyplayer28 2 месяца назад +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  2 месяца назад +1

      hi. thank you. yes, it should work

  • @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  Год назад +22

      ...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 6 месяцев назад +1

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

    • @LuckyYeti
      @LuckyYeti 3 месяца назад +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?

  • @stivonpelno7981
    @stivonpelno7981 11 месяцев назад +3

    Give that man a cookie, great job

  • @SaurabhGayali
    @SaurabhGayali 6 месяцев назад +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.

  • @johnsmith4567
    @johnsmith4567 Год назад +5

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

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

  • @SuperMishka
    @SuperMishka 28 дней назад +2

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

    • @SuperMishka
      @SuperMishka 28 дней назад +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

  • @Ro_Gaona
    @Ro_Gaona 10 месяцев назад +3

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

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

  • @kovaks42069
    @kovaks42069 Год назад +7

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

    • @user-qm7bp4ul5t
      @user-qm7bp4ul5t 2 месяца назад

      Legend, for sharing misleading information?

    • @TheArtmann
      @TheArtmann  2 месяца назад +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 2 месяца назад

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

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

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

    • @user-qm7bp4ul5t
      @user-qm7bp4ul5t 2 месяца назад

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

  • @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 7 месяцев назад

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

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

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

  • @vladislavkaras491
    @vladislavkaras491 Год назад +16

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

  • @CyberWanted1
    @CyberWanted1 15 часов назад +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  11 часов назад +1

      You need to open Powershell in host

  • @firetrys
    @firetrys Год назад +2

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

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

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

  • @pauloexplod2009
    @pauloexplod2009 Год назад +1

    The best RUclips 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

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

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

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

  • @noLKWD_vital
    @noLKWD_vital 11 месяцев назад +2

    Man, I love you. Thank you so much!

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

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

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

  • @tigerpham1955
    @tigerpham1955 9 месяцев назад +1

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

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

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

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

  • @He-Is-One-and-Only
    @He-Is-One-and-Only Год назад +1

    Man a huge thanks 🙏🙏🙏 i always wanted something like this ❤️❤️ 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

  • @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 4 месяца назад

      @@mVrandid you? got the same

  • @mirjap.5969
    @mirjap.5969 Год назад +4

    👍

  • @-anonim-3008
    @-anonim-3008 7 месяцев назад +1

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

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

      Glad you like it!

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

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

  • @thiago87silva
    @thiago87silva 10 месяцев назад +1

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

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

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

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

    Thank you so much for this!!!

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

    SO WELL EXPLAINED, AND USEFUL, THANK YOU

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

      Glad it was helpful!

  • @joey.99
    @joey.99 Год назад +1

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

  • @imoxsh
    @imoxsh 9 месяцев назад +1

    Thats SICK dude thanks ✨😎

    • @TheArtmann
      @TheArtmann  9 месяцев назад +1

      Glad you like it!

  • @AstroFalcon_Z
    @AstroFalcon_Z Год назад +2

    This is amazing thank you!

  • @user-qr4jf4tv2x
    @user-qr4jf4tv2x Год назад +1

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

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

  • @jerrythefeared
    @jerrythefeared 11 месяцев назад +2

    I followed all the steps, it seemed to work properly. But the moment I launch a game it starts as "Not Responding". Important to note that even though I allocated 8GB ram, after doing it, it changed to only 4GB but is at 60% Memory usage with only about 0.5GB used (Idle)

    • @TheArtmann
      @TheArtmann  11 месяцев назад +2

      maybe you have it set as "dynamic memory? that might explain the change

  • @ThePavilionWeb
    @ThePavilionWeb 4 месяца назад +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 RUclipsrs!

    • @TheArtmann
      @TheArtmann  4 месяца назад +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.

  • @yash3459
    @yash3459 3 месяца назад +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  3 месяца назад +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 3 месяца назад +1

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

  • @xtinct7555
    @xtinct7555 3 дня назад +1

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

  • @marinsekjaka
    @marinsekjaka 11 месяцев назад +1

    Worked! Thank you.

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

  • @saracen9347
    @saracen9347 Год назад +2

    does not work with AMD

    • @ZeginMakesMusic
      @ZeginMakesMusic 9 месяцев назад

      I tried gpu passthrough in proxmox on a ryzen9. It was a pain to setup but I got it working. Playing games on remote desktop leaves much to be desired. When you say this doesn't work on amd, do you mean using hyper v specifically?

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

    Nice man, Thx a lot.

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

    you are the king man

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

  • @alanherrera5421
    @alanherrera5421 Год назад +1

    nice, all works fine now, thanks!

  • @karacal6290
    @karacal6290 11 месяцев назад +1

    mate you helped me so much appreciate it.

  • @CuervoVirtual
    @CuervoVirtual Год назад +2

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

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

    Unfortunaly didn't help. Script runs wihtout errors, I see the videocard in the device manager, but custom resolution settings doesn't work

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

      If you have an iGPU, try disabling it and follow the method again.

  • @user-pz3lv1yf9s
    @user-pz3lv1yf9s Год назад +1

    nice work!it solved my problems

  • @Heavy_Quasar
    @Heavy_Quasar 11 месяцев назад +2

    It does not work Temp folder won't appear
    Am using Hyper V
    Please help

    • @TheArtmann
      @TheArtmann  11 месяцев назад

      Make sure you follow all the steps properly, and hopefully your system is not to old

    • @Heavy_Quasar
      @Heavy_Quasar 11 месяцев назад

      @@TheArtmann
      It worked thank you man you are genius you hear me (genius)

  • @RVTGROUP
    @RVTGROUP 6 месяцев назад +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.

  • @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  9 месяцев назад +1

      Not that I know of

  • @jansession05
    @jansession05 Год назад +1

    Hi, i did all but when i start and i play the graphic card don't work why? i change the screen again and again but when it's gone it doesn't do nothing

    • @TheArtmann
      @TheArtmann  Год назад

      How old is your cpu? If it's to old, it might not carry both processes at the same time

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

  • @Jester12036
    @Jester12036 Год назад +1

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

  • @gennavandella
    @gennavandella 10 месяцев назад +2

    can you play games on this?

    • @TheArtmann
      @TheArtmann  10 месяцев назад

      yes, but you need a high end machine

  • @YTTommyL2
    @YTTommyL2 Год назад

    HI! I wanted to ask you, but if I install my video card in the virtual machine then it's like if I were using my own or it's a virtual one so even if I put viruses, nothing would happen to my video card? because in doing so I wanted to put you have powerful viruses but I'm afraid it also attacks my real pc

    • @TheArtmann
      @TheArtmann  Год назад

      you don't install it. you share it between the host and VM. but i don't think there will be any link in between the host and vm to share viruses

    • @YTTommyL2
      @YTTommyL2 Год назад

      @@TheArtmann so you say that even if i blow up the virtual machine or mess with my main pc nothing happens, right?

  • @gallanoej
    @gallanoej Год назад +2

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

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

    Do you need two GPUs? One for the host OS, one for the guest?

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

      no. just one gpu which will be shared between host and vm

  • @ibase_TV
    @ibase_TV Год назад +1

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

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

  • @jlelelr
    @jlelelr 5 месяцев назад +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  5 месяцев назад +2

      disable igpu and try again

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

    I don't know why, my gpu shows in device manager "RTX 2060 SUPER" but its not actually doing anything it says "device is working properly" but it just doesn't show up in anything and trying to install nvidia drivers (im not sure if i need them or not) it says "you must have an nvidia gpu"

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

      the nvidia driver mustbe up to date on the host machine. and is very important to realize that your hardware must be powerfull enough to run the host and the vm safely. if the resources are not enoug for the vm, then the results will not be as expected

  • @justinembrey3788
    @justinembrey3788 10 месяцев назад +1

    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.

  • @royvincentniepes3734
    @royvincentniepes3734 Год назад +1

    Thanks! subscribed!

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

    Impresiveeee!!! Thanks you so much!!!

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

      Glad you liked it!

  • @johnduffy9727
    @johnduffy9727 Год назад +1

    Doesn't work for me, just hangs forever in power shell

    • @TheArtmann
      @TheArtmann  Год назад +1

      Ok

    • @johnduffy9727
      @johnduffy9727 Год назад +1

      Had another shot at it today and it worked fine, managed to get it up and running, thanks.

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

    I've done all the steps but why i can't see my rtx 4050 in the task manager?

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

      did you updated to the latest driver?

  • @jrod_isle
    @jrod_isle Год назад +1

    Couldn't get this to work on my rtx 3090 TI. I get error 43 even after making sure I copied the correct drivers file from the host machine.

    • @TheArtmann
      @TheArtmann  Год назад

      What cpu and virtual machine?

    • @jrod_isle
      @jrod_isle Год назад +1

      CPU is an i7 and im using hyper-v to make a virtual windows 10 vm. I ended up getting it to work with Easy GPU-P but had to start with a fresh VM.

  • @AI_HDR
    @AI_HDR Год назад +1

    When i run the script, it says the device is not ready for use with a lot of red letters and fails. Why is this?

    • @TheArtmann
      @TheArtmann  Год назад

      read the pinned comment

    • @AI_HDR
      @AI_HDR Год назад

      @@TheArtmann The pinned comment shows another error which is not the error i get. In mine, it cannot start copying files to the guest and repeats the same error forever. In the pinned comment, it says it can't understand the command.

    • @AI_HDR
      @AI_HDR Год назад

      Error all the time ( i entered the CORRECT NAME of the virtual machine ) : Copy-VMFile $vm -SourcePath $sourcePath -DestinationPath $des ...
      + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      + CategoryInfo : InvalidOperation: (:) [Copy-VMFile], VirtualizationException
      + FullyQualifiedErrorId : OperationFailed,Microsoft.HyperV.PowerShell.Commands.CopyVMFile ---- This script DOES NOT WORK as of today in Windows 11 Pro.

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

    getting this error: 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.

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

      i ended up trying to make the missing folders myself, but it still returns the same errors, since they're just empty folders. edit: using hyper-v as well

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

      This error suggests that there is an issue with the Copy-VMFile command while copying a file from the host (C:\Windows\System32\NV) to a virtual machine (C:\Temp\System32\NV). The reason for this error could be due to the following reasons:
      1. The file path provided is incorrect or inaccessible by the Virtual Machine.
      2. The file is being used by some other process, making it unavailable for copying.
      3. The VM Integration Services might not be installed and enabled in the Virtual Machine, which could cause issues while copying files.
      4. The user account used to perform the operation might not have necessary permissions to access the file.
      To resolve this error, you should verify the path of the files being copied and ensure that the file is not being used by any other process. Additionally, ensure that VM Integration Services are installed and enabled in the virtual machine. Finally, verify that you are using an account with the necessary permissions to complete the operation.

  • @Sofia_Transport_and_gaming
    @Sofia_Transport_and_gaming 18 часов назад +2

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

    • @TheArtmann
      @TheArtmann  11 часов назад +2

      Yesm download them from my website

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

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

    • @TheArtmann
      @TheArtmann  5 месяцев назад +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.

  • @SamDaniel2020
    @SamDaniel2020 Месяц назад +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  Месяц назад +1

      @@SamDaniel2020 hi. Is not possible. Just windows

    • @SamDaniel2020
      @SamDaniel2020 Месяц назад +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

      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 Месяц назад +1

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

  • @ferhat1983aydin
    @ferhat1983aydin 19 дней назад +2

    Bravooo

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

    Tried it in virtualbox but it did not work.

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

      Read the pinned comment pls

  • @ChrisM541
    @ChrisM541 7 месяцев назад +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 7 месяцев назад +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 7 месяцев назад +1

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

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

      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

  • @user-sy6sr6kj2e
    @user-sy6sr6kj2e Месяц назад +1

    I can't install 8GB of RAM in a virtual machine. It gives an error when I want to install Windows 11. 8GB of RAM is what I have

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

      That's the reason. You can't add 8gb in a VM because you have ONLY 8gb.

    • @user-sy6sr6kj2e
      @user-sy6sr6kj2e Месяц назад

      ​@@TheArtmannand if I use a paging file for disks, virtual memory, so to speak.?

  • @fl-ff8ox
    @fl-ff8ox Год назад +1

    Works like a charm! Currently trying to get this to work with Windows Server 2019/22. You got any idea if this works when u install W10/W11 drivers on server and then proceed the same as having W10 at host? Thanks in advance for answer ;)

    • @TheArtmann
      @TheArtmann  Год назад +1

      Hi. I'm not sure. All I know is that it needs to be the same exact driver on both

  • @anciel4689
    @anciel4689 Год назад +1

    Hello help me please I have this error // FullyQualifiedErrorId : InvalidParameter,Microsoft.HyperV.PowerShell.Commands.CopyVMFile //

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

    Thank youu !!! Finally i can do it