[Cin] Testing Nvidia Nvenc encoding

Terje J. Hanssen terjejhanssen at gmail.com
Sun Dec 29 12:29:47 CET 2024




Den 28.12.2024 21:37, skrev Phyllis Smith:
> Updated nv-codec-headers from 10.0.26.0 to 12.2.72.0 and checked into 
> GIT.  Andrey's builds should be automatically going now for newer O/S 
> package creation.
>
> 550.54.14 is "supposedly" the minimum required driver version for 
> Linux according to the README associated with the release.  And this 
> is the same as what was written for the previous version.  So whatever 
> worked before should still work.  The previous information from a 
> forum post said that the minimum nvidia driver is 520-56-06 BUT I have 
> since reread that and determined that that was November 2022 - so out 
> of date.

"Supported Products" for the latest Linux driver v. 550.142 is available 
here
https://www.nvidia.com/en-us/drivers/details/237853/


>
> On Fri, Dec 27, 2024 at 3:37 PM Andrew Randrianasulu 
> <randrianasulu at gmail.com> wrote:
>
>
>
>     сб, 28 дек. 2024 г., 01:22 Phyllis Smith <phylsmith2017 at gmail.com>:
>
>         Andrew, I am having difficulty interpreting the statement "min
>         driver note".  According to:
>
>         https://forums.developer.nvidia.com/t/h264-nvenc-the-minimum-required-nvidia-driver-for-nvenc-is-520-56-06-or-newer/233144
>
>         the minimum nvidia driver is 520-56-06.
>
>         Is that what you mean should be included in the release notes?
>
>
>
>     I think this is official supported minimum driver version , yes.
>     But in slackware for example you can find older nvidia-legacy
>     driver I used for my older card.
>
>     Remember, NVIDIA, like all other companies, literally in business
>     selling you new hardware! So they "dark pattern" their info for
>     'nudging' users into using new hardware .....
>
>
>
>         On Thu, Dec 26, 2024 at 7:20 PM Andrew Randrianasulu
>         <randrianasulu at gmail.com> wrote:
>
>
>
>             пт, 27 дек. 2024 г., 05:09 Phyllis Smith
>             <phylsmith2017 at gmail.com>:
>
>                 Great so it will be included in the next release.
>                 Thank you very much.
>
>
>             Can you also please copypaste min driver notes into our 
>             release notes so it will be easier for me to track it in
>             case my older gt710 still stuck at older driver version
>             (not a blocker, I surely can swap headers back to 2020
>             version locally).
>
>             Thanks and sorry for relative inactivity. I hope to pick
>             up some steam ..... may he after formal New Year date?
>
>             Have (good) holidays!
>
>
>
>                 On Thu, Dec 26, 2024, 17:10 Terje J. Hanssen
>                 <terjejhanssen at gmail.com> wrote:
>
>
>
>
>                     Den 26.12.2024 23:15, skrev Phyllis Smith:
>>                     Here is the AppImage with the latest nvencoders
>>                     for Nvidia graphics that goes with ffmpeg.
>>                     https://cinelerra-gg.org/download/testing/cin-x86_64_nvencupdate.AppImage
>>                     For comparison, here is the appimage containing
>>                     the original nvencoders from 2020.
>>                     https://cinelerra-gg.org/download/images/CinGG-20241031-x86_64.AppImage
>
>                     I've did a quick test with h64_nvenc.mp4 and
>                     h265_nvenc.mp4 (w/setting format=Not Interlaced)
>                     Both AppImages works with similar fps speeds on my
>                     Nvidia GF GTX 960.
>
>>
>>                     I am not sure if encoding with formats
>>                     h264_nvenc.mp4, h265_nvenc.mp4, or h264_nvenc.qt
>>                     actually work from an AppImage that was created
>>                     on a computer that does not have an Nvidea
>>                     graphics card or its software.  But for some
>>                     reason, I do not think that that matters and it
>>                     should work.
>
>                     Yes, nvenc works (as it correspondingly was
>                     expected to do with onevpl for  Intel qsv/hw).
>
>
>>
>>
>>                     On Thu, Dec 26, 2024 at 2:11 PM Terje J. Hanssen
>>                     <terjejhanssen at gmail.com> wrote:
>>
>>
>>
>>
>>                         Den 24.12.2024 13:29, skrev Terje J. Hanssen:
>>>
>>>
>>>
>>>                         Den 24.12.2024 00:58, skrev Phyllis Smith:
>>>>                         Downloaded latest version of
>>>>                         nv-codec-headers release and built CinGG
>>>>                         with it and no problems here. Unfortunately
>>>>                         the 4 different computers I attempted to
>>>>                         test on did not have the correct Nvidia
>>>>                         hardware or software.  Why? I do not know
>>>>                         but will try one more later.
>>>
>>                         According to the /Readme
>>                         /https://github.com/FFmpeg/nv-codec-headers
>>
>>                             /FFmpeg version of headers required to
>>                             interface with Nvidias codec APIs./
>>                             /Corresponds to Video Codec SDK version
>>                             12.0.16./
>>                             /Minimum required driver versions:/
>>                             /Linux: 550.54.14 or newer/
>>
>>                         As shown in my previous post, the legacy
>>                         (2015) NV-GF GTX 960 runs with the following
>>                         nv driver version on Slowroll:
>>
>>                             Graphics:
>>                               Device-1: Intel HD Graphics 530 driver:
>>                             i915 v: kernel
>>                               Device-2: NVIDIA GM206 [GeForce GTX
>>                             960] driver: nvidia v: 550.135
>>
>>
>>
>>>                         If you want and have a test download, I can
>>>                         give it a try on my legacy GF GTX 960
>>>                         SkyLake workstation, to see if your new
>>>                         AppImage (still) works as previously.
>>>
>>>>
>>>>                         On Sat, Dec 21, 2024 at 4:04 PM Andrew
>>>>                         Randrianasulu <randrianasulu at gmail.com> wrote:
>>>>
>>>>
>>>>
>>>>                             вс, 22 дек. 2024 г., 01:53 Phyllis
>>>>                             Smith <phylsmith2017 at gmail.com>:
>>>>
>>>>                                 Andrew,
>>>>
>>>>                                     most likely our nv headers
>>>>                                     drifted from that
>>>>                                     ffmpeg-7.0/proprietary driver
>>>>                                     assumes at runtime.
>>>>
>>>>                                 I have been wondering about
>>>>                                 nv-codec-headers as we are at:
>>>>                                 https://github.com/FFmpeg/nv-codec-headers/releases/tag/n10.0.26.0
>>>>                                 but I am unsure about updating to:
>>>>                                 https://github.com/FFmpeg/nv-codec-headers/releases/tag/n12.2.72.0
>>>>                                 because if you look at:
>>>>                                 https://github.com/FFmpeg/nv-codec-headers/releases/
>>>>                                 the release versions go from 12.xx
>>>>                                 to 8.x and it is really weird AND
>>>>                                 there is no year on the release
>>>>                                 dates but just day and month.
>>>>                                 Since it is such an important part
>>>>                                 of ffmpeg inside CinGG, I am
>>>>                                 concerned but will at least try the
>>>>                                 12.2.72.0 just to see what it does.
>>>>
>>>>
>>>>                             in theory it should give users of new
>>>>                             nvidia hardware av1 encoding ...... but
>>>>                             not sure how it will work with older
>>>>                             drivers and hardware.
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>                                     you can try to install
>>>>                                     something like nv-codec-headers
>>>>                                     and then add
>>>>
>>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cinelerra-gg.org/pipermail/cin/attachments/20241229/b243ba8a/attachment-0001.htm>


More information about the Cin mailing list