You are not logged in.

#1 2026-08-15 12:06:40

Jodi42
Member
From: India
Registered: 2025-06-09
Posts: 112

[solved] ffmpeg update breaks nvidia api dependency 13.0

$ pacman -Qi ffmpeg | grep -E 'Name|Version|Install Date'          
Name            : ffmpeg
Version         : 2:9.0.1-1
Install Date    : Fri 14 Aug 2026 04:27:07 AM IST

$ nvidia-smi
Sat Aug 15 17:35:01 2026       
+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 580.178.04             Driver Version: 580.178.04     CUDA Version: 13.0     |
+-----------------------------------------+------------------------+----------------------+
| GPU  Name                 Persistence-M | Bus-Id          Disp.A | Volatile Uncorr. ECC |
| Fan  Temp   Perf          Pwr:Usage/Cap |           Memory-Usage | GPU-Util  Compute M. |
|                                         |                        |               MIG M. |
|=========================================+========================+======================|
|   0  NVIDIA GeForce RTX 3070 ...    On  |   00000000:01:00.0  On |                  N/A |
| N/A   59C    P8             16W /   80W |     326MiB /   8192MiB |      7%      Default |
|                                         |                        |                  N/A |
+-----------------------------------------+------------------------+----------------------+

+-----------------------------------------------------------------------------------------+
| Processes:                                                                              |
|  GPU   GI   CI              PID   Type   Process name                        GPU Memory |
|        ID   ID                                                               Usage      |
|=========================================================================================|
|    0   N/A  N/A            1302      G   /usr/lib/Xorg                           227MiB |
|    0   N/A  N/A            5409      G   alacritty                                10MiB |
|    0   N/A  N/A            6541      G   ...rack-uuid=3190708988185955192         57MiB |
+-----------------------------------------------------------------------------------------+

After this update any conversion involving nvenc throws this error on ffmpeg

[hevc_nvenc @ 0x55695363abc0] Driver does not support the required nvenc API version. Required: 13.1 Found: 13.0
[hevc_nvenc @ 0x55695363abc0] The minimum required Nvidia driver for nvenc is 610.00 or newer
[vost#0:0/hevc_nvenc @ 0x55695367b0c0] [enc:hevc_nvenc @ 0x55695366e280] Error while opening encoder - maybe incorrect parameters such as bit_rate, rate, width or height.
[vf#0:0 @ 0x55695363af80] Error sending frames to consumers: Function not implemented
[vf#0:0 @ 0x55695363af80] Task finished with error code: -38 (Function not implemented)
[vf#0:0 @ 0x55695363af80] Terminating thread with return code -38 (Function not implemented)
[vost#0:0/hevc_nvenc @ 0x55695367b0c0] [enc:hevc_nvenc @ 0x55695366e280] Could not open encoder before EOF
[vost#0:0/hevc_nvenc @ 0x55695367b0c0] Task finished with error code: -22 (Invalid argument)
[vost#0:0/hevc_nvenc @ 0x55695367b0c0] Terminating thread with return code -22 (Invalid argument)
[out#0/matroska @ 0x556953638880] Nothing was written into output file, because at least one of its streams received no packets.

I am using AUR nvidia driver

 pacman -Qi nvidia | grep -E 'Name|Version|Install Date'
Name            : nvidia-580xx-dkms
Version         : 580.178.04-1
Install Date    : Thu 13 Aug 2026 08:47:33 PM IST

Last edited by Jodi42 (Yesterday 13:35:15)

Offline

#2 2026-08-15 12:16:29

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,332

Re: [solved] ffmpeg update breaks nvidia api dependency 13.0

NVIDIA GeForce RTX 3070

That card is from the ampere family which is supported by the nvidia-open driver.

I am using AUR nvidia driver

Why ?


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#3 2026-08-15 19:09:03

Jodi42
Member
From: India
Registered: 2025-06-09
Posts: 112

Re: [solved] ffmpeg update breaks nvidia api dependency 13.0

Lone_Wolf wrote:

Why ?

My laptop hp omen was having sleep/suspend issues with drivers from official pacman repo. So by recommendation of @seth in this forum I switched to this aur driver and those issues are gone.

Offline

#4 2026-08-15 19:41:09

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,435

Re: [solved] ffmpeg update breaks nvidia api dependency 13.0

You could test whether those issues remain.
The alternative would be to pin ffmepg and wait and hope that a 580xx update provides nvenc 13.1 (but that's not a longterm strategy) or lose nvenc support.

Offline

#5 2026-08-15 23:12:16

Jodi42
Member
From: India
Registered: 2025-06-09
Posts: 112

Re: [solved] ffmpeg update breaks nvidia api dependency 13.0

seth wrote:

The alternative would be to pin ffmepg and wait

What do you mean by pin ffmpeg. Is there any way to downgrade ffmpeg. I already cleaned cache so I don't have any copy of older version.

Offline

#6 2026-08-15 23:14:40

Jodi42
Member
From: India
Registered: 2025-06-09
Posts: 112

Re: [solved] ffmpeg update breaks nvidia api dependency 13.0

What are the chances that an update will drop for this problem

Offline

#7 2026-08-16 00:00:41

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,435

Re: [solved] ffmpeg update breaks nvidia api dependency 13.0

https://wiki.archlinux.org/title/Arch_Linux_Archive
"Prediction is very difficult, especially if it's about the future" - but it's a minor version update and the driver is still maintained.

Offline

#8 2026-08-17 07:07:34

kokoko3k
Member
Registered: 2008-11-14
Posts: 2,467

Re: [solved] ffmpeg update breaks nvidia api dependency 13.0

I've still to update and I'll face the issue on my 1030.

Maybe it's worth considering building and keeping a local old ffmpeg just for the nvenc encoding task.


Help me to improve ssh-rdp !
Retroarch User? Try my koko-aio shader !

Offline

#9 Yesterday 13:34:40

Jodi42
Member
From: India
Registered: 2025-06-09
Posts: 112

Re: [solved] ffmpeg update breaks nvidia api dependency 13.0

ffmpeg version 2:9.0-5 works fine and I am sticking to it

sudo pacman -U https://archive.archlinux.org/packages/f/ffmpeg/ffmpeg-2%3A9.0-5-x86_64.pkg.tar.zst

This command installed the copy without any hassle

Offline

#10 Yesterday 15:52:11

kokoko3k
Member
Registered: 2008-11-14
Posts: 2,467

Re: [solved] ffmpeg update breaks nvidia api dependency 13.0

It will break, sooner or later, either because libs it relies on change or because other packages will require an updated ffmpeg.

My advice is to grab the old PKGBUILD to compile it locally and so have 2 ffmpeg  copies.

Last edited by kokoko3k (Yesterday 15:53:58)


Help me to improve ssh-rdp !
Retroarch User? Try my koko-aio shader !

Offline

#11 Yesterday 17:40:27

tethys
Member
Registered: 2019-08-13
Posts: 177

Re: [solved] ffmpeg update breaks nvidia api dependency 13.0

kokoko3k wrote:

My advice is to grab the old PKGBUILD to compile it locally and so have 2 ffmpeg  copies.

This will also break in time as the large number of dependencies of ffmpeg will change version.

A valid solution, which I just tested, because I am also affected by this, is to download from here the static version 8.1 of ffmpeg, store it locally, and use that for encoding (this is just one file!).

Offline

#12 Yesterday 17:46:21

raggerv8
Member
From: Sweden
Registered: 2010-07-01
Posts: 123
Website

Re: [solved] ffmpeg update breaks nvidia api dependency 13.0

Why is it solved in the title? The “solution” is to downgrade ffmpeg according to OP?


Brottweiler at #archlinux

Use IRC and Mumble for online communication!

Offline

#13 Yesterday 19:43:15

raggerv8
Member
From: Sweden
Registered: 2010-07-01
Posts: 123
Website

Re: [solved] ffmpeg update breaks nvidia api dependency 13.0

What I've run into is obs-studio not working with ffmpeg as well as Audacity not able to find ffmpeg. Even when I manually locate the libavformat.so it seems to fail to use it. Downgrading ffmpeg seemed to make no difference but at least OBS works with NVENC if I downgrade that to 32.2.1. But Audacity won't find ffmpeg. Not sure if that's related though, just mentioning it.


Brottweiler at #archlinux

Use IRC and Mumble for online communication!

Offline

Board footer

Powered by FluxBB