<div dir="ltr">Why you think it doesn't support higher resolution? We were using it with fullHD in VirtualBox until recently.</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Feb 16, 2020 at 4:52 PM Alexander Kanavin <<a href="mailto:alex.kanavin@gmail.com">alex.kanavin@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">I am not sure if this has ever worked, but uvesafb is a really<br>
outdated (VBE from the 1990s), awkward (needs v86d) and limited<br>
(no support for high resolutions) way to do it.<br>
<br>
The specific reason 640x480-32 was introduced (ages ago) was<br>
to force 32 bit mode with vmware driver, as 16bit had rendering issues.<br>
<br>
The modern, supported option is video=... kernel parameter documented here:<br>
<a href="https://wiki.archlinux.org/index.php/kernel_mode_setting#Forcing_modes_and_EDID" rel="noreferrer" target="_blank">https://wiki.archlinux.org/index.php/kernel_mode_setting#Forcing_modes_and_EDID</a><br>
<a href="https://github.com/torvalds/linux/blob/master/Documentation/fb/modedb.rst" rel="noreferrer" target="_blank">https://github.com/torvalds/linux/blob/master/Documentation/fb/modedb.rst</a><br>
which can be passed directly to runqemu and doesn't require special<br>
kernel modules.<br>
<br>
Sato under X will continue to use 640x480 as that is hardcoded into<br>
xorg.conf under qemu.<br>
<br>
Signed-off-by: Alexander Kanavin <<a href="mailto:alex.kanavin@gmail.com" target="_blank">alex.kanavin@gmail.com</a>><br>
---<br>
meta/conf/machine/include/qemuboot-x86.inc | 3 +--<br>
meta/conf/machine/qemux86-64.conf | 4 ----<br>
meta/conf/machine/qemux86.conf | 4 ----<br>
meta/lib/oeqa/runtime/cases/parselogs.py | 4 ----<br>
4 files changed, 1 insertion(+), 14 deletions(-)<br>
<br>
diff --git a/meta/conf/machine/include/qemuboot-x86.inc b/meta/conf/machine/include/qemuboot-x86.inc<br>
index 049681b27d..5dcc8b6f6b 100644<br>
--- a/meta/conf/machine/include/qemuboot-x86.inc<br>
+++ b/meta/conf/machine/include/qemuboot-x86.inc<br>
@@ -8,9 +8,8 @@ QB_CPU_KVM_x86-64 = "-cpu core2duo"<br>
<br>
QB_AUDIO_DRV = "alsa"<br>
QB_AUDIO_OPT = "-soundhw ac97,es1370"<br>
-QB_KERNEL_CMDLINE_APPEND = "uvesafb.mode_option=${UVESA_MODE} oprofile.timer=1 uvesafb.task_timeout=-1"<br>
+QB_KERNEL_CMDLINE_APPEND = "oprofile.timer=1"<br>
QB_OPT_APPEND = "-show-cursor -usb -device usb-tablet"<br>
# Add the 'virtio-rng-pci' device otherwise the guest may run out of entropy<br>
QB_OPT_APPEND += "-object rng-random,filename=/dev/urandom,id=rng0 -device virtio-rng-pci,rng=rng0"<br>
<br>
-UVESA_MODE ?= "640x480-32"<br>
diff --git a/meta/conf/machine/qemux86-64.conf b/meta/conf/machine/qemux86-64.conf<br>
index 648cf2fe8f..db9004ee32 100644<br>
--- a/meta/conf/machine/qemux86-64.conf<br>
+++ b/meta/conf/machine/qemux86-64.conf<br>
@@ -37,10 +37,6 @@ MACHINE_ESSENTIAL_EXTRA_RDEPENDS += "v86d"<br>
<br>
MACHINE_EXTRA_RRECOMMENDS = "kernel-module-snd-ens1370 kernel-module-snd-rawmidi"<br>
<br>
-KERNEL_MODULE_AUTOLOAD += "uvesafb"<br>
-KERNEL_MODULE_PROBECONF += "uvesafb"<br>
-module_conf_uvesafb = "options uvesafb mode_option=${UVESA_MODE}"<br>
-<br>
WKS_FILE ?= "qemux86-directdisk.wks"<br>
do_image_wic[depends] += "syslinux:do_populate_sysroot syslinux-native:do_populate_sysroot mtools-native:do_populate_sysroot dosfstools-native:do_populate_sysroot"<br>
<br>
diff --git a/meta/conf/machine/qemux86.conf b/meta/conf/machine/qemux86.conf<br>
index 8e0da82076..7e6723b880 100644<br>
--- a/meta/conf/machine/qemux86.conf<br>
+++ b/meta/conf/machine/qemux86.conf<br>
@@ -34,10 +34,6 @@ MACHINE_ESSENTIAL_EXTRA_RDEPENDS += "v86d"<br>
<br>
MACHINE_EXTRA_RRECOMMENDS = "kernel-module-snd-ens1370 kernel-module-snd-rawmidi"<br>
<br>
-KERNEL_MODULE_AUTOLOAD += "uvesafb"<br>
-KERNEL_MODULE_PROBECONF += "uvesafb"<br>
-module_conf_uvesafb = "options uvesafb mode_option=${UVESA_MODE}"<br>
-<br>
WKS_FILE ?= "qemux86-directdisk.wks"<br>
do_image_wic[depends] += "syslinux:do_populate_sysroot syslinux-native:do_populate_sysroot mtools-native:do_populate_sysroot dosfstools-native:do_populate_sysroot"<br>
<br>
diff --git a/meta/lib/oeqa/runtime/cases/parselogs.py b/meta/lib/oeqa/runtime/cases/parselogs.py<br>
index 9dafb89b03..3cad0709a1 100644<br>
--- a/meta/lib/oeqa/runtime/cases/parselogs.py<br>
+++ b/meta/lib/oeqa/runtime/cases/parselogs.py<br>
@@ -60,7 +60,6 @@ common_errors = [<br>
]<br>
<br>
video_related = [<br>
- "uvesafb",<br>
]<br>
<br>
x86_common = [<br>
@@ -82,11 +81,8 @@ qemux86_common = [<br>
"fail to add MMCONFIG information, can't access extended PCI configuration space under this bridge.",<br>
"can't claim BAR ",<br>
'amd_nb: Cannot enumerate AMD northbridges',<br>
- 'uvesafb: 5000 ms task timeout, infinitely waiting',<br>
'tsc: HPET/PMTIMER calibration failed',<br>
"modeset(0): Failed to initialize the DRI2 extension",<br>
- "uvesafb: cannot reserve video memory at",<br>
- "uvesafb: probe of uvesafb.0 failed with error",<br>
"glamor initialization failed",<br>
] + common_errors<br>
<br>
-- <br>
2.25.0<br>
<br>
-- <br>
_______________________________________________<br>
Openembedded-core mailing list<br>
<a href="mailto:Openembedded-core@lists.openembedded.org" target="_blank">Openembedded-core@lists.openembedded.org</a><br>
<a href="http://lists.openembedded.org/mailman/listinfo/openembedded-core" rel="noreferrer" target="_blank">http://lists.openembedded.org/mailman/listinfo/openembedded-core</a><br>
</blockquote></div>