Tool/software: Linux
Hello,
I have AM437x-gp-evm board (Rev 1.5) and I'm using processor SDK 4.01. Graphical applications like matrix gui are not working.
I'm using an RGB LCD and not the HDMI port, The screen just displays "Please Wait"
Output of cat /proc/version: 20170926213135
Things I have tried -
1) One of the posts mentions that there may be a service race so I've launched in the order
/etc/init.d/weston stop
/etc/init.d weston start
/etc/init.d/matrix-gui-2.0 start
2) Immediately after bootup, I launch kmscube. This works fine. However, if I stop it and start it again, it doesn't work. The error is
"EGL Extensions "EGL_IMG_client_api_ogl EGL_KHR_image EGL_KHR_image_base EGL_KHR"
display 0 failed to set mode: Permission denied "
3) If I completely stop weston and run an application like -
./Application -platform eglfs
In this case I get the error - "Could not set DRM (4) CRTC (33) mode! (Permission denied)"
3.5) Alternately, if I try - ./Application -platform custom-wayland
************* The Qt Custom Extension Example Plugin is active ************
Failed to create display (No such file or directory)
4) The output of cat /var/log/weston.log is
Date: 2017-09-26 UTC
[21:33:02.103] weston 1.11.0
wayland.freedesktop.org
Bug reports to: bugs.freedesktop.org/enter_bug.cgi
Build: 1.10.93-2-g2d825ed configure.ac: bump to version 1.11.0 f)
[21:33:02.104] OS: Linux, 4.9.41-ge3a80a1c5c, #1 PREEMPT Tue Sep 26 18:20:30 EDl
[21:33:02.108] Using config file '/etc//weston.ini'
[21:33:02.119] Output repaint window is 7 ms maximum.
[21:33:02.124] Loading module '/usr/lib/weston/drm-backend.so'
[21:33:02.160] initializing drm backend
[21:33:02.185] using /dev/dri/card0
[21:33:02.191] Loading module '/usr/lib/weston/gl-renderer.so'
failed to load module: /usr/lib/gbm/gbm_dri.so: cannot open shared object file:y
failed to load module: /usr/lib/gbm/gbm_gallium_drm.so: cannot open shared objey
loaded module : gbm_pvr.so
found valid GBM backend : gbm_pvr.so
[21:33:02.296] warning: either no EGL_EXT_platform_base support or specific pla.
[21:33:02.331] warning: EGL_EXT_buffer_age not supported. Performance could be .
[21:33:02.331] Retrieving EGL client extension string failed.
[21:33:02.333] warning: no input devices on entering Weston. Possible causes:
- no permissions to read /dev/input/event*
- seats misconfigured (Weston backend option 'seat', udev device proper)
[21:33:02.333] failed to create input devices
[21:33:02.487] fatal: failed to create compositor backend
5) Sometimes, weston throws the error : "Couldn't open /dev/dri/card0"
6) sgx is enabled in device tree as follows -
&sgx {
status = "okay";
};
7) Output of /etc/weston.ini
[shell]
locking=false
animation=zoom
panel-location=top
startup-animation=fade
[screensaver]
# Uncomment path to disable screensaver
#path=@libexecdir@/weston-screensaver
[output]
name=HDMI-A-1
mode=1024x768
Am I missing any configuration settings?
The only change I've made is that I've disabled the rtc by commenting it out in both the "dtsi" and the "dts" files.
Is matrix gui supposed to work out-of-the-box because I have not changed anything except disabling the rtc.
Thanks,
Rajat Rao