Skip to content

soc-qcom-sdm845: Discourage hw video de-/encoders in Gst

Gstreamer enables hw de- and encoding by default for the most common APIs, including V4L2-stateful. Unfortunately the venus driver is still quite unstable, reliably crashing in very common scenarios, triggering apps like Snapshot, Showtime or Tuba to show error messages or not working properly - partly because of non-optimal error-handling.

Until the kernel driver situation improves, set environment variables that demote the decoders to fallbacks in case nothing else is available, and disable the hw-encoders completely as they tend to destabalise the whole system if something goes wrong.


This is a "FOSDEM" MR - i.e. I'd love if we could get this into edge in time for the event :)

Notes:

  1. I'm not sure how to do this reliably on openRC setups - does anyone have a suggestion?
  2. Given that this depends on the kernel driver and can hopefully be dropped in future kernel versios I figured the kernel package would be the most appropriate place to put this - please let me know if you prefer some other place.

Related:


How to test:

  1. mrtest upgrade 6105
  2. mrtest add 6105 -> u -> y
Edited by Robert Mader

Merge request reports

Loading