All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alexander Kanavin <alex.kanavin@gmail.com>
To: openembedded-core@lists.openembedded.org
Subject: [PATCH 04/10] qemux86: drop resolution setting via uvesafb
Date: Sun, 16 Feb 2020 16:50:08 +0100	[thread overview]
Message-ID: <20200216155015.21738-4-alex.kanavin@gmail.com> (raw)
In-Reply-To: <20200216155015.21738-1-alex.kanavin@gmail.com>

I am not sure if this has ever worked, but uvesafb is a really
outdated (VBE from the 1990s), awkward (needs v86d) and limited
(no support for high resolutions) way to do it.

The specific reason 640x480-32 was introduced (ages ago) was
to force 32 bit mode with vmware driver, as 16bit had rendering issues.

The modern, supported option is video=... kernel parameter documented here:
https://wiki.archlinux.org/index.php/kernel_mode_setting#Forcing_modes_and_EDID
https://github.com/torvalds/linux/blob/master/Documentation/fb/modedb.rst
which can be passed directly to runqemu and doesn't require special
kernel modules.

Sato under X will continue to use 640x480 as that is hardcoded into
xorg.conf under qemu.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
---
 meta/conf/machine/include/qemuboot-x86.inc | 3 +--
 meta/conf/machine/qemux86-64.conf          | 4 ----
 meta/conf/machine/qemux86.conf             | 4 ----
 meta/lib/oeqa/runtime/cases/parselogs.py   | 4 ----
 4 files changed, 1 insertion(+), 14 deletions(-)

diff --git a/meta/conf/machine/include/qemuboot-x86.inc b/meta/conf/machine/include/qemuboot-x86.inc
index 049681b27d..5dcc8b6f6b 100644
--- a/meta/conf/machine/include/qemuboot-x86.inc
+++ b/meta/conf/machine/include/qemuboot-x86.inc
@@ -8,9 +8,8 @@ QB_CPU_KVM_x86-64 = "-cpu core2duo"
 
 QB_AUDIO_DRV = "alsa"
 QB_AUDIO_OPT = "-soundhw ac97,es1370"
-QB_KERNEL_CMDLINE_APPEND = "uvesafb.mode_option=${UVESA_MODE} oprofile.timer=1 uvesafb.task_timeout=-1"
+QB_KERNEL_CMDLINE_APPEND = "oprofile.timer=1"
 QB_OPT_APPEND = "-show-cursor -usb -device usb-tablet"
 # Add the 'virtio-rng-pci' device otherwise the guest may run out of entropy
 QB_OPT_APPEND += "-object rng-random,filename=/dev/urandom,id=rng0 -device virtio-rng-pci,rng=rng0"
 
-UVESA_MODE ?= "640x480-32"
diff --git a/meta/conf/machine/qemux86-64.conf b/meta/conf/machine/qemux86-64.conf
index 648cf2fe8f..db9004ee32 100644
--- a/meta/conf/machine/qemux86-64.conf
+++ b/meta/conf/machine/qemux86-64.conf
@@ -37,10 +37,6 @@ MACHINE_ESSENTIAL_EXTRA_RDEPENDS += "v86d"
 
 MACHINE_EXTRA_RRECOMMENDS = "kernel-module-snd-ens1370 kernel-module-snd-rawmidi"
 
-KERNEL_MODULE_AUTOLOAD += "uvesafb"
-KERNEL_MODULE_PROBECONF += "uvesafb"
-module_conf_uvesafb = "options uvesafb mode_option=${UVESA_MODE}"
-
 WKS_FILE ?= "qemux86-directdisk.wks"
 do_image_wic[depends] += "syslinux:do_populate_sysroot syslinux-native:do_populate_sysroot mtools-native:do_populate_sysroot dosfstools-native:do_populate_sysroot"
 
diff --git a/meta/conf/machine/qemux86.conf b/meta/conf/machine/qemux86.conf
index 8e0da82076..7e6723b880 100644
--- a/meta/conf/machine/qemux86.conf
+++ b/meta/conf/machine/qemux86.conf
@@ -34,10 +34,6 @@ MACHINE_ESSENTIAL_EXTRA_RDEPENDS += "v86d"
 
 MACHINE_EXTRA_RRECOMMENDS = "kernel-module-snd-ens1370 kernel-module-snd-rawmidi"
 
-KERNEL_MODULE_AUTOLOAD += "uvesafb"
-KERNEL_MODULE_PROBECONF += "uvesafb"
-module_conf_uvesafb = "options uvesafb mode_option=${UVESA_MODE}"
-
 WKS_FILE ?= "qemux86-directdisk.wks"
 do_image_wic[depends] += "syslinux:do_populate_sysroot syslinux-native:do_populate_sysroot mtools-native:do_populate_sysroot dosfstools-native:do_populate_sysroot"
 
