This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[参考译文] AM62L-PROCESSOR-SDK:Weston 应用程序无法从 UART 终端启动、但在显示终端中工作 询问 ChatGPT

Guru**** 2484615 points


请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1551820/am62l-processor-sdk-weston-applications-failing-to-launch-from-uart-terminal-but-working-in-display-terminal-ask-chatgpt

器件型号:AM62L-PROCESSOR-SDK


工具/软件:

您好、  

从 UART 终端运行 Weston 或 Weston 客户端应用程序时,由于无法连接到 Wayland 显示器,它们无法启动,而从显示终端会话执行时,相同的应用程序可以正常工作,这表明无法从 UART 环境访问 Wayland 会话。在 HDMI Display 中的 EVK 板上也可以观察到同样的情况。

请找到所附的日志

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:~# 


此致、
Dheeraj k

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    询问已分配给专家、请等待他们的答复。

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好、

    请尝试以下操作: software-dl.ti.com/.../Weston.html

    此致、
    Krunal

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    尊敬的 Krunal:

    我已经尝试过。 我会附上日志、以便您进行检查并告诉我问题是什么。 我在将日志粘贴到代码对话框内时遇到了一些困难、因此我会将其直接粘贴到这里、请不要介意。

    e2e.ti.com/.../3286.log

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    应该是 export WAYLAND DISPLAY=/run/user/1000/wayland-1? 此外、登录名是 Weston、而不是 root。

    此致、
    Krunal