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.

TDA4VM: SDK 8.02 Weston in default image not work out of box

Part Number: TDA4VM

Hi,

I am trying the new 8.02 SDK original image 

But find the Weston has error and the desktop GUI cannot show up. the Weston log is as below

 root@j7-evm:/var/log# cat weston.log
Date: 2022-03-23 UTC
[23:52:48.082] weston 8.0.0
wayland.freedesktop.org
Bug reports to: gitlab.freedesktop.org/.../
Build: 8.0.0
[23:52:48.082] Command line: weston --idle-time=0
[23:52:48.083] OS: Linux, 5.10.100-rt62-g204ec708dc, #1 SMP PREEMPT_RT Thu Mar 24 00:09:37 UTC 2022, aarch64
[23:52:48.083] Using config file '/etc//weston.ini'
[23:52:48.087] Output repaint window is 7 ms maximum.
[23:52:48.090] Loading module '/usr/lib/libweston-8/drm-backend.so'
[23:52:48.103] initializing drm backend
[23:52:48.104] logind: not running in a systemd session
[23:52:48.104] logind: cannot setup systemd-logind helper (-61), using legacy fallback
[23:52:48.180] using /dev/dri/card1
[23:52:48.180] DRM: supports universal planes
[23:52:48.180] DRM: supports atomic modesetting
[23:52:48.180] DRM: supports picture aspect ratio
[23:52:48.181] Loading module '/usr/lib/libweston-8/gl-renderer.so'
(1093) PVR:(Error): PVRDRICreateScreenImpl: Failed to open render device node [ :171 ]
MESA-LOADER: failed to open kms_swrast (search paths /usr/lib/dri)
failed to load driver: kms_swrast
MESA-LOADER: failed to open swrast (search paths /usr/lib/dri)
failed to load swrast driver
[23:52:48.396] failed to initialize egl
[23:52:48.469] fatal: failed to create compositor backend
Internal warning: debug scope 'drm-backend' has not been destroyed.

Similar stuff happened in the last SDK release! 

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1065785/tda4vm-linux-sdk-08-01-00-07-tisdk-default-image-login-session-not-stable

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1088238/weston-timeout-display-screen-still-turns-to-black/4051732?tisearch=e2e-sitesearch&keymatch=display%20timeout#4051732

But this time seems have the new problem!

Have you even try to boot up your own default image before release?

Since these Weston bugs and malfunction are so obvious and immediate after the boot up.

Thanks!

  • Hi Jiadong,

    Could you try out the default image in PROCESSOR-SDK-LINUX-J721E: https://www.ti.com/tool/download/PROCESSOR-SDK-LINUX-J721E

    I also see the same behavior that you see when using the image in PROCESSOR-SDK-LINUX-RT-J721E. I will check with the internal team on this.

    However, using the PSDK Linux (instead of PSDK Linux RT), I am able to start up Weston as expected. Could you use the PSDK Linux for continuing your development while we root cause this issue?

    Regards,

    Takuma

  • Hi Takuma,

    Thanks! the Weston is working in PSDK Linux.

    So, what's the difference with PSDK Linux and PSDL Linux RT? It seems this version not exist in the past releases and the SDK document link directs me to the same Processor SDK Linux for J721e page that not refer anything about RT.

    It the PSDL Linux RT includes the R5 core stuff?

    Best,

    Jiadong

  • Hi Jiadong,

    PSDK Linux RT is a real time Linux version of PSDK Linux that was released in the 8.x PSDK version timeframe at the request of customers. 

    The functionality should be the same as the normal PSDK Linux, but as this is a newer PSDK, I think there are some components that are less tested than PSDK Linux. For example, using PSDK Linux RT in combination with PSDK RTOS components such as Vision Apps, MCAL, and TIDL is not yet validated.

    As such, the recommendation is to use PSDK Linux unless there is a requirement to use PSDK Linux RT.

    Regards,

    Takuma