Hello,
Actually I've no news to use native XBMC player with hardware
acceleration on my A20 device.
I'm in touch with the developer of the Gotham-A10 fork. As soon I get
news I'll update it here.
Meanwhile I'm trying to use the external player (mplayer) to play
videos. From the cli, the video is played smooth.
Using it WITH XBMC, i get a strange result:
The video is played well in fullscreen, but the black bars that are
filling the rest of the video (top-bottom bars) are flickering, showing
the XBMC background.
This is the result:
https://www.youtube.com/watch?v=YwJRKRL8AgM
You can see TIME (upper right) and "Videos" menu (upper left) appear and
disappear very fast.
I've asked on mplayer mailinglist and I got this answer:
*******************
This is more complicated.
The OSD is drawn using a completely different layer of the graphics
hardware, so that it works is not surprising.
I suspect the flickering is a bug/limitation of the libvdpau-sunxi when
the output surface is larger than the (upscaled) video surface.
Looking at the code it seems to do XClearWindow.
I could imagine that the problem is that XBMC uses -wid, with the
window being the one it does OpenGL drawing into?
That would then mean that its OpenGL drawing will be fighting
with that XClearWindow, with random results on who "wins"
and is displayed.
I see no really easy solution, though XBMC probably should stop
drawing its UI when it won't be visible anyway, that certainly
is a waste of CPU and GPU power!
Or is it supposed to be visible? Then commenting out that XClearWindow
might fix it.
*******************
So, do you think is more an libvdpau-sunxi issue or should this be
investigated on XBMC fork? I know this fork is created to avoid using an
external player and to let the internal player do the stuff, but
meanwhile I'm searching for a solution, because I can't resolve it on XBMC.
Thanks for the support!
Simon
Il 26/08/2014 10:41, X3fil ha scritto:
Hello!
I was able to compile it succesfully. XBMC Gotham starts correctly and
menu navigation is smooth.
BTW native player isn't fluid as expected. I don't think it's an SD-Card
speed issue, because from command line (using mplayer) it plays
perfectly any video.
It IS in hardware acceleration, because the cpu usage never hits 100%.
It's between 10 and 50%.
I'm investigating on the causes, asking the Gotham-A10 developer as
well. As soon I get some news, I'll update it here as well.
Simon
Il 21/08/2014 20:13, Stefan Monnier ha scritto:
I'll take a look to the Gotham-A10 :-)
As always thanks a lot for your support and precious answers!
Please add a link to Gotham-A10 in the sunxi/XBMC wiki page if it proves
to be a worthy alternative.
Stefan
--
You received this message because you are subscribed to the Google Groups
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.