[FFmpeg-trac] #8542(avdevice:reopened): ffmpeg use kmsgrab on wayland not working

FFmpeg trac at avcodec.org
Thu May 7 20:53:44 EEST 2020

#8542: ffmpeg use kmsgrab on wayland not working
             Reporter:               |                    Owner:
  chenjie199234                      |
                 Type:  defect       |                   Status:  reopened
             Priority:  normal       |                Component:  avdevice
              Version:  git-master   |               Resolution:
             Keywords:  kmsgrab      |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  1            |
Changes (by Lynne):

 * analyzed:  0 => 1
 * component:  undetermined => avdevice


 The issue is Sway decides to use the new compressed plane modifiers which
 Intel uses for power savings, however, kmsgrab doesn't yet support
 capturing those, but even if it did, you wouldn't be able to do anything
 with them since neither Vulkan, nor VAAPI, nor OpenCL supports such
 surfaces yet. Vulkan seems to be the closest to supporting those, all we
 need is for Mesa to implement support for that. VAAPI doesn't seem to have
 a patch to support those yet.
 You can patch your sway to avoid using those modifiers for some
 unnoticeable lossless in power savings.
 So, its not our bug for the moment. Once some API supports importing such
 DMABUFs we can change kmsgrab.

Ticket URL: <https://trac.ffmpeg.org/ticket/8542#comment:6>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker

More information about the FFmpeg-trac mailing list