I'm playing around with Proxmox 6 and PCI/GPU passthrough in a desktop PC with two graphic cards. I basically followed the Proxmox guides and some other tutorials out there. The setup also already works perfectly for both GPUs with near native performance in the VMs but unfortunately only as long as the GPU is not set as primary GPU. The GPU I select as primary in my motherboard's BIOS will not work and therefore only one GPU is working as passthrough GPU at a time which is not what I want.
So I'm kind of certain this is due to some conflict caused by the host which also tries or tried to use the GPU. I've read quite a lot about the topic and tried nearly all possible combinations of
However, no matter what I do in my
Currently I have
But as always
I'm not sure if the grub file change should reflect in
I also see the system output on the connected monitor until about [ 5.000000]. Than it freezes also the system continues to boot correctly (so I guess after about 5 seconds the vfio config from
So is there a way to get Proxmox to respect the
Any tips are greatly appreciated!
So I'm kind of certain this is due to some conflict caused by the host which also tries or tried to use the GPU. I've read quite a lot about the topic and tried nearly all possible combinations of
video=vesafb:off,efifb:off
, video=vesafb:off video=efifb:off
and so an as grub GRUB_CMDLINE_LINUX_DEFAULT
and also GRUB_CMDLINE_LINUX
addition since I'm guessing this would/could fix the problem.However, no matter what I do in my
/etc/default/grub
file it seems it has no effect at all. Obviously I also run update-grub
afterwards (and I even tried update-initramfs -u
and pve-efiboot-tool refresh
).Currently I have
GRUB_CMDLINE_LINUX="root=ZFS=rpool/ROOT/pve-1 boot=zfs video=vesafb:off video=efifb:off"
But as always
cat /proc/cmdline
ends up with
Code:
initrd=\EFI\proxmox\5.0.21-5-pve\initrd.img-5.0.21-5-pve root=ZFS=rpool/ROOT/pve-1 boot=zfs
I'm not sure if the grub file change should reflect in
/proc/cmdline
but I would have guessed it. Also dmesg | grep "efifb"
shows the following which I think indicates that other than intended efifb is actually used (note that 0000:0c:00.0 is actually the GPU currently selected as primary):
Code:
[ 0.206549] pci 0000:0c:00.0: BAR 3: assigned to efifb
[ 0.633202] efifb: probing for efifb
[ 0.633215] efifb: framebuffer at 0xf1000000, using 3072k, total 3072k
[ 0.633217] efifb: mode is 1024x768x32, linelength=4096, pages=1
[ 0.633218] efifb: scrolling: redraw
[ 0.633219] efifb: Truecolor: size=8:8:8:8, shift=24:16:8:0
I also see the system output on the connected monitor until about [ 5.000000]. Than it freezes also the system continues to boot correctly (so I guess after about 5 seconds the vfio config from
etc/modprobe.d
takes effect, but that's also just a guess...).So is there a way to get Proxmox to respect the
/etc/default/grub
setting and actually disable the efifb? (Or am I facing a entirely different problem for which maybe is a different workaround?)Any tips are greatly appreciated!