Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 925436

Summary: media-video/ffmpeg intel QSV does not work
Product: Gentoo Linux Reporter: thezombiehunter
Component: Current packagesAssignee: Gentoo Media-video project <media-video>
Status: RESOLVED UPSTREAM    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description thezombiehunter 2024-02-24 17:13:08 UTC
I last updated my gentoo node 1-2 months ago. Updated yesterday and have been trying to figure out why av1_qsv no longer works on encode.

It's been throwing errors - https://pastebin.com/sYAZ7tGy

emerge info - https://pastebin.com/4Gutqxyr

I tried downgrading the intel media drivers thinking it was an issue with them but that did not fix it.

I tried downgrading ffmpeg from 9999 to 6.0.1 and that did not fix it. Mostly because there are some issues in the ffmpeg master branch right now that cause QSV to not work (or something?).

Then I realized all of the ebuilds for ffmpeg had been updated since my last upgrade (modified). So I compiled the cartwheel version of ffmpeg and that did fix it.

https://github.com/intel/cartwheel-ffmpeg

So something in the current ffmpeg build is blocking av1_qsv encodes with DG2 cards.
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-02-24 17:15:36 UTC
Please always use attachments rather than pastebins, as they expire and/or may not be accessible behind firewalls.

I don't think we apply any patches for QSV in Gentoo, so this is an upstream ffmpeg problem. If there's a patch we can cherry-pick from upstream, we can consider that though.