[OE-core] [PATCH 05/13] weston-init: use the drm/kms backend rather than fbdev one for qemux86 machines

Khem Raj raj.khem at gmail.com
Thu Mar 12 20:54:32 UTC 2020


On Wed, Feb 19, 2020 at 11:49 AM Alexander Kanavin
<alex.kanavin at gmail.com> wrote:
>
> The fbdev backend is not documented, and not the default;
> as the emulated hardware in qemu now supports DRM/KMS
> (both std and virtio), we should align with upstream default
> and vast majority of users. Empty init file will cause
> weston to default to the KMS backend.
>
> Note that 3D acceleration via virgl is not required; the backend
> renders fine via the software driver in mesa. However, kvm
> is more or less required to keep the UI responsive.
>
> Also, other qemu targets (mips and arm in particular) continue
> to use the fbdev backend, as in the absence of kvm, the performance
> of software GL paths falls to unacceptable level.
>

drm backend change did not work directly with musl, I will send a
patch to enable WESTON_DISABLE_ATOMIC when launching weston

which should fix the launch errors seen

[18:58:45.628] launching '/usr/libexec/weston-desktop-shell'
[18:58:45.737] atomic: couldn't commit new state: Invalid argument
[18:58:45.737] repaint-flush failed: Invalid argument

> Signed-off-by: Alexander Kanavin <alex.kanavin at gmail.com>
> ---
>  meta/recipes-graphics/wayland/weston-init/qemux86-64/weston.ini | 0
>  meta/recipes-graphics/wayland/weston-init/qemux86/weston.ini    | 0
>  2 files changed, 0 insertions(+), 0 deletions(-)
>  create mode 100644 meta/recipes-graphics/wayland/weston-init/qemux86-64/weston.ini
>  create mode 100644 meta/recipes-graphics/wayland/weston-init/qemux86/weston.ini
>
> diff --git a/meta/recipes-graphics/wayland/weston-init/qemux86-64/weston.ini b/meta/recipes-graphics/wayland/weston-init/qemux86-64/weston.ini
> new file mode 100644
> index 0000000000..e69de29bb2
> diff --git a/meta/recipes-graphics/wayland/weston-init/qemux86/weston.ini b/meta/recipes-graphics/wayland/weston-init/qemux86/weston.ini
> new file mode 100644
> index 0000000000..e69de29bb2
> --
> 2.25.0
>
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core


More information about the Openembedded-core mailing list