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.

AM3358: Matrix GUI not showing up on HDMI

Part Number: AM3358

Hello,

I have a Beaglebone black and I've flashed the SDK image on an SD card using this method http://processors.wiki.ti.com/index.php/Processor_SDK_Linux_Creating_a_SD_Card_with_Windows

I am able to boot into the Arago Project screen and able to log in as root. When I attach a monitor to the HDMI port, a please wait screen is persistent and does not change. I've tried starting and stopping the matrix-gui-browser-2.0 as well as restarting the weston service. I've also tried attaching a Beaglebone black compatible LCD cape (works on debian image) which also just lights up all white but does not show the GUI or the "please wait" screen.

Please advise what to try next.


Thanks

Date: 2017-03-29 UTC
[20:53:59.333] weston 1.9.0
               http://wayland.freedesktop.org
               Bug reports to: https://bugs.freedesktop.org/enter_bug.cgi?produc
               Build: 1.8.93-2-gb05cdb8 configure.ac: bump to version 1.9.0 for
[20:53:59.333] OS: Linux, 4.4.41-gf9f6f0db2d, #1 PREEMPT Wed Mar 29 17:37:15 EDT
[20:53:59.336] Using config file '/etc//weston.ini'
[20:53:59.346] Loading module '/usr/lib/weston/drm-backend.

so'
[20:53:59.454] Output repaint window is 7 ms maximum.
[20:53:59.454] initializing drm backend
[20:53:59.466] using /dev/dri/card0
[20:53:59.492] Loading module '/usr/lib/weston/gl-renderer.so'
failed to load module: /usr/lib/gbm/gbm_dri.so: cannot open shared object file:
failed to load module: /usr/lib/gbm/gbm_gallium_drm.so: cannot open shared objec
loaded module : gbm_pvr.so
found valid GBM backend : gbm_pvr.so
[20:53:59.625] warning: either no EGL_EXT_platform_base support or specific plat
[20:53:59.699] warning: EGL_EXT_buffer_age not supported. Performance could be a
[20:53:59.699] Retrieving EGL client extension string failed.
[20:53:59.701] warning: no input devices on entering Weston. Possible causes:
        - no permissions to read /dev/input/event*
        - seats misconfigured (Weston backend option 'seat', udev device propert
[20:53:59.701] failed to create input devices
Modetest log:
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        480x270         18      25      
  modes:                                                                        
        name refresh (Hz) hdisp hss hse htot vdisp vss vse vtot)                
  1280x1024 60 1280 1328 1440 1688 1024 1025 1028 1066 flags: phsync, pvsync; tr
  1440x900 60 1440 1488 1520 1600 900 903 909 926 flags: phsync, nvsync; type: r
  1280x800 60 1280 1328 1360 1440 800 803 809 823 flags: phsync, nvsync; type: r
  1152x864 75 1152 1216 1344 1600 864 865 868 900 flags: phsync, pvsync; type: r
  1280x720 60 1280 1390 1430 1650 720 725 730 750 flags: phsync, pvsync; type: r
  1280x720 60 1280 1390 1430 1650 720 725 730 750 flags: phsync, pvsync; type: r
  1280x720 50 1280 1720 1760 1980 720 725 730 750 flags: phsync, pvsync; type: r
  1024x768 75 1024 1040 1136 1312 768 769 772 800 flags: phsync, pvsync; type: r
  1024x768 60 1024 1048 1184 1344 768 771 777 806 flags: nhsync, nvsync; type: r
  800x600 75 800 816 896 1056 600 601 604 625 flags: phsync, pvsync; type: drivr
  800x600 60 800 840 968 1056 600 601 605 628 flags: phsync, pvsync; type: drivr
  720x576 50 720 732 796 864 576 581 586 625 flags: nhsync, nvsync; type: driver
  720x480 60 720 736 798 858 480 489 495 525 flags: nhsync, nvsync; type: driver
  720x480 60 720 736 798 858 480 489 495 525 flags: nhsync, nvsync; type: driver
  640x480 75 640 656 720 840 480 481 484 500 flags: nhsync, nvsync; type: driver
  640x480 60 640 656 752 800 480 490 492 525 flags: nhsync, nvsync; type: driver
  640x480 60 640 656 752 800 480 490 492 525 flags: nhsync, nvsync; type: driver
  720x400 70 720 738 846 900 400 412 414 449 flags: nhsync, pvsync; type: driver
  props:                                                                        
        1 EDID:                                                                 
                flags: immutable blob                                           
                blobs:                                                          
                                                                                
                value:                                                          
                        00ffffffffffff001e6db85a01010101                        
                        0118010380301b78ea3135a5554ea126                        
                        0c5054a54b00714f81809500b300a9c0                        
                        810081c09040023a801871382d40582c                        
                        4500e00e1100001e000000fd00384b1e                        
                        530f000a202020202020000000fc004c                        
                        47204950532046554c4c4844000000ff                        
                        000a2020202020202020202020200164                        
                        020315b14a900403011412051f101365                        
                        030c001000023a801871382d40582c45                        
                        00e00e1100001e011d8018711c162058                        
                        2c2500e00e1100009e011d007251d01e                        
                        206e285500e00e1100001e8c0ad08a20                        
                        e02d10103e9600e00e11000018000000                        
                        00000000000000000000000000000000                        
                        000000000000000000000000000000b4                        
        2 DPMS:                                                                 
                flags: enum                                                     
                enums: On=0 Standby=1 Suspend=2 Off=3                           
                value: 0                                                        
                                                                                
CRTCs:                                                                          
id      fb      pos     size                                                    
24      29      (0,0)   (1280x1024)                                             
  1280x1024 60 1280 1328 1440 1688 1024 1025 1028 1066 flags: phsync, pvsync; tr
  props:                                                                        
                                                                                
Planes:                                                                         
id      crtc    fb      CRTC x,y        x,y     gamma size      possible crtcs  
23      24      29      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  

  • The software team have been notified. They will respond here.
  • Connect a mouse or keyboard to the EVM. Weston is expecting one input device
  • Thanks for your reply Ramprasad; I have attached a keyboard and that changed the weston logs:

    [20:55:04.801] 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
    [20:55:04.801] OS: Linux, 4.4.41-gf9f6f0db2d, #1 PREEMPT Wed Mar 29 17:37:15 EDT
    [20:55:04.802] Using config file '/etc//weston.ini'
    [20:55:04.802] Loading module '/usr/lib/weston/drm-backend.so'
    [20:55:04.816] Output repaint window is 7 ms maximum.
    [20:55:04.816] initializing drm backend
    [20:55:04.821] using /dev/dri/card0
    [20:55:04.821] Loading module '/usr/lib/weston/gl-renderer.so'
    failed to load module: /usr/lib/gbm/gbm_dri.so: cannot open shared object file:
    failed to load module: /usr/lib/gbm/gbm_gallium_drm.so: cannot open shared objec
    loaded module : gbm_pvr.so
    found valid GBM backend : gbm_pvr.so
    [20:55:04.840] warning: either no EGL_EXT_platform_base support or specific plat
    [20:55:04.865] warning: EGL_EXT_buffer_age not supported. Performance could be a
    [20:55:04.865] Retrieving EGL client extension string failed.
    [20:55:04.879] input device 'HP USB Keyboard', /dev/input/event0 is tagged by ud
    [20:55:04.880] input device 'HP USB Keyboard', /dev/input/event0 is a keyboard
    [20:55:04.885] input device 'HP USB Keyboard', /dev/input/event1 is tagged by ud
    [20:55:04.885] input device 'HP USB Keyboard', /dev/input/event1 is a keyboard
    [20:55:05.084] EGL version: 1.4 build 1.14@3699939 (MAIN)
    [20:55:05.084] EGL vendor: Imagination Technologies
    [20:55:05.084] EGL client APIs: OpenGL_ES
    [20:55:05.084] 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
    [20:55:05.085] GL version: OpenGL ES 2.0 build 1.14@3699939 (MAIN)
    [20:55:05.085] GLSL version: OpenGL ES GLSL ES 1.00 build 1.14@3699939 (MAIN)
    [20:55:05.085] GL vendor: Imagination Technologies
    [20:55:05.085] GL renderer: PowerVR SGX 530
    [20:55:05.085] 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
    [20:55:05.085] GL ES 2 renderer features:
    read-back format: RGBA
    wl_shm sub-image to texture: no
    EGL Wayland extension: yes
    [20:55:05.085] Chosen EGL config details:
    RGBA bits: 8 8 8 8
    swap interval range: 1 - 1
    [20:55:05.085] cursor buffers unavailable, using gl cursors
    [20:55:05.086] Failed to initialize backlight
    [20:55:05.086] EDID data 'GSM', 'LG IPS FULLH', ''
    [20:55:05.086] Output HDMI-A-1, (connector 26, crtc 24)
    mode 1280x1024@60.0
    mode 1440x900@59.9
    mode 1280x800@59.9
    mode 1152x864@75.0
    mode 1280x720@60.0
    mode 1280x720@59.9
    mode 1280x720@50.0
    mode 1024x768@75.1
    mode 1024x768@60.0
    mode 800x600@75.0
    mode 800x600@60.3
    mode 720x576@50.0
    mode 720x480@60.0
    mode 720x480@59.9
    mode 640x480@75.0
    mode 640x480@60.0
    mode 640x480@59.9
    mode 720x400@70.1
    mode 1280x1024@60.0, current
    [20:55:05.086] Compositor capabilities:
    arbitrary surface rotation: yes
    screen capture uses y-flip: yes
    presentation clock: CLOCK_MONOTONIC, id 1
    [20:55:05.087] Loading module '/usr/lib/weston/desktop-shell.so'
    [20:55:05.088] launching '/usr/libexec/weston-keyboard'
    [20:55:05.092] launching '/usr/libexec/weston-desktop-shell'
    [20:55:05.187] set mode failed: Invalid argument
    [20:55:05.547] set mode failed: Invalid argument
    [20:55:12.439] set mode failed: Invalid argument
    [20:55:12.439] unexpectedly large timestamp jump (from 94696 to 101500)
    [20:55:13.818] set mode failed: Invalid argument
    [20:55:14.398] set mode failed: Invalid argument
    [20:55:14.657] set mode failed: Invalid argument
    [20:55:14.814] set mode failed: Invalid argument
  • I have followed the instructions on (processors.wiki.ti.com/.../Processor_Linux_SDK_Graphics_and_Display) and this has started up weston and the Matrix-GUI!!!

  • Hi,
    how did you log from weston?
  • Should be in /var/log/weston.log

    Also my issue in this thread was resolved by fixing the hardware bug for AM335x as described in the link I last posted.
  • Thanks for your response,

    OK, I will try it and give feedback.
  • Excuse me, I'm a beginner in linux,

    how should I make the following changes (what are the equivalent command?):

    /etc/powervr.ini: add DefaultPixelFormat=RGB565
    /etc/weston.ini: add gbm-format=rgb565 at section [core]
    /etc/profile.d/qt_env.sh: add export QT_QPA_EGLFS_INTEGRATION=none


    and another question: after these command, if I use:
    /etc/init.d/matrix-gui-2.0 start
    then matrix GUI will show up?

    Thanks a lot.
  •  I tried to log with /var/log/weston.log command,

    but it got permission denied.

    what is wrong?

    I'm waiting your help please.

    Thanks a lot.

  • Put a cat command in front of /var/log/weston.log and use vi /etc/powervr.ini to edit the /etc/ files. Use :wq! to write and quit from vi.

  • Hi. Thanks for your response,

    I made those three changes with your guide,

    (means 

    • /etc/powervr.ini: add DefaultPixelFormat=RGB565
    • /etc/weston.ini: add gbm-format=rgb565 at section [core]
    • /etc/profile.d/qt_env.sh: add export QT_QPA_EGLFS_INTEGRATION=none)

    and then tried to start matrix:

    but the result is just :

    and then happen nothing..

    also I tried using following commands:

    => setenv optargs video=HDMI-A-1:1024x768
    => saveenv

    but the results :



    now, can you give me an idea to starting matrix? and what is wrong?

    Thanks a lot.


  • You have to execute the setenv command in U-Boot console.

  • Thanks a lot,
    how should open U-Boot console?
  • Hit any key to stop autoboot: 2 while booting.
  • Dear kemal,

    Thanks for response,

    I reset the board and hit "h" key

    But auto boot didn't stop

    I tested some other keys such as "2"

    But nothing changed

    And please wait appeared on the screen(like before,that please wait appeared and then  I used ctrl+alt+F1 to go to cammand line)

    Please guide me in this issua.

    Thanks a lot.

  • Please, read the U-Boot related sections on this training.

  • Thanks for your response,
    but I'm a beginner in linux and that training could not help me,
    can you give me a straight forward instruction to open u-boot console?

    Thanks.