Integrating Hardware-accelerated Video Decoding with the Display Stack
Talkat Open Source Summit Europe + Embedded Linux Conference Europe 2019 · on Tuesday, 2019-10-29· at 14:25· Forum 2·
summary
Bootlin funds and lands upstream support for the Allwinner VPU, implementing a new cedrus VPU driver plus the V4L2 Request API, VA-API backend and test utility; decoded frames are exported via DMA-BUF with modifiers in a custom tiled layout and imported into the DRM stack using DRM planes to get zero-copy color conversion and scaling. X clients fail: Xv forces copies and sync issues, GL blobs refuse YUV imports, while Kodi + GBM works end-to-end and real-time on 720p.
AI-written summary · about
chapters (13)
- 0:00Introduction
- 1:48Project goals and rant
- 3:49Video decoding basics
- 8:44Linux hardware decoding
- 11:44Integrating video and display
- 13:39Allwinner platform specifics
- 16:46Implementing the pipeline
- 19:46Challenges with X11
- 22:49Software-based workarounds
- 25:30GPU integration failures
- 27:36Wayland considerations
- 29:35Success with Kodi
- 31:06Conclusion and Q&A
related talks
35mSupporting Hardware Codecs in a Linux system
40mDemystifying the Embedded Linux Graphics Stack: An Easy Introduction for Beginners
41mThe State of Hardware Video Codecs in Linux
46mV4L2 Video Decoder/Encoder Development Journey
46mV4L2 Video Decoder/Encoder Development Journey
05mRDK with GStreamer-V4L2 video accelerator and Freedreno graphics overlay
41mThe State of Hardware Video Codecs in Linux
33mStateless V4L2 Video Encoding
