]> code.ossystems Code Review - openembedded-core.git/commit
weston-init: Launch weston with WESTON_DISABLE_ATOMIC on musl/x86
authorKhem Raj <raj.khem@gmail.com>
Thu, 12 Mar 2020 23:02:38 +0000 (16:02 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 12 Mar 2020 23:09:03 +0000 (23:09 +0000)
commite571ef707d76cf3aceb0d56fd588b37f9b5092ff
treec53f888bd62ee1472a0bf380bf54a309c6e4a217
parentbd17a7e60264bb40df340fa38c425a7d7372516e
weston-init: Launch weston with WESTON_DISABLE_ATOMIC on musl/x86

Since we enabled drm/kms backend for qemux86, it does not work with musl
fdbdev worked ok, we see this error

[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

There seems to be some problem with atomics in libdrm, until that gets
diagnosed, simple solution is to not use it on musl when drm backend is used
thats why WESTON_DISABLE_ATOMIC=Y is set in environment file for such
cases

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-graphics/wayland/weston-init.bb
meta/recipes-graphics/wayland/weston-init/weston.env [new file with mode: 0644]