Jump to content

Hardware Acceleration with MPV - Orangepi Zero2+ H3


Erkin Yücel

Recommended Posts

Hi,


First of all sorry for my bad English.

I am trying play video on my OrangePi Zero2+ H3 and 7inch waveshare touch screen. 

I couldn't get the touch screen work with Armbian 5.38 - 3.xx kernel. (I downloaded the Armbian Xenial desktop legacy kernel 3.4.y from website. In this version, mpv plays video with hardware acceleration)

Then I updated to Armbian 5.44 - 4.xx kernel (I downloaded the Armbian Stretch mainline kernel 4.14.y from website.) then 7inch touch screen started to work but this time no hardware acceleration. It works "mpv vid.mp4" with dropped frames and very high CPU usage. But it gives error when I try to start video with "mpv --vo=vdpau --hwdec=vdpau vid.mp4".

It says: "[vo/vdpau] Error when calling vdp_device_create_xll"

No matter I tried it doesn't work. I tried to reinstall mpv, vdpau, libump etc (http://linux-sunxi.org/User:Rellla/Armbian).

 

One more thing, there is no /dev/mali file in 5.44. but there was in 5.38.

 

What am I doing wrong?

 

Thanks in advance.

Edited by Erkin Yücel
Link to comment
Share on other sites

2 minutes ago, Igor said:

 

Video acceleration is not supported in modern kernel. It has to be developed first: https://www.kickstarter.com/projects/bootlin/allwinner-vpu-support-in-the-official-linux-kernel than implemented.

 

 

Thank you for the information. Dollars to Bootlin :)

 

So,  is there any way that I can get the 7inch touch screen work with 3.xx kernel?

Link to comment
Share on other sites

Just now, Erkin Yücel said:

Dollars to Bootlin


It's already funded and almost done, but that's low-level support. Somebody still needs to implement that into player(s).

 

1 minute ago, Erkin Yücel said:

So,  is there any way that I can get the 7inch touch screen work with 3.xx kernel?


Could be. We don't deal with 3rd party hardware and I personally don't have many experiences with displays. First do extensive search https://www.armbian.com/search_gcse since it is possible somebody already solved this problem.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines