Disable virtual frambebuffer for all kernels
@GrantM11235 figured out, that disabling the virtual framebuffer fixed Weston and Plasma Mobile choosing the wrong framebuffer device on linux-samsung-jflte
(!96 (merged)).
https://cateee.net/lkddb/web-lkddb/FB_VIRTUAL.html says:
This is a 'virtual' frame buffer device. It operates on a chunk of unswappable kernel memory instead of on the memory of a graphics board. This means you cannot see any output sent to this frame buffer device, while it does consume precious memory. The main use of this frame buffer device is testing and debugging the frame buffer subsystem. Do NOT enable it for normal systems! To protect the innocent, it has to be enabled explicitly at boot time using the kernel option `video=vfb:'.
We could enforce disabling this option (so kconfig check fails if it is enabled):
diff --git a/pmb/config/__init__.py b/pmb/config/__init__.py
index 74a15316..30c28083 100644
--- a/pmb/config/__init__.py
+++ b/pmb/config/__init__.py
@@ -175,7 +175,9 @@ necessary_kconfig_options = {
"EXT4_FS": True,
"PFT": False,
"SYSVIPC": True,
- "VT": True
+ "VT": True,
+ "FB_VIRTUAL": False,
+ "USE_VFB": False,
},
"armhf x86": {
"LBDAF": True
This affects the following kernels:
- linux-asus-duma
- linux-jolla-sbj
- linux-lg-mako
- linux-motorola-ghost
- linux-motorola-harpia
- linux-motorola-osprey
- linux-motorola-shamu
- linux-motorola-surnia
- linux-nokia-rm885
- linux-postmarketos-allwinner
- linux-samsung-i747m
- linux-samsung-i9195
- linux-samsung-jflte
- linux-samsung-jflte
- linux-samsung-serranodsdd
- linux-sony-nicki
- linux-sony-taoshan
- linux-sony-yuga
- linux-wingtech-wt88047
Any thoughts on that? I could test with the lg-mako if it breaks something, just to make sure.