Closed Bug 1792429 Opened 2 years ago Closed 1 year ago

Wrong colors in video playback (nouveau NVE4, Mesa 22.2.0, Xfce, Fedora): Fixed in Mesa 22.2.3.

Categories

(Core :: Graphics, defect, P3)

Firefox 104
x86_64
Linux
defect

Tracking

()

RESOLVED MOVED

People

(Reporter: eric.pouech, Unassigned)

References

(Blocks 1 open bug)

Details

(Keywords: correctness)

Attachments

(2 files)

Attached image bugvideofed37.png

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

Steps to reproduce:

playback any video
this happened after an upgrade from fedora36 to fedora37

Actual results:

wrong colors (see attached screen copy)
miniature's colors look correct, when playback are wrong

Expected results:

no wild colors

Note: stems from fedora downstream bug report https://bugzilla.redhat.com/show_bug.cgi?id=2129624

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

Component: Untriaged → Graphics
Product: Firefox → Core

Hi eric.pouech, thank you for reporting. Can you attach about:support to this bug?

Flags: needinfo?(eric.pouech)
Blocks: wr-linux

as requested, the about:support page with configuration when playback is with wrong colors

Flags: needinfo?(eric.pouech)

Thanks for the report!
Workaround: Disable hardware rendering by settting layers.acceleration.disabled to true on about:config and restart Firefox.

This could be a bug in Mesa 22.2. On Raspberry Pi, I saw pink videos as well:
According to this comment, this Mesa commit caused bug 1784327.

Keywords: correctness
OS: Unspecified → Linux
Hardware: Unspecified → x86_64
See Also: → 1784327
Summary: Wrong colors in video playback → Wrong colors in video playback (nouveau NVE4, Mesa 22.2.0, Xfce, Fedora)

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

For more information, please visit auto_nag documentation.

Flags: needinfo?(bhood)

Sotaro, I know Linux isn't your forte, but could you pick this one up and manage the routing? Perhaps somebody else more expert in Linux (Robert Mader?) could help out.

Severity: -- → S3
Flags: needinfo?(bhood) → needinfo?(sotaro.ikeda.g)
Priority: -- → P3

FWIW, there's nothing actionable from the FF side - the only thing we can do is disabling HW-WR again on affected devices. I'd suggest to sit this one out until the Mesa devs have figured out a patch. Most users with affected hardware use stable distros with older Mesa where we don't enable HW-WR yet, so I don't expect too many duplicate bug reports.

Edit: err, with affected hardware I was actually thinking about the Raspberry Pi - there of course may be more Nvidia devices with nouveau drivers. Still, this appears to be a Mesa/NIR bug, so pressure should be on them.

Thanks, Robert. ;)

(In reply to Robert Mader [:rmader] from comment #7)

FWIW, there's nothing actionable from the FF side - the only thing we can do is disabling HW-WR again on affected devices. I'd suggest to sit this one out until the Mesa devs have figured out a patch. Most users with affected hardware use stable distros with older Mesa where we don't enable HW-WR yet, so I don't expect too many duplicate bug reports.

Edit: err, with affected hardware I was actually thinking about the Raspberry Pi - there of course may be more Nvidia devices with nouveau drivers. Still, this appears to be a Mesa/NIR bug, so pressure should be on them.

If that means falling back to software webrender rather than no acceleration at all, then I would suggest that is no-op, since performance becomes awful (and AFAIK, for a while now Firefox doesn't allow disabling acceleration/webrender completely, it's either hardware acceleration or software acceleration). Unless there is a way to force enable acceleration.

Flags: needinfo?(sotaro.ikeda.g)
Status: UNCONFIRMED → RESOLVED
Closed: 1 year ago
Resolution: --- → MOVED
Summary: Wrong colors in video playback (nouveau NVE4, Mesa 22.2.0, Xfce, Fedora) → Wrong colors in video playback (nouveau NVE4, Mesa 22.2.0, Xfce, Fedora): Fixed in Mesa 22.2.3.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: