How to (permanently) disable efi framebuffer

soupdiver

Member
Feb 24, 2021
25
1
8
54
I try to get my system running and passing through my GPU to a windows VM.
After reading all the gazillion tutorials and what not... it seems I figured out a config that works (on my system).
The final comannd that I was looking for is

Code:
echo efi-framebuffer.0 > /sys/bus/platform/drivers/efi-framebuffer/unbind

I guess this disables the efi framebuffer... that otherwise "somehow" collides with my GPU and makes my VM hang on boot.
I tried to make this a persistent setting .... trying all kind of things in the grub config e.g. adding "nomodeset, efifb:eek:ff" etc etc
But none seems to have an effect. After rebooing I always hve to issue the above command again and then things are groovin'.

So my question is: How do I make this setting permanent and does this have any sideeffects?

Not sure if this matters but the whole system only has that one GPU in it. No integrated gpu in the CPU or alike.
I could sense that this might causes the problem... maybe the OS always grabs that one GPU?
 
For me, video=efifb:off always worked, but recently I also need video=simplefb:off. Can you show cat /proc/cmdline to check your kernel parameters are actually used?

EDIT: You could consider using a hookscript that automatically runs before the VM (that uses passthrough of the GPU that is used during boot).
 
Last edited:

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!