Sorry was my mistake. The promox boot never freezes. It only change output to the integrated ATI graphic card. But my HDMI cable still connected to Nvidia. And look like boot stopped. But it not the case.
Thanks dude! I've been tinkering about with this for the past few days and almost lost hope. Everything in your video was clear and concise and got me up and running. You earned my respect and my sub and if I wasn't poor I'd also give you money.
Been messing around with proxmox 8.2 all day struggling to get gpu passthrough to work. Tried everything but that section about making sure the pci-express box is checked saved me from the code 43 error. Thank you kind sir!
Wonderful guide! Worked for me using the newest Windows 11 and Proxmox 8.2.2, with minor change to use the newer hardware options Proxmox provides during VM creation.
been watching loads of videos some of which are over a year old and this is the first VM install I've seen that doesn't require us to manually swap the win10 ISO for the virtIO ISO. Dropped a sub look forward to seeing more while preparing for home network projects
neat proof of concept! ive found passthrough to be buggy even when 100% "working". in my instance to complicate things i am using passthrough of e-gpu. at the end of the day i decided to go back to bare metal. if youre going to game youll need most of your storage and horsepower to get good experience anyway, for most modern games @60fps, which is really considered bare minimum for a good gaming experience. for a standard desktop install of a gpu it may be rock solid stable, but i still believe virtualization of a gaming pc, unless you can split the gpu up as well, has no real benefits for gaming. if you could add instructions for passthrough through an egpu you may save some poor person a day of troubleshooting! thanks for the content though!
Hey man, great video! Quick question, is it possible to share for example an RX 560 between 2 VM's in Proxmox? For example, I want to install Linux on one VM and MacOS?
Thanks for the great tutorial, dude! However, I’m encountering an issue with the configuration. When I run lspci -v after the VFIO validation step, the kernel driver doesn’t switch to VFIO. Instead, it still shows Kernel driver in use: nouveau.
are these file properly populated? /etc/modules-load.d/vfio-pci.conf /etc/modprobe.d/vfio.conf If so you might need to blacklist nouveau on directly on the grub config. Thank you for watching!
That's a new level instruction video. Thank you very much. And so, can we continue and install the second Linux system with dedicating an integrated GPU to it (with a mouse and a keyboard)? Or Proxmox itself needs some GPU to work? I think after it is installed it can live with a console only.
Newer version of the kernel are able to load vfio driver in priority before any other drivers take over the device, so no need to blacklist although is a good practice if you encounter errors, thank you for watching! :)
If you create another like Linux VM and bind the card the exact same way, in addition to Windows, will it work just fine? I suppose you can't use those simultaneusly, but invidually it would work?
Tried to pass through an AMD 6600 XT. It says the driver being used is "amdgpu" instead of "virto". Also my jellyfin container has stopped being able to play media. Kind of a problem. How do I make sure the iGPU is not being completely taken over by the VM?... oh, no, jellyfin container won't even start now.
Once the gpu is passthrough to the system if it's linux it will detect it as regular gpu so amdgpu driver is normal on the vm, is only on the host that you would see virtio, are you trying to pass the igpu to a container in proxmox? thank you for watching!
Excellent tutorial and very timely as I want to try to virtualise my main Windows Desktop PC. I only use Windows for Adobe CC and Affinity Photo / Designer / Publisher, as I can use Linux or MacOS for other things. Also Windows 11 is not supported on my CPU - a Threadripper 1950x (16 Core, 32 Threads).
GREAT video, I have a question tho, I am installing my win10 vm on a dell precision 7810 with 2 intel cpu's . I'm confused about loading the drivers for the hard drive. You say to use the amd64 folder and then the w10, BUT this is not an amd machine. what am I missing here
The amd64 refers to 64bit architecture is not spesifically the brand of the cpu, It's a bit confusing because It's a legacy nomenclature, Thank you for watching! :)
1 other question, don't understand how to tell if the pass thru is working. I see the correct GPU in device manager but I don't understand what input you changed. my display rez is 1200x800, shouldnt it be 1920x1080
If the driver is correctly installed you should be able to change the resolution on display settings, make sure you select the correct screen, since you might see more than 1, 1 for the nvidia card, the other for the virtualized display from the vm. let me know if that helps :)
Hello. What model of motherboard and cpu do you used in the video?. I tried a lot of tutorials of gpu and proxmox and never work. I suspect that work with very specific hardware.
@@distrodomain I have a AMD Ryzen 5 4600G with motherboard gigabyte B450 aorus pro wifi, pci-e nvidia gigabyte 3060. When activate the echo 'vfio-pci' > /etc/modules-load.d/vfio-pci.conf and echo 'options vfio-pci ids=10de:2504,10de:228e' > /etc/modprobe.d/vfio.conf the computer not boot anymore. is stuck in "Loading initial ramdisk...". any idea what is happening?. My monitor need connected to integrated video card or to nvidia video card?.
open this file /etc/modprobe.d/vfio.conf with nano or vim, and make sure the contents are correct like this options vfio-pci ids=10de:2504,10de:228e, (wuth your corresponding gpu ids), do the same with /etc/modules-load.d/vfio-pci.conf and make sure the contents are just vfio-pci, once this is done, you are isolating the gpu this means that the kernel will load vfio driver on your gpu, so you won't have any image on your monitor or maybe the last image before the kerenl handled the gpu to vfio, test if your server pings and try connecting via ssh or web ui once you reboot, even if it's stuck at "Loading initial ramdisk..."., let me know if it works :)
We have a Xeon e5 2670 v3 processor and the motherboard doesn't even have integrated cards. We only have NVidia 1630. What would the grub edition quest look like?
I am installing proxmox 8 on dell precision t7910 with intel xeon 2683 v4, 64 GB RAM and rtx 3090 card but i am not able to install proxmox. It is not getting past the initial loading of drivers and it is stuck there for hours and not going to rest of installation setup.
When you load the installer and you see the blue grub menu press "e" and try adding some of these options to the boot command line "modprobe.blacklist=nouveau rd.driver.blacklist=nouveau nouveau.modeset=0 nomodeset" this will disable any nouveau driver in the installer, and you might be able to get to the installer, sometimes the nouveau driver in the installer has a hard time with newer gpus. Thank you for watching, let me know if it works :)
@@distrodomain thanks brother for reply. I saw your reply late, however i got it working first installing 7.4 then upgraded to 8.1. Moreover with your encouragment i was able to passthrough rtx 3090 to my vm, since other youtubers were saying that it is only possible to passthrough only older nvidia cards or amd cards.
Hi, is possible to Passthrough the IGPU? i have a mini pc with an Home Assistant VM and a new Ubuntu VM, my goal is to passthrough the IGPU with the Ubuntu VM, I have an Alder Lake-N95 pc, on the bios all settings are enabled like your, but i had no luck, can't figure out how to do, any advice is appreciated, thx
I did pcie pass through for my 2060 to my Bazite and Win11 VMS. Since I have one gpu, I can only use one at a time. That’s my big gripe, no GPU vm sharing like VMware allows.
Yes that's the only drawback now there is Nvidia grid, which will allow you split your card into multiple mdev devices, but it requiers a license and spesific gpus, I heard that soon we will be able to do this for free with Intel ARc gpus, It would be awesome, thank you for watching!
Not yet, but I'm planning out a new set of videos for this, the easiest part would be to use a pcie sound card, or using parsec built in audio, stay tuned and thank you for watching!
This video is very useful. I finally managed to get my GMKTec M5 Pro 5700U working. But somehow Cinebench doesn't detect the GPU but taskmanager shows the GPU there. I seem to be able to run GPU-Z though.
It can work headless, if you are using something like parsec to conenct you might need a hdmi dongle or similar to work propely, thank you for watching!
I have a vm with gpu passthrough, it runs fine, but after a longer run if I restart or shutdown my vm (through windows start menu), my entire host machine hangs and I have to power cycle it. I don't remember the messages on the CLI, it's something like "CPU #? stuck for ...". But if I just started the vm, I can restart/shutdown with no problem. It only stucks when it was running for a while.
@@distrodomain It's a Dell Precision t7600 with 2x Intel Xeon E5-2643. I tried different slots and different GPUs. It doesn't have integrated graphics, but I use an older GPU as main display for the proxmox.
@@distrodomain Can a memory problem cause errors like this? I'll check it later on, because sometimes there is a memory error correction warning at boot that I just ignored.
I would be intrested on the result , if this is the only gpu, you might need to disable the frambuffer in the grub config, check the description of the video for details but it's bsically this A. Disabling the Framebuffer: video=vesafb:off,efifb:off@@cyanoure
I changed the graphic adapter to IGD but now screen in proxmox is not working, I tried to switch hdmi cable from external gpu to mother as well not work , how to revert that 😢
Try turning the machine off, plug the hdmi to the mother board and turn the machine back on, you should be able to see the bios splash screen, if not you can try resetting the cmos, of you motherboard, let me know if works :), thanks for watching.
lvm is good enough for vms, just keep in mind that is the drive that runs proxmox os too, If you have an additional ssd I would sugest having your vms in a separate disk for production use, for home use It won't change much, for the balloning device might give you a small boost in memory performace, but it will commit the full amount of ram on your host, thank you for watching!
You can only pass through devices on vm running on that node, IF you have multiple pcie devices in 1 node, if the vm is running in that node you can pass them through. Thank You for watching!
great video. but i cant get it working. is it possible my video card to be too old its nvidia gt210. i will be totaly happy if you make video for intel igpu from 6to 9th gen graphics. ok with gt210 at least i get the monitor to light up and shows prohmox boot only. but windows 11 in vm cant install the video - driver came with exclamation mark in vnovnc.
@@estqwerty check that the pci-express box is ticked under pci-e device in proxmox, is vfio and your iommu groups good?, make sure to pass all devices, or select all functions, let me know if that helps
@@distrodomain got it running again with chis tutorial. it was defiantly too old nvidia. now tried again with 1070 and it worked first time. if you have first settings of proxmox or first things to do to setup will be happy to see the video.
Yes you can follow the same steps for amd cards, just make sure you get your pcie ids, and that you install the amd drivers in your windows vm, let me know if you have any issues, thank you for watching :)
I've been using Linux mainly via SSH for well over 4 years now, I am a c# and python programmer and currently working as an architect. I have windows modified to the point where Linux friends consider it the Linux of windows installs, for instance I replace explorer with directory opus, i use a sick indexer/filesearch/custom launcher called listary, and i really make windows my b*tch. But still, I know linux is the true definition of customizable. This was the video I really needed. My preferred for the past 2 years as been Arch, can you recommend me a desktop environment for arch or should I just go with somethin like xfce and call it a day? Thanks for reading and thanks for the video, I think it is time for me to commit to Arch, submit to Arch, and all mighty Prox Mox
If you want ultimate customaizable desktop experience, I would recommend a tiling window manager like i3,bspwm,Sway,Xmonad, and AwesomeWM, just beware you will go down a big rabbit hole configuring these ones, but you will learn a lot about linux by doing so, so I recommend it. thank you for watching! also here is my video on installing arch if you are intrested. ruclips.net/video/Myihq26hJJo/видео.html
If you run nvidia-smi -- does the details of the card show up properly? I tried passing through a Nvidia RTX A2000 6 GB to a CentOS VM, and in there -- when I type in nvidia-smi -- it doesn't recognise that the GPU is there, even though I was able to install the driver for it and everything. Thanks.
Check with "lspci | grep -i nvidia" or with "lshw -c display" to see if the gpu is detected by the vm, if it is you can check which driver is loaded, you might need to black list nouveau on the centos vm too, let me know if that works, Thank you for watching!
@@distrodomain Thank you. Yup, I ran those diagnostic checks and the VM is able to "see" the video card that was passed through. (If the VM wasn't able to see said video card, the Nvidia driver will not install.) And yes, I did blacklist nouveau and mgag200 in my standard deployment notes, in CentOS. Thank you.
What error do you get when you do nvidia-smi, or it's just not showing there? if you do lshw -c display do you see this under configuration "configuration: driver=nvidia latency=0" or similar, on the vm settings did you pass through all devices and also selected pci-express on the settings. also check with lsmod | grep nvidia to see if the nvidia kernel module is being loaded, I feel is a small bug somewhere.
@@distrodomain I don't remember because it's been a while (and said RTX A2000 is currently in my HP Z420 workstation as a result of this "error"). But if my memory serves, the "error" that I was getting was that by passing through the GPU, I expected that the RTX A2000 would show up in nvidia-smi, but it was wholly absent. And I was only checking nvidia-smi because in the application (CFD/HPC/CAE application) wouldn't detect the GPU, so that's when I started trying to run the diagnostics to try and find/figure out why. So, unfortunately, the server is not in a state where I can power down the server, to put said RTX A2000 back in; for me to run the test again to get the screenshots. In the Proxmox settings, all functions were passed through and the checkbox for it being a GPU and a PCIe device were both checked as well. It'll be a while before both systems will be in a state where I will be able to pull the GPU out, for it to be reinstalled into said server, so I can re-run the test. Thanks.
Not working on proxmox 8.2.2 commands: echo 'vfio-pci' > /etc/modules-load.d/vfio-pci.conf nano /etc/modules-load.d/vfio-pci.conf lspci -nn | grep -i nvidia echo 'options vfio-pci ids=10de:1d81,10de:10f2' > /etc/modprobe.d/vfio.conf Do nothing. Resulting in the kernel driver not loading properly.
are these file properly populated? /etc/modules-load.d/vfio-pci.conf /etc/modprobe.d/vfio.conf if not try editing them manually with nano or vim and put in the correct info, if that fails you might need to black list nouveau driver in the grub configuration.
Proxmox is amazingly badass. If the steps you’ve outlined were added to the gui, PM could be unstoppable.
Thanks for the content.
I'm glad you enjoyed it, I agree proxmox is badass! thank you for watching!
Sorry was my mistake. The promox boot never freezes. It only change output to the integrated ATI graphic card. But my HDMI cable still connected to Nvidia. And look like boot stopped. But it not the case.
Thanks dude! I've been tinkering about with this for the past few days and almost lost hope. Everything in your video was clear and concise and got me up and running. You earned my respect and my sub and if I wasn't poor I'd also give you money.
I'm glad it was helpful!, thank you for watching!
Been messing around with proxmox 8.2 all day struggling to get gpu passthrough to work. Tried everything but that section about making sure the pci-express box is checked saved me from the code 43 error. Thank you kind sir!
I'm glad it was helpful, thank you for watching!
Ive also used a funny hdmi plug to avoid code 43
Youre the first video I could find that had nvidia cards, everyone else using amd, the grouping is what everyone is skipping and saved me thanks!
I'm glad it helped you, thank you for watching! :)
Wonderful guide! Worked for me using the newest Windows 11 and Proxmox 8.2.2, with minor change to use the newer hardware options Proxmox provides during VM creation.
I'm glad it was useful!, thank you for watching
been watching loads of videos some of which are over a year old and this is the first VM install I've seen that doesn't require us to manually swap the win10 ISO for the virtIO ISO. Dropped a sub look forward to seeing more while preparing for home network projects
I'm glad you enjoyed it, thank you for watching!
I followed this guide and got a GTX 1080TI Working perfectly first try in Proxmox on a 2010 5,1 Mac Pro.
I'm glad it was helpful, thank you for watching!
neat proof of concept! ive found passthrough to be buggy even when 100% "working". in my instance to complicate things i am using passthrough of e-gpu. at the end of the day i decided to go back to bare metal. if youre going to game youll need most of your storage and horsepower to get good experience anyway, for most modern games @60fps, which is really considered bare minimum for a good gaming experience. for a standard desktop install of a gpu it may be rock solid stable, but i still believe virtualization of a gaming pc, unless you can split the gpu up as well, has no real benefits for gaming. if you could add instructions for passthrough through an egpu you may save some poor person a day of troubleshooting! thanks for the content though!
Nothing beats bare metal, and there are some ways to split the gpu with grid but not super easy to setup, thank you for watching! :)
Great guide on how to start Windows on proxmox and enable graphics. I'm using an RTX3050 and it works great.
Glad to hear! thank you for watching
Nice, good way to hack games and not needing to spoof HWIDs :D
Thank you for this brother!
I'm glad it was helpful, thank you for watching!
Thanks, great guide, mangaged the entire process with this!!!
Glad it was helpful!
Cool video, just want to add that you can also use sunshine and moonlight for local gaming. Works great and i use it for my steam deck.
oh nice!, Thanks for sharing
New Sub; Detroit, Mich, US
Well Done Sir, Gonna Give this a Shot as I'm Watching It...
Thank you for watching!
Hey man, great video! Quick question, is it possible to share for example an RX 560 between 2 VM's in Proxmox? For example, I want to install Linux on one VM and MacOS?
You can share it with 2 vms, they just can't be turned on at the same time. thank you for watching :)
Thanks for the great tutorial, dude! However, I’m encountering an issue with the configuration. When I run lspci -v after the VFIO validation step, the kernel driver doesn’t switch to VFIO. Instead, it still shows Kernel driver in use: nouveau.
are these file properly populated?
/etc/modules-load.d/vfio-pci.conf
/etc/modprobe.d/vfio.conf
If so you might need to blacklist nouveau on directly on the grub config.
Thank you for watching!
@@distrodomain I have the same issue too. How can I blacklist nouveau on directly on the grub config?
That's a new level instruction video. Thank you very much. And so, can we continue and install the second Linux system with dedicating an integrated GPU to it (with a mouse and a keyboard)? Or Proxmox itself needs some GPU to work? I think after it is installed it can live with a console only.
Yes you can, the integrated gpu is a bit more tricky but it is possible, thank you for watching!
Congratulations, and thank you very much!
Thank you for watching!
Hi, Great explanation on configuring passthrough ( i'm new to this ) ... Having watched a few videos, I see that you didnt blacklist any drivers ?
Newer version of the kernel are able to load vfio driver in priority before any other drivers take over the device, so no need to blacklist although is a good practice if you encounter errors, thank you for watching! :)
@@distrodomain Still trying to figure out gpu passthrough, are you still connecting a cable to your gpu or is this a headless setup ?
If you create another like Linux VM and bind the card the exact same way, in addition to Windows, will it work just fine? I suppose you can't use those simultaneusly, but invidually it would work?
Yes exactly you can't use both at the same time, as long as one vm is on at a time they can both have the same card, thank you for watching! :)
@@distrodomain Thanks for clarifying. So it essentially just throws error to that event panel at bottom if one tries.
Tried to pass through an AMD 6600 XT. It says the driver being used is "amdgpu" instead of "virto".
Also my jellyfin container has stopped being able to play media. Kind of a problem. How do I make sure the iGPU is not being completely taken over by the VM?... oh, no, jellyfin container won't even start now.
Once the gpu is passthrough to the system if it's linux it will detect it as regular gpu so amdgpu driver is normal on the vm, is only on the host that you would see virtio, are you trying to pass the igpu to a container in proxmox? thank you for watching!
Excellent tutorial and very timely as I want to try to virtualise my main Windows Desktop PC.
I only use Windows for Adobe CC and Affinity Photo / Designer / Publisher, as I can use Linux or MacOS for other things. Also Windows 11 is not supported on my CPU - a Threadripper 1950x (16 Core, 32 Threads).
I'm glad you found it useful! Thank You for watching!
GREAT video, I have a question tho, I am installing my win10 vm on a dell precision 7810 with 2 intel cpu's . I'm confused about loading the drivers for the hard drive. You say to use the amd64 folder and then the w10, BUT this is not an amd machine. what am I missing here
The amd64 refers to 64bit architecture is not spesifically the brand of the cpu, It's a bit confusing because It's a legacy nomenclature, Thank you for watching! :)
Thanks for the reply
@@distrodomain
1 other question, don't understand how to tell if the pass thru is working. I see the correct GPU in device manager but I don't understand what input you changed. my display rez is 1200x800, shouldnt it be 1920x1080
If the driver is correctly installed you should be able to change the resolution on display settings, make sure you select the correct screen, since you might see more than 1, 1 for the nvidia card, the other for the virtualized display from the vm. let me know if that helps :)
Awesome video man!!
Thank You bro! :)
Hello. What model of motherboard and cpu do you used in the video?. I tried a lot of tutorials of gpu and proxmox and never work. I suspect that work with very specific hardware.
The motherboard I'm using is Z170A Gaming Pro Carbon from msi, what are the issue you are encountering, I might be able to help you :)
@@distrodomain I have a AMD Ryzen 5 4600G with motherboard gigabyte B450 aorus pro wifi, pci-e nvidia gigabyte 3060. When activate the echo 'vfio-pci' > /etc/modules-load.d/vfio-pci.conf and echo 'options vfio-pci ids=10de:2504,10de:228e' > /etc/modprobe.d/vfio.conf the computer not boot anymore. is stuck in "Loading initial ramdisk...". any idea what is happening?. My monitor need connected to integrated video card or to nvidia video card?.
open this file /etc/modprobe.d/vfio.conf with nano or vim, and make sure the contents are correct like this options vfio-pci ids=10de:2504,10de:228e, (wuth your corresponding gpu ids), do the same with /etc/modules-load.d/vfio-pci.conf and make sure the contents are just vfio-pci, once this is done, you are isolating the gpu this means that the kernel will load vfio driver on your gpu, so you won't have any image on your monitor or maybe the last image before the kerenl handled the gpu to vfio, test if your server pings and try connecting via ssh or web ui once you reboot, even if it's stuck at "Loading initial ramdisk..."., let me know if it works :)
13:38
NVclean Install for a lighter driver installation
I'll keep that in mind thank you for the sugestion :)
We have a Xeon e5 2670 v3 processor and the motherboard doesn't even have integrated cards. We only have NVidia 1630.
What would the grub edition quest look like?
The grub settings are the same if you have that cpu, just make sure iommu and vt-d or equivalent is enabled in your bios. thank you for watching! :)
I am installing proxmox 8 on dell precision t7910 with intel xeon 2683 v4, 64 GB RAM and rtx 3090 card but i am not able to install proxmox. It is not getting past the initial loading of drivers and it is stuck there for hours and not going to rest of installation setup.
When you load the installer and you see the blue grub menu press "e" and try adding some of these options to the boot command line "modprobe.blacklist=nouveau rd.driver.blacklist=nouveau nouveau.modeset=0 nomodeset" this will disable any nouveau driver in the installer, and you might be able to get to the installer, sometimes the nouveau driver in the installer has a hard time with newer gpus. Thank you for watching, let me know if it works :)
@@distrodomain thanks brother for reply. I saw your reply late, however i got it working first installing 7.4 then upgraded to 8.1. Moreover with your encouragment i was able to passthrough rtx 3090 to my vm, since other youtubers were saying that it is only possible to passthrough only older nvidia cards or amd cards.
Hi, is possible to Passthrough the IGPU? i have a mini pc with an Home Assistant VM and a new Ubuntu VM, my goal is to passthrough the IGPU with the Ubuntu VM, I have an Alder Lake-N95 pc, on the bios all settings are enabled like your, but i had no luck, can't figure out how to do, any advice is appreciated, thx
I have not tried to passthrough an igpu, but there's a good reading here wiki.archlinux.org/title/Intel_GVT-g , thank you for watching! :)
I did pcie pass through for my 2060 to my Bazite and Win11 VMS. Since I have one gpu, I can only use one at a time. That’s my big gripe, no GPU vm sharing like VMware allows.
Yes that's the only drawback now there is Nvidia grid, which will allow you split your card into multiple mdev devices, but it requiers a license and spesific gpus, I heard that soon we will be able to do this for free with Intel ARc gpus, It would be awesome, thank you for watching!
Hello ty for the video! But I have a question can I do the same for a vm Ubuntu/flex?
yes you can passthrough the gpu to a ubuntu vm, just make usre you installed the corespoding driver in linux for the card. thank you for watching! :)
@@distrodomain thank you! Good luck!
I have a question, do you have a guide to the integrated sound card?
Not yet, but I'm planning out a new set of videos for this, the easiest part would be to use a pcie sound card, or using parsec built in audio, stay tuned and thank you for watching!
This video is very useful. I finally managed to get my GMKTec M5 Pro 5700U working. But somehow Cinebench doesn't detect the GPU but taskmanager shows the GPU there. I seem to be able to run GPU-Z though.
hmm wierd I haven't seen that before, did you manage to found the issue?, thanks for watching!
after everything is setup do you need to connect a monitor to the Proxmox machine or will this just work "headless" ?
It can work headless, if you are using something like parsec to conenct you might need a hdmi dongle or similar to work propely, thank you for watching!
I have a vm with gpu passthrough, it runs fine, but after a longer run if I restart or shutdown my vm (through windows start menu), my entire host machine hangs and I have to power cycle it. I don't remember the messages on the CLI, it's something like "CPU #? stuck for ...".
But if I just started the vm, I can restart/shutdown with no problem. It only stucks when it was running for a while.
I't might be something to do with the pcie reset the moment you turn off the vm, what hardware are you using? (motherboard/cpu)
@@distrodomain It's a Dell Precision t7600 with 2x Intel Xeon E5-2643.
I tried different slots and different GPUs.
It doesn't have integrated graphics, but I use an older GPU as main display for the proxmox.
@@distrodomain Can a memory problem cause errors like this? I'll check it later on, because sometimes there is a memory error correction warning at boot that I just ignored.
I would be intrested on the result , if this is the only gpu, you might need to disable the frambuffer in the grub config, check the description of the video for details but it's bsically this A. Disabling the Framebuffer: video=vesafb:off,efifb:off@@cyanoure
I changed the graphic adapter to IGD but now screen in proxmox is not working, I tried to switch hdmi cable from external gpu to mother as well not work , how to revert that 😢
Try turning the machine off, plug the hdmi to the mother board and turn the machine back on, you should be able to see the bios splash screen, if not you can try resetting the cmos, of you motherboard, let me know if works :), thanks for watching.
@@distrodomain thanks it worked 😍, I love you man you saved my life ❤️❤️
@@HusamNasrullah I'm glad it worked :)
Thanks for sharing - will this work for ubuntu VM ?
Yes this should work ubuntu as the guest vm, thank you for watching!
Does virtualization not cause issues with anti-cheay?
With some games yes unfortunately, thanks for watching!
My proxmox server uses 50watt more power when the vm is off got any idea's on how to fix it ?
I'm not sure what could be causing that, what is the hardware that you are using?
cpu amd 5800x
asus tuf x570-plus motherboard
gpu asus tuf 6800xt
64gb ram
@@distrodomain
GPU Passthrough here in full 3D acceleration, only when using Remote Desktop (Remmina).
Nice,, I'm glad it was helpful, thank you for watching!
SO COOL!!!!!!!!!! thanks for sharing!!!
Thanks for watching!
hi great video one question do you think lvm is best for performance and should we have a dedicated disk just for the windows vm ?
also what about disabling ballooning device
lvm is good enough for vms, just keep in mind that is the drive that runs proxmox os too, If you have an additional ssd I would sugest having your vms in a separate disk for production use, for home use It won't change much, for the balloning device might give you a small boost in memory performace, but it will commit the full amount of ram on your host, thank you for watching!
How can I pass through different nodes on different gpu ports.
You can only pass through devices on vm running on that node, IF you have multiple pcie devices in 1 node, if the vm is running in that node you can pass them through. Thank You for watching!
great video. but i cant get it working. is it possible my video card to be too old its nvidia gt210. i will be totaly happy if you make video for intel igpu from 6to 9th gen graphics. ok with gt210 at least i get the monitor to light up and shows prohmox boot only. but windows 11 in vm cant install the video - driver came with exclamation mark in vnovnc.
Maybe the gpu is not supported in win11 have you tried win10, maybe I'll work, do you get error 43 by chance?
@@distrodomain yeah its code 43. same on win7. trying to figure it out.
@@distrodomain exactly, 43, any suggestions?
@@estqwerty check that the pci-express box is ticked under pci-e device in proxmox, is vfio and your iommu groups good?, make sure to pass all devices, or select all functions, let me know if that helps
@@distrodomain got it running again with chis tutorial. it was defiantly too old nvidia. now tried again with 1070 and it worked first time. if you have first settings of proxmox or first things to do to setup will be happy to see the video.
Great video! Would these instructions work with an AMD GPU as well? Looking at the Radeon RX 6700 XT..
Yes you can follow the same steps for amd cards, just make sure you get your pcie ids, and that you install the amd drivers in your windows vm, let me know if you have any issues, thank you for watching :)
@@distrodomain
Será que ele usa todo o poder na GPU ou não
Does wsl2 work on the Windows VM?
Yes it should work like any other windows installtion, thank you for watching!
great tutorial. thanks!!!
Glad it was helpful!
I've been using Linux mainly via SSH for well over 4 years now, I am a c# and python programmer and currently working as an architect. I have windows modified to the point where Linux friends consider it the Linux of windows installs, for instance I replace explorer with directory opus, i use a sick indexer/filesearch/custom launcher called listary, and i really make windows my b*tch. But still, I know linux is the true definition of customizable. This was the video I really needed. My preferred for the past 2 years as been Arch, can you recommend me a desktop environment for arch or should I just go with somethin like xfce and call it a day? Thanks for reading and thanks for the video, I think it is time for me to commit to Arch, submit to Arch, and all mighty Prox Mox
If you want ultimate customaizable desktop experience, I would recommend a tiling window manager like i3,bspwm,Sway,Xmonad, and AwesomeWM, just beware you will go down a big rabbit hole configuring these ones, but you will learn a lot about linux by doing so, so I recommend it. thank you for watching! also here is my video on installing arch if you are intrested. ruclips.net/video/Myihq26hJJo/видео.html
Does it feel native when using?
if you plug your screen directly to the gpu yes, feels like bare metal machine. thank you for watching!
@@distrodomain Thank you for the great content. Subscribed.
5% performance hit using VM. Not too shabby at all!
Yea is pretty good if you have a beefy machine, thank you for watching!
If you run nvidia-smi -- does the details of the card show up properly?
I tried passing through a Nvidia RTX A2000 6 GB to a CentOS VM, and in there -- when I type in nvidia-smi -- it doesn't recognise that the GPU is there, even though I was able to install the driver for it and everything.
Thanks.
Check with "lspci | grep -i nvidia" or with "lshw -c display" to see if the gpu is detected by the vm, if it is you can check which driver is loaded, you might need to black list nouveau on the centos vm too, let me know if that works, Thank you for watching!
@@distrodomain
Thank you.
Yup, I ran those diagnostic checks and the VM is able to "see" the video card that was passed through.
(If the VM wasn't able to see said video card, the Nvidia driver will not install.)
And yes, I did blacklist nouveau and mgag200 in my standard deployment notes, in CentOS.
Thank you.
What error do you get when you do nvidia-smi, or it's just not showing there? if you do lshw -c display do you see this under configuration "configuration: driver=nvidia latency=0" or similar, on the vm settings did you pass through all devices and also selected pci-express on the settings. also check with lsmod | grep nvidia to see if the nvidia kernel module is being loaded, I feel is a small bug somewhere.
@@distrodomain
I don't remember because it's been a while (and said RTX A2000 is currently in my HP Z420 workstation as a result of this "error").
But if my memory serves, the "error" that I was getting was that by passing through the GPU, I expected that the RTX A2000 would show up in nvidia-smi, but it was wholly absent.
And I was only checking nvidia-smi because in the application (CFD/HPC/CAE application) wouldn't detect the GPU, so that's when I started trying to run the diagnostics to try and find/figure out why.
So, unfortunately, the server is not in a state where I can power down the server, to put said RTX A2000 back in; for me to run the test again to get the screenshots.
In the Proxmox settings, all functions were passed through and the checkbox for it being a GPU and a PCIe device were both checked as well.
It'll be a while before both systems will be in a state where I will be able to pull the GPU out, for it to be reinstalled into said server, so I can re-run the test.
Thanks.
Man, your GPU costs more than my apartment
haha It's a pretty old gpu now but stil working well!, thank you for watching!
thanks for such a great content
You are welcome, I'm glad you enjoyed it! thank you for watching :)
My windows says that error 43 and stopping device
Make sure you mark the pcie checkbox, what gpu are you using, thanks for watching
Thnx man!!!!
Glad it was helpful!
Can't get sims to launch.
What erro are you getting
@@distrodomain There was no error. It just didn't launch.
What gpu hardware?
Any pcie gpu should work with this tutorial, thank you for watching!
Thanks man!
You are welcome! thank you for watching
Good guide.
Glad it was helpful! thank you for watching
Thank you.
I'm glad you found it helpful!
Ty bro
You are welcome!
@@distrodomainare grub files & other linux configs are cross compatible across linux distributions?
for most distributions yes, some change the format a little bit, but it's basically the same, thanks for watching! :)
Talking a lot make some people more confusing
Thank you for the feedback, do you have any questions about the setup? :)
Not working on proxmox 8.2.2 commands:
echo 'vfio-pci' > /etc/modules-load.d/vfio-pci.conf
nano /etc/modules-load.d/vfio-pci.conf
lspci -nn | grep -i nvidia
echo 'options vfio-pci ids=10de:1d81,10de:10f2' > /etc/modprobe.d/vfio.conf
Do nothing.
Resulting in the kernel driver not loading properly.
are these file properly populated?
/etc/modules-load.d/vfio-pci.conf
/etc/modprobe.d/vfio.conf
if not try editing them manually with nano or vim and put in the correct info, if that fails you might need to black list nouveau driver in the grub configuration.