Skip to content
Snippets Groups Projects

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

Merged Robert Mader requested to merge rmader/pmaports:gst-qcom-disable-hw-decoders into master
All threads resolved!

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

Merge request pipeline #214754 passed

Merge request pipeline passed for 6bc98ff4

Approved by

Merged by CaseyCasey 2 months ago (Feb 3, 2025 4:28pm UTC)

Merge details

  • Changes merged into master with 6bc98ff4.
  • Deleted the source branch.
  • Auto-merge enabled

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading