Framebuffer woes. Kernel change request?
by Martinus2u from LinuxQuestions.org on (#5CZMC)
I've switched to distro kernel (generic) and initrd and elilo.conf recently. Ever since then the kernel will boot with a framebuffer console, which later on conflicts with the nvidia blob in many ways.
I have provided kernel parameters to stop this. no avail.
Code:append="root=/dev/nvme0n1p2 mitigations=off nomodeset nofb vga=normal"I have blacklisted in /etc/modprobe.d. no avail.
I have looked into the initrd. No trace of framebuffer.
At last I checked the kernel config. Lo and behold:
Code:CONFIG_DRM_KMS_FB_HELPER=y
CONFIG_DRM_FBDEV_EMULATION=y
CONFIG_DRM_VMWGFX_FBCON=y
CONFIG_FB_CMDLINE=y
CONFIG_FB_NOTIFY=y
CONFIG_FB=y
CONFIG_FB_BOOT_VESA_SUPPORT=y
CONFIG_FB_CFB_FILLRECT=y
CONFIG_FB_CFB_COPYAREA=y
CONFIG_FB_CFB_IMAGEBLIT=y
CONFIG_FB_DEFERRED_IO=y
CONFIG_FB_MODE_HELPERS=y
CONFIG_FB_TILEBLITTING=y
CONFIG_FB_CYBER2000_DDC=y
CONFIG_FB_VESA=y
CONFIG_FB_EFI=y
CONFIG_FB_NVIDIA_I2C=y
CONFIG_FB_NVIDIA_BACKLIGHT=y
CONFIG_FB_RIVA_I2C=y
CONFIG_FB_RIVA_BACKLIGHT=y
CONFIG_FB_INTEL_I2C=y
CONFIG_FB_MATROX_MILLENIUM=y
CONFIG_FB_MATROX_MYSTIQUE=y
CONFIG_FB_MATROX_G=y
CONFIG_FB_RADEON_I2C=y
CONFIG_FB_RADEON_BACKLIGHT=y
CONFIG_FB_ATY128_BACKLIGHT=y
CONFIG_FB_ATY_CT=y
CONFIG_FB_ATY_GENERIC_LCD=y
CONFIG_FB_ATY_GX=y
CONFIG_FB_ATY_BACKLIGHT=y
CONFIG_FB_SIS_300=y
CONFIG_FB_SIS_315=y
CONFIG_FB_VIA_X_COMPATIBILITY=y
CONFIG_FB_3DFX_I2C=y
CONFIG_FB_CARMINE_DRAM_EVAL=y
CONFIG_FB_MB862XX_PCI_GDC=y
CONFIG_FB_MB862XX_I2C=y
CONFIG_HID_PICOLCD_FB=yIt appears the framebuffer device including kms switching is compiled into the kernel.
Yes I know Nvidia is to blame for everything, but apart from that, what can I do to stop this madness? Do I seriously have to compile my own kernel??
And while we're at it, why is ext4 missing from the generic kernel and fb is compiled in? With ext4 99% of people wouldn't need an initrd.


I have provided kernel parameters to stop this. no avail.
Code:append="root=/dev/nvme0n1p2 mitigations=off nomodeset nofb vga=normal"I have blacklisted in /etc/modprobe.d. no avail.
I have looked into the initrd. No trace of framebuffer.
At last I checked the kernel config. Lo and behold:
Code:CONFIG_DRM_KMS_FB_HELPER=y
CONFIG_DRM_FBDEV_EMULATION=y
CONFIG_DRM_VMWGFX_FBCON=y
CONFIG_FB_CMDLINE=y
CONFIG_FB_NOTIFY=y
CONFIG_FB=y
CONFIG_FB_BOOT_VESA_SUPPORT=y
CONFIG_FB_CFB_FILLRECT=y
CONFIG_FB_CFB_COPYAREA=y
CONFIG_FB_CFB_IMAGEBLIT=y
CONFIG_FB_DEFERRED_IO=y
CONFIG_FB_MODE_HELPERS=y
CONFIG_FB_TILEBLITTING=y
CONFIG_FB_CYBER2000_DDC=y
CONFIG_FB_VESA=y
CONFIG_FB_EFI=y
CONFIG_FB_NVIDIA_I2C=y
CONFIG_FB_NVIDIA_BACKLIGHT=y
CONFIG_FB_RIVA_I2C=y
CONFIG_FB_RIVA_BACKLIGHT=y
CONFIG_FB_INTEL_I2C=y
CONFIG_FB_MATROX_MILLENIUM=y
CONFIG_FB_MATROX_MYSTIQUE=y
CONFIG_FB_MATROX_G=y
CONFIG_FB_RADEON_I2C=y
CONFIG_FB_RADEON_BACKLIGHT=y
CONFIG_FB_ATY128_BACKLIGHT=y
CONFIG_FB_ATY_CT=y
CONFIG_FB_ATY_GENERIC_LCD=y
CONFIG_FB_ATY_GX=y
CONFIG_FB_ATY_BACKLIGHT=y
CONFIG_FB_SIS_300=y
CONFIG_FB_SIS_315=y
CONFIG_FB_VIA_X_COMPATIBILITY=y
CONFIG_FB_3DFX_I2C=y
CONFIG_FB_CARMINE_DRAM_EVAL=y
CONFIG_FB_MB862XX_PCI_GDC=y
CONFIG_FB_MB862XX_I2C=y
CONFIG_HID_PICOLCD_FB=yIt appears the framebuffer device including kms switching is compiled into the kernel.
Yes I know Nvidia is to blame for everything, but apart from that, what can I do to stop this madness? Do I seriously have to compile my own kernel??
And while we're at it, why is ext4 missing from the generic kernel and fb is compiled in? With ext4 99% of people wouldn't need an initrd.