![]() |
hardware acceleration on allwinner A10/A20 with vdpau and OpenGLES (zero-copy) - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32) +--- Forum: Kodi Application (https://forum.kodi.tv/forumdisplay.php?fid=93) +--- Thread: hardware acceleration on allwinner A10/A20 with vdpau and OpenGLES (zero-copy) (/showthread.php?tid=254202) |
RE: hardware acceleration on allwinner A10/A20 with vdpau and OpenGLES (zero-copy) - sergiodefontes - 2016-10-20 (2016-10-16, 18:26)sergiodefontes Wrote:(2016-10-15, 14:40)mapmot Wrote: sergiodefontes, wrong libMali.so. You need the framebuffer version, not the x11 one. Hi guys, I'm back to give you a feed back of my Odissey building a hardware acelerated version of Debian/Kodi to my Bananapi. I followed the mapmot's sugestion (thks fellow) doing the right way to build a libmali.so framebuffer version. In my case, to do that, I built sunxi-mali using the following parameters: make config ABI=armhf VERSION=r3p0 EGL_TYPE=framebuffer After that I could lauch Kodi successfully, finaly. But, I realized that I couldn't play videos because of the following error: Code: root@bananapi:~# kodi In other words, I've got the same problem reported by porlock at his post #108. I tried to follow the subsequent posts, but however, to me, the solution was not clear.... then I've searched on Internet for a solution, spending a lot of time, unfortunely without success... That's why I ask for you help again....sorry about that... Well, I'm using sunxi-mali from Mosterta's git: https://github.com/mosterta/libvdpau-sunxi, building it following those steps: Code: $cd /root/Sources/video_acceleration That's my building log: http://pastebin.com/G39fasMe Running vdpauinfo I have: Code: root@bananapi:~# vdpauinfo Same Kodi error, of course... ldd command shows: Code: root@bananapi:~# ldd -r /usr/lib/libvdpau_sunxi.so By the way, my libcedar_access.so and libcedar_access.so.1 in /usr/lib are built from from procedure above.... Code: root@bananapi:/usr/lib# ldd -r libcedar_access.so And libUMP is from mosterta's git too.... I count on your help and patience again guys... Thks in advance.. RE: hardware acceleration on allwinner A10/A20 with vdpau and OpenGLES (zero-copy) - mapmot - 2016-10-21 sergiodefontes, try libvdpau-sunxi from here: https://github.com/tnmeyer/libvdpau-sunxi, should compile and install without modifications. RE: hardware acceleration on allwinner A10/A20 with vdpau and OpenGLES (zero-copy) - sergiodefontes - 2016-10-23 (2016-10-21, 10:16)mapmot Wrote: sergiodefontes, try libvdpau-sunxi from here: https://github.com/tnmeyer/libvdpau-sunxi, should compile and install without modifications. Ok mapmot, thks again about your concern. I'll try tnmeyer's libvdpau-sunxi and give you a feed-back soon. ![]() RE: hardware acceleration on allwinner A10/A20 with vdpau and OpenGLES (zero-copy) - dalas1 - 2016-12-13 (2016-10-23, 21:40)sergiodefontes Wrote:and where your feed-back?(2016-10-21, 10:16)mapmot Wrote: sergiodefontes, try libvdpau-sunxi from here: https://github.com/tnmeyer/libvdpau-sunxi, should compile and install without modifications. ![]() RE: hardware acceleration on allwinner A10/A20 with vdpau and OpenGLES (zero-copy) - mapmot - 2016-12-13 The lack of feedback is good feedback. sergiodefontes is probably enjoying watching movies on his Bananapi ![]() RE: hardware acceleration on allwinner A10/A20 with vdpau and OpenGLES (zero-copy) - RockerC - 2016-12-15 Can I ask why a VDPAU based solution was chosen over a VAAPI based solution for this implementation? I know Team Kodi developer fritsch have been working hard for a very long time at perfecting VAAPI in Kodi. See. http://forum.kodi.tv/showthread.php?tid=231955 (and older thread http://forum.kodi.tv/showthread.php ) Just asking because would think that a VAAPI based solution might see a broader adoption of this, or? RE: hardware acceleration on allwinner A10/A20 with vdpau and OpenGLES (zero-copy) - rellla - 2016-12-15 Maybe because libvdpau-sunxi was already there and it was easier to extend vdpau instead of writing a new userspace backend. Regards RE: hardware acceleration on allwinner A10/A20 with vdpau and OpenGLES (zero-copy) - maggette - 2017-01-07 I have been able to compile and run Kodi following the instructions in this thread, I had several issues resolved by reading it all. However I get a segmentation fault when I try to watch a movie and I am stuck at this point: Code: # kodi This is the crash report http://pastebin.com/m5cKhv3M And some info about my system. The machine is a Cubieboard 2 using armbian and a recompiled kernel with the CMA config I use kodi from @tom81 https://github.com/tnmeyer/xbmc branch "Jarvis_vdpau_gles" Code: # lsmod Code: # ldd -r /usr/lib/libvdpau_sunxi.so Do you have an idea what could be wrong? RE: hardware acceleration on allwinner A10/A20 with vdpau and OpenGLES (zero-copy) - maggette - 2017-01-07 I have now tried to delete all libvdpau libs, recompile and reinstall. Interestingly I see this when trying to play a video: Code: Failed to open VDPAU backend libvdpau_nvidia.so: cannot open shared object file: No such file or directory Which I forgot I tried "fixed" it before by linking to libvdpau_sunxi.so, but it looks like there is a problem here. Why is vdpau trying to load libvdpau_nvidia.so? Thank you in advance RE: hardware acceleration on allwinner A10/A20 with vdpau and OpenGLES (zero-copy) - maggette - 2017-01-07 (2017-01-07, 19:09)maggette Wrote: I have now tried to delete all libvdpau libs, recompile and reinstall. Interestingly I see this when trying to play a video: I've just resolved this problem by doing this in the cli: export VDPAU_DRIVER=sunxi However I still get a segmentation fault as before when trying to play a video. RE: hardware acceleration on allwinner A10/A20 with vdpau and OpenGLES (zero-copy) - mapmot - 2017-01-08 Try to set deinterlace mode to 6(Bob) in guisettings.xml (2017-01-07, 19:19)maggette Wrote:(2017-01-07, 19:09)maggette Wrote: I have now tried to delete all libvdpau libs, recompile and reinstall. Interestingly I see this when trying to play a video: RE: hardware acceleration on allwinner A10/A20 with vdpau and OpenGLES (zero-copy) - maggette - 2017-01-08 I have tried it now but I get the exact same segmentation fault. I realized that this problem is exactly the same one that is mentioned by @rellla in the post #115 Code: #1 0x004602dc in VDPAU::COutput::GLInit (this=this@entry=0xb002bb10) at VDPAU.cpp:4071 But it seems it was never resolved. I'm going to try to compile kodi 14.2 by @mosterta RE: hardware acceleration on allwinner A10/A20 with vdpau and OpenGLES (zero-copy) - maggette - 2017-01-11 (2017-01-08, 20:23)maggette Wrote: I have tried it now but I get the exact same segmentation fault. I realized that this problem is exactly the same one that is mentioned by @rellla in the post #115 I was able to fix the segmentation fault, reading the VDPAU.cpp file I saw it was trying to find the vdpau libraries in /usr/lib/vdpau/ so I copied them from /usr/local/lib/vdpau/ and even I have been able to reproduce 1 video that before was crashing. However for almost every video I play I'm getting this same error described here, but disabling the VDPAU mixing didn't fix my problem. Any other hints? (2016-01-31, 20:50)mosterta Wrote:(2016-01-17, 16:27)tom81 Wrote: A little bit of progress here: RE: hardware acceleration on allwinner A10/A20 with vdpau and OpenGLES (zero-copy) - Ale4ko - 2017-01-29 hello, how to solve this problem? Code: root@bananapi:~/.kodi/temp# grep ERROR kodi.log Code: root@bananapi:~/.kodi/temp# lsmod RE: hardware acceleration on allwinner A10/A20 with vdpau and OpenGLES (zero-copy) - mosterta - 2017-01-29 check that you have the correct (i.e. framebuffer based opengl library in you LD Libarary path) |