Spaces:

File size: 5,797 Bytes
5aefcf4
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
Ticket Name: Linux/TDA2: Can't start weston

Query Text:
Part Number: TDA2 Tool/software: Linux Hi, I cant seem to start the weston with drm backend VISION_SDK version : 03_02_00_00 log: root@dra7xx-evm:/opt/vision_sdk# weston --backend=drm-backend.so --tty=1 Date: 2018-04-11 UTC [16:07:06.542] 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) [16:07:06.542] OS: Linux, 4.4.84, #1 SMP PREEMPT Thu Apr 5 12:50:59 CEST 2018, armv7l [16:07:06.542] Using config file '/etc//weston.ini' [16:07:06.542] Loading module '/usr/lib/weston/drm-backend.so' [16:07:06.546] Output repaint window is 7 ms maximum. [16:07:06.546] initializing drm backend [16:07:06.548] using /dev/dri/card0 [16:07:06.548] 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 [16:07:06.554] warning: either no EGL_EXT_platform_base support or specific platform support; falling back to eglGetDisplay. [16:07:06.562] warning: EGL_EXT_buffer_age not supported. Performance could be affected. [16:07:06.562] Retrieving EGL client extension string failed. [16:07:06.563] warning: no input devices found, but none required as per configuration. [16:07:06.563] No currently active connector found. [16:07:06.563] failed to create output for /sys/devices/platform/omapdrm.0/drm/card0 [16:07:06.617] fatal: failed to create compositor backend root@dra7xx-evm:/opt/vision_sdk# 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'...done Encoders: id crtc type possible crtcs possible clones Connectors: id encoder status name size (mm) modes encoders CRTCs: id fb pos size 32 0 (0,0) (0x0) 0 0 0 0 0 0 0 0 0 flags: ; type: props: 27 trans-key-mode: flags: enum enums: disable=0 gfx-dst=1 vid-src=2 value: 0 28 trans-key: flags: range values: 0 16777215 value: 0 29 background: flags: range values: 0 16777215 value: 0 30 alpha_blender: flags: range values: 0 1 value: 0 21 GAMMA_LUT: flags: blob blobs: value: 22 GAMMA_LUT_SIZE: flags: immutable range values: 0 4294967295 value: 256 23 rotation: flags: bitmask values: rotate-0=0x1 rotate-90=0x2 rotate-180=0x4 rotate-270=0x8 reflect-x=0x10 reflect-y=0x20 value: 1 24 zorder: flags: range values: 0 3 value: 0 34 0 (0,0) (0x0) 0 0 0 0 0 0 0 0 0 flags: ; type: props: 27 trans-key-mode: flags: enum enums: disable=0 gfx-dst=1 vid-src=2 value: 0 28 trans-key: flags: range values: 0 16777215 value: 0 29 background: flags: range values: 0 16777215 value: 0 30 alpha_blender: flags: range values: 0 1 value: 0 21 GAMMA_LUT: flags: blob blobs: value: 22 GAMMA_LUT_SIZE: flags: immutable range values: 0 4294967295 value: 256 23 rotation: flags: bitmask values: rotate-0=0x1 rotate-90=0x2 rotate-180=0x4 rotate-270=0x8 reflect-x=0x10 reflect-y=0x20 value: 1 24 zorder: flags: range values: 0 3 value: 0 Planes: id crtc fb CRTC x,y x,y gamma size possible crtcs 31 0 0 0,0 0,0 0 0x00000001 formats: RG16 RX12 XR12 RA12 AR12 XR15 AR15 RG24 RX24 XR24 RA24 AR24 props: 5 type: flags: immutable enum enums: Overlay=0 Primary=1 Cursor=2 value: 1 23 rotation: flags: bitmask values: rotate-0=0x1 rotate-90=0x2 rotate-180=0x4 rotate-270=0x8 reflect-x=0x10 reflect-y=0x20 value: 1 24 zorder: flags: range values: 0 3 value: 0 25 global_alpha: flags: range values: 0 255 value: 255 26 pre_mult_alpha: flags: range values: 0 1 value: 0 33 0 0 0,0 0,0 0 0x00000002 formats: RG16 RX12 XR12 RA12 AR12 XR15 AR15 RG24 RX24 XR24 RA24 AR24 NV12 YUYV UYVY props: 5 type: flags: immutable enum enums: Overlay=0 Primary=1 Cursor=2 value: 1 23 rotation: flags: bitmask values: rotate-0=0x1 rotate-90=0x2 rotate-180=0x4 rotate-270=0x8 reflect-x=0x10 reflect-y=0x20 value: 1 24 zorder: flags: range values: 0 3 value: 0 25 global_alpha: flags: range values: 0 255 value: 255 26 pre_mult_alpha: flags: range values: 0 1 value: 0 35 0 0 0,0 0,0 0 0x00000003 formats: RG16 RX12 XR12 RA12 AR12 XR15 AR15 RG24 RX24 XR24 RA24 AR24 NV12 YUYV UYVY props: 5 type: flags: immutable enum enums: Overlay=0 Primary=1 Cursor=2 value: 0 23 rotation: flags: bitmask values: rotate-0=0x1 rotate-90=0x2 rotate-180=0x4 rotate-270=0x8 reflect-x=0x10 reflect-y=0x20 value: 1 24 zorder: flags: range values: 0 3 value: 2 25 global_alpha: flags: range values: 0 255 value: 255 26 pre_mult_alpha: flags: range values: 0 1 value: 0 36 0 0 0,0 0,0 0 0x00000003 formats: RG16 RX12 XR12 RA12 AR12 XR15 AR15 RG24 RX24 XR24 RA24 AR24 NV12 YUYV UYVY props: 5 type: flags: immutable enum enums: Overlay=0 Primary=1 Cursor=2 value: 0 23 rotation: flags: bitmask values: rotate-0=0x1 rotate-90=0x2 rotate-180=0x4 rotate-270=0x8 reflect-x=0x10 reflect-y=0x20 value: 1 24 zorder: flags: range values: 0 3 value: 3 25 global_alpha: flags: range values: 0 255 value: 255 26 pre_mult_alpha: flags: range values: 0 1 value: 0 Frame buffers: id size pitch

Responses:
Hi Stefan, modetest is not showing any connectors . Connectors: id encoder status name size (mm) modes encoders should have details of the connectors and their supported modes. What type of LCD is connected to your board? Ramprasad

Hi Ramprasad, Were using an HDMI output that is connected to a HD-TV Kind Regards, Stefan

HI Stefan, Can you try to run drmclone application on your target? . It is not clear why mode is not shown for your HDMI TV. Can you also share which dtb file is set in uEnv.txt