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

241,620
0
Published 2020-03-26
Are you looking to build a remote gaming machine and passthrough your GPU to a virtual machine? Do you want to use GPU acceleration for transcoding Plex or Adobe Media Encoder? Do you dream of setting up Steam Link or Remote Play In Home Streaming and streaming games to any screen in your house? If so, this complete step-by-step guide of how to passthrough your Nvidia or AMD video card through to a guest VM using Proxmox VE! If not, well, please watch this anyway.

Video Notes: technotim.live/posts/gpu-passthrough/

Virtualize Windows 10 with Proxmox VE    • Virtualize Windows 10 with Proxmox VE  
Proxmox VE Install and Setup Tutorial    • Proxmox VE Install and Setup Tutorial  

Support me on Patreon: www.patreon.com/technotim
Sponsor me on GitHub: github.com/sponsors/timothystewart6
Subscribe on Twitch: www.twitch.tv/technotim
Become a YouTube member: youtube.com/channel/UCOk-gHyjcWZNj3Br4oxwh0A/join
Merch Shop: l.technotim.live/shop
Gear Recommendations: l.technotim.live/gear
Get Help in Our Discord Community: l.technotim.live/discord
2nd channel: youtube.com/@TechnoTimTalks

00:00 - Intro
00:22 - Why
00:55 - Prerequisites & Requirements
02:35 - GRUB changes
03:38 - Edit modules
04:04 - Windows VM Changes
05:17 - qm.conf changes
05:42 - GPU Passthrough
06:24 - Block Drivers
07:23 - Install Drivers
07:38 - Check 3d Rendering
08:07 - Proof of Work
09:26 - Proof of Work 2
10:29 - Other Uses
11:22 - Why I Do It - OBS
12:04 - NVENC with OBS
12:26 - Conclusion

Support me on Patreon: www.patreon.com/technotim
Sponsor me on GitHub: github.com/sponsors/timothystewart6
Subscribe on Twitch: www.twitch.tv/technotim
Gear Recommendations: l.technotim.live/gear
Get Help in Our Discord Community: l.technotim.live/discord
2nd channel: youtube.com/@TechnoTimTalks

(Affiliate links may be included in this description. I may receive a small commission at no cost to you.)

📦 Products in this Video 📦
► HDMI Dummy Display Plug amzn.to/3giFAyD
► GTX 1050 amzn.to/3cUVv45
► GTX 1050 TI amzn.to/3f1Gxv9
► GTX 1060 amzn.to/2XwCQFsTechno Tim Kits:
► 4K YouTube Kit - kit.co/TechnoTim/4k-youtube-kit
► Pro Level Live Streaming Kit - kit.co/TechnoTim/pro-level-live-streaming-kit
► Budget Gaming Streaming PC 2020- kit.co/TechnoTim/budget-gaming-streaming-pc-2020
► Performance Virtualization Server- kit.co/TechnoTim/performance-virtualization-nas-se…
► Budget NAS Server- kit.co/TechnoTim/budget-nas-server
► Coding & Gaming Keyboards- kit.co/TechnoTim/coding-gaming-keyboards
► Coding & Gaming Mice- kit.co/TechnoTim/coding-gaming-mice


⏯ Recommended Videos ⏯
► 20 Ways to Use a Virtual Machine (and other ideas for your homelab)    • 20 Ways to Use a Virtual Machine (and...  
► Remote Gaming with Promox    • Remote Gaming! (and Video Encoding us...  
► Let's Build a Discord Bot Using DiscordJS - Moderator Bot    • Let's Build a Discord Bot Using Disco...  

#Proxmox #Homelab #Virtualization #TechnoTim #HomeServer

Description Tags: Techno Tim, technotim, pas-through, gpu passthrough, amd gpu passthrough, gpu passthru, gpu pass thru, remote gaming servier nvidia, remove gaming server amd, amd ryzen amd-v, intel core vt-d, vt-x, setting up steamlink steam link, steam link remote desktop, play games over remote desktop, proxmox videocard passthrough, steam remote play, steam inhome streaming, steam in-home streaming, steam in home streaming

Thank you for watchin

All Comments (21)
  • @TechnoTim
    Have you ever wanted to game remotely? Oh, BTW, if you're new here, welcome! Subscribe for more content like this coming soon!
  • @clearx6182
    "go out and buy 2 video cards" hahahaha good one
  • @23Midway23
    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!
  • @murtza.rehman
    You have so beautifully given away such a wonderful setup and it all felt as easy as casually playing a Video Game. Amazed !
  • @Diastolicflame
    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.
  • @DonWon4725
    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.
  • 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!
  • @akkshep
    Thank you SO much for this video! I spent the last few days in forum hell trying to get this working properly. Subbed.
  • @kylecurry2741
    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 :-)
  • @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 !
  • @hycron1234
    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! 🙂
  • @goteamgorilla
    Looks like I have another Proxmox "project" this weekend. Thanks Techno Tim!
  • Thanks man. Just what I need to start my promox vm gaming journey. Subbed.
  • Hi Tim! Just found your channel last week, and been binge watching your content. AWESOME content! Thanks!
  • @holeinthesest
    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.
  • @MagecraftLP
    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 <ID>' 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=<vendorID1>,<vendorID2> 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.
  • @roxxor0
    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.
  • @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
  • @Marfprojects
    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!