weston-launch binary not found

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

weston-launch binary not found

1,592 Views
rakesh3
Contributor V

Hi,

 

I am using the imx8qxp-mek device and there I am using the wayland 1.31 and weston 10.0.3 version.

But for launching the weston I have created the service file and given below lines .

ExecStart=/usr/bin/weston-launch -- --log=${XDG_RUNTIME_DIR}/weston.log

But I am not getting the weston-launch binary file to launch the weston.

which Wayland or Weston provides this weston-launch binary. 

 

Please help me on this issue.

Regards,

Rk

Tags (3)
0 Kudos
Reply
4 Replies

1,565 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hi @rakesh3 

Why do you need to write weston service?

We have provided the related service in Yocto image.

0 Kudos
Reply

1,561 Views
rakesh3
Contributor V

Thanks for reply,

So I am following the mickledore-6.1.22-2.0 Yocto version.

In below path,

meta-imx/meta-bsp/recipes-graphics/wayland/

I am using the weston 10.0.3 and wayland 11.0.1.

Could you please tell me the path of weston service ?

Regards,

Rk

0 Kudos
Reply

1,504 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport

You can find file name 'weston.service' in /etc

0 Kudos
Reply

1,478 Views
rakesh3
Contributor V

While running the weston service I am getting the below error in weston.log file.

Output repaint window is 16 ms maximum.
[19:32:00.594] Loading module '/usr/lib/aarch64-linux-gnu/libweston-10/drm-backee
nd.so'
[19:32:00.614] drm backend config structure is invalid
[19:32:00.614] fatal: failed to create compositor backend

Below is the weston service status .

weston@test.service - Weston Wayland Compositor (on tty7)
Loaded: loaded (/lib/systemd/system/weston@test.service; enabled; preset: >
Active: failed (Result: exit-code) since Wed 2023-08-16 19:32:00 IST; 1min>
Duration: 292ms
Main PID: 860 (code=exited, status=1/FAILURE)
CPU: 36ms

 

Below is my custom user weston service file.

[Unit]
Description=Weston Wayland Compositor (on tty7)
RequiresMountsFor=/run
Requires=systemd-user-sessions.service
After=systemd-user-sessions.service

[Service]
User=%i
Environment="SHELL=/bin/bash"
Environment="QT_QPA_PLATFORM=wayland"

# login and tty
PAMName=login
PermissionsStartOnly=true
TTYPath=/dev/tty7
TTYReset=yes
TTYVHangup=yes
TTYVTDisallocate=yes
StandardInput=tty
StandardOutput=tty
StandardError=journal
UtmpIdentifier=tty7

ExecStart=/usr/bin/weston-launch -- --log=${XDG_RUNTIME_DIR}/weston.log

[Install]
WantedBy=multi-user.target

and below is my weston.ini file 

[core]
#gbm-format=argb8888
idle-time=0
use-g2d=1
xwayland=true
#drm-device=card0
#repaint-window=16
#enable-overlay-view=1

[libinput]
touchscreen_calibrator=true

#[environment-variables]
#GBM_MULTI_BUFFER=3

[screen-share]
command=/usr/bin/weston --backend=rdp-backend.so --shell=fullscreen-shell.so --no-clients-resize --rdp-tls-cert=/etc/freerdp/keys/server.crt --rdp-tls-key=/etc/freerdp/keys/server.key
#start-on-startup=true

Could you please help me find out the issue with service or weston config file for getting this service erro .

Regards,

Rk

0 Kudos
Reply