diff --git a/meta/lib/oeqa/runtime/cases/parselogs.py b/meta/lib/oeqa/runtime/cases/parselogs.py
index 9dafb89b03..3cad0709a1 100644
--- a/meta/lib/oeqa/runtime/cases/parselogs.py
+++ b/meta/lib/oeqa/runtime/cases/parselogs.py
@@ -60,7 +60,6 @@ common_errors = [
     ]
 
 video_related = [
-    "uvesafb",
 ]
 
 x86_common = [
@@ -82,11 +81,8 @@ qemux86_common = [
     "fail to add MMCONFIG information, can't access extended PCI configuration space under this bridge.",
     "can't claim BAR ",
     'amd_nb: Cannot enumerate AMD northbridges',
-    'uvesafb: 5000 ms task timeout, infinitely waiting',
     'tsc: HPET/PMTIMER calibration failed',
     "modeset(0): Failed to initialize the DRI2 extension",
-    "uvesafb: cannot reserve video memory at",
-    "uvesafb: probe of uvesafb.0 failed with error",
     "glamor initialization failed",
 ] + common_errors
 
-- 
2.25.0



  parent reply	other threads:[~2020-02-16 15:51 UTC|newest]

Thread overview: 46+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-16 15:50 [PATCH 01/10] core-image-sato-sdk-ptest: do not pull in ptest-pkgs Alexander Kanavin
2020-02-16 15:50 ` [PATCH 02/10] procps: upstream has switched to gitlab Alexander Kanavin
2020-02-16 16:53   ` Khem Raj
2020-02-16 16:56     ` Alexander Kanavin
2020-02-16 20:06       ` Khem Raj
2020-02-16 20:45         ` Alexander Kanavin
2020-02-17  2:35           ` Khem Raj
2020-02-17  8:12             ` Alexander Kanavin
2020-02-17 18:39               ` Khem Raj
2020-02-16 15:50 ` [PATCH 03/10] qemux86: do not add vga=0 to kernel parameters Alexander Kanavin
2020-02-16 15:50 ` Alexander Kanavin [this message]
2020-02-16 16:01   ` [PATCH 04/10] qemux86: drop resolution setting via uvesafb Martin Jansa
2020-02-16 16:10     ` Alexander Kanavin
2020-02-16 16:15       ` Alexander Kanavin
2020-02-16 15:50 ` [PATCH 05/10] weston-init: use the drm backend rather than fbdev one Alexander Kanavin
2020-02-16 17:00   ` Khem Raj
2020-02-16 17:07     ` Alexander Kanavin
2020-02-16 20:09       ` Khem Raj
2020-02-16 21:03         ` Alexander Kanavin
2020-02-17  2:30           ` Khem Raj
2020-02-17  8:22             ` Alexander Kanavin
2020-02-17 13:16               ` Alexander Kanavin
2020-02-17 18:44                 ` Khem Raj
2020-02-17 19:29                   ` Alexander Kanavin
2020-02-18  1:56                     ` Khem Raj
2020-02-19  9:45                       ` Alexander Kanavin
2020-02-19 17:20                         ` Khem Raj
2020-02-19 18:06                           ` Alexander Kanavin
2020-02-19 18:37                             ` Khem Raj
2020-02-16 15:50 ` [PATCH 06/10] webkitgtk: x11 and wayland are not mutually exclusive Alexander Kanavin
2020-02-16 15:50 ` [PATCH 07/10] weston: add a basic runtime test Alexander Kanavin
2020-02-16 15:50 ` [PATCH 08/10] webkitgtk: unbreak wayland build Alexander Kanavin
2020-02-16 16:09   ` Martin Jansa
2020-02-16 16:14     ` Alexander Kanavin
2020-02-16 18:06       ` Richard Purdie
2020-02-16 20:14   ` Khem Raj
2020-02-16 20:51     ` Alexander Kanavin
2020-02-23 14:33       ` Joshua Watt
2020-02-27 15:49         ` [wpe-webkit] " Carlos Alberto Lopez Perez
2020-02-27 16:04           ` Joshua Watt
2020-02-16 15:50 ` [PATCH 09/10] wayland: convert to meson build Alexander Kanavin
2020-02-17 14:35   ` Richard Purdie
2020-02-17 14:50     ` Alexander Kanavin
2020-02-17 14:52       ` Richard Purdie
2020-02-17 14:53       ` Alexander Kanavin
2020-02-16 15:50 ` [PATCH 10/10] ptest-packagelists: mention ifupdown ptest in a comment Alexander Kanavin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200216155015.21738-4-alex.kanavin@gmail.com \
    --to=alex.kanavin@gmail.com \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.