Guest - Testers are needed for the reworked CDateTime core component. See... https://forum.kodi.tv/showthread.php?tid=378981 (September 29) x
Alpha GLES with VDPAU interop on banana pi/pro using sunxi-vdpau driver
#1
Video 
I have a question regarding VDPAU support in Kodi. If I build it using --enable-gles, --enable-vdpau and --disable-gl does this work? I tried it and I get 1 compilation error:
Code:
error: ‘class CLinuxRendererGLES’ has no member named ‘AddProcessor’
Does GLES and VDPAU actually work together or must be OpenGL installed for this?

I' am asking this because I was able to build Kodi Alpha 17.0, but playing a video at 720p does stutter, because of the lack of hardware acceleration using VDPAU?

My board is a banana pro with bananian[latest] and I would like to watch 720p to 1080p YouTube streams or offline movies with it. Smile
Reply
#2
Thread moved to OS independent/other
|Banned add-ons (wiki)|Forum rules (wiki)|VPN policy (wiki)|First time user (wiki)|FAQs (wiki) Troubleshooting (wiki)|Add-ons (wiki)|Free content (wiki)|Debug Log (wiki)|

Kodi Blog Posts
Reply
#3
This does not work and there is no official GLES extension for interop with VDPAU.
Reply
#4
Ohhh, Sad want 720p and 1080p so bad Sad Sad Sad
Reply
#5
But how does VLC player uses VDPAU acceleration. I managed to play a movie with 1080p on VLC player using VDPAU driver from sunxi. Why does kodi not do it the same way accessing the VDPAU driver directlyHuh Huh
Reply
#6
Ok I installed mpv player and configured kodi to use it for all videos. But if using mpv I have no fancy kodi UI anymore just keystrokes from keyboard to control the player. Why only omxplayer is supported using --enable-player=omxplayer in the build option. Why not add mpv player as player into kodi? It has VDPAU support and can decode 720p Videos only using 64M of video RAM.
Reply
#7
Why? Because it's not easy. You might as well be asking why someone is not ripped with muscles and can't benchpress cars.

The Kodi project is a non-profit made up of volunteers. They have limited time and limited resources. Allwinner SoCs have horrible software support and horrible documentation. Far better support can be had for the same or less money with better hardware. There is no incentive for any Kodi developer to work on that broken platform.

Banana Pi is not supported, period. Allwinner SoCs are not supported. The community has gone to great lengths to warn people about this hardware not being supported, but people don't want to listen. If you want a working Kodi install, buy one of the thousands of options that supports Kodi. For example, a Raspberry Pi.
Reply
#8
Hey Ned. You are damn right. I read about Allwinner on sunxi wiki. It is really a bad platform to work with kodi. I mean they rejected to work with the kodi team. Which I think is a bad choice of Allwinner. I installed the so called "open source" media-codec from github trying to still achieve a decent video playback. But I think it would fail anyway. My chosen hardware is really crap compared to raspberry pi2 for example. But I didn't read beforehand what software actually runs on banana pro and the specs seemed legit. So I have chosen banana pro instead of pi2. Which now I think was a really bad choice Sad I know kodi team is not really interested in supporting this platform with its hole capabilities but meanwhile I can't afford to buy another SoC e.g. the pi2. Maybe I sell my banana pro and then switch to pi2 to finally have the real kodi power. Here is the article about Allwinner and kodi which I read and understand why kodi team or better said Allwinner do not want to work on kodi Allwinner support.
http://linux-sunxi.org/Kodi
Reply
#9
Image
Reply
#10
(2016-04-30, 22:03)maxpa1n87 Wrote: But how does VLC player uses VDPAU acceleration. I managed to play a movie with 1080p on VLC player using VDPAU driver from sunxi. Why does kodi not do it the same way accessing the VDPAU driver directlyHuh Huh

Kodi solely renders in GL/GLES/DX, hence interoperation between VDPAU and GL is a requirement. VLC supports non-GL/GLES video output and does not require a LG/GLES extension for VDPAU.
Reply
#11
Lightbulb 
Hey FernetMenta. Thank you for the explanation. Technically speaking kodi renders everything in GL/GLES on Linux kind OS. VDPAU is another rendering technique. So this would mean if one want VDPAU support the whole rendering system must use VDPAU or, as you said GL/GLES. But both would only work with full GL implementation which is practically does not exists on the hardware that I'm using. Ok, maybe I'll stick to the hardware and configure an external player to play the videos with VDPAU support but without kodi UI or I switch hardware to raspberry pi2(for example) and then I get full support to play 1080p videos with the UI of kodi. Huh
Reply
#12
Quote:So this would mean if one want VDPAU support the whole rendering system must use VDPAU or, as you said GL/GLES

Nope, OpenGL has an extension for interoperability with VDPAU but GLES has not. That sunxi stuff is just a hack not compliant to the official APIs.

First decide what functions/features you expect from a system, then decide for the hardware. Don't waste your money on crap.
Reply
#13
Image
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
#14
(2016-05-02, 09:48)FernetMenta Wrote:
Quote:So this would mean if one want VDPAU support the whole rendering system must use VDPAU or, as you said GL/GLES

Nope, OpenGL has an extension for interoperability with VDPAU but GLES has not. That sunxi stuff is just a hack not compliant to the official APIs.

First decide what functions/features you expect from a system, then decide for the hardware. Don't waste your money on crap.

correct, it is not fully compliant to the official OpenGL VDPAU interop spec, but with the current implementation the hardware/software combination works quite ok. Other SoC also use vendor specific software for decoding/displaying the video, so why not the same for Allwinner?
Reply
#15
Which vendors for example that we officially support?
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply

Logout Mark Read Team Forum Stats Members Help
GLES with VDPAU interop on banana pi/pro using sunxi-vdpau driver0