mig01 Posted September 15, 2020 Posted September 15, 2020 (edited) 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 September 15, 2020 by mig01 add aditional information
Werner Posted September 15, 2020 Posted September 15, 2020 Providing logs with armbianmonitor -u significantly raises chances that issue is getting addressed.
mig01 Posted September 18, 2020 Author Posted September 18, 2020 I added the necessary information to the first post.
ning Posted September 18, 2020 Posted September 18, 2020 it looks you are using mainline kernel, thus vdpau video acceleration is not available. you need to read: https://forum.armbian.com/topic/13622-mainline-vpu/
Igor Posted September 18, 2020 Posted September 18, 2020 Kernel driver is enabled for some time but no idea of its usability under Linux desktop. https://github.com/armbian/build/blob/master/config/kernel/linux-sunxi64-current.config#L5613-L5614
Recommended Posts