Cannot do PCI-E Passthrogh with 1050ti

Master of the Wind

New Member
Aug 27, 2024
9
3
3
I'm trying to have that GPU working on a VM with proxmox 8.4. This is a PC with a mini ITX board. I have a ryzen 7 2700 (no iGPU), and the 1050ti card.

Then when

I've followed everything with no luck.

This is what I have on /etc/modprobe.d/vfio.conf:
Code:
options vfio-pci ids=10de:1c82,10de:0fb9 disable_vga=1

Blacklisted nvidia drivers in /etc/modprobe.d/blacklist.conf:
Code:
blacklist nouveau
blacklist nvidia
blacklist nvidiafb

And disabled framebuffer on grub:

Code:
GRUB_CMDLINE_LINUX_DEFAULT="nomodeset amd_iommu=on  iommu=pt quiet nofb nomodeset video=vesafb:off,video=efifb:off initcall_blacklist=sysfb_init"

IOMMU enabled on bios, checked that is working. VM with q35 type and UEFI bios.

I have video from the bios, and right after Proxmox boots it got freeze with booting text (expected as framebuffer was disabled).

Then when I start the VM with the PCI-E card passed, the display goes black. No error on the VM, but no display at all. I even have to cold boot the PC to have video back (if I do a soft reboot no image even from the bios).

I've seen that it could be related to the GPU not supporting FLR.

Any hints for this?
 
Well, it is in fact "working".

The BIOS screen for the VM is not showing anything. So if I booted without any ISO, it never showed the no boot message.

Then, I was trying to boot Batocera, and it failed to pass secure boot, and I could not see that message. I've changed to use a virtual GPU, entered bios, disabled it and now it is working.

Still, no bios boot screen is displayed, only get video when the OS is booted. Is that normal?
 
Still, no bios boot screen is displayed, only get video when the OS is booted. Is that normal?
VM with q35 type and UEFI bios.
If the GPU does not have an UEFI (BIOS) but only a (legacy) BIOS then this is to be expected. The GPU is not properly initialized and won't display anything until the operating system (inside the VM) loads the driver for it. This can also happen on physical hardware without virtualization.
 
If the GPU does not have an UEFI (BIOS) but only a (legacy) BIOS then this is to be expected. The GPU is not properly initialized and won't display anything until the operating system (inside the VM) loads the driver for it. This can also happen on physical hardware without virtualization.
Thank you for your reply!

I've used the card before bare metal with UEFI and never had an issue.

Also tried with a RTX 2070 and had the same result.
 
I've used the card before bare metal with UEFI and never had an issue.
Did you have CSM (to support legacy BIOS) enabled in the UEFI? With CSM disabled, I expect the same behavior. But I could be wrong of course, as don't know that particular GPU.
Also tried with a RTX 2070 and had the same result.
I have not used NVidia since two decades because they used to blockepassthrough on purpose, so I cannot comment on this.