Closed Bug 1744458 Opened 2 years ago Closed 2 years ago

Incorrect black level when decoding video with VAAPI

Categories

(Core :: Widget: Gtk, defect)

Firefox 94
x86_64
Linux
defect

Tracking

()

RESOLVED DUPLICATE of bug 1726186

People

(Reporter: hitoprl, Unassigned)

Details

Attachments

(1 file)

Attached image side-by-side.jpg

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

Steps to reproduce:

I configured vaapi in my system on an Intel card (i7-9750H) and enabled video acceleration on firefox by setting media.ffmpeg.vaapi.enabled to true and media.ffvpx.enabled to false. I verified that hardware acceleration was being used with the intel_gpu_top command.
My system: Manjaro linux, Firefox 94.0.2, GNOME 41.1, Wayland.

Actual results:

Video decoding works, but black levels are wrong. Pure black appears as dark gray. See attachment file, left side is decoded with software, right side is decoded with vaapi. I have also checked other applications that use vaapi and it appears that firefox is the only one that shows this behavior.

Expected results:

Pure black should appear as pure black.

The Bugbug bot thinks this bug should belong to the 'Core::Widget: Gtk' component, and is moving the bug to that component. Please revert this change in case you think the bot is wrong.

Component: Untriaged → Widget: Gtk
Product: Firefox → Core

Thanks for the report! This has been fixed by bug 1726186 and bug 1743577 in 96 (https://nightly.mozilla.org).

Status: UNCONFIRMED → RESOLVED
Closed: 2 years ago
OS: Unspecified → Linux
Hardware: Unspecified → x86_64
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: