Dell OptiPlex 7050 i7 7700 Pci (GPU) passthrough Problem !

pilgrimage

Member
Oct 17, 2021
58
2
13
43
Hello, I installed Proxmox 7.3.3 on a Dell Optiplex 7050 machine and everything works without any problems. Although I have set the GPU passthrough settings correctly, I cannot succeed in GPU passthrough. I used the following resources.

https://pve.proxmox.com/wiki/Pci_passthrough

What could I have missed. I have checked the bios settings, I have checked what needs to be done on the other host. The only thing I can think of for passthrough is i7 7700 coming from intel hd graphichs hd 630 I guess I didn't turn it off. Do I need to blacklist this too. I need your support and guidance on this issue.


My Machine
Dell OptiPlex 7050 - MT
Core i7 7700 / 3.6 GHz
vPro
RAM 32 GB
SSD 256 GB
SSD 1 TB
Radeon R7 450


Thankyou for support.
 
Hi from my experience on linux, in pci passthrough, there are perhaps some things that i say you could have to consider:
  1. Does your PC motherboard+cpu support vt-x and vt-d? If so, enable them in your UEFI.
  2. Do you have IOMMU enabled on your Proxmox install?
  3. GPU could perhaps be a problem, although labeling as UEFI, so i doubt on that.
You need not to blacklist the iGPU, only make sure the dGPU is in one whole IOMMU group, like Address for VGA, and the other for the HDMI audio, etc, and no other devices address with it, then make sure all the dGPU group is then bound to vfio, if your doing this statically then you can easily check with lspci -v and see the dGPU addresses. Then make sure all the GPU address are on the VM.

Note: i never used proxmox, KVM only so take this with a grain of salt, i am helping though due to interest in getting an optiplex machine, hope it helps though.
 
Hi, thanks for your time. However, I found the source of my problem and solved it. I had manually selected intel hd graphic card in biostat so that the host does not occupy the amd graphic card, but it did not work that way. This time in the biostat, when I select auto, the computer automatically boots up with intel hd graphics, so it doesn't occupy the external graphics card. It boots up without any problems now. Here are my settings;

nano /etc/default/grub
GRUB_CMDLINE_LINUX_DEFAULT="quiet intel_iommu=on iommu=pt pcie_acs_override=downstream,multifunction nofb nomodeset video=vesafb:eek:ff,efifb:eek:ff"

nano /etc/modules
vfio
vfio_iommu_type1
vfio_pci
vfio_virqfd

echo "options vfio_iommu_type1 allow_unsafe_interrupts=1" > /etc/modprobe.d/iommu_unsafe_interrupts.conf echo "options kvm ignore_msrs=1" > /etc/modprobe.d/kvm.conf

echo "blacklist radeon" >> /etc/modprobe.d/blacklist.conf echo "blacklist nouveau" >> /etc/modprobe.d/blacklist.conf echo "blacklist nvidia" >> /etc/modprobe.d/blacklist.conf

echo "options vfio-pci ids=1002:862b disable_vga=1"> /etc/modprobe.d/vfio.conf

I am using it with these settings without any problems right now thanks.
 
Hi, thanks for your time. However, I found the source of my problem and solved it. I had manually selected intel hd graphic card in biostat so that the host does not occupy the amd graphic card, but it did not work that way. This time in the biostat, when I select auto, the computer automatically boots up with intel hd graphics, so it doesn't occupy the external graphics card. It boots up without any problems now. Here are my settings;

nano /etc/default/grub
GRUB_CMDLINE_LINUX_DEFAULT="quiet intel_iommu=on iommu=pt pcie_acs_override=downstream,multifunction nofb nomodeset video=vesafbff,efifbff":eek::eek:

nano /etc/modules
vfio
vfio_iommu_type1
vfio_pci
vfio_virqfd

echo "options vfio_iommu_type1 allow_unsafe_interrupts=1" > /etc/modprobe.d/iommu_unsafe_interrupts.conf echo "options kvm ignore_msrs=1" > /etc/modprobe.d/kvm.conf

echo "blacklist radeon" >> /etc/modprobe.d/blacklist.conf echo "blacklist nouveau" >> /etc/modprobe.d/blacklist.conf echo "blacklist nvidia" >> /etc/modprobe.d/blacklist.conf

echo "options vfio-pci ids=1002:862b disable_vga=1"> /etc/modprobe.d/vfio.conf

I am using it with these settings without any problems right now thanks.
Hello,
Could you show your vm.conf?
My device is DELL 7060SFF.
Thanks. :)
 
th
Hi, thanks for your time. However, I found the source of my problem and solved it. I had manually selected intel hd graphic card in biostat so that the host does not occupy the amd graphic card, but it did not work that way. This time in the biostat, when I select auto, the computer automatically boots up with intel hd graphics, so it doesn't occupy the external graphics card. It boots up without any problems now. Here are my settings;

nano /etc/default/grub
GRUB_CMDLINE_LINUX_DEFAULT="quiet intel_iommu=on iommu=pt pcie_acs_override=downstream,multifunction nofb nomodeset video=vesafb:eek:ff,efifb:eek:ff"

nano /etc/modules
vfio
vfio_iommu_type1
vfio_pci
vfio_virqfd

echo "options vfio_iommu_type1 allow_unsafe_interrupts=1" > /etc/modprobe.d/iommu_unsafe_interrupts.conf echo "options kvm ignore_msrs=1" > /etc/modprobe.d/kvm.conf

echo "blacklist radeon" >> /etc/modprobe.d/blacklist.conf echo "blacklist nouveau" >> /etc/modprobe.d/blacklist.conf echo "blacklist nvidia" >> /etc/modprobe.d/blacklist.conf

echo "options vfio-pci ids=1002:862b disable_vga=1"> /etc/modprobe.d/vfio.conf

I am using it with these settings without any problems right now thanks.
that means your are successfully passthrough the onboard GPU to vm ?
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!