Tool/software:
Hi,
When running Weston or Weston client applications from the UART terminal, they fail to start due to the inability to connect to the Wayland display, while the same applications work correctly when executed from the display terminal session, indicating that the Wayland session is not accessible from the UART environment.The same is observed in EVK board in HDMI Display .
Kindly Find the logs attached
gb:~# weston weston weston-fullscreen weston-simple-dmabuf-v4l weston-calibrator weston-image weston-simple-egl weston-clickdot weston-launch-calibrator weston-simple-shm weston-cliptest weston-multi-resource weston-simple-touch weston-constraints weston-presentation-shm weston-smoke weston-content_protection weston-resizor weston-stacking weston-debug weston-scaler weston-subsurfaces weston-dnd weston-screenshooter weston-tablet weston-editor weston-simple-damage weston-terminal weston-eventdemo weston-simple-dmabuf-egl weston-touch-calibrator weston-flower weston-simple-dmabuf-feedback weston-transformed root@am62lx-ig69m-osm-1gb:~# weston-simple-egl weston-simple-egl: /usr/src/debug/weston/13.0.1/clients/simple-e[ 29.705334] kauditd_printk_skb: 8 cad gl.c:1356: main: Assertion `display.display' failed. [ 29.705355] audit: type=1701 audit(1741189871.244:20): auid=4294967295 uid=0 gid=0 ses=4294967295 su1 [ 29.752712] audit: type=1334 audit(1741189871.292:21): prog-id=20 op=LOAD [ 29.766226] audit: type=1334 audit(1741189871.300:22): prog-id=21 op=LOAD [ 29.774165] audit: type=1334 audit(1741189871.300:23): prog-id=22 op=LOAD Aborted (core dumped) root@am62lx-ig69m-osm-1gb:~# [ 30.117874] audit: type=1334 audit(1741189871.660:24): prog-id=22 op=UND [ 30.124956] audit: type=1334 audit(1741189871.660:25): prog-id=21 op=UNLOAD [ 30.132014] audit: type=1334 audit(1741189871.660:26): prog-id=20 op=UNLOAD root@am62lx-ig69m-osm-1gb:~# fbset mode "800x480" geometry 800 480 800 480 32 timings 0 0 0 0 0 0 0 rgba 8/16,8/8,8/0,0/0 endmode root@am62lx-ig69m-osm-1gb:~# modetest -M tidss Encoders: id crtc type possible crtcs possible clones 40 39 DPI 0x00000001 0x00000001 Connectors: id encoder status name size (mm) modes encoders 41 40 connected DPI-1 164x100 1 40 modes: index name refresh (Hz) hdisp hss hse htot vdisp vss vse vtot #0 800x480 59.89 800 1010 1011 1057 480 502 503 526 33300 flags: nhsync, nvsync; type: preferred, drir props: 1 EDID: flags: immutable blob blobs: value: 2 DPMS: flags: enum enums: On=0 Standby=1 Suspend=2 Off=3 value: 0 5 link-status: flags: enum enums: Good=0 Bad=1 value: 0 6 non-desktop: flags: immutable range values: 0 1 value: 0 4 TILE: flags: immutable blob blobs: value: CRTCs: id fb pos size 39 44 (0,0) (800x480) #0 800x480 59.89 800 1010 1011 1057 480 502 503 526 33300 flags: nhsync, nvsync; type: preferred, drir props: 24 VRR_ENABLED: flags: range values: 0 1 value: 0 27 CTM: flags: blob blobs: value: 28 GAMMA_LUT: flags: blob blobs: value: 29 GAMMA_LUT_SIZE: flags: immutable range values: 0 4294967295 value: 256 Planes: id crtc fb CRTC x,y x,y gamma size possible crtcs 32 39 44 0,0 0,0 0 0x00000001 formats: AR12 AB12 RA12 RG16 BG16 AR15 AB15 AR24 AB24 RA24 BA24 RG24 BG24 AR30 AB30 XR12 XB12 RX12 XR2 props: 8 type: flags: immutable enum enums: Overlay=0 Primary=1 Cursor=2 value: 1 30 IN_FORMATS: flags: immutable blob blobs: value: 01000000000000001d00000018000000 01000000900000004152313241423132 52413132524731364247313641523135 41423135415232344142323452413234 42413234524732344247323441523330 41423330585231325842313252583132 58523135584231355852323458423234 52583234425832345852333058423330 59555956555956594e56313200000000 ffffff1f000000000000000000000000 0000000000000000 in_formats blob decoded: AR12: LINEAR(0x0) AB12: LINEAR(0x0) RA12: LINEAR(0x0) RG16: LINEAR(0x0) BG16: LINEAR(0x0) AR15: LINEAR(0x0) AB15: LINEAR(0x0) AR24: LINEAR(0x0) AB24: LINEAR(0x0) RA24: LINEAR(0x0) BA24: LINEAR(0x0) RG24: LINEAR(0x0) BG24: LINEAR(0x0) AR30: LINEAR(0x0) AB30: LINEAR(0x0) XR12: LINEAR(0x0) XB12: LINEAR(0x0) RX12: LINEAR(0x0) XR15: LINEAR(0x0) XB15: LINEAR(0x0) XR24: LINEAR(0x0) XB24: LINEAR(0x0) RX24: LINEAR(0x0) BX24: LINEAR(0x0) XR30: LINEAR(0x0) XB30: LINEAR(0x0) YUYV: LINEAR(0x0) UYVY: LINEAR(0x0) NV12: LINEAR(0x0) 34 zpos: flags: range values: 0 0 value: 0 35 COLOR_ENCODING: flags: enum enums: ITU-R BT.601 YCbCr=0 ITU-R BT.709 YCbCr=1 value: 0 36 COLOR_RANGE: flags: enum enums: YCbCr limited range=0 YCbCr full range=1 value: 1 37 alpha: flags: range values: 0 65535 value: 65535 38 pixel blend mode: flags: enum enums: Pre-multiplied=0 Coverage=1 value: 0 Frame buffers: id size pitch root@am62lx-ig69m-osm-1gb:~# weston-image /image.jpg failed to connect to Wayland display: No such file or directory failed to create display: No such file or directory root@am62lx-ig69m-osm-1gb:~#
Regards,
Dheeraj k