FFmpeg 7.1.1 'Failed to map DRM object'

"Jamenson Espindula" ([email protected] via blfs-support Mailing List) <[email protected]> Sun, 12 Apr 2026 17:10:24 -0300
Newsgroups gmane.linux.lfs.beyond.support
Message-ID <CAOW_YOmSX0OKS-1w9V0_rW406UGJpE57+cR4J=8wdWbXLC45eQ@mail.gmail.com>
This is a multi-part message in MIME format...

------------=_1776024643-1253-23340
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Hi, all.

Operating System: Linux From Scratch 12.4 - System V Edition
Command issued: ffmpeg -f kmsgrab -i - -vf hwdownload,format=3Dbgr0
$(date "+%Y-%m-%d-%H-%M-%S")-traduzindo_po_mode.mp4


Output:

 =3D =3D =3D transcription begins =3D =3D =3D

ffmpeg version 7.1.1 Copyright (c) 2000-2025 the FFmpeg developers

  built with gcc 15.2.0 (GCC)

  configuration: --prefix=3D/usr --enable-gpl --enable-version3
--enable-nonfree --disable-static --enable-shared --disable-debug
--enable-libaom --enable-libass --enable-libfdk-aac
--enable-libfreetype --enable-libmp3lame --enable-libopus
--enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265
--enable-openssl --ignore-tests=3Denhanced-flv-av1
--docdir=3D/usr/share/doc/ffmpeg-7.1.1

  libavutil      59. 39.100 / 59. 39.100

  libavcodec     61. 19.101 / 61. 19.101

  libavformat    61.  7.100 / 61.  7.100

  libavdevice    61.  3.100 / 61.  3.100

  libavfilter    10.  4.100 / 10.  4.100

  libswscale      8.  3.100 /  8.  3.100

  libswresample   5.  3.100 /  5.  3.100

  libpostproc    58.  3.100 / 58.  3.100

[kmsgrab @ 0x55eacc419b00] Using plane 33 to locate framebuffers.

[kmsgrab @ 0x55eacc419b00] Template framebuffer is 109: 1366x768
format 34325258 modifier 0 flags 2.

Input #0, kmsgrab, from 'fd:':

  Duration: N/A, start: 1776022940.349572, bitrate: N/A

  Stream #0:0: Video: wrapped_avframe, drm_prime, 1366x768, 29.92 tbr, 1000=
k tbn

Stream mapping:

  Stream #0:0 -> #0:0 (wrapped_avframe (native) -> h264 (libx264))

[AVHWFramesContext @ 0x55eacc41ab80] Failed to map DRM object 4 to memory: =
19.

[hwdownload @ 0x7fad1c001d80] Failed to download frame: -19.

[vf#0:0 @ 0x55eacc41ec40] Error while filtering: No such device

[vf#0:0 @ 0x55eacc41ec40] Task finished with error code: -19 (No such devic=
e)

[vf#0:0 @ 0x55eacc41ec40] Terminating thread with return code -19 (No
such device)

[vost#0:0/libx264 @ 0x55eacc41de00] Could not open encoder before EOF

[vost#0:0/libx264 @ 0x55eacc41de00] Task finished with error code: -22
(Invalid argument)

[vost#0:0/libx264 @ 0x55eacc41de00] Terminating thread with return
code -22 (Invalid argument)

[out#0/mp4 @ 0x55eacc41d500] Nothing was written into output file,
because at least one of its streams received no packets.

frame=3D    0 fps=3D0.0 q=3D0.0 Lsize=3D       0KiB time=3DN/A bitrate=3DN/=
A speed=3DN/A

Conversion failed!

 =3D =3D =3D transcription ends =3D =3D =3D

Please, could anyone help me to solve that?

Any help and(or) ideas is much appreciated.

Thank you in advance.

Jamenson Ferreira Espindula de Almeida Melo
Jaboat=C3=A3o dos Guararapes, Pernambuco, Brazil
GNU/Linux user #166197; LFS ID 24492
Key fingerprint: 234D 1914 4224 7C53 BD13 6855 2AE0 25C0 08A8 6180

------------=_1776024643-1253-23340
Content-Type: text/plain; charset="UTF-8"
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
MIME-Version: 1.0

-- 
http://lists.linuxfromscratch.org/sympa/info/blfs-support
Unsubscribe: See the above information page

------------=_1776024643-1253-23340--