[FFmpeg-trac] #8539(undetermined:new): kmsgrab: Failed to create surface from DRM object: 2 (resource allocation failed)

FFmpeg trac at avcodec.org
Wed Feb 26 04:13:19 EET 2020


#8539: kmsgrab: Failed to create surface from DRM object: 2 (resource allocation
failed)
--------------------------------------+----------------------------------
             Reporter:  hendry        |                     Type:  defect
               Status:  new           |                 Priority:  normal
            Component:  undetermined  |                  Version:  4.2
             Keywords:  kms           |               Blocked By:
             Blocking:                |  Reproduced by developer:  0
Analyzed by developer:  0             |
--------------------------------------+----------------------------------
 kmsgrab is failing. Maybe it's a hardware or driver, I don't know how to
 tell.

 [AVHWFramesContext @ 0x55fe14da8d40] Failed to create surface from DRM
 object: 2 (resource allocation failed).
 [Parsed_hwmap_0 @ 0x55fe14d72cc0] Failed to map frame: -5.
 Error while filtering: Input/output error
 Failed to inject frame into filter network: Input/output error
 Error while processing the decoded data for stream #1:0
 [aac @ 0x55fe14d7fec0] 2 frames left in the queue on closing

 Archlinux user here:

 [hendry at t480s tmp]$ ffmpeg -version
 ffmpeg version n4.2.2 Copyright (c) 2000-2019 the FFmpeg developers
 built with gcc 9.2.1 (Arch Linux 9.2.1+20200130-2) 20200130
 configuration: --prefix=/usr --disable-debug --disable-static --disable-
 stripping --enable-fontconfig --enable-gmp --enable-gnutls --enable-gpl
 --enable-ladspa --enable-libaom --enable-libass --enable-libbluray
 --enable-libdav1d --enable-libdrm --enable-libfreetype --enable-libfribidi
 --enable-libgsm --enable-libiec61883 --enable-libjack --enable-libmfx
 --enable-libmodplug --enable-libmp3lame --enable-libopencore_amrnb
 --enable-libopencore_amrwb --enable-libopenjpeg --enable-libopus --enable-
 libpulse --enable-libsoxr --enable-libspeex --enable-libssh --enable-
 libtheora --enable-libv4l2 --enable-libvidstab --enable-libvorbis
 --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265
 --enable-libxcb --enable-libxml2 --enable-libxvid --enable-nvdec --enable-
 nvenc --enable-omx --enable-shared --enable-version3
 libavutil      56. 31.100 / 56. 31.100
 libavcodec     58. 54.100 / 58. 54.100
 libavformat    58. 29.100 / 58. 29.100
 libavdevice    58.  8.100 / 58.  8.100
 libavfilter     7. 57.100 /  7. 57.100
 libswscale      5.  5.100 /  5.  5.100
 libswresample   3.  5.100 /  3.  5.100
 libpostproc    55.  5.100 / 55.  5.100

 https://github.com/kaihendry/recordmydesktop2.0/issues/4

--
Ticket URL: <https://trac.ffmpeg.org/ticket/8539>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list