[OE-core] [PATCH 3/4] qemu: switch to '-vga std' emulated hardware from vmware/cirrus for x86/mips

Mittal, Anuj anuj.mittal at intel.com
Fri Aug 30 01:55:29 UTC 2019


Hi Alex,

On Wed, 2019-08-28 at 17:24 +0200, Alexander Kanavin wrote:
... 
> diff --git a/meta/conf/machine/qemuarm64.conf
> b/meta/conf/machine/qemuarm64.conf
> index ec2a887bddf..05f0ee5e66f 100644
> --- a/meta/conf/machine/qemuarm64.conf
> +++ b/meta/conf/machine/qemuarm64.conf
> @@ -17,7 +17,7 @@ QB_CPU_KVM = "-cpu host"
>  # Standard Serial console
>  QB_KERNEL_CMDLINE_APPEND = "console=ttyAMA0"
>  # For graphics to work we need to define the VGA device as well as
> the necessary USB devices
> -QB_OPT_APPEND = "-show-cursor -device VGA,edid=on"
> +QB_OPT_APPEND = "-show-cursor"

Was this intentional? This is reverting an earlier fix:

https://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/meta/conf/machine/qemuarm64.conf?h=master-next&id=b181bf92e2bc51a808478c12fe62177d966f2a85

https://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/meta/conf/machine/qemuarm64.conf?h=master-next&id=ff35b6c57a380ca4dc158c5104a6137f8faea5cd

I'm not sure if this is the reason but master-next build is also
showing problems when running X with qemuarm:

https://autobuilder.yoctoproject.org/typhoon/#/builders/38/builds/978/steps/8/logs/step1c

...

> diff --git a/meta/lib/oeqa/runtime/cases/parselogs.py
> b/meta/lib/oeqa/runtime/cases/parselogs.py
> index 19c9c52a0a9..0002730d46f 100644
> --- a/meta/lib/oeqa/runtime/cases/parselogs.py
> +++ b/meta/lib/oeqa/runtime/cases/parselogs.py
> @@ -55,7 +55,11 @@ common_errors = [
>      "Failed to read /var/lib/nfs/statd/state: Success",
>      "error retry time-out =",
>      "logind: cannot setup systemd-logind helper (-61), using legacy
> fallback",
> -    "Error changing net interface name 'eth0' to "
> +    "Error changing net interface name 'eth0' to ",
> +    "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"
>      ]
>  

parselogs test is used not only for qemu but for other MACHINES as well
including genericx86 on actual hardware where glamor initialization
error might need looking into. Perhaps this should be added to qemu
specific parts of this test only?

Thanks,

Anuj


More information about the Openembedded-core mailing list