Framebuffer setting in GRUB_CMDLINE_LINUX_DEFAULT has no effect
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
grub2 (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
I have an Ubuntu Server 18.04 installation with KVM and a guest OS to which a AMD video card needs to be passed through. It worked great for about 9 months and after a recent Ubuntu upgrade, efifb grabs the video card irrespective of the linux command line. The commnand line that worked before is:
GRUB_CMDLINE_
Currently, this is the command line (changes I made based on searching the web for hours):
GRUB_CMDLINE_
The current active kernel options (proc/cmdline)
BOOT_IMAGE=
This is verified by syslog:
[ 0.000000] Command line: BOOT_IMAGE=
According to one of the web sites I found, any (or all) of the following options should disable the frame buffer:
vga=normal nofb nomodeset video=vesafb:
Yet, a framebuffer is still created
crw-rw---- 1 root video 29, 0 May 8 18:26 /dev/fb0
Memory locked by efifb (grep -B 5 -A 5 "26[:]00" /proc/iomem)
e0000000-fec2ffff : PCI Bus 0000:00
e0000000-f01fffff : PCI Bus 0000:26
e0000000-
e0000000-
f0000000-
f0000000-
Yet, vfio driver is successfully loaded for this device: (ls /sys/bus/
/sys/bus/
/sys/bus/
Any help on how efifb can be blocked from loading will be greatly appreciated.
ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: grub2-common 2.02-2ubuntu8.13
ProcVersionSign
Uname: Linux 4.15.0-47-generic x86_64
ApportVersion: 2.20.9-0ubuntu7.6
Architecture: amd64
CurrentDesktop: GNOME
Date: Wed May 8 19:32:36 2019
InstallationDate: Installed on 2017-01-12 (846 days ago)
InstallationMedia: Ubuntu 16.04.1 LTS "Xenial Xerus" - Release amd64 (20160719)
SourcePackage: grub2
UpgradeStatus: Upgraded to bionic on 2018-09-27 (223 days ago)
I found another comment online and tried it: I added "blacklist efifb" to /etc/modprobe. d/blacklist- framebuffer. conf. I then executed "update-initramfs -u" followed by "update-grub" and rebooted. Still no joy.