Bug 2131724 - Colour bleeding with certain videos with firefox on rpi4/v3d
Summary: Colour bleeding with certain videos with firefox on rpi4/v3d
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: mesa
Version: 37
Hardware: aarch64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Adam Jackson
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-10-03 13:49 UTC by Sally
Modified: 2022-12-21 01:28 UTC (History)
30 users (show)

Fixed In Version: mesa-22.3.1-1.fc37
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-12-21 01:28:27 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
dmesg logs (593.81 KB, text/plain)
2022-10-03 13:49 UTC, Sally
no flags Details
Screenshot of that lines (387.52 KB, image/png)
2022-10-03 13:50 UTC, Sally
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Mozilla Foundation 1784327 0 P3 ASSIGNED YouTube video color glitches with force-enabled HW WR on Raspberry Pi4 2022-10-04 11:19:34 UTC
freedesktop.org Gitlab 7062 0 None None None 2022-10-04 11:16:35 UTC

Description Sally 2022-10-03 13:49:00 UTC
Created attachment 1915714 [details]
dmesg logs

When I play youtube video or attend a google meeting on firefox, some videos especially which contain red,blue, look strange with vertical color lines.

Currently on kernel-5.19.12-300.fc37.aarch64, On HDMI Monitor, just play any video has a good colorful.
There is no issue with Chromium.
Please check the attachments files.

Thank you.

Comment 1 Sally 2022-10-03 13:50:35 UTC
Created attachment 1915715 [details]
Screenshot of that lines

Comment 2 Peter Robinson 2022-10-04 09:29:07 UTC
For reference this is the Youtube channel: https://www.youtube.com/watch?v=LrXCQsV6xDc

Comment 3 Peter Robinson 2022-10-04 09:38:36 UTC
So adding modprobe.blacklist=v3d to the kernel command line works around this problem but with the obvious performance hit. So it could be either a kernel driver issue or a mesa driver issue.

Comment 4 Peter Robinson 2022-10-04 10:27:07 UTC
This is actually an issue with mesa. Downgrading from mesa 22.2.0-4.fc37 to 22.1.6-1.fc37 makes the problem go away. I'll report this upstream.

Comment 5 Peter Robinson 2022-10-04 10:28:14 UTC
Installed by default for reference:
mesa-dri-drivers-22.2.0-4.fc37.aarch64
mesa-filesystem-22.2.0-4.fc37.aarch64
mesa-libEGL-22.2.0-4.fc37.aarch64
mesa-libgbm-22.2.0-4.fc37.aarch64
mesa-libGL-22.2.0-4.fc37.aarch64
mesa-libglapi-22.2.0-4.fc37.aarch64
mesa-vulkan-drivers-22.2.0-4.fc37.aarch64

Comment 6 Peter Robinson 2022-10-04 11:09:23 UTC
Problem is there with 22.2.0~rc2-1.fc37 the first Fedora build of the 22.2 RCs

Comment 7 Peter Robinson 2022-10-04 11:16:36 UTC
So this is already reported upstream and is being worked upon.

Comment 8 Peter Robinson 2022-10-04 11:19:34 UTC
And also already reported in firefox

Comment 9 Sally 2022-10-09 05:43:27 UTC
I've just tested firefox on updated F37 XFCE, it has no issue.
There is another issue in Workstation, once I do fullscreen with any video, using VLC or a web browser, the monitor starts to mix colors in very strange way, I don't know if that related to the same issue or not. Again, there is no issue with XFCE with this as well.
Another link which can easily to reproduce the issue: https://www.youtube.com/watch?v=AgRY6Jifh20

Thank you Peter,

Comment 10 Peter Robinson 2022-11-09 13:58:13 UTC
This mesa build has a proposed upstream fix. Would be great if people could test and confirm.

https://koji.fedoraproject.org/koji/taskinfo?taskID=93974573

Comment 11 Paul Whalen 2022-11-09 17:00:15 UTC
(In reply to Peter Robinson from comment #10)
> This mesa build has a proposed upstream fix. Would be great if people could
> test and confirm.
> 
> https://koji.fedoraproject.org/koji/taskinfo?taskID=93974573

Tested on the RPi400, no longer seeing the bleeding colours on youtube videos.

Comment 12 Sally 2022-11-09 20:45:54 UTC
(In reply to Peter Robinson from comment #10)
> This mesa build has a proposed upstream fix. Would be great if people could
> test and confirm.
> 
> https://koji.fedoraproject.org/koji/taskinfo?taskID=93974573

Tested on RPi4, colors looks okay, no more bleeding.
Thank you.

Comment 13 Peter Robinson 2022-11-19 21:11:26 UTC
This is now in mesa 22.2.4 which should be in Fedora shortly.

Comment 14 Sally 2022-12-07 07:28:05 UTC
It seems the 22.3 is out, does that carry the fixed? Will it be in F37 as well?
Thank you?

Comment 15 Peter Robinson 2022-12-07 09:01:35 UTC
(In reply to Sally from comment #14)
> It seems the 22.3 is out, does that carry the fixed? Will it be in F37 as
> well?

It was also fixed in 22.2.4 but I'm not sure why a build for that wasn't pushed, either way there will be a build.

Comment 16 Sally 2022-12-18 07:57:50 UTC
Thank you Peter,
By the way the link of your built seems expired already, which I think was very helpful at the moment (Till the official build).

Comment 17 Peter Robinson 2022-12-18 12:31:21 UTC
Pete: can we have a new a release soon, whether it be 22.x or a rebase, both releases have the required fix?

Comment 18 Fedora Update System 2022-12-20 02:42:06 UTC
FEDORA-2022-d91cdfb471 has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2022-d91cdfb471

Comment 19 Sally 2022-12-20 03:02:15 UTC
(In reply to Fedora Update System from comment #18)
> FEDORA-2022-d91cdfb471 has been submitted as an update to Fedora 37.
> https://bodhi.fedoraproject.org/updates/FEDORA-2022-d91cdfb471

That fixed the issue, thank you Peter & Pete.

Comment 20 Fedora Update System 2022-12-21 01:28:27 UTC
FEDORA-2022-d91cdfb471 has been pushed to the Fedora 37 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.