xineplug_vo_out_directfb.so needs update to handle HW acceleration
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Raspbian |
New
|
Undecided
|
Unassigned |
Bug Description
DirectFB.org has released in October 2012 a version 1.7 supporting the hardware acceleration for the Raspbian's framebuffer.
It is available here :
http://
Unfortunately, Xine cannot handle it because the plugin xineplug_
Here is the output of the dfbinfo testing tool, we can see the Videocore IV is detected and thus HW acceleration is activated :
root@raspberrypi:/# dfbinfo
~~~~
(c) 2001-2012 The world wide DirectFB Open Source Community
(c) 2000-2004 Convergence (integrated media) GmbH
-
(*) DirectFB/Core: Multi Application Core. (2012-10-11 12:46)
(*) Direct/Memcpy: Using libc memcpy()
(*) Fusion/SHM: Using MADV_REMOVE (3.2.27.0 >= 2.6.19.2)
(*) Direct/Thread: Started 'Fusion Dispatch' (-1) [MESSAGING OTHER/OTHER 0/0] <8 388608>...
(*) Direct/Thread: Started 'Fusion Deferred' (-1) [MESSAGING OTHER/OTHER 0/0] <8 388608>...
(*) Direct/Modules: suppress module 'linux_input'
(*) DirectFB/Core/WM: Default 0.3 (directfb.org)
(*) Direct/Thread: Started 'Genefx0' (-1) [DEFAULT OTHER/OTHER 0/0] <8388608>...
(*) GL Extensions: GL_OES_
glGetError 0x502
(!) DirectFB/GLES2: Error at line 397 of gles2_init_
glGetError 0x502
(!) DirectFB/GLES2: Error at line 451 of gles2_init_
glGetError 0x502
(!) DirectFB/GLES2: Error at end of driver_init_device! (error = 502)
(*) DirectFB/Graphics: GLES2 Acceleration - VideoCore IV HW 0.1 (Mark J Hood / D enis Oliver Kropp)
A few errors remain, but it looks like a good start.
And now the output from xine.
If DirectFB v1.2 is still present it will conflict with 1.7 (new options from /etc/directfbrc are not recognized, 1.2 tries to load and finally DirectFB is ignored).
(!) DirectFB/Config: *********** In config file `/etc/directfbrc': Invalid option `always-indirect'! ***********
(!) DirectFB/Config: *********** In config file `/etc/directfbrc': Invalid option `linux-
(!) DirectFB/Config: *********** In config file `/etc/directfbrc': Invalid option `linux-
(!) DirectFB/Config: *********** In config file `/etc/directfbrc': Invalid option `wm-fullscreen-
(#) DirectFBError [DirectFBInit()]: Not supported!
If 1.2 is removed from the system before installing 1.7 the message below is displayed :
load_plugins: cannot (stage 2) open plugin lib /usr/lib/
libdirectfb-
This modification on the directfb Xine plugin is very important because, as of today, only omxplayer and XBMC port are able to handle the hardware acceleration on the Raspi. Adding this support to Xine will be a huge step forward for a lot of applications (eg VDR + xineliboutput fully supported instead of running as XBMC backend).
I think you'll have better luck reporting it here: https:/ /github. com/RPi- Distro/ repo/issues