Tool/software: Linux
Dear Sir:
There is a new feature Virtual DRM in VSDK release 03_04_00_00.
And the document is in
processors.wiki.ti.com/.../Virtual_DRM_:_An_User_Guide_for_Developing_Usecases
We download the VSDK and add the usecase
UC_disp_dist_src_display=yes
to enable the demo code in 1: Single Camera Usecases ==> 8: DispDistSrc (weston) + Display (1920x1080 HDMI)
However, only a GREEN screen in HDMI output.
If we use omapdrm test program on https://github.com/tomba/omapdrm-tests.git, then there is still nothing output from the HDMI.
If we use command on the page 
It is also not able to start the weston by using command "unset WAYLAND_DISPLAY and weston --tty=1" to see any visual output. It only output error messages below:
Date: 2018-06-11 UTC
[20:06:26.044] 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)
[20:06:26.045] OS: Linux, 4.4.84-00027-g018eb62-dirty, #1 SMP PREEMPT Tue Jul 10 11:07:47 CST 2018, armv7l
[20:06:26.045] Using config file '/etc//weston.ini'
[20:06:26.045] Loading module '/usr/lib/weston/drm-backend.so'
[20:06:26.049] Output repaint window is 7 ms maximum.
[20:06:26.050] initializing drm backend
[20:06:26.052] using /dev/dri/card0
[20:06:26.052] Loading module '/usr/lib/weston/gl-renderer.so'
loaded module : gbm_pvr.so
found valid GBM backend : gbm_pvr.so
[20:06:26.060] warning: either no EGL_EXT_platform_base support or specific platform support; falling back to eglGetDisplay.
[20:06:26.069] warning: EGL_EXT_buffer_age not supported. Performance could be affected.
[20:06:26.069] Retrieving EGL client extension string failed.
[20:06:26.070] warning: no input devices on entering Weston. Possible causes:
- no permissions to read /dev/input/event*
- seats misconfigured (Weston backend option 'seat', udev device property ID_SEAT)
[20:06:26.070] failed to create input devices
PVR:(Error): [ 857-> 857] < gbm_pvr_bo_create_common():260|ERROR> Failed to allocate DBM buffer: Cannot allocate memory [0, ]
PVR:(Error): [ 857-> 857] < gbm_pvr_surface_create_common():448|ERROR> GBM=0x4b988: cannot allocate GBM buffer[2] [0, ]
Segmentation fault (core dumped)
Would you please tell me how we can use this virtual DRM to let the Linux program to display graphics? Any comments or examples are welcome.
Regards,
/ckhsu
