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

preview_player
Показать описание
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.

00:00 - Intro
00:22 - Why
00:55 - Prerequisites & Requirements
02:35 - GRUB changes
03:38 - Edit modules
04:04 - Windows VM 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

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

📦 Products in this Video 📦

⏯ Recommended Videos ⏯

#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 watching!
Рекомендации по теме
Комментарии
Автор

Have you ever wanted to game remotely?

Oh, BTW, if you're new here, welcome! Subscribe for more content like this coming soon!

TechnoTim
Автор

"go out and buy 2 video cards" hahahaha good one

clearx
Автор

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.

MagecraftLP
Автор

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.

holeinthesest
Автор

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!

zacharyberridge
Автор

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!

Midway
Автор

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!

Marfprojects
Автор

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.

roxxor
Автор

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.

Diastolicflame
Автор

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

johngrabner
Автор

Thank you SO much for this video! I spent the last few days in forum hell trying to get this working properly. Subbed.

akkshep
Автор

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.

emiellr
Автор

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

TheRealHiddenNinja
Автор

You have so beautifully given away such a wonderful setup and it all felt as easy as casually playing a Video Game. Amazed !

murtza.rehman
Автор

Thanks man. Just what I need to start my promox vm gaming journey. Subbed.

alexzendermarunsai
Автор

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

kylecurry
Автор

Looks like I have another Proxmox "project" this weekend. Thanks Techno Tim!

goteamgorilla
Автор

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

vincenthu-byoh
Автор

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 !

smealson
Автор

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.

lmaoroflcopter