Opened 4 years ago

Closed 4 years ago

#8539 closed defect (invalid)

kmsgrab: Failed to create surface from DRM object: 2 (resource allocation failed)

Reported by: Kai Hendry Owned by:
Priority: normal Component: undetermined
Version: unspecified Keywords: kmsgrab
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

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@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

Attachments (1)

1582682680.mp4.log.gz (265.3 KB ) - added by Kai Hendry 4 years ago.
Report.txt

Download all attachments as: .zip

Change History (4)

by Kai Hendry, 4 years ago

Attachment: 1582682680.mp4.log.gz added

Report.txt

comment:1 by Carl Eugen Hoyos, 4 years ago

Keywords: kmsgrab added; kms removed
Version: 4.2unspecified

Please test current FFmpeg git head and provide the command line you tested together with the complete, uncut console output in uncompressed form to make this a valid ticket.

comment:2 by Kai Hendry, 4 years ago

yay -S ffmpeg-git

And it seems to work now. hmmwmm....

https://s.natalian.org/2020-02-26/omg-it-works.log

Last edited 4 years ago by Kai Hendry (previous) (diff)

comment:3 by Carl Eugen Hoyos, 4 years ago

Resolution: invalid
Status: newclosed

Thank you for testing!

Note: See TracTickets for help on using tickets.