Virtual graphics card performance is too weak.we need to use real graphics card to improve display performance.
Before starting passthough gpu card.Make sure something right first.
1 your passthough card is AMD card.
Because NVDIA company made a check in their video card drivers.If it found that the system is VM system.The driver will stop working.Although there is a way to bypass the drive blockade, it is troublesome.AMD gpu cards don’t have this problem.
2 Your gpu card support UEFI bios.
Although traditional seabios can also be passthough successful.But there are always strange problems.
For example.My card RX560.Running score under real system can reach 70,000 points.It can work normal under UEFI mode and reach 68,000 points.But only get 7,000 points under seabios mode.And if I run GPU-Z. The guest system windows get blue screen crash and whole system crash completely.
Now we can start passthough work.
1 enable UEFI boot in your Physical machine bios.
If your machine do not suport UEFI mode.It doesn’t matter.We can dump gpu card bios and use it as a file in proxmox.
2 modify /etc/default/grub
vi /etc/default/grub
found GRUB_CMDLINE_LINUX_DEFAULT="quiet"
line.
intel cpu: modify to GRUB_CMDLINE_LINUX_DEFAULT="quiet intel_iommu=on iommu=pt video=efifb:off"
amd cpu: modify to GRUB_CMDLINE_LINUX_DEFAULT="quiet amd_iommu=on iommu=pt video=efifb:off"
Then save the file and run update-grub
.
3 modify /etc/modules
vi /etc/modules
add following things.it can’t change the order
vfio vfio_iommu_type1 vfio_pci vfio_virqfd
Then save and run update-initramfs -u -k all
.
4 add gpu card ID.
how to get gpu card id.
first run lspci
. we can get a list about pci devices.
We can found that the line which start with “02:00” is my gpu card.
02:00.0 is gpu device.
02:00.1 is hdmi audio device that on gpu card.
02:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Baffin [Polaris11] (rev cf) 02:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Device aae0
Then we run lspci -n -s 02:00
to get card ID.
[email protected]:~# lspci -n -s 02:00 02:00.0 0300: 1002:67ff (rev cf) 02:00.1 0403: 1002:aae0 [email protected]:~#
Run commands. echo "options vfio-pci ids=1002:67ff,1002:aae0" > /etc/modprobe.d/vfio.conf echo "options vfio_iommu_type1 allow_unsafe_interrupts=1" > /etc/modprobe.d/vfio_iommu_type1.conf modprobe kvm ignore_msrs=y modprobe kvm_intel nested=y ept=y
5 modify /etc/modprobe.d/pve-blacklist.conf
check which drive that your videocard used.
lspci -k -i 02:00



add content to blacklist drivers
blacklist amdgpu blacklist snd_hda_intel
Then run update-initramfs -u -k all
After thest.Reboot your proxmox system.
6 Configure your guest system configuration (test that not need on higher than 5.4 pve)
copy your UEFI bios which dump from gpu card(Use gpu-z to dump it or it can download from other web site) to /usr/share/kvm
dir with vbios.bin
name.
add pci device in hardware list.
The rom-file parameter can’t set by web mode.
You can modify VM config file directly after add pci device.
All VM guest config files are in /etc/pve/nodes/pve/qemu-server/
.
Modify conf file with guest system id.
Likevi /etc/pve/nodes/pve/qemu-server/105.conf
After these.Your can find your gpu-card in your guest system.Install driver and works.
20 Comments
keto reset diet
July 7, 2021 at 9:08 amketo for dummies
can you eat nuts on keto diet
July 6, 2021 at 10:29 pmcheap keto diet
keto blueberry muffins
July 6, 2021 at 10:20 pmfat bombs keto
dating agencies free
June 25, 2021 at 7:49 amlesbian dating site free
dating site free usa
June 24, 2021 at 6:38 pmfree lesbian dating sites online
free chatting and dating site
June 24, 2021 at 6:01 amfree cowboy dating site
free dating london
June 24, 2021 at 3:42 amfree midget dating sites
Usescedge
June 15, 2021 at 5:18 amfinpecia
Usescedge
June 14, 2021 at 1:43 amorder methyl prenisone without rx
100 free sex dating sites
June 2, 2021 at 1:39 amfree to use bbw dating online
too many fish free dating
June 2, 2021 at 12:10 amenglish dating sites free
free tattoo dating sites
June 1, 2021 at 7:54 pmzoosk free dating website
free adult dating sites reviews
June 1, 2021 at 6:40 pmfree brazilian dating sites online
best 100 percent free online dating sites
May 21, 2021 at 12:39 amfree japanese dating games in english
free dating sites for asians
May 20, 2021 at 8:07 pmfree dating websites u.s.a
free cougar dating website uk
May 20, 2021 at 6:46 pmdating ariane free play
sa free dating
May 19, 2021 at 11:45 pmliverpool free dating
free 100% dating sites
May 19, 2021 at 10:48 pmfree full dating sites
better than tinder uk
May 16, 2021 at 2:22 pmbetter than tinder uk
how to passthough gpu card in proxmox – rock funs
super tinder
May 15, 2021 at 4:58 pmsuper tinder
how to passthough gpu card in proxmox – rock funs