Part Number: DRA74
Tool/software: Linux
I'm working with ti-processor-sdk-linux-automotive-dra7xx-evm-5.00.00.01-installer.bin, installed on customboard, based on JACINTO dar745BLGABCQl processor.
After Linux boot up procedure Weston compositor doesn't start and only "Please wait" message outputs on screen.
target # /etc/init.d/weston start
target # weston --tty=1 --backend=drm-backend.so
looking at var log i see:
root@dra7xx-evm:~# /etc/init.d/weston start
7
[r
[999;999H
[6nroot@dra7xx-evm:~#
weston --tty=1 --backend=drm-backend.so
Date: 2018-01-17 UTC
[23:04:30.958] 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)
[23:04:30.958] OS: Linux, 4.4.84, #6 SMP PREEMPT Thu Jan 24 16:17:03 CST 2019, armv7l
[23:04:30.958] Using config file '/etc//weston.ini'
[23:04:30.958] Loading module '/usr/lib/weston/drm-backend.so'
[23:04:30.962] Output repaint window is 7 ms maximum.
[23:04:30.962] initializing drm backend
[23:04:30.965] using /dev/dri/card0
[23:04:30.965] Loading module '/usr/lib/weston/gl-renderer.so'
loaded module : gbm_pvr.so
found valid GBM backend : gbm_pvr.so
[23:04:30.972] warning: either no EGL_EXT_platform_base support or specific platform support; falling back to eglGetDisplay.
PVR:(Error): OpenServices: PVRDRMOpenRender failed [0, ]
PVR:(Error): PVRSRVConnect: Unable to open connection. [0, ]
PVR:(Error): Couldn't connect to services [0, ]
[23:04:30.974] failed to initialize display
[23:04:30.974] EGL error state: EGL_BAD_ALLOC (0x3003)
[23:04:30.974] failed to initialize egl
[23:04:31.003] fatal: failed to create compositor backend
other:
target # modetest log :
root@dra7xx-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'...done
Encoders:
id crtc type possible crtcs possible clones
31 34 TMDS 0x00000001 0x00000000
Connectors:
id encoder status name size (mm) modes encoders
32 31 connected unknown-1 0x0 1 31
modes:
name refresh (Hz) hdisp hss hse htot vdisp vss vse vtot)
1920x1080 60 1920 2040 2080 2200 1080 1088 1092 1100 flags: nhsync, nvsync; type: preferred, driver
props:
1 EDID:
flags: immutable blob
blobs:
value:
2 DPMS:
flags: enum
enums: On=0 Standby=1 Suspend=2 Off=3
value: 0
CRTCs:
id fb pos size
34 41 (0,0) (1920x1080)
1920x1080 60 1920 2040 2080 2200 1080 1088 1092 1100 flags: nhsync, nvsync; type: preferred, driver
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
36 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
33 34 41 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
35 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
37 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
38 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
------------------------------------------------------------------------------------------------
target # kmscube -a
root@dra7xx-evm:~# kmscube -a
### Enabling all displays
trying to load module omapdrm...success.
### Display [0]: CRTC = 34, Connector = 32, format = 0x34325258
Mode chosen [1920x1080] : Clock => 145200, Vertical refresh => 60, Type => 72
Horizontal => 1920, 2040, 2080, 2200, 0
Vertical => 1080, 1088, 1092, 1100, 0
### Primary display => ConnectorId = 32, Resolution = 1920x1080
loaded module : gbm_pvr.so
found valid GBM backend : gbm_pvr.so
PVR:(Error): OpenServices: PVRDRMOpenRender failed [0, ]
PVR:(Error): PVRSRVConnect: Unable to open connection. [0, ]
PVR:(Error): Couldn't connect to services [0, ]
failed to initialize
failed to initialize EGL
---------------------------------------------------------------------------------------
cat /etc/weston.ini
root@dra7xx-evm:~# cat /etc/weston.ini
[shell]
locking=false
animation=zoom
panel-location=top
startup-animation=fade
[screensaver]
# Uncomment path to disable screensaver
#path=@libexecdir@/weston-screensaver
root@dra7xx-evm:~#
------------------------------------------------------------------------
cat /etc/powervr.ini
cat /etc/powervr.ini
[default]
#WindowSystem=libpvrws_WAYLAND.so
[weston]
DbmDriverName=vdrm
---------------------------------------------------------------------
The development board does not link to usb devices.