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/PROCESSOR-SDK-AM335X: HDMI LCD says "Please wait..."

Part Number: PROCESSOR-SDK-AM335X

Tool/software: Linux

Hello,

I am trying to use the prebuilt images that came with the SDK on a BeagleBoneBlack.  The BBB is connected to an HDMI touchscreen.  Upon boot the touch screen displays "Please wait...".  It never boots the matrix gui though.  

I can see that the matrix_browser is listening at port 80.  I can even remotely connect to it and it renders in my browser.   When I connected to it remotely, it did ask me if a local display was attached, to which I said yes but nothing changed.

It seems to me like the prebuilt image can't find the display.  I ran modetest and could see it at connector id 26.  So I built the SDK and tried from the built image, same outcome.

I'm pretty sure the HW is OK since the image on the eMMC that came with it runs the display fine.

I'm sure I'm doing something stupid.  Any obvious pointers?

Thanks,

Nathan

  • Hello,

    Could you try to restart the matrix GUI and weston:
    #/etc/init.d/matrix-gui-2.0 stop
    #/etc/init.d/weston stop
    #/etc/init.d/weston start
    #/etc/init.d/matrix-gui-2.0 start

    BR
    Margarita
  • Good morning,

    I have tried your instructions.  The screen state did not change.  It still says "Please wait..."

    I ran ...

    #tail /var/log/weston.log

    ...and  I got...

    [timestamp] set mode failed: Invalid argument

    ... a ton of times.

    Is it trying to set the display to a mode the display doesn't support?

    Thanks,

    Nathan

  • I did some more poking around the forum and found a similar issue here...

    e2e.ti.com/.../1927840

    So I gave that stuff a try, here is the output...

    (I'm not sure if triple quotes works to make this a code block or not...)
    {{{
    root@am335x-evm:~# /etc/init.d/matrix-gui-2.0 stop
    Stopping Matrix GUI application.
    root@am335x-evm:~# /etc/init.d/weston stop
    Stopping Weston
    root@am335x-evm:~#
    root@am335x-evm:~#
    root@am335x-evm:~#
    root@am335x-evm:~#
    root@am335x-evm:~# modetest
    trying to open device 'i915'...failed
    trying to open device 'radeon'...failed
    trying to open device 'nouveau'...failed
    trying to open device 'vmwgfx'...failed
    trying to open device 'omapdrm'...failed
    trying to open device 'exynos'...failed
    trying to open device 'tilcdc'...done
    Encoders:
    id crtc type possible crtcs possible clones
    25 24 TMDS 0x00000001 0x00000000

    Connectors:
    id encoder status name size (mm) modes encoders
    26 25 connected HDMI-A-1 150x100 1 25
    modes:
    name refresh (Hz) hdisp hss hse htot vdisp vss vse vtot)
    1024x600 43 1024 1064 1112 1152 600 613 616 645 flags: nhsync, nvsync; type: preferred, driver
    props:
    1 EDID:
    flags: immutable blob
    blobs:

    value:
    00ffffffffffff000481040001000000
    01110103800f0a000a00000000000000
    00000000000001010101010101010101
    010101010101800c008040582d202830
    d3006c44000000180000001000000000
    00000000000000000000000000100000
    00000000000000000000000000000010
    0000000000000000000000000000009f
    2 DPMS:
    flags: enum
    enums: On=0 Standby=1 Suspend=2 Off=3
    value: 0

    CRTCs:
    id fb pos size
    24 30 (0,0) (1024x600)
    1024x600 43 1024 1064 1112 1152 600 613 616 645 flags: nhsync, nvsync; type: preferred, driver
    props:

    Planes:
    id crtc fb CRTC x,y x,y gamma size possible crtcs
    23 24 30 0,0 0,0 0 0x00000001
    formats: RG16 BG24 XB24
    props:
    5 type:
    flags: immutable enum
    enums: Overlay=0 Primary=1 Cursor=2
    value: 1

    Frame buffers:
    id size pitch

    root@am335x-evm:~# weston --tty=1 --connector=26
    Date: 2017-03-27 UTC
    [13:20:50.337] weston 1.9.0
    http://wayland.freedesktop.org
    Bug reports to: bugs.freedesktop.org/enter_bug.cgi
    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)
    [13:20:50.338] OS: Linux, 4.4.32-gadde2ca9f8, #2 PREEMPT Fri Mar 24 11:56:33 EDT 2017, armv7l
    [13:20:50.339] Using config file '/etc//weston.ini'
    [13:20:50.340] Loading module '/usr/lib/weston/drm-backend.so'
    [13:20:50.364] Output repaint window is 7 ms maximum.
    [13:20:50.364] initializing drm backend
    [13:20:50.384] using /dev/dri/card0
    [13:20:50.384] 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
    [13:20:50.419] warning: either no EGL_EXT_platform_base support or specific platform support; falling back to eglGetDisplay.
    [13:20:50.453] warning: EGL_EXT_buffer_age not supported. Performance could be affected.
    [13:20:50.454] Retrieving EGL client extension string failed.
    [13:20:50.475] input device 'Microsoft Comfort Curve Keyboard 3000', /dev/input/event0 is tagged by udev as: Keyboard
    [13:20:50.475] input device 'Microsoft Comfort Curve Keyboard 3000', /dev/input/event0 is a keyboard
    [13:20:50.481] input device 'Microsoft Comfort Curve Keyboard 3000', /dev/input/event1 is tagged by udev as: Keyboard
    [13:20:50.481] input device 'Microsoft Comfort Curve Keyboard 3000', /dev/input/event1 is a keyboard
    [13:20:50.487] input device 'Logitech USB Optical Mouse', /dev/input/event2 is tagged by udev as: Mouse
    [13:20:50.487] Device 'Logitech USB Optical Mouse' set to 1000 DPI
    [13:20:50.487] input device 'Logitech USB Optical Mouse', /dev/input/event2 is a pointer caps
    [13:20:50.679] EGL version: 1.4 build 1.14@3699939 (MAIN)
    [13:20:50.680] EGL vendor: Imagination Technologies
    [13:20:50.680] EGL client APIs: OpenGL_ES
    [13:20:50.680] EGL extensions: EGL_IMG_client_api_ogl EGL_KHR_image
    EGL_KHR_image_base EGL_KHR_gl_texture_2D_image
    EGL_KHR_gl_texture_cubemap_image EGL_KHR_gl_renderbuffer_image
    EGL_KHR_vg_parent_image EGL_IMG_cl_image EGL_KHR_fence_sync
    EGL_IMG_context_priority EGL_IMG_hibernate_process
    EGL_IMG_image_plane_attribs EGL_KHR_surfaceless_context
    EGL_KHR_wait_sync EGL_KHR_create_context
    EGL_WL_bind_wayland_display EGL_EXT_image_dma_buf_import
    [13:20:50.680] GL version: OpenGL ES 2.0 build 1.14@3699939 (MAIN)
    [13:20:50.680] GLSL version: OpenGL ES GLSL ES 1.00 build 1.14@3699939 (MAIN)
    [13:20:50.680] GL vendor: Imagination Technologies
    [13:20:50.680] GL renderer: PowerVR SGX 530
    [13:20:50.680] GL extensions: GL_OES_rgb8_rgba8 GL_OES_depth24
    GL_OES_vertex_half_float GL_OES_texture_float
    GL_OES_texture_half_float GL_OES_element_index_uint
    GL_OES_mapbuffer GL_OES_fragment_precision_high
    GL_OES_compressed_ETC1_RGB8_texture GL_OES_EGL_image
    GL_OES_EGL_image_external GL_OES_required_internalformat
    GL_OES_depth_texture GL_OES_get_program_binary
    GL_OES_packed_depth_stencil GL_OES_standard_derivatives
    GL_OES_vertex_array_object GL_OES_egl_sync
    GL_OES_surfaceless_context GL_EXT_discard_framebuffer
    GL_EXT_blend_minmax GL_EXT_multi_draw_arrays
    GL_EXT_multisampled_render_to_texture GL_EXT_shader_texture_lod
    GL_EXT_texture_format_BGRA8888 GL_EXT_texture_rg
    GL_IMG_shader_binary GL_IMG_texture_compression_pvrtc
    GL_IMG_texture_npot GL_IMG_texture_format_BGRA8888
    GL_IMG_read_format GL_IMG_program_binary
    GL_IMG_uniform_buffer_object
    GL_IMG_multisampled_render_to_texture GL_KHR_debug
    [13:20:50.681] GL ES 2 renderer features:
    read-back format: RGBA
    wl_shm sub-image to texture: no
    EGL Wayland extension: yes
    [13:20:50.681] Chosen EGL config details:
    RGBA bits: 8 8 8 8
    swap interval range: 1 - 1
    [13:20:50.681] cursor buffers unavailable, using gl cursors
    [13:20:50.681] Failed to initialize backlight
    [13:20:50.681] EDID data 'ADA', '', '1'
    [13:20:50.681] Output HDMI-A-1, (connector 26, crtc 24)
    mode 1024x600@43.1, preferred, current
    mode 1024x600@43.1, preferred
    [13:20:50.682] Compositor capabilities:
    arbitrary surface rotation: yes
    screen capture uses y-flip: yes
    presentation clock: CLOCK_MONOTONIC, id 1
    [13:20:50.683] Loading module '/usr/lib/weston/desktop-shell.so'
    [13:20:50.684] launching '/usr/libexec/weston-keyboard'
    [13:20:50.708] launching '/usr/libexec/weston-desktop-shell'
    [13:20:50.848] set mode failed: Invalid argument
    [13:20:51.102] set mode failed: Invalid argument
    [13:20:51.137] set mode failed: Invalid argument

    }}}

    Once I ran this, I did get an Arago project banner on the display.