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.

Linux/AM3352: LVDS display issue

Part Number: AM3352

Tool/software: Linux

LVDS screen shows Please wait... all the time

It is not effective to execute the following instructions:

root@am335x-evm:~/fbv# /etc/init.d/weston restart
Stopping Weston

root@am335x-evm:~# /etc/init.d/matrix-gui-2.0 start
/home/root
Removing stale PID file /var/run/matrix-gui-2.0.pid.
Starting Matrix GUI application.

And sometimes the following information appears:

[ 28.899760] tilcdc 4830e000.lcdc: tilcdc_crtc_irq(0x00000020): FIFO underfow
[ 28.907724] tilcdc 4830e000.lcdc: tilcdc_crtc_irq(0x00000004): Sync lost
[ 28.908042] tilcdc 4830e000.lcdc: tilcdc_crtc_irq(0x00000004): Sync lost

The SDK version we used is 03.01.00.06.

  • Hi Ti:
    I have trid as the following link:
    e2e.ti.com/.../626711
    Now the screen displays the following information:
    _____ _____ _ _
    | _ |___ ___ ___ ___ | _ |___ ___ |_|___ ___| |_
    | | _| .'| . | . | | __| _| . | | | -_| _| _|
    |__|__|_| |__,|_ |___| |__| |_| |___|_| |___|___|_|
    |___| |___|

    Arago Project http://arago-project.org am335x-evm tty1

    Arago 2016.08 am335x-evm tty1

    am335x-evm login:
  • Hello zhengguang,

    Please, read "LCDC memory bandwidth issues" section at this link about FIFO underflow and sync lost issue.

    Best regards,
    Kemal

  • Hi Kemal:

    This patch solved  FIFO underflow and sync lost issue.

    But how to solve the problem of display incorrectly.

  • Can attach the complete boot log and /var/log/weston.log file?

  • Date: 2016-10-05 UTC
    [06:48:26.777] weston 1.9.0
                   http://wayland.freedesktop.org
                   Bug reports to: https://bugs.freedesktop.org/enter_bug.cgi?product=Wayland&component=weston&version=1.9.0
                   Build: 1.8.93-2-gb05cdb8 configure.ac: bump to version 1.9.0 for the official release (2015-09-21 18:11:26 -0700)
    [06:48:26.777] OS: Linux, 4.4.19-gdb0b54cdad, #32 PREEMPT Fri Jan 19 17:18:13 CST 2018, armv7l
    [06:48:26.780] Using config file '/etc//weston.ini'
    [06:48:26.784] Loading module '/usr/lib/weston/drm-backend.so'
    [06:48:26.877] Output repaint window is 7 ms maximum.
    [06:48:26.877] initializing drm backend
    [06:48:26.892] using /dev/dri/card0
    [06:48:26.895] Loading module '/usr/lib/weston/gl-renderer.so'
    failed to load module: /usr/lib/gbm/gbm_dri.so: cannot open shared object file: No such file or directory
    failed to load module: /usr/lib/gbm/gbm_gallium_drm.so: cannot open shared object file: No such file or directory
    loaded module : gbm_pvr.so
    found valid GBM backend : gbm_pvr.so
    [06:48:27.027] warning: either no EGL_EXT_platform_base support or specific platform support; falling back to eglGetDisplay.
    [06:48:27.049] failed to initialize display
    [06:48:27.049] EGL error state: EGL_BAD_ALLOC (0x3003)
    [06:48:27.049] failed to initialize egl
    [06:48:27.054] fatal: failed to create compositor backend
    PVR:(Error): OpenServices: PVRDRMOpenRender failed [0, ]
    PVR:(Error): PVRSRVConnect: Unable to open connection. [0, ]
    PVR:(Error): Couldn't connect to services [0, ]
    

  • AM3352 doesn't have SGX accelerator but in the delivered Processor SDK the graphics hardware acceleration is enabled by default. To be able to use the wayland on AM3352 with non-SGX software rendering you will need to rebuild the Processor SDK with disabled SGX acceleration.

    I am posting the commands for building the latest Processor SDK config processor-sdk-04.02.00.09-config.txt

    $ sudo apt-get install git build-essential python diffstat texinfo gawk chrpath dos2unix wget unzip socat doxygen libc6:i386 libncurses5:i386 libstdc++6:i386 libz1:i386

    $ sudo dpkg-reconfigure dash
    # Select "No" when prompted.

    $ wget https://releases.linaro.org/components/toolchain/binaries/6.2-2016.11/arm-linux-gnueabihf/gcc-linaro-6.2.1-2016.11-x86_64_arm-linux-gnueabihf.tar.xz
    $ tar -Jxvf gcc-linaro-6.2.1-2016.11-x86_64_arm-linux-gnueabihf.tar.xz -C $HOME

    $ git clone git://arago-project.org/git/projects/oe-layersetup.git tisdk
    $ cd tisdk
    $ ./oe-layertool-setup.sh -f configs/processor-sdk/processor-sdk-04.02.00.09-config.txt
    $ cd build
    $ . conf/setenv
    $ export PATH=$HOME/gcc-linaro-6.2.1-2016.11-x86_64_arm-linux-gnueabihf/bin:$PATH
    #----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    # Add the following to the bottom of <tisdk>/build/conf/local.conf before launching the last bitbake command
    #----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    MACHINE_FEATURES_remove = "sgx"
    PACKAGECONFIG_remove = "wayland-egl"

    IMAGE_INSTALL_remove = "chromium-wayland"
    BBMASK="meta-browser/recipes-browser/chromium/chromium-wayland_53.0.2785.143.bb meta-arago/meta-arago-distro/recipes-graphics/wayland/wayland-ivi-extension_1.11.0.bb"

    MULTIMEDIA_remove_ti33x = "chromium-wayland"
    GRAPHICS_WESTON_remove = "wayland-ivi-extension"
    #----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    $ MACHINE=am335x-evm bitbake tisdk-rootfs-image

  • I have compiled as you said.But Compiled failure.

    The failure information is as follows:

    5037.log.do_compile.txt

  • Which Processor SDK config file you are using processor-sdk-03.00.00.04-config.txt or processor-sdk-03.01.00.06-config.txt?

  • Thank you very much.
    I deleted all the compiled files. Now compiled successfully