espindulajamenson

FFmpeg 'Failed to map DRM object' issue

Apr 12th, 2026
44
0
Never
7
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.44 KB | Software | 0 0
  1. ffmpeg started on 2026-04-12 at 17:41:56
  2. Report written to "ffreport.log"
  3. Log level: 56
  4. Command line:
  5. ffmpeg -f kmsgrab -i - -vf "hwdownload,format=bgr0" 2026-04-12-17-41-56-traduzindo_po_mode.mp4
  6. ffmpeg version 7.1.1 Copyright (c) 2000-2025 the FFmpeg developers
  7. built with gcc 15.2.0 (GCC)
  8. configuration: --prefix=/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=enhanced-flv-av1 --docdir=/usr/share/doc/ffmpeg-7.1.1
  9. libavutil 59. 39.100 / 59. 39.100
  10. libavcodec 61. 19.101 / 61. 19.101
  11. libavformat 61. 7.100 / 61. 7.100
  12. libavdevice 61. 3.100 / 61. 3.100
  13. libavfilter 10. 4.100 / 10. 4.100
  14. libswscale 8. 3.100 / 8. 3.100
  15. libswresample 5. 3.100 / 5. 3.100
  16. libpostproc 58. 3.100 / 58. 3.100
  17. Splitting the commandline.
  18. Reading option '-f' ... matched as option 'f' (force container format (auto-detected otherwise)) with argument 'kmsgrab'.
  19. Reading option '-i' ... matched as input url with argument '-'.
  20. Reading option '-vf' ... matched as option 'vf' (alias for -filter:v (apply filters to video streams)) with argument 'hwdownload,format=bgr0'.
  21. Reading option '2026-04-12-17-41-56-traduzindo_po_mode.mp4' ... matched as output url.
  22. Finished splitting the commandline.
  23. Parsing a group of options: global .
  24. Successfully parsed a group of options.
  25. Parsing a group of options: input url -.
  26. Applying option f (force container format (auto-detected otherwise)) with argument kmsgrab.
  27. Successfully parsed a group of options.
  28. Opening an input file: -.
  29. [AVHWDeviceContext @ 0x560bb992a3c0] Opened DRM device /dev/dri/card0: driver i915 version 1.6.0.
  30. [kmsgrab @ 0x560bb9929dc0] Plane 33: CRTC 49 FB 109.
  31. [kmsgrab @ 0x560bb9929dc0] Using plane 33 to locate framebuffers.
  32. [kmsgrab @ 0x560bb9929dc0] Template framebuffer is 109: 1366x768 format 34325258 modifier 0 flags 2.
  33. [kmsgrab @ 0x560bb9929dc0] Format is bgr0, from DRM format 34325258 modifier 0.
  34. [kmsgrab @ 0x560bb9929dc0] All info found
  35. [kmsgrab @ 0x560bb9929dc0] rfps: 29.250000 0.017221
  36. [kmsgrab @ 0x560bb9929dc0] rfps: 29.333333 0.013265
  37. [kmsgrab @ 0x560bb9929dc0] rfps: 29.333333 0.013265
  38. [kmsgrab @ 0x560bb9929dc0] rfps: 29.416667 0.009825
  39. [kmsgrab @ 0x560bb9929dc0] rfps: 29.500000 0.006900
  40. [kmsgrab @ 0x560bb9929dc0] rfps: 29.500000 0.006900
  41. [kmsgrab @ 0x560bb9929dc0] rfps: 29.583333 0.004491
  42. [kmsgrab @ 0x560bb9929dc0] rfps: 29.666667 0.002597
  43. [kmsgrab @ 0x560bb9929dc0] rfps: 29.666667 0.002597
  44. [kmsgrab @ 0x560bb9929dc0] rfps: 29.750000 0.001218
  45. [kmsgrab @ 0x560bb9929dc0] rfps: 29.833333 0.000355
  46. [kmsgrab @ 0x560bb9929dc0] rfps: 29.833333 0.000355
  47. [kmsgrab @ 0x560bb9929dc0] rfps: 29.916667 0.000008
  48. [kmsgrab @ 0x560bb9929dc0] rfps: 29.916667 0.000008
  49. [kmsgrab @ 0x560bb9929dc0] rfps: 30.000000 0.000176
  50. [kmsgrab @ 0x560bb9929dc0] rfps: 30.000000 0.000176
  51. [kmsgrab @ 0x560bb9929dc0] rfps: 60.000000 0.000703
  52. [kmsgrab @ 0x560bb9929dc0] rfps: 60.000000 0.000703
  53. [kmsgrab @ 0x560bb9929dc0] rfps: 120.000000 0.002813
  54. [kmsgrab @ 0x560bb9929dc0] rfps: 120.000000 0.002813
  55. [kmsgrab @ 0x560bb9929dc0] rfps: 240.000000 0.011253
  56. [kmsgrab @ 0x560bb9929dc0] rfps: 29.970030 0.000056
  57. [kmsgrab @ 0x560bb9929dc0] rfps: 29.970030 0.000056
  58. [kmsgrab @ 0x560bb9929dc0] rfps: 59.940060 0.000224
  59. [kmsgrab @ 0x560bb9929dc0] rfps: 59.940060 0.000224
  60. [kmsgrab @ 0x560bb9929dc0] stream 0: start_time: 1776026516.759397 duration: NOPTS
  61. [kmsgrab @ 0x560bb9929dc0] format: start_time: 1776026516.759397 duration: NOPTS (estimate from bit rate) bitrate=0 kb/s
  62. Input #0, kmsgrab, from 'fd:':
  63. Duration: N/A, start: 1776026516.759397, bitrate: N/A
  64. Stream #0:0, 21, 1/1000000: Video: wrapped_avframe, drm_prime, 1366x768, 29.92 tbr, 1000k tbn
  65. Successfully opened the file.
  66. Parsing a group of options: output url 2026-04-12-17-41-56-traduzindo_po_mode.mp4.
  67. Applying option vf (alias for -filter:v (apply filters to video streams)) with argument hwdownload,format=bgr0.
  68. Parsing stream specifier: v
  69. Parsed media type: video; remainder:
  70. Successfully parsed a group of options.
  71. Opening an output file: 2026-04-12-17-41-56-traduzindo_po_mode.mp4.
  72. [out#0/mp4 @ 0x560bb992e9c0] No explicit maps, mapping streams automatically...
  73. [vost#0:0/libx264 @ 0x560bb992f2c0] Created video stream from input stream 0:0
  74. [AVFilterGraph @ 0x560bb99301c0] Setting 'pix_fmts' to value 'bgr0'
  75. [file @ 0x560bb9939cc0] Setting default whitelist 'file,crypto,data'
  76. Successfully opened the file.
  77. Stream mapping:
  78. Stream #0:0 -> #0:0 (wrapped_avframe (native) -> h264 (libx264))
  79. [vost#0:0/libx264 @ 0x560bb992f2c0] Starting thread...
  80. [vf#0:0 @ 0x560bb9930100] Starting thread...
  81. [vist#0:0/wrapped_avframe @ 0x560bb992e7c0] [dec:wrapped_avframe @ 0x560bb9938900] Starting thread...
  82. [in#0/kmsgrab @ 0x560bb9929b00] Starting thread...
  83. [AVFilterGraph @ 0x7f6590001080] Setting 'pix_fmts' to value 'bgr0'
  84. detected 4 logical cores
  85. [graph -1 input from stream 0:0 @ 0x7f65900024c0] Setting 'video_size' to value '1366x768'
  86. [graph -1 input from stream 0:0 @ 0x7f65900024c0] Setting 'pix_fmt' to value '178'
  87. [graph -1 input from stream 0:0 @ 0x7f65900024c0] Setting 'time_base' to value '1/1000000'
  88. [graph -1 input from stream 0:0 @ 0x7f65900024c0] Setting 'pixel_aspect' to value '0/1'
  89. [graph -1 input from stream 0:0 @ 0x7f65900024c0] Setting 'colorspace' to value '2'
  90. [graph -1 input from stream 0:0 @ 0x7f65900024c0] Setting 'range' to value '0'
  91. [graph -1 input from stream 0:0 @ 0x7f65900024c0] Setting 'frame_rate' to value '359/12'
  92. [graph -1 input from stream 0:0 @ 0x7f65900024c0] w:1366 h:768 pixfmt:drm_prime tb:1/1000000 fr:359/12 sar:0/1 csp:unknown range:unknown
  93. [format @ 0x7f65900030c0] Setting 'pix_fmts' to value 'yuv420p|yuvj420p|yuv422p|yuvj422p|yuv444p|yuvj444p|nv12|nv16|nv21|yuv420p10le|yuv422p10le|yuv444p10le|nv20le|gray|gray10le'
  94. [format @ 0x7f65900030c0] Setting 'color_ranges' to value 'tv|pc'
  95. [auto_scale_0 @ 0x7f6590004980] w:iw h:ih flags:'' interl:0
  96. [format @ 0x7f65900030c0] auto-inserting filter 'auto_scale_0' between the filter 'Parsed_format_1' and the filter 'format'
  97. [AVFilterGraph @ 0x7f6590001080] query_formats: 5 queried, 9 merged, 3 already done, 0 delayed
  98. [auto_scale_0 @ 0x7f6590004980] picking yuv444p out of 14 ref:bgr0 alpha:0
  99. [auto_scale_0 @ 0x7f6590004980] w:1366 h:768 fmt:bgr0 csp:gbr range:pc sar:0/1 -> w:1366 h:768 fmt:yuv444p csp:unknown range:tv sar:0/1 flags:0x00000004
  100. [auto_scale_0 @ 0x7f6590004980] [framesync @ 0x7f6590004aa8] Selected 1/1000000 time base
  101. [auto_scale_0 @ 0x7f6590004980] [framesync @ 0x7f6590004aa8] Sync level 1
  102. [graph -1 input from stream 0:0 @ 0x7f65900024c0] video frame properties congruent with link at pts_time: 0
  103. [AVHWFramesContext @ 0x560bb992c080] Failed to map DRM object 5 to memory: 19.
  104. [hwdownload @ 0x7f6590001d80] Failed to download frame: -19.
  105. [vf#0:0 @ 0x560bb9930100] Error while filtering: No such device
  106. [vf#0:0 @ 0x560bb9930100] Task finished with error code: -19 (No such device)
  107. [vf#0:0 @ 0x560bb9930100] Terminating thread with return code -19 (No such device)
  108. [vost#0:0/libx264 @ 0x560bb992f2c0] Encoder thread received EOF
  109. [vist#0:0/wrapped_avframe @ 0x560bb992e7c0] [dec:wrapped_avframe @ 0x560bb9938900] Decoder returned EOF, finishing
  110. [vost#0:0/libx264 @ 0x560bb992f2c0] Could not open encoder before EOF
  111. [vist#0:0/wrapped_avframe @ 0x560bb992e7c0] [dec:wrapped_avframe @ 0x560bb9938900] Terminating thread with return code 0 (success)
  112. [vist#0:0/wrapped_avframe @ 0x560bb992e7c0] All consumers of this stream are done
  113. [in#0/kmsgrab @ 0x560bb9929b00] All consumers are done
  114. [in#0/kmsgrab @ 0x560bb9929b00] Terminating thread with return code 0 (success)
  115. [vost#0:0/libx264 @ 0x560bb992f2c0] Task finished with error code: -22 (Invalid argument)
  116. [vost#0:0/libx264 @ 0x560bb992f2c0] Terminating thread with return code -22 (Invalid argument)
  117. [out#0/mp4 @ 0x560bb992e9c0] Nothing was written into output file, because at least one of its streams received no packets.
  118. frame= 0 fps=0.0 q=0.0 Lsize= 0KiB time=N/A bitrate=N/A speed=N/A
  119. [AVIOContext @ 0x560bb9939e40] Statistics: 0 bytes written, 0 seeks, 0 writeouts
  120. [in#0/kmsgrab @ 0x560bb9929b00] Input file #0 (fd:):
  121. [in#0/kmsgrab @ 0x560bb9929b00] Input stream #0:0 (video): 19 packets read (8360 bytes); 10 frames decoded; 0 decode errors;
  122. [in#0/kmsgrab @ 0x560bb9929b00] Total: 19 packets (8360 bytes) demuxed
  123. Conversion failed!
  124.  
Advertisement
Comments
  • User was banned
  • User was banned
  • User was banned
  • User was banned
  • User was banned
  • User was banned
  • User was banned
Add Comment
Please, Sign In to add comment