The driver version Linux X64 (AMD64/EM64T) Display Driver Version: 550.54.14 is not letting me use nvenc on my Quadro T400 4GB
This error is appearing in ffmpeg
[2024-02-26 20:08:53.77777] [ERROR] [Decoder] [h264_nvenc @ 0x563ce7a19300] Failed locking bitstream buffer: invalid param (8): [2024-02-26 20:08:53.77792] [ERROR] [Decoder] Error submitting video frame to the encoder
After trying to see what is happening, I found that the driver had a problem, I replaced it with version 550.40.07 and nvenc started working again.
Same here on GTX 1650, roll back to 550.40.07 fixes problem
[h264_nvenc @ 0x5f46b86ecd00] Failed locking bitstream buffer: invalid param (8):
1 Like
amrits
March 11, 2024, 8:54am
3
Hi,
Please help to share exact repro steps to repro issue in-house.
Thanks in advance.
I have the same problem with OBS on Linux (flatpak official version) I have a 1650 too and I get the same error:
[h264_nvenc @ 0x55ae07ff43c0] Failed locking bitstream buffer: invalid param (8):
warning: [NVIDIA NVENC H.264 (FFmpeg) encoder: 'advanced_video_recording'] ffmpeg_video_encode: Error encoding: Argumento inválido
Could it be related to this problem?
https://www.reddit.com/r/obs/comments/1ay3qoa/how_to_fix_nvenc_error_get_encoded_packet/
The error it presents is the same as what was happening on the GTX 16… where the nvenc encode does not work and presents an error, in my case I am trying to reproduce an ffmpeg file to rtmp and hls and the encode does not work
ffmpeg out
-c:v h264_nvenc -aspect 16:9 -r:v 30 -b:v 2200k -maxrate 2700k -bufsize 3100k -profile:v main -preset p4 -level 41 -delay 0 -ar 48000 -b:a 128k -c:a aac -muxdelay 0 -colorspace:v bt709 -color_primaries:v bt709 -color_trc:v bt709 -color_range:v tv -f hls -hls_time 6 -hls_list_size 10 -g 60 -keyint_min 60 -hls_flags second_level_segment_index+append_list+omit_endlist+delete_segments+program_date_time -strftime 1 -hls_segment_filename /usr/share/ffplayout/public/live/stream-%v-%%01d.ts /usr/share/ffplayout/public/live/playlist.m3u8
Rolling back fixed this for me as well.
Could you explain how to perform the rollback please? Using apt-cache policy nvidia-driver-550 only lists two versions 550.54.14-0ubuntu1 (installed) and 550.67-0ubuntu1.22.04.2 (can’t be installed). I’m on Ubuntu 22.04 and having this same bug. I tried installing using the .run file in recovery mode. It failed on creating the kernel module.