Hi, All:
To support OpenGL ES, I integrated Graphics SDK into ThinClient RDK. I used the X.org of Graphics SDK as XWindow server. Everything seems OK expect GStreamer can not playback video. When play video, it reports:
--------------------------------------------------------------------
State changed: from 1 to 2
0:00:02.093750000 1489 0x2bda8 WARN default xoverlay.c:354:gst_x_overlay_set_xwindow_id:<videosink> Using deprecated gst_x_overlay_set_xwindow_id()
0:00:02.093750000 1489 0x2bda8 WARN gemxvimagesink gemxvimagesink.c:1071:gst_gemxvimagesink_get_xv_support:<videosink> error: Could not initialise Xv output
0:00:02.093750000 1489 0x2bda8 WARN gemxvimagesink gemxvimagesink.c:1071:gst_gemxvimagesink_get_xv_support:<videosink> error: No port available
0:00:02.218750000 1489 0x2a5b18 WARN rmdemux rmdemux.c:1450:gst_rmdemux_add_stream:<rmdemux0> not adding stream of type 3, freeing it
** (<unknown>:1489): WARNING **: gstvideo: failed to get caps of pad videosink:sink
0:00:08.101562500 1489 0x2be990 WARN playsink gstplaysink.c:1323:gen_video_chain:<playsink0> error: Configured videosink videosink is not working.
--------------------------------------------------------------------
The xvinfo command output:
--------------------------------------------------------------------
# xvinfo
X-Video Extension version 2.2
screen #0
no adaptors present
--------------------------------------------------------------------
Seems it can not find X-Video adaptor of XWindow. I tested the X.org of RDK and encountered the same problem.
Then I tried to change the Graphics SDK video driver modules(pvrsrvkm, ti81xxfb) back to RDK driver module(ti81xx). The GStreamer can playback video. The xvinfo command output:
--------------------------------------------------------------------
# xvinfo
X-Video Extension version 2.3
screen #0
Adaptor #0: "TI81xx Video Overlay"
number of ports: 1
port base: 92
operations supported: PutImage
supported visuals:
depth 24, visualID 0x21
no port attributes defined
maximum XvImage size: 2048 x 2048
Number of image formats: 1
id: 0x3231564e (NV12)
guid: 4e563132-0000-0010-8000-00aa00389b71
bits per pixel: 12
number of planes: 2
type: YUV (planar)
--------------------------------------------------------------------
But the vidoe driver of RDK does not support OpenGL ES. How to support OpenGL ES and X-Video at the same time?
Any suggestion is welcome. Thanks!
Our ThinClient RDK version is 1.0 RC3. About Graphics SDK, we tested 4.08.00.01, 4.08.00.02, 4.09.00.01 version.