04-14-2016, 10:11 AM
(This post was last modified: 04-14-2016, 10:13 AM by paranoid_android.)
Hello everyone,
It's my first post on this forum. I got my P64 about 3 days ago and have been playing with it since then. I quickly downloaded last Longsleep's Ubuntu image onto the fresh Class 10 card and one of my main concerns, as for many of us, was a lack of hardware graphics acceleration in this distro. Please, don't get me wrong, I cannot thank Longsleep enough for preparing this image for us all here...
Anyway, I can now finally confirm that I also managed to install libvdpau-sunxi library and I can now watch videos with HW graphics acceleration enabled.
I followed instructions from http://linux-sunxi.org/Cedrus/libvdpau-sunxi, but I believe they are not up-to-date anymore. Besides installing all the mentioned prerequisites I also had to install Pixman (http://www.linuxfromscratch.org/blfs/vie...ixman.html) and libcedrus (https://github.com/linux-sunxi/libcedrus). Anyway, it works! I can play a sample video ( http://samplemedia.linaro.org/H264/big_b..._7200K.MP4) and even though it has little glitches, I believe it's because the file resides on an SD card (I don't have any USB HDD attached yet). Am I correct that the framerate would be much worse hadn't I have HW acceleration enabled?
How do I check whether mplayer really uses HW graphics?
p.s. I'd like to point out that I'm barely a Linux user. I know simple commands and I can run a makefile or download some code from github, but I can't really call myself a Linux guy. Anyway I managed to build all these libraries which shows how simple it is at this stage (i.e. after so many people contributed to reverse-engineering Allwinner's SOCs).
It's my first post on this forum. I got my P64 about 3 days ago and have been playing with it since then. I quickly downloaded last Longsleep's Ubuntu image onto the fresh Class 10 card and one of my main concerns, as for many of us, was a lack of hardware graphics acceleration in this distro. Please, don't get me wrong, I cannot thank Longsleep enough for preparing this image for us all here...
Anyway, I can now finally confirm that I also managed to install libvdpau-sunxi library and I can now watch videos with HW graphics acceleration enabled.
I followed instructions from http://linux-sunxi.org/Cedrus/libvdpau-sunxi, but I believe they are not up-to-date anymore. Besides installing all the mentioned prerequisites I also had to install Pixman (http://www.linuxfromscratch.org/blfs/vie...ixman.html) and libcedrus (https://github.com/linux-sunxi/libcedrus). Anyway, it works! I can play a sample video ( http://samplemedia.linaro.org/H264/big_b..._7200K.MP4) and even though it has little glitches, I believe it's because the file resides on an SD card (I don't have any USB HDD attached yet). Am I correct that the framerate would be much worse hadn't I have HW acceleration enabled?
How do I check whether mplayer really uses HW graphics?
p.s. I'd like to point out that I'm barely a Linux user. I know simple commands and I can run a makefile or download some code from github, but I can't really call myself a Linux guy. Anyway I managed to build all these libraries which shows how simple it is at this stage (i.e. after so many people contributed to reverse-engineering Allwinner's SOCs).