Weston desktop issues

Hi, everyone,
I used Weston desktop on jetson xavier nx, and launch Weston using the following command

sudo weston-lanch -u `user’s name’

And i add xwayland=true at weston.ini in the core section.

After, the Weston launch normally, but when i run a Qt simple program,
it shows

libEGL warning: MESA-LOADER: failed to open tegra-udrm: /usr/lib/dri/tegra-udrm_dri.so: cannot open shared object file: No such file or directory

And the terminal log is shows

src/tegra_gbm.c:98: GBM-DRV error (tegra_gbm_bo_create): DRM_IOCTL_TEGRA_GEM_CREATE failed (size=131072)

src/tegra_gbm.c:98: GBM-DRV error (tegra_gbm_bo_create): DRM_IOCTL_TEGRA_GEM_CREATE failed (size=131072)

src/tegra_gbm.c:98: GBM-DRV error (tegra_gbm_bo_create): DRM_IOCTL_TEGRA_GEM_CREATE failed (size=131072)

src/tegra_gbm.c:98: GBM-DRV error (tegra_gbm_bo_create): DRM_IOCTL_TEGRA_GEM_CREATE failed (size=5636096)

src/tegra_gbm.c:98: GBM-DRV error (tegra_gbm_bo_create): DRM_IOCTL_TEGRA_GEM_CREATE failed (size=5373952)

src/tegra_gbm.c:98: GBM-DRV error (tegra_gbm_bo_create): DRM_IOCTL_TEGRA_GEM_CREATE failed (size=131072)

src/tegra_gbm.c:98: GBM-DRV error (tegra_gbm_bo_create): DRM_IOCTL_TEGRA_GEM_CREATE failed (size=131072)

src/tegra_gbm.c:98: GBM-DRV error (tegra_gbm_bo_create): DRM_IOCTL_TEGRA_GEM_CREATE failed (size=131072)

src/tegra_gbm.c:98: GBM-DRV error (tegra_gbm_bo_create): DRM_IOCTL_TEGRA_GEM_CREATE failed (size=131072)

src/tegra_gbm.c:98: GBM-DRV error (tegra_gbm_bo_create): DRM_IOCTL_TEGRA_GEM_CREATE failed (size=131072)

src/tegra_gbm.c:98: GBM-DRV error (tegra_gbm_bo_create): DRM_IOCTL_TEGRA_GEM_CREATE failed (size=131072)

src/tegra_gbm.c:98: GBM-DRV error (tegra_gbm_bo_create): DRM_IOCTL_TEGRA_GEM_CREATE failed (size=131072)

src/tegra_gbm.c:98: GBM-DRV error (tegra_gbm_bo_create): DRM_IOCTL_TEGRA_GEM_CREATE failed (size=131072)

So where is file tegra-udrm_dri.so

Thanks
Best regards,
Ultwcz1997

Hi,
Would like to know which Jetpack release you are using. Do you use 4.6.4 or 5.1.2?

Yes, Jetpack 5.1.1 R35.3.1

Hi,
We have the section for running Weston:
Weston (Wayland) — Jetson Linux Developer Guide documentation

Please check and make sure you have followed the steps. We would expect it works fine by executing the steps one by one.

Hi @DaneLLL,
I want to run an X app at Weston and followed the steps, i used weston-launch as a non-root user, and modified weston.ini, added xwayland=true, but i could not find the shared object, i think it was compile option not enabled.

So i compile the complete Weston-9 for my NX, and when i used launch weston-launch, it shows

weston-launch must be run from a virtual terminal

So i could only use

Finally, the Weston desktop launched successfully and ran gnome-* normally, but when i ran my Qt program, it shows

Hi,
Could you apply the environment described in developer guide to your use-case? This is a tested setup and it would be great if you can develop your use-case based on it. It is possible other use-cases may not work properly.

Hi @DaneLLL,
If i apply the environment described in the developer guide to my use-case, it can not work, because my app needs X service but it has not found xwayland.so

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.