[Cin] Rendering, encoding and decoding with Nvidia
Andrew Randrianasulu
randrianasulu at gmail.com
Tue Nov 14 10:13:35 CET 2023
вт, 14 нояб. 2023 г., 11:08 David Koski via Cin <cin at lists.cinelerra-gg.org
>:
> I've started using CinGG-20230930-x86_64.AppImage and I'm getting the
> hang of the basics. I have gotten my nvidia hardware engaged with
> Cinelerra for encoding but still the rendering is not all that great and
> my CPUs are loaded down. On finding that I need environment variables
> to engage decoding, I thought maybe that is hindering my rendering. So
> with the following setting I started a rendering job:
>
> export CIN_HW_DEV=vdpau
>
> Now I get an error:
>
> recvmsg(22, Failed to open VDPAU backend libvdpau_nvidia.so: cannot open
> shared object file: No such file or directory
>
Are you using libre nouveau driver or proprietary nvidia one?
I think libre driver only can do hw decoding acceleration on GPUs with up
to and including VP5, so around GeForce 750 or so. And even then you need
non-free firmware.
https://nouveau.freedesktop.org/VideoAcceleration.html
I have GF710, and in latest mesa self-compiled as debugoptimized I get some
unfan asserts or even simply black screen.
It works for me in live session with binary driver installed, where I can
use apparently both hw decoder and encoder via nvedec + "cuda" codepath and
nvenc via specialized rendering profile, included with cingg.
I asked on #nouveau IRC channel and sadly encoder reverse engineering is
much harder than I can attempt :( . So I rebooted back into my hdd
installed Slackware with libre driver, in hope to track progress with
reported bugs
https://gitlab.freedesktop.org/mesa/mesa/-/issues/9594
https://gitlab.freedesktop.org/mesa/mesa/-/issues/9582
> libvdpau is installed:
>
> ii libvdpau-va-gl1 0.4.2-1build2:amd64 VDPAU driver with
> OpenGL/VAAPI backend
> ii libvdpau1 1.4-3build2:amd64 Video Decode and
> Presentation API for Unix (libraries)
>
> The files exist:
>
> drwxr-xr-x 21 root root 4096 Nov 1 19:29 /./
> drwxr-xr-x 154 root root 12288 Nov 8 21:08 /etc/
> -rw-r--r-- 1 root root 51 Apr 9 2020 /etc/vdpau_wrapper.cfg
> drwxr-xr-x 14 root root 4096 Mar 8 2023 /usr/
> drwxr-xr-x 118 root root 4096 Nov 9 20:40 /usr/lib/
> drwxr-xr-x 125 root root 122880 Nov 8 21:08 /usr/lib/x86_64-linux-gnu/
> lrwxrwxrwx 1 root root 17 Mar 24 2022
> /usr/lib/x86_64-linux-gnu/libvdpau.so.1 -> libvdpau.so.1.0.0
> -rw-r--r-- 1 root root 18592 Mar 24 2022
> /usr/lib/x86_64-linux-gnu/libvdpau.so.1.0.0
> drwxr-xr-x 2 root root 4096 Sep 30 09:40
> /usr/lib/x86_64-linux-gnu/vdpau/
> lrwxrwxrwx 1 root root 23 Mar 24 2022
> /usr/lib/x86_64-linux-gnu/vdpau/libvdpau_trace.so.1 ->
> libvdpau_trace.so.1.0.0
> -rw-r--r-- 1 root root 59544 Mar 24 2022
> /usr/lib/x86_64-linux-gnu/vdpau/libvdpau_trace.so.1.0.0
> drwxr-xr-x 306 root root 12288 Nov 8 21:08 /usr/share/
> drwxr-xr-x 145 root root 4096 Nov 8 21:07 /usr/share/bug/
> -rwxr-xr-x 1 root root 553 Jan 6 2021 /usr/share/bug/libvdpau1*
> drwxr-xr-x 2302 root root 81920 Nov 8 21:08 /usr/share/doc/
> drwxr-xr-x 2 root root 4096 Jul 27 09:19 /usr/share/doc/libvdpau1/
> -rw-r--r-- 1 root root 1447 Mar 24 2022
> /usr/share/doc/libvdpau1/changelog.Debian.gz
> -rw-r--r-- 1 root root 3208 Jan 6 2021
> /usr/share/doc/libvdpau1/copyright
>
> Regards,
> David Koski
> david at kosmosisland.com
>
> --
> Cin mailing list
> Cin at lists.cinelerra-gg.org
> https://lists.cinelerra-gg.org/mailman/listinfo/cin
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cinelerra-gg.org/pipermail/cin/attachments/20231114/4c399f08/attachment.htm>
More information about the Cin
mailing list