Hi,
New to this list,so this is my first post.
We are trying to run Weston/Wayland-9 on an Ultrascale with Petalinux
rev2022.1.
Initially we had problems getting Weston running at all, and tried
building an x11 image. We got the Weston to work with the fbdev-backend,
but performance is abyssmal compared to x11 and we suspect that the
drm-backend is the proper one. This crashes however.
$ sudo -E weston-launch -t /dev/tty7 -u <user> # We do not use 'root'.
[10:02:26.236] weston 9.0.0
https://wayland.freedesktop.org
Bug reports to:
https://gitlab.freedesktop.org/wayland/weston/issues/
Build: 9.0.0
[10:02:26.237] Command line: /usr/bin/weston
[10:02:26.237] OS: Linux, 5.15.19-xilinx-v2022.1, #1 SMP Wed Aug 24
06:33:16 UTC 2022, aarch64
[10:02:26.237] Using config file '/etc/xdg/weston/weston.ini'
[10:02:26.237] Output repaint window is 7 ms maximum.
[10:02:26.238] Loading module '/usr/lib/libweston-9/drm-backend.so'
[10:02:26.253] initializing drm backend
[10:02:26.254] logind: failed to get session seat
[10:02:26.254] logind: cannot setup systemd-logind helper (-61), using
legacy fallback
[10:02:26.257] using /dev/dri/card0
[10:02:26.257] DRM: supports atomic modesetting
[10:02:26.258] DRM: does not support GBM modifiers
[10:02:26.258] DRM: supports picture aspect ratio
[10:02:26.258] Loading module '/usr/lib/libweston-9/gl-renderer.so'
[10:02:26.259] EGL client extensions: EGL_EXT_client_extensions
EGL_EXT_platform_base EGL_KHR_platform_gbm
EGL_KHR_platform_wayland
[10:02:26.260] failed to initialize display
[10:02:26.260] EGL error state: EGL_BAD_ALLOC (0x3003)
[10:02:26.260] failed to initialize egl
[10:02:26.260] fatal: failed to create compositor backend
Internal warning: debug scope 'drm-backend' has not been destroyed.
When I tested with fpdev-backend I can get weston to start. If I disable
libmali, it will not start.
The libmali is built for wayland, but since all four versions are
included in the rootfs, I have tried all four, using update-alternatives
without any noticeable performance difference.
Googling today, I found that 'libdbus-1', not having a depency on
systemd-login may cause the first error since then it is built without
systemd-login support.
While X11 runs faster, it is also on a minimal system without systemd,
dbus, udev and other niceties.
Now for some questions:
* Should it be possible to run the drm-backend with Ultrascale?
* Is there a good weston.ini example with drm-backend.so
* Will it have higher performance than the fbdev-backend?
* Is it a problem, not running as 'root'?
* I am running a fullHD screen. Could this be too large? We have 4GB
memory in the system.
* Can you determine how much memory weston can use? How?
==================
BTW:
https://xilinx-wiki.atlassian.net/wiki/spaces/A/pages/18841928/Xilinx+MALI+driver
has a lot of bad links.
--
Best Regards
Ulf Samuelsson
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#5068):
https://lists.yoctoproject.org/g/meta-xilinx/message/5068
Mute This Topic: https://lists.yoctoproject.org/mt/94610493/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-xilinx/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-