hardware acceleration on allwinner A10/A20 with vdpau and OpenGLES (zero-copy)
(2017-08-17, 21:16)pdrobek Wrote:
(2017-08-17, 11:04)xchetah Wrote:
(2017-08-17, 06:16)pdrobek Wrote: No information displayed about missing libraries after
Code:
ln -sf /usr/lib/vdpau/libvdpau_sunxi.so.1 /usr/lib/libvdpau_sunxi.so
result below
cbkodi ~ # ls -l /usr/lib/vdpau/libvdpau_sunxi.so.1
-rwxr-xr-x 1 root root 254868 08-14 12:07 /usr/lib/vdpau/libvdpau_sunxi.so.1

But i guess hardware acceleration also was disabled becasue when i play Big_Buck_Bunny_1080.avi i got poor performance about 6-9 fps Sad. i have to analyze kodi.log to check what is going on after option tweak
While playing the file , press o on the keyboard and tell me whats printed on screen

soon after i press o after launch movie kodi quits to console with print on screen

Code:
Violation of memory protection

Image

my dmesg output after kodi quits is full of
Code:
[ 5412.711857] [DISP] not supported image0 pixel sequence:32 in img_sw_para_to_reg
[ 5412.791859] [DISP] not supported image0 pixel sequence:92 in img_sw_para_to_reg
[ 5412.872894] [DISP] not supported image0 pixel sequence:148 in img_sw_para_to_reg
[ 5412.952896] [DISP] not supported image0 pixel sequence:148 in img_sw_para_to_reg
[ 5413.031858] [DISP] not supported image0 pixel sequence:92 in img_sw_para_to_reg
[ 5413.111854] [DISP] not supported image0 pixel sequence:32 in img_sw_para_to_reg
[ 5413.191856] [DISP] not supported image0 pixel sequence:88 in img_sw_para_to_reg
[ 5413.271858] [DISP] not supported image0 pixel sequence:92 in img_sw_para_to_reg
[ 5413.351853] [DISP] not supported image0 pixel sequence:92 in img_sw_para_to_reg
[ 5413.431855] [DISP] not supported image0 pixel sequence:92 in img_sw_para_to_reg
[ 5413.511858] [DISP] not supported image0 pixel sequence:32 in img_sw_para_to_reg
[ 5413.591860] [DISP] not supported image0 pixel sequence:88 in img_sw_para_to_reg
[ 5413.671855] [DISP] not supported image0 pixel sequence:88 in img_sw_para_to_reg
[ 5413.751857] [DISP] not supported image0 pixel sequence:92 in img_sw_para_to_reg
[ 5413.831852] [DISP] not supported image0 pixel sequence:92 in img_sw_para_to_reg
[ 5413.911855] [DISP] not supported image0 pixel sequence:32 in img_sw_para_to_reg
[ 5413.991856] [DISP] not supported image0 pixel sequence:92 in img_sw_para_to_reg
[ 5414.071852] [DISP] not supported image0 pixel sequence:92 in img_sw_para_to_reg
[ 5414.191855] [DISP] not supported image0 pixel sequence:92 in img_sw_para_to_reg
[ 5414.391862] [DISP] not supported image0 pixel sequence:92 in img_sw_para_to_reg
[ 5414.471855] [DISP] not supported image0 pixel sequence:92 in img_sw_para_to_reg
[ 5414.591859] [DISP] not supported image0 pixel sequence:92 in img_sw_para_to_reg
[ 5414.671854] [DISP] not supported image0 pixel sequence:92 in img_sw_para_to_reg
[ 5414.751856] [DISP] not supported image0 pixel sequence:92 in img_sw_para_to_reg
[ 5414.831858] [DISP] not supported image0 pixel sequence:92 in img_sw_para_to_reg
[ 5414.911854] [DISP] not supported image0 pixel sequence:32 in img_sw_para_to_reg
[ 5415.031864] [DISP] not supported image0 pixel sequence:92 in img_sw_para_to_reg
[ 5415.111858] [DISP] not supported image0 pixel sequence:92 in img_sw_para_to_reg
[ 5415.231862] [DISP] not supported image0 pixel sequence:92 in img_sw_para_to_reg
[ 5415.311857] [DISP] not supported image0 pixel sequence:32 in img_sw_para_to_reg
[ 5415.431863] [DISP] not supported image0 pixel sequence:92 in img_sw_para_to_reg
[ 5415.631866] [DISP] not supported image0 pixel sequence:92 in img_sw_para_to_reg
[ 5415.711854] [DISP] not supported image0 pixel sequence:32 in img_sw_para_to_reg
[ 5415.831872] [DISP] not supported image0 pixel sequence:92 in img_sw_para_to_reg
[ 5415.911859] [DISP] not supported image0 pixel sequence:92 in img_sw_para_to_reg
[ 5415.992926] [DISP] not supported image0 pixel sequence:116 in img_sw_para_to_reg
Sorry I don't know anything about this

Code:
Violation of memory protection
A few notes , the fps you are seeing using debug is NOT the video fps , it's just the kodi gui fps,
Also you are not using a video file codec that libvdpau-sunxi supports to run in hardware , thats why the video is software decoded , you should see (HW) instead of (SW) at the end of video decoder line.
Try this file
Code:
http://samplemedia.linaro.org/H264/big_buck_bunny_1080p_H264_AAC_25fps_7200K.MP4
You should see something like ff-264-vdpau(HW) in the video decoder line and cpu usage should be low while playing the file.
Reply


Messages In This Thread
RE: hardware acceleration on allwinner A10/A20 with vdpau and OpenGLES (zero-copy) - by xchetah - 2017-08-17, 21:33
Logout Mark Read Team Forum Stats Members Help
hardware acceleration on allwinner A10/A20 with vdpau and OpenGLES (zero-copy)2