Jump to content

H6 - accelerated H264


mig01

Recommended Posts

Hello, I have Orange Pi 3 board. Panfrost drivers works fine bud I accelerated video not working. I have trouble with the drivers...

 

I compile

https://gitlab.freedesktop.org/vdpau/libvdpau

and

https://gitlab.freedesktop.org/vdpau/vdpauinfo

 

When I run vdpauinfo I get:

Failed to open VDPAU backend cannot open shared object file libvdpau_sun4i-drv.so No such file or directory

 

Bud i dont know hot to make this .so file...

 

Thank you.

 

====================================================================================

EDIT (i can post to here only one message per day...). Here is more information.

 

ARMBIANMONITOR URL: http://ix.io/2xGK

 

First... I make Armbian build with this kernel settings:

CONFIG_MEDIA_SUPPORT=y

CONFIG_MEDIA_CONTROLLER=y

CONFIG_MEDIA_CONTROLLER_REQUEST_API=y

CONFIG_V4L_MEM2MEM_DRIVERS=y

CONFIG_VIDEO_SUNXI_CEDRUS=y

CONFIG_VIDEO_SUNXI=y

CONFIG_DRM_PANFROST=y

 

Then I compile and install Panfrost driver according to these instructions (Panfrost + SDL):

https://forum.armbian.com/topic/11334-build-armbian-with-panfrost/

with this meson parameters (messon version 0.55.1-1)

meson build/ -Dplatforms=x11,drm -Dgalliumdrivers=panfrost,kmso -Dvulkan-drivers= -Ddri-drivers= -Dgles1=enabled -Dgles2=enabled -Dopengl=true -Dlibuwind=disabled -Dlmsensor=false -Dprefix=-usr

 

and insert to rc.local this (for better stability)

cd /sys/devices/platforms/soc/1800000.gpu/devfreq/1800000.gpu/

echo userspace > governor

echo 756000000 > max_freq

echo 756000000 > min_freq

 

After that I add to /boot/armbianEnv.txt this two lines to end:
disp_mem_reserves=on                               
extraargs=cma=256M

 

And compile vdpau and vdpauinfo

 

git clone https://gitlab.freedesktop.org/vdpau/libvdpau.git   
cd libvdpau
meson build --prefix=/usr -Ddocumentation=false -Ddri2=true -Dmoduledir=/usr/lib/vdpau
ninja -C build
sudo ninja -C build install

 

git clone https://gitlab.freedesktop.org/vdpau/vdpauinfo.git  
cd vdpauinfo                                                  
./autogen.sh --prefix=/usr && make && sudo make install

 

And that's all. I also don't know how to proceed, because I found different procedures...

Edited by mig01
add aditional information
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