Hi,
Looks like CIN_HW_DEV=vdpau failed with my setup. It needs to be
compiled with libva.so.2 support.
Here the logs:

CIN_HW_DEV=vaapi cin
Cinelerra Infinity - built: Apr 30 2019 17:05:16
git://git.cinelerra-gg.org/goodguy/cinelerra.git
(c) 2006-2018 Heroine Virtual Ltd. by Adam Williams
(c) 2007-2018 cin5 derivative by W.P. Morrow aka goodguy
Cinelerra is free software, covered by the GNU General Public License,
and you are welcome to change it and/or distribute copies of it under
certain conditions. There is absolutely no warranty for Cinelerra.

libva info: VA-API version 1.4.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_1_4
libva info: va_openDriver() returns 0
malloc(): invalid next size (unsorted)


Interesting part that vainfo gives very similar info about my system
with vainfo sample in PDF file.

Here is my system:
$vainfo libva info: VA-API version 1.4.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_1_4
libva info: va_openDriver() returns 0
vainfo: VA-API version: 1.4 (libva 2.4.0)
vainfo: Driver version: Intel i965 driver for Intel(R) Ivybridge Mobile - 2.3.0
vainfo: Supported profile and entrypoints
     VAProfileMPEG2Simple            :  VAEntrypointVLD
     VAProfileMPEG2Simple            :  VAEntrypointEncSlice
     VAProfileMPEG2Main              :  VAEntrypointVLD
     VAProfileMPEG2Main              :  VAEntrypointEncSlice
     VAProfileH264ConstrainedBaseline:  VAEntrypointVLD
     VAProfileH264ConstrainedBaseline:  VAEntrypointEncSlice
     VAProfileH264Main               :  VAEntrypointVLD
     VAProfileH264Main               :  VAEntrypointEncSlice
     VAProfileH264High               :  VAEntrypointVLD
     VAProfileH264High               :  VAEntrypointEncSlice
     VAProfileH264StereoHigh         :  VAEntrypointVLD
     VAProfileVC1Simple              :  VAEntrypointVLD
     VAProfileVC1Main                :  VAEntrypointVLD
     VAProfileVC1Advanced            :  VAEntrypointVLD
     VAProfileNone                   :  VAEntrypointVideoProc
     VAProfileJPEGBaseline           :  VAEntrypointVLD

I've made some test with my home PC. It has debian 9 with AMD polaris
GPU (open source driver) and Intel CPU without integrated CPU (Very
old).

I used LIBVA_DRIVER_NAME=radeonsi to enable VAAPI and  CIN_HW_DEV=vaapi
to run Cin-GG.
I tested only a playback function with X11 video driver in settings.
4k video files runs very smooth. So video acceleration works on AMD GPU at last for decoding.
Additional tests needed for encoding.

--
Cin mailing list
[email protected]
https://lists.cinelerra-gg.org/mailman/listinfo/cin

Reply via email to