Closed Bug 1772838 Opened 2 years ago Closed 2 years ago

Hardware video acceleration doesn't work on Intel GPU with Nvidia PRIME enabled

Categories

(Core :: Audio/Video: Playback, defect)

Firefox 103
Unspecified
Linux
defect

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: chriskrause, Unassigned)

References

(Blocks 1 open bug)

Details

User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:103.0) Gecko/20100101 Firefox/103.0

Steps to reproduce:

On Pop OS running in Nvidia Hybrid mode, I tested the new Nightly Firefox patch that enabled VAAPI without disabling the RDD Sandbox.

Actual results:

VAAPI did not work, I tested again without the RDD Sandbox an saw the same thing.

Expected results:

I tested again by switching Pop OS into Intel only Graphics mode and VAAPI worked as expected without having to disable the RDD sandbox. I Tested it again in Hybrid, ensuring that it was in fact running on the Intel GPU during that test, and it still failed.

Something is causing firefox to fail VAAPI encoding just with the presence of an Nvidia GPU with the new update.

I tested Firefox Stable and while it still required the RDD sandbox to be disabled, it worked in both Hybrid (Prime) and Intel only graphics modes.

The Bugbug bot thinks this bug should belong to the 'Core::Audio/Video: Playback' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → Audio/Video: Playback
Product: Firefox → Core
Component: Audio/Video: Playback → General
Component: General → Audio/Video
OS: Unspecified → Linux
Component: Audio/Video → Audio/Video: Playback

Dupe of bug 1771861?

(In reply to Tom Schuster [:evilpie] from comment #2)

Dupe of bug 1771861?

Looks like it. Should be fixed by bug 1773377.

Chris, would you mind trying a test build from bug 1773377 to confirm it fixes your issue? https://firefoxci.taskcluster-artifacts.net/YOZv_wvtSDqpHg9jWg44dg/0/public/build/target.tar.bz2 is the most recent test build for the fix.

Flags: needinfo?(chriskrause)

(In reply to Matthew Gregan [:kinetik] from comment #3)

(In reply to Tom Schuster [:evilpie] from comment #2)

Dupe of bug 1771861?

Looks like it. Should be fixed by bug 1773377.

Chris, would you mind trying a test build from bug 1773377 to confirm it fixes your issue? https://firefoxci.taskcluster-artifacts.net/YOZv_wvtSDqpHg9jWg44dg/0/public/build/target.tar.bz2 is the most recent test build for the fix.

I just tested the newest version of Nightly that supposedly contained the fix from the linked other big report, and video acceleration works again in Hybrid mode, but only with the RDD Sandbox disabled.

Flags: needinfo?(chriskrause)

Ad the RDD sandbox only seem to need to be disabled in Hybrid/Prime mode. Switching to Intel only GPU mode in Pop OS lets it work without disabling the RDD Sandbox, just like before the fix.

This might be bug 1771382.

The severity field is not set for this bug.
:jimm, could you have a look please?

For more information, please visit auto_nag documentation.

Flags: needinfo?(jmathies)

Chris, could you try again? Bug 1771382 landed and should/might have fixed the issue.

Flags: needinfo?(chriskrause)

This was reported as working now in other bugs - IIUC fixed by a combination patches to Firefox and libglvnd.

Status: UNCONFIRMED → RESOLVED
Closed: 2 years ago
Flags: needinfo?(jmathies)
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.