Remote Gaming! (and Video Encoding using Proxmox and GPU Passthrough)

  Рет қаралды 254,287

Techno Tim

Techno Tim

Күн бұрын

Пікірлер: 732
@TechnoTim
@TechnoTim 4 жыл бұрын
Have you ever wanted to game remotely? Oh, BTW, if you're new here, welcome! Subscribe for more content like this coming soon!
@ItherSeed
@ItherSeed 4 жыл бұрын
RDP isn't that good, you should do a follow up of this video using SPICE (pve.proxmox.com/wiki/SPICE). I made a Win10 VM in Proxmox with this and I think was better.
@CrypticConsole
@CrypticConsole 4 жыл бұрын
Use steam remote play with the official rpi image for usb powers game stations on each tv
@jrtapley
@jrtapley 4 жыл бұрын
Yes! I use Steam remote play and Parsec both work very well! Haven’t tried moonlight.
@emeengor698
@emeengor698 4 жыл бұрын
Hi :) What I would like to do (I have two GPUs) is to play a game using GPU A and then passthough the feed to a VM and endocde it inside the VM and stream it on twitch using GPUB long story short I refuse to pay 200++ dollars to buy a capture card that wont even render my footage on its own and still will use CPU resources :P Is there a way to achieve that with minimal impact on my main gaming PC ?
@blkspade23
@blkspade23 3 жыл бұрын
@@emeengor698 Sounds like you're over thinking the streaming process. There is no advantage to running a VM on the gaming machine just to stream. You'd either just encode the stream on GPU A (because the hardware is dedicated anyway) or just run 2 GPUs natively on the gaming system and dedicate B to the encode. The closest solution to do it your way would be "Looking Glass", but that assumes you run a Linux Desktop as a host and game in a Windows VM. You could also pass multiple PCIe devices to a VM, which could include a capture card and GPU B, but both methods are needlessly redundant.
@holeinthesest
@holeinthesest 3 жыл бұрын
absolutely PERFECT choice of background music, and volume level. I can hear the music, its nice on my ears, But you are still **very** audible. 10/10 Please teach others this sort of audio balancing.
@TechnoTim
@TechnoTim 3 жыл бұрын
Thank you so much! Check out my others!
@Marfprojects
@Marfprojects 2 жыл бұрын
WARNING. 3:04 This is something to keep in mind. Enabling ACS override can cause a VM Escape because the IOMMU groups are NOT separated properly ACS can fix this by forcing them to be separate groups, but it can cause that a vm can access other memory addresses even though they are not supposed to. If you don't do anything stupid its fine, but be aware if a malware infects the vm, its possible to do a vm escape. any other then that, great video!
@23Midway23
@23Midway23 4 жыл бұрын
Thank you for you video's, they are so helpful. I'm a software engineer and have seen so many tech tutorials. I have to say yours are among the best and clearest I've ever seen. Keep up the awesome work Tim!
@TechnoTim
@TechnoTim 4 жыл бұрын
Thank you so much!
@zacharyberridge7239
@zacharyberridge7239 3 жыл бұрын
This may be an older video, but just wanted to say thanks for the guides!! I've now got a Proxmox 7 setup, 4 WD 4tb red plus drives, too many SSD's, a Windows VM, an ubuntu VM, and about to add a FreeNas server all onto one machine. This is just awesome stuff! Thank you so much!
@oliverberridge7706
@oliverberridge7706 2 жыл бұрын
Nice name, with a common interest! 😀
@zacharyberridge7239
@zacharyberridge7239 2 жыл бұрын
@@oliverberridge7706 wait... What? Our last name isn't exactly common. Are we cousins?
@oliverberridge7706
@oliverberridge7706 2 жыл бұрын
@@zacharyberridge7239 My thoughts exactly! 😀
@roxxor0
@roxxor0 4 жыл бұрын
Thanks for including the CLI commands, I feel like a lot of people leave those out. I really appreciate the effort and attention to detail.
@TechnoTim
@TechnoTim 4 жыл бұрын
Ryan Best no problem! I try to keep all the copy pasta needed for each video in my GitHub repo! Thanks for noticing!
@Diastolicflame
@Diastolicflame 3 жыл бұрын
actually really informative. I've always thought about virtualization because I run like multiboot setups for different things and this seals the deal if I can pass through my gpus.
@clearx6182
@clearx6182 3 жыл бұрын
"go out and buy 2 video cards" hahahaha good one
@reggieangus5325
@reggieangus5325 3 жыл бұрын
2022 and still no GPU
@TheWinning247
@TheWinning247 2 жыл бұрын
I wanna thumbs up this, but the likes are on 69, so nice!
@yugarthsharma626
@yugarthsharma626 2 жыл бұрын
There's also single GPU Passthrough if you wanna do that.
@Goldman5800
@Goldman5800 Жыл бұрын
​@@yugarthsharma626will it work on ryzen APU? I have no dedicated GPU, only integrated in my ryzen 5700G
@akkshep
@akkshep 4 жыл бұрын
Thank you SO much for this video! I spent the last few days in forum hell trying to get this working properly. Subbed.
@TechnoTim
@TechnoTim 4 жыл бұрын
Happy to help! Thanks for the sub!
@alexzendermarunsai
@alexzendermarunsai 4 жыл бұрын
Thanks man. Just what I need to start my promox vm gaming journey. Subbed.
@TechnoTim
@TechnoTim 4 жыл бұрын
Thank you! More coming soon!
@ThatNerdIndy
@ThatNerdIndy 4 жыл бұрын
Good video. But I recommend to do some things differently after I experimented around a bit: 1. BIOS Settings: SVM/VT-d and IOMMU/VT-x have to be enabled. Enable SR-IOV and ACS if you have those options. IMPORTANT: Before you install Proxmox at all "CSM" has to be disabled in the BIOS and "Above 4G Encoding" has to be enabled. If your VMs dont work with these setting reinstall proxmox completely! This fixed the stupid Code 43 for me! 2. 3:11 If you have an AMD CPU use amd_iommu=on instead of intel_iommu=on. This is neither pointed out in the video nor the documentation. Please fix that! 3. DONT CHANGE AN EXISTING VM! Install the VM as OVMF + q35 from the beginning. Don't change an existing VM into that. It causes the VM to not start. 4. If your VM refuses to start delete ALL IDE devices and replace them with SATA ones if neccesary. 5. You might need to add the GPU to the VFIO. To do this run 'lspci -v' and get the ID of the GPU and the HDMI audio device. Then run 'lspci -n -s ' for both the vga and audio device. This will give you the vendor IDs of the devices. These should look like that: '10de:10f0'. Then run 'echo "options vfio-pci ids=, disable_vga=1"> /etc/modprobe.d/vfio.conf'. After that run 'update-initramfs -u' 6. Don't use windows RDP for remote gaming. Use something hardware accelerated like Parsec. Steam and NVIDIA also have options for gamestreaming. Hope this helps.
@TechnoTim
@TechnoTim 4 жыл бұрын
Thanks for the tips!
@KLisPoN
@KLisPoN 4 жыл бұрын
HI, its work only for 1VM? I can create like 5VM with passtrough RX580 8GB? Or need special videocard like Tesla or Radeon PRO?
@ThatNerdIndy
@ThatNerdIndy 4 жыл бұрын
@@KLisPoN only tested with 1 VM so far. I will test it with multiple ones when I get my threadripper system done!
@ricardocaldeira8473
@ricardocaldeira8473 4 жыл бұрын
Thanks for this Indy! Following the video instruction only would lead me to boot problems but with your help I've managed to get it done! Thank you for taking the time and comment those very useful instructions!
@smealson1919
@smealson1919 Жыл бұрын
Yesterday i used your tutorial successfully, thanks a lot for this. i tried a few tutorials on this case before but the only one that runs on my machine is yours. i wish you all the best and a great year !
@murtza.rehman
@murtza.rehman 3 жыл бұрын
You have so beautifully given away such a wonderful setup and it all felt as easy as casually playing a Video Game. Amazed !
@TheRealHiddenNinja
@TheRealHiddenNinja 3 жыл бұрын
Regarding Remote desktop, try looking at the following: Parsec (which is good, but the game must be running first) moonlight-stream (depends on the GPU, as it uses NVIDIA Shield) Other than that, loving the video! :)
@flognort
@flognort 2 жыл бұрын
yes moonlight is so much better than rdp for game streaming
@kylecurry2741
@kylecurry2741 3 жыл бұрын
Tim, you're the man! Nice tutorial, I haven't been a gamer since I was in my teens, but much has changed in the world of gaming, and my son's are now into the latest games, some of which I'm aspiring to run from PC exclusively and so given I'm big on backups, running the game from my PVE home server will be the premise here, this helps alot! BTW, I've rarely had to use the "q35" CPU option, but I have done this in PVE before with an OSX system :-)
@johngrabner
@johngrabner 3 жыл бұрын
Wow, this would be so cool for deep learning. Deep learning has different environments that Gpu passthrough would be perfect for. Also instability causing crashes would be isolated to a vm
@TechnoTim
@TechnoTim 3 жыл бұрын
Exactly! Not only gaming! Anything that needs a GPU in a VM
@daryelo1088
@daryelo1088 Жыл бұрын
THIS VIDEO SAVED ME IVE BEEN TRYING TO PASS THROUGH MY GTX 1050 AND IT NEVER COULD THE DRIVERS WOULD NEVER INSTALL I AM SO RELIEVED!
@goteamgorilla
@goteamgorilla 3 жыл бұрын
Looks like I have another Proxmox "project" this weekend. Thanks Techno Tim!
@hycron1234
@hycron1234 2 жыл бұрын
Thanks Tim, finally got my proxmox up and running with gpu passthrough. It really is a game-changer having a gpu on a virtual machine! 🙂
@Prime_Tecnologia_Automacao
@Prime_Tecnologia_Automacao Жыл бұрын
I know the video is a little old, but still very current, and thanks to it, I was able to run an AMD Radeon Graphics Card in a Linux Lite virtualization on PROXMOX. As incredible as it may seem, I still haven't managed to work on virtualized Windows. But here's my thank you very much.
@TechnoTim
@TechnoTim Жыл бұрын
Glad I could help!
@emiellr
@emiellr 3 жыл бұрын
Hey Tim, small yet important remark: you mentioned you need vt-x for intel, but to use pci-e passthrough you also need vt-d. Without that you can still make a vm and it will work just fine, but you can't pass a gpu.
@TechnoTim
@TechnoTim 2 жыл бұрын
Agreed! I though I mentioned vt-d for IOMMU, thank you!
@cataMailman
@cataMailman 2 жыл бұрын
@@TechnoTim So... I couldn't get it to work with your guide. When selecting the CPU it said "IOMMU not detected". My CPU definitely supports VT-x and VT-d but in the BIOS I could only find "Intel Virtualization Technology" which I turned on but no mention of VT-x or VT-d.
@electrotsmishar
@electrotsmishar Жыл бұрын
@@cataMailman same here
@umarsalmanrao5
@umarsalmanrao5 4 жыл бұрын
5.48K subs? I'm lucky to be one of the early subscribers because this channel is about to grow like crazy. Amazing videos and literally the only channel where I have the notification bell turned on.
@TechnoTim
@TechnoTim 4 жыл бұрын
Umar Rao thank you so much!
@PoeLemic
@PoeLemic 4 жыл бұрын
@@TechnoTim Yeah, you are gonna grow just like ChrisTitusTech did. I knew him in the "early days", before he started an ONSLAUGHT of new content -- which you will too.
@DonWon4725
@DonWon4725 2 жыл бұрын
Thank you very much for this insightful tutorial everything you mentioned worked out fantastic with some hick up nothing major, managed to pass the GPU which is AMD Radeon 5700XT graphics card this setup is amazing virtual machine is much faster than conventional computer running on native hardware. This tutorial is much better than any other one found keep up the great work looking forward to seeing more great tutorials.
@Flexicute
@Flexicute Жыл бұрын
Glad i stumbled across this, over time i've found myself with too many computers and i'm looking to clean up my desk which has led me to wanting to have just one server for gaming, NAS, dockers etc. Good tutorial, i'll be looking to try this soon
@lmaoroflcopter
@lmaoroflcopter 3 жыл бұрын
I think if you use a low latency "meant for game streaming" method of connectivity like parsec the latency you're seeing will be dramatically reduced. A lot of that is probably the overheads in RDP. This is a sweet guide though. Looking to use this for some spare hardware I've got here.
@TechnoTim
@TechnoTim 3 жыл бұрын
For sure! RDP was just a proof of work to make sure that my video card was actually being used!
@marsmonster3947
@marsmonster3947 2 жыл бұрын
I like that you use star systems for your names. I always do the same thing!
@milenkostadinov8702
@milenkostadinov8702 2 жыл бұрын
Hey Tim, I really liked the simplicity of your video explanation. I would allow myself to suggest a trick - if you add your GPU as a secondary GPU device and not make it primary (emulate the case with most laptops these days where there is a crappy Intel 3-4-6-000 and some better Nvidia M-class GPU). So having done that would allow you to connect to the game directly from the console (in case you need to maintain it) as I know sometimes RDP can play tricks on you and you would have to revert the changes, fix the issue and then reset back again. I know some people used some local game streamer where you see all your games listed (sort of like it is done on Steam) and then you just click Play and you go with a much better streaming of the actual FPS than it is done over RDP which has some security protocols to monitor the connection and could lagg a bit on FPS (as you've stated it). For sure, raising the bar with something more powerful these days (like RTX 2060/70/80 or even 30XX) as well as switching from 100 to 1000 or from 1000 to 2500Gbps would allow better FPS even over the simple RDP but that might require Hardware investment to some extent...
@boxedowl
@boxedowl 4 жыл бұрын
Thank you for taking the time to upload this.
@TechnoTim
@TechnoTim 4 жыл бұрын
Glad it was helpful!
@qxzapmileamihai8074
@qxzapmileamihai8074 4 жыл бұрын
Bruh this is nuts. Soon i will buy a server for home lab and my girlfriend has a laptop with a 920m and a desire to play newer games. I will consider his whole tutorial when i will install a 1060 or something in that server.
@TechnoTim
@TechnoTim 4 жыл бұрын
Sounds like a fun project!
@carolineletaconoux3568
@carolineletaconoux3568 4 жыл бұрын
Hi @Techno Tim and thank you for your amazing videos! I just bought a nice laptop (for video editing purposes mostly) and my former gaming PC is now sitting sadly in a corner. It's still pretty decent and I'd like to put it to good use, I'm trying to figure out the best way to do so. I'm totally new to VMs and NAS so I'd like to have your opinion! My main concern is to reuse all the drives for additional storage, so at first I figured I'd use TrueNAS. Plugins such as Plex Media Server and Nextcloud would be useful to me, I'd love to be able to access my files when away from home. But (if I understood correctly), that would leave the GPU unused, while it could be used for remote video encoding using proxmox and a W10 VM as described in this video. I also like the idea of running games from the PC and keeping the laptop strictly professional. Can I run a W10 VM and FreeNAS simultaneously from that machine? Is there a smarter way to fulfill my needs? How would you set this up? Thanks for your kind help! The PC's config: Case : Cooler Master Silencio Power : Cooler Master GX 550W MB : MSI Z87-G45 Gaming RAM : 16 Go (2 x G.Skill 4 Go PC 12800 Sniper CAS 9 + 2x G.Skill Extreme3 Ripjaws X DDR3 4 Go 1600 MHz CAS 9) CPU : Intel Core i5 4670K GPU : Asus GeForce GTX 1060 Dual - 6 Go SSD 1: 120 Go - Samsung Serie 840 EVO (previously used for OS) SSD 2 : 500 Go - Samsung Serie 750 EVO (previously used to install games and programs) HDD 1 : 1 To - WD Blue Caviar 3,5" - SATA III 6 Gb/s - 64 Mo cache (previously used for system backups) HDD 2 : 1 To - Samsung SpinPoint F1 HD103UJ 3,5" - SATA II 3Gb/s - 32 Mo cache (previously used for data storage) The new laptop is the MSI Prestige 15 A10SC-291
@TechnoTim
@TechnoTim 4 жыл бұрын
Yeah, totally. If you are going to run VMs, just put them on an SSD and you'll be fine. The more RAM the better.
@savsnode2811
@savsnode2811 3 жыл бұрын
I like that couch in the background
@shaundupreez4233
@shaundupreez4233 4 жыл бұрын
Thanks man, I also struggled with the passthrough - Subbed
@TechnoTim
@TechnoTim 4 жыл бұрын
Glad it helped!
@tekore7941
@tekore7941 3 жыл бұрын
Great video! You should look into nomachineNX for the windows vm instead of RDP, it will make the gaming experience much smoother and responsive
@JQMaster17
@JQMaster17 2 жыл бұрын
for me it was best to use parsec for gaming
@majorgear1021
@majorgear1021 2 жыл бұрын
or UltraVNC!
@Solar_and_Security
@Solar_and_Security 4 жыл бұрын
Hi Tim! Just found your channel last week, and been binge watching your content. AWESOME content! Thanks!
@TechnoTim
@TechnoTim 4 жыл бұрын
Jason Hensley thank you!
@feo786
@feo786 4 жыл бұрын
Underrated channel!
@TechnoTim
@TechnoTim 4 жыл бұрын
Thank you!
@majorgear1021
@majorgear1021 2 жыл бұрын
“You may have an extra GPU laying around” In what universe does someone have an extra GPU laying around? GPU’s are about impossible to get. Otherwise, it was a really helpful video. thank you for making it!
@TechnoTim
@TechnoTim 2 жыл бұрын
I have 2 extra old ones :). I tend to not sell my previous card when upgrading :)
@majorgear1021
@majorgear1021 2 жыл бұрын
@@TechnoTim You are sitting on a gold mine! Well, unless we’re talking older cards like a Nvidia TNT/TNT2 card.
@bradmccormack100
@bradmccormack100 4 жыл бұрын
Also, when I did this (I used KVM and virt manager) I also set up Grub to have a separate entry for the passthrough so it didn't always happen. At the time I didn't have a home lab so I wanted to be able for the host to claim the second GPU. If I didn't (blacklisted GPU) the the host driver wouldn't handle the fans and it would be louder than necessary even though I wasn't using the Windows VM. I'll certainly be trying this remotely. Your presentation style is awesome. You are presenting fairly complicated technology in a user friendly manner. Props!
@TechnoTim
@TechnoTim 4 жыл бұрын
Thank you for the feedback! Glad you are enjoying it! I am working on my delivery, glad you find it helpful!
@Supperconductor
@Supperconductor 4 жыл бұрын
I use linux for dev work and only occasionally game in windows so this is a perfect solution for me. Thanks!
@TechnoTim
@TechnoTim 4 жыл бұрын
Glad it helped!
@sfsfsdfsdification
@sfsfsdfsdification 2 жыл бұрын
Great tutorial! Followed this to setup HP Z820 Proxmox PCI Passthrough Radeon 570 RX. He's using UEFI Motherboard, if you dont have it use SeaBios.
@tommybronze3451
@tommybronze3451 2 жыл бұрын
Nice. This is something I was actually considering to do on my main rig. During my development I have to run multiple VM's, and recently started moving those more into lxc environment ... unfortunately on ubuntu lxc still is in shape of "fun tool to play around with", and you have to jump through hoops to get a decent container running full ubuntu under virt-manager. For that reason I started considering running proxmox as a base os on my dev machine, and having ubuntu as a vm, and all the dev stuff as lxc containers. I know that is sounds as an overkill, but I could then shift containers between my machinve and build server, I could have a load balancing, I could even use a laptop and remotely connect to those containers and get stuff if I'm out and about. a bit of a pipe dream, but hey "Necessity is the mother of invention" ... Proxmox using ubuntu as a base, rather than just debian would solve so many problems ... damn shame, that they don't do it ;(
@Haze-eh3vy
@Haze-eh3vy Жыл бұрын
How about running an Ubuntu VM inside Proxmox as your main rig and attaching a monitor and peripherals to it? Best of both worlds right :)
@tommybronze3451
@tommybronze3451 Жыл бұрын
@@Haze-eh3vy Actually, I've fully implemented my "pipe dream" of having everything under proxmox, and TBH the debian isn't that bad, there are few things missing but those are really minor things that can be obtained via external ppa. Ofcourse a bit of ubuntu "linux for the masses" polish is missing from the UI, but on the other hand it doesn't collide with some third party stuff that one might want. Over the past months I've swayed two customers to shift to that bizzare setup and they don't look back either. Few ui simplifications don't compensate for ease of vm/lxc management for them either.
@ThomasSwinney
@ThomasSwinney 3 жыл бұрын
Thank you so much for this guide. After only a couple failed attempts I was able to get it going. Not sure why but after the first boot somewhere a couple minutes after it locked up and I couldn't get it going again until I found the following commands. Again thanks so much. I learned alot about proxmox from your videos. 1. qm shutdown (you may get some errors about a lock which means you will want to try the below.) 2. cd into /var/lock/qemu-server and see if you have a lock-.conf if you do go ahead and rm -rf lock-.conf 3. ps aux | grep "/usr/bin/kvm -id " 4. kill -9
@TechnoTim
@TechnoTim 3 жыл бұрын
Thank you so much! Congrats!
@RizalBoon
@RizalBoon 2 жыл бұрын
Oh nice. If I combine this tutorial and using Parsec, I might be able to create a nice remote gaming experience.
@TechnoTim
@TechnoTim 2 жыл бұрын
For sure!
@machinainc5812
@machinainc5812 4 жыл бұрын
Man, i think i’m gonna download your vids just in case you disappear 😁 I wanna so much of what you teach
@TechnoTim
@TechnoTim 4 жыл бұрын
Hopefully my videos don't disappear... or me....
@camerontgore
@camerontgore 4 жыл бұрын
I know that a lot of "tech KZbinrs" also back their videos up to LBRY or other FOSS video streaming alternatives
@camerontgore
@camerontgore 4 жыл бұрын
If you do want to back up your videos to another platform, a lot of "Tech KZbinrs" are using LBRY or other FOSS youtube alternatives so that if the platform ever goes away they can still be up somewhere else.
@despacitoyee1553
@despacitoyee1553 3 жыл бұрын
Love the tutorials, saved a few headaches! Quick question though, can you pass through the same gpu to multiple VMs as long as only one is in use? I understand you can't do so with multiple running machines. This is for a home PC as an alternative to dual/triple/quad booting, for Win XP, Win 10, MacOS, and Linux. I only ever intend to use one at a time, similar to a bare metal install.
@TechnoTim
@TechnoTim 3 жыл бұрын
Yes! Just shut the other one down! Thank you!
@despacitoyee1553
@despacitoyee1553 3 жыл бұрын
Thank you so much for the reply, it worked flawlessly👍 Now just gotta figure out a few distro specific hiccups and I'm set 😊
@chrisbowie1438
@chrisbowie1438 4 жыл бұрын
So in theory you could connect an actual display to the gpu and see what the vm is doing. Probably use auto login and disable screensaver, or pass a kb and mouse too. Very cool
@TechnoTim
@TechnoTim 4 жыл бұрын
You could, yes! Thank you!
@TazzSmk
@TazzSmk 2 жыл бұрын
nVidia + Moonlight is probably best high-performance remote desktop to use, NDI (Tools) probably best way to handle LAN/server-based (live)stream encoding
@DamjanKumin
@DamjanKumin 3 жыл бұрын
Very nice Tim! Plex trans is for me - tho I may install another one for Gaming ;D
@AMian-yf2hn
@AMian-yf2hn 4 жыл бұрын
You should be at 1m subs by year end! Questions: 1. With 1 video card on server, is it possible to have a few clients playing mpg with rdp/Parsec/moonlight (nvidia)? Or each client requires its own video card on each VM? 2. Can we use Android TV boxes as clients? A comment below made such a reference (Durk Potgeiter.)
@TechnoTim
@TechnoTim 4 жыл бұрын
haha, wouldn't that be nice? You need one card per VM with consumer cards like mine.
@mrcaf2824
@mrcaf2824 3 жыл бұрын
Great video sir. This will be a definite next project of mine.
@tinkerfu7350
@tinkerfu7350 4 жыл бұрын
Man, this is really interesting what you showed in this video. Thank, it is really informativ
@TechnoTim
@TechnoTim 4 жыл бұрын
Glad it helped
@hcgul06
@hcgul06 3 жыл бұрын
You are a living legend man thank you so much!
@TechnoTim
@TechnoTim 3 жыл бұрын
Any time!
@3aiban
@3aiban 2 жыл бұрын
Subscribed 👍🏼 I like how this man explain things
@TechnoTim
@TechnoTim 2 жыл бұрын
Awesome, thank you!
@mikewilsher1005
@mikewilsher1005 2 жыл бұрын
Great video - I run a plex server and a video surveillance server via prox and both needed pass through capabilities, I need to buy another video card though and I'll be set.
@belalsalas7266
@belalsalas7266 3 жыл бұрын
Hi Tim, Thanks for this amazing video. Does reverting all the changes allow the host to use the GPU gain? or there are some other things to consider? I am asking because I will try now on one GPU but eventually I will buy more powerful one. Thanks again
@OARomanov
@OARomanov 3 жыл бұрын
This is awesome! Thanks a lot for this!
@aoikuroyuri6536
@aoikuroyuri6536 2 жыл бұрын
You should make an updated guide for this and add in either moonlight or parsec for those who don't know what those are :D
@disnaess
@disnaess 3 жыл бұрын
Hi, 2 questions: 1. Can I use 1 monitor for the host + gaming VM ? Host via HDMI input, VM's dedicated GPU via physical DisplayPort, so I just switch inputs on the monitor if I'm finished with gaming in the VM. 2. Why do I need a dummy ? Lots of VGAs work without monitor attached at all. Or do I need the dummy if I want to access the VM via RDP ? 3. What kind of VGA is recommended for the host itself ? Will a Radeon something work while I disable nVidia drivers (blacklist) ? Or can I have nVidia card on the host while passing through the second, beefier GPU to the VM ? (Real question is: can I use a GF710 for the host and a 1080Ti for passthrough, or better swap the GF710 to some Radeon card ? Many thanks !!!!
@kelvin-milach9175
@kelvin-milach9175 4 жыл бұрын
Thanks Tim, that was an awesome tutorial! You got a new subscriber here Btw, does this tutorial work with the new 6.2 Proxmox VE? I've not started setting up VE but I'd probably use the newer version. Do you have any suggestions to lower the dropped frames? With a good video card, I'd try playing some beefy games but I dunno if that'd be viable, even with a ethernet connection. Love your content man, keep it up!
@TechnoTim
@TechnoTim 4 жыл бұрын
Yes it does! I am running 6.2 as of now! If you are truly going to game with this system, try looking at something like Parsec or something more optimized for games rather than RDP. Thank you!
@xxcr4ckzzxx840
@xxcr4ckzzxx840 4 жыл бұрын
Maybe Try Rainway. In my Opinion it works just a bit better and you have easy Remote Desktop too. Playing from Outside your network is easy too :)
@bruceallen6492
@bruceallen6492 2 жыл бұрын
Hi Tim, I'm working through your video above and did work through your previous video for Win 10 on Proxmox. No joy as yet with pass-through. I'm using Proxmox 7.1 on a Lenovo server that has Vt-x and Vt-d turned on in the BIOS. I think my biggest unknown is my TITAN card. Does TITAN support GPU passthrough or do I need a newer card like the 1050s you reference. Thanks for your great videos. One of my uses for Proxmox is to run Linux VM with GPU passthrough so LAMMPS software can make use of the GPU and I can also do some Win 10 GPU software development too. I think a big part of the problem is once I convert to q35, OVMF,UEFI, etc my VM can't find the boot disk.
@bruceallen6492
@bruceallen6492 2 жыл бұрын
i found that I must create the virtual machine using OVMF, q35, UEFI from the beginning, and uncheck the box in UEFI about keys. I did your proxmox changes first and created the VM second. I did the switch to host for the processors last. I still need to get games playing, but I do see the GPU is working with task manager.
@tbhinteractieve
@tbhinteractieve 3 жыл бұрын
Got it running too now! I use parsec for the 60fps gaming. It's 10/10 better tham rdp
@twinluis07
@twinluis07 4 жыл бұрын
Epic. Cyberpunk isn't working through the Steam remote play, and i'm away from my main computer. Looks like a challenge but I'm gonna give this a try. Thank you !
@TechnoTim
@TechnoTim 4 жыл бұрын
Let me know how Cyberpunk works out!
@vfxfan9589
@vfxfan9589 4 жыл бұрын
Wow that good, we wait for a second part... expanding the uses of the GPU. Can macOS be used too? obviously using an AMD Radeon? Great job, please look forward to more of these great GPU Passthrough tutorials...
@TechnoTim
@TechnoTim 4 жыл бұрын
Thank you! I don't see why any other operating system wouldn't work. The OS should think it's running on real hardware.
@vincenzogiusto3328
@vincenzogiusto3328 3 жыл бұрын
Very nice and informative video. I'm also planning to make a VM to play some easy games but since I have a Ryzen 5 1600 AF on my server I will need a dedicated GPU to do this. I'm pretty new to virtualization etc. How many cores would you suggest me to assign to the VM?
@TechnoTim
@TechnoTim 3 жыл бұрын
I usually go with 8 per vm, but really 4 or so should be enough depend on your workloads
@johncnorris
@johncnorris 3 жыл бұрын
I didn't see any other comments about the cut & paste issue in the grub file: GRUB_CMDLINE_LINUX_DEFAULT="intel_iommu=on iommu=pt pcie_acs_override=downstream,multifunction video=efifb:off" It's the last field that needs to be corrected. [ NOT video=efifb:eek:ff ]
@vincenthu-by5oh
@vincenthu-by5oh 4 жыл бұрын
I found i can't start my vm after i changed the vm 's BIOS to OVMF(UEFI) and Machine to q35, and i tryed to remove the CD/DVD drive that contains virtio image iso,it could be started, but it didn't configure its network automatically
@bassplaya69er
@bassplaya69er 3 жыл бұрын
You cant just change an exisitng VM from bios to efi afaik. Have to reinstall
@ofernandofilo
@ofernandofilo 3 жыл бұрын
you rocks! cheers from Brazil!!!!
@borfogyasztoelsoszamu2493
@borfogyasztoelsoszamu2493 7 күн бұрын
Nagyon köszönöm, remek bemutató
@banishedmonk
@banishedmonk 2 жыл бұрын
At @3:11 you mentioned command lines in the description, im not seeing it. Are they relocated
@TechnoTim
@TechnoTim 2 жыл бұрын
Everything is in the docs! docs.technotim.live/posts/gpu-passthrough/
@tonykrajcik6701
@tonykrajcik6701 4 жыл бұрын
It was advanced level for me at the moment. But great video about potential of Proxmox for my future using. What hardware do you use as server? Can you specify parameters? Thank you.
@TechnoTim
@TechnoTim 4 жыл бұрын
Glad you liked it! I have an old Dell Server (R710) and a PC that I built and turned into a server. I have some links in the description for compatible hardware!
@Tanax13
@Tanax13 3 жыл бұрын
Really amazing tutorial! Great work! Question; Is it possible to pass through multiple GPUs to the same VM? Say I want to virtualize a mining rig with 6 GPUs, would that be feasible? Or would I lose a lot of performance?
@TechnoTim
@TechnoTim 3 жыл бұрын
Thank you!
@chrisstigas7534
@chrisstigas7534 3 жыл бұрын
Thanks for the video Tim. What is the video hex code in your grub file? Is this specific to your video card?
@C0LPAN1C
@C0LPAN1C 2 ай бұрын
Best is parsec vs RDP. You can tell if hardware encoding is used vs software. Shows visual cue upper left corner!
@martinscurlock2082
@martinscurlock2082 3 жыл бұрын
Every time I do this walkthrough my guest agent turns off and I have no clue how to turn it back on. I have went through the tutorial about 10 different times as well. Guest agent and remote desktop work before I add the hardware.
@martinscurlock2082
@martinscurlock2082 3 жыл бұрын
After some testing I have singled out the guest agent failure to when the hardware section is changed. Reverted hardware and everything worked. Switched it to what you recommended and guest agent broke again. Still not sure what to so.
@martinscurlock2082
@martinscurlock2082 3 жыл бұрын
Figured it out. Nvidia has not made this available for RTX 3000 cards yet.
@southofgrace
@southofgrace 4 жыл бұрын
Awesome video Tim. Easy to follow for me even though I'm not an IT guy. I just want to set up a server and actually use it instead of tinkering! Question for you, you mentioned that the gpu is dedicated to just a single VM. Is there a way to passthrough to multiple VMs that won't be running simultaneously? I would like to have a couple VMs to run CAD software on one, media editors on another. I don't want them all on a single machine. Keep the proxmox series coming. You rock
@TechnoTim
@TechnoTim 4 жыл бұрын
You can use the same video card for multiple machines but you can’t have them booted at the same time. You would have to shut the other down when not in use. Otherwise you would have to look at something like a Quadro card.
@southofgrace
@southofgrace 4 жыл бұрын
@@TechnoTim That's totally fine with me. I will see how much of a pain it is to shut down and boot VMs as I dont have anything set up yet. But I won't be switching from one to another that often. I have a Poweredge T710 and a Quadro P620 gpu is what I'm going to try. From what I understand the power through pci is only like 25 watts so Im hoping it works. Thank you for taking the time to help!
@lelandclayton5462
@lelandclayton5462 4 жыл бұрын
Last year I did something a bit different. I slapped in a USB card into my main Desktop running Debian with a little program called EasySeats and used four HP Multiseat T150 clients and four USB over Ethernet Adapters and since all of the TVs I have in the House had VGA I was able to have four VM clients running Windows 7. Able to stream Netflix just fine and attend to have retro LAN parties with the Kids playing some old school FPS games such as DOOM2 and Quake (using software rendering).
@TechnoTim
@TechnoTim 4 жыл бұрын
thanks for sharing!
@emu5581
@emu5581 3 жыл бұрын
Have you tried other remote desktop programs that are (more) dedicated to lower latency like Parsec or Moonlight?
@CesarPetrescu
@CesarPetrescu 3 жыл бұрын
Should work
@CesarPetrescu
@CesarPetrescu 3 жыл бұрын
I want to do moonlight
@caseywinters3021
@caseywinters3021 3 жыл бұрын
I was thinking the same thing
@Shambolicoholic
@Shambolicoholic 4 жыл бұрын
Tim, you magnificent bastard :) .... I can't believe I finally got this working with the your help. GT1030 successfully passed through to Windows 10 host. I was close but it just never worked (the dreaded error 43)... I was missing the additional grub flags and blacklisting those 4 drivers (I only had the first one). I hooked it up to my TV but was afraid that there would be no sound because I didn't passthrough the Nvidia audio device but it totally works and I have sound too! You're the man, Tim. Keep up the great work!
@TechnoTim
@TechnoTim 4 жыл бұрын
comrade7 heck yes! Great success!
@dbordieri
@dbordieri 2 жыл бұрын
Hey, great video. Am looking to build a rig and shopping GPUs and was wondering if you thought a mining GPU could serve this purpose since the cards can be had inexpensively at the moment. Thanks.
@marcosoliveira8731
@marcosoliveira8731 3 жыл бұрын
Man! Another amazing video of yours! Have you notice if were any issues controlling the GPU´s temperature so far?
@TechnoTim
@TechnoTim 3 жыл бұрын
Thanks! None that I've noticed, just like in a desktop!
@marcosoliveira8731
@marcosoliveira8731 3 жыл бұрын
@@TechnoTim Thank you very much to find time to answer.
@sesshoumarusama7397
@sesshoumarusama7397 3 жыл бұрын
Very helpful, but there was a catch for me. I am booting Proxmox from ZFS pool as primary drive(s). This means that systemd is used as bootloader. To get IOMMU activated I had to do the changes you proposed at /etc/kernel/cmdline and then run pve-efiboot-tool refresh (and reboot).
@nandurx
@nandurx 3 жыл бұрын
How you did it? Because I am seeing this line: root=ZFS=rpool/ROOT/pve-1 boot=zfs
@jjjuhl
@jjjuhl 3 жыл бұрын
Subbed! This is excellent! I wanted this for so long. Noisy machine in one room, Gaming/streaming pc whereever
@TechnoTim
@TechnoTim 3 жыл бұрын
Thank you! Nope, 10Gb not required!
@vladbel1442
@vladbel1442 3 жыл бұрын
@@TechnoTim Great video, thank you! Just to get some reference point... what lan speed did you use when recording this? was it 10 or 1 gig?
@GlenBland
@GlenBland 3 жыл бұрын
This is awesome, thanks for sharing! Now I'm curious about how to pass a controller to it.
@TechnoTim
@TechnoTim 3 жыл бұрын
USB passthrough works too
@slikdude12592
@slikdude12592 3 жыл бұрын
This is great, I wonder how well the remote performance would be with something like Moonlight/Gamestream instead of RDP. I game that way with Windows now on bare metal but given the instability of Windows it would be great to be able to virtualize (and have another VM to be a Windows SMB server to avoid crashes/BSODs that can happen when gaming). Thanks for the video
@TechnoTim
@TechnoTim 3 жыл бұрын
Works great with Moonlight and Gamestream!
@fmj_556
@fmj_556 4 жыл бұрын
Can't wait to try this!!!
@TechnoTim
@TechnoTim 4 жыл бұрын
Hope you like it!
@frithfly
@frithfly 2 жыл бұрын
Techno Tim thank you for this thoughtful guide. I had a question as I am starting to build a server. My Xeon doesn't have a built-in display and my board has room for 2 GPUs. Can i passthrough both GPUs to 2 VMs or does proxmox require a dedicated GPU for itself and therefore I can only have 1 GPU for VM passthrough?
@SergheiPantelei
@SergheiPantelei 4 жыл бұрын
Nice video Tim. Will that way work still ok if one machine is setup as NAS/Server & Working station. I'm running already Proxmox and FreeNAS and have Windows 10 in a separate VM. Can connected monitor display Windows 10 VM video and have keyb & mouse connected to this VM, so when sitting in front of this station it will act as day to day windows 10 machine but run in parallel NAS and server?
@TechnoTim
@TechnoTim 4 жыл бұрын
Hi there! I think this is possible! I'd love to build a machine like this and make a video on it however I don't have the hardware to do so :(
@KTSpeedruns
@KTSpeedruns 2 ай бұрын
Here's some quirks. For some reason, part way through setting it up, my Jellyfin container stopped being able to boot. It's supposed to be able to use the iGPU. Also, when I add a PCIe device to passthrough to the windows VM, it stops being able to boot. I've followed no less than 3 different guides. This is frustrating beyond belief.
@whovisionsCGI
@whovisionsCGI 2 жыл бұрын
You need to check more than your cpu for gpu passthrough. Bios has to have the option of VT-d and VT I/O as well as compatible chipset and even then a lot of nvidia gpu's don't work.
@TechnoTim
@TechnoTim 2 жыл бұрын
I thought I mentioned both the CPU and Motherboard must support VT-d / IOMMU. Thnaks!
@whovisionsCGI
@whovisionsCGI 2 жыл бұрын
@@TechnoTim Apologies, I've been watching so many videos on this subject I guess I missed that. 😵‍💫
@andrewtruett8590
@andrewtruett8590 Жыл бұрын
Hi Tim, I know this is an old video but I had a quick question. What is the benefit of doing this as opposed to just building a gaming PC and remote desktop-ing into that machine from somewhere else in your house?
@MegaManNeo
@MegaManNeo 4 жыл бұрын
Interesting to see Proxmox being used, I got into gpu-passthrough few days back on my B450, 2700X, RX580, RX5700, 32GB rig and it works great with openSUSE Tumbleweed being my host and Windows10 actually running off the NVMe it is natively installed onto, so I could still use it without Linux in the background. Speaking of Linux, do you know what I'd do if I plan to repurpose my computer as a server and potentially a beefier CPU, so I can too connect to my Linux desktop remotely? I'm asking because I fear I couldn't login remotely once the VM reaches the login screen on my distribution of choice.
@troysims1119
@troysims1119 4 жыл бұрын
Great video Tim! I'm subscribed now. I've devoured a bunch of your other vids now too. Good stuff, great presentation and intelligent instruction. Now my question. Have you had any experience with unraid? That's currently my plex server, file server, vm hypervisor. I'll have to upgrade mobo to be able to get passthrough but wasn't sure what your take is on unraid. Thanks for the content!!
@TechnoTim
@TechnoTim 4 жыл бұрын
Awesome, thank you!
@TheWeava
@TheWeava 4 жыл бұрын
I don't know if I'm incorrect here, but I've heard that steam link has huge delays on it's own and lots of choppiness as you pointed out in your video as to why they were giving it away on $10 sales. Good idea, good tutorial, I was wondering doesn't NDI accomplish what you're doing here. If you're running NDI you're duplicating what is on your gaming pc over your network for stream without even going live on the gaming pc? Lastly, isn't this basically against the 24 hour exclusive contracts signed when you become affiliated with twitch? Keep the videos coming.
@TechnoTim
@TechnoTim 4 жыл бұрын
Great questions! Steam Link (the actual device) is awesome! I never had any lag issues and it plays better than the Apple TV app and the Samsung app (that's built into Samsung TVs now). NDI can accomplish what you mention however I have 2 virtual machines with 2 video cards both running OBS 24/7. I don't need to stream my encoded stream over the network, I just need GPUs to encode each stream. You're right about the 24 hour exclusivity however I don't stream myself on these streams, I stream something else and each stream is unique content and unique to each platform. The only reason I edited myself into the B-Roll was because I didn't have the rights to the content, at least on KZbin. So, long story short it's not my live stream that I am sending to Twitch and Mixer, it's actually a 24/7 bot that streams to both platforms. Thank you for asking and thanks for commenting!
@EduardoSantanaSeverino
@EduardoSantanaSeverino 4 жыл бұрын
Hello @Techno Tim, thanks for the video, it was so enjoyable to watch it and get how easy it is to Passthrough a GPU using proxmox. Do you mind doing some post or video in addition to this video which aims proxmox latest update 6.2?
@TechnoTim
@TechnoTim 4 жыл бұрын
Hi! The process is exactly the same! Thank you!
@Redicat
@Redicat 2 жыл бұрын
DUDE! YOU are awesome man! you helped me a fuck ton! it works!!! even for AMD!! man if it works for AMD too and you use NVIDIA ur a legend man it works for Radeon too which it usually isn't the case if tutorial is used with an nvidia card not amd! thanks!!
@cleansermacaroni9892
@cleansermacaroni9892 2 жыл бұрын
I thought this was Johnny Depp doing a proxmox tutorial. LANy Depp.
@Sean-AnthonyEscoffery
@Sean-AnthonyEscoffery 6 ай бұрын
Hey Tim, Has anyone every determined how to passthrough the igpu on an amd chip. I have a mini PC setup with proxmox 8.2.2. It has a Ryzen 7 5700U with radeon graphics. But attempting to pass the radeon graphics through doesn't seem to work with the steps.
@PowerOfDeathZ
@PowerOfDeathZ 2 жыл бұрын
Hi Tim, just curious do you think remote gaming for Torch Light would still be possible with overlays (VPN) where your laptop or low-spec device isn't directly connected? Or would it lag too much to even play?
@OlafI
@OlafI 4 жыл бұрын
1st: Great content!! 2nd: Are you playing the game via a RDP Session??
@OlafI
@OlafI 4 жыл бұрын
Nevermind, I was not patient enough :D Question has been answered by the end of the video.
@TechnoTim
@TechnoTim 4 жыл бұрын
:)
@ittos90
@ittos90 4 жыл бұрын
Parsec or NVidia's moonlight are good purpose built alternatives to RDP. I don't have a gaming VM but I have my gaming PC in my cold garage (Gotta get AC in there before summer!) and I use a mini-pc to game on it remotely.
@MEATHEADBooYA
@MEATHEADBooYA 4 жыл бұрын
How does this compare to VMware for gaming on? I am wanting to run one PC with two GPU's. But not sure if the fps would be as good as VMware GPU Passthrough.
@TechnoTim
@TechnoTim 4 жыл бұрын
Not sure! I don't want to afford the license for VMWare to use more than 8 cores, and 1 CPU, and I don't want to use a RAID adapter. I am sure Proxmox would handle this fine.
@Nimitz_oceo
@Nimitz_oceo 3 жыл бұрын
Hi Tim, I am longtime subscriber and a great fan of your work. This is exactly the type of video I have been looking for: Here is my question: I have a lenovo Thinkpad P51 4K with a Xeon E3-1505M, 64GB RAM with an Nvidia M2200, this is a quadro series card. I have been running VMware workstation pro on it but i apparently I can't do a Gpu passthrough on workstation.(Vmware reserved that right for Vsphere customers) I was wondering if I installed proxmox on it, I'm just wondering if my laptop configuration will work for this type of setup, especially passing multiple vm to a single GPU.
Why GPU Passthrough Is Not Worth It ...
8:33
Michael Horn
Рет қаралды 43 М.
Увеличили моцареллу для @Lorenzo.bagnati
00:48
Кушать Хочу
Рет қаралды 8 МЛН
Why no RONALDO?! 🤔⚽️
00:28
Celine Dept
Рет қаралды 88 МЛН
Lazy days…
00:24
Anwar Jibawi
Рет қаралды 6 МЛН
Private Cloud Gaming - Comparing Parsec and Moonlight
15:13
Craft Computing
Рет қаралды 266 М.
My computer is in another room...
11:26
Raid Owl
Рет қаралды 113 М.
Nvidia tried so hard to stop this - GPU Sharing with Virtual Machines
18:59
Linus Tech Tips
Рет қаралды 1,8 МЛН
Virtualize vs. Containerize (Which should I choose?)
14:38
Techno Tim
Рет қаралды 192 М.
I Went Too Fast
16:24
SuperfastMatt
Рет қаралды 486 М.
Proxmox 8.0 - PCIe Passthrough Tutorial
22:31
Craft Computing
Рет қаралды 221 М.
Virtualize Windows 11 with Proxmox the Right Way!
13:51
Techno Tim
Рет қаралды 175 М.
Разобрали jaecoo j8 - Был не прав, Уаз это топ!
25:00
Клубный сервис
Рет қаралды 217 М.
Увеличили моцареллу для @Lorenzo.bagnati
00:48
Кушать Хочу
Рет қаралды 8 МЛН