Launchpad has imported 25 comments from the remote bug at
https://bugzilla.mozilla.org/show_bug.cgi?id=1714511.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.

------------------------------------------------------------------------
On 2021-06-04T08:20:32+00:00 Walter ZAMBOTTI wrote:

Created attachment 9225141
Firefox 89.0 black video artifacts.png

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

Steps to reproduce:

Updated to 89.0


Actual results:

Playing any video video content which contains black causes red and blue
artifacts in where the lack should be.


Expected results:

Expect to have seen black instead of red and blue.  A picture/screenshot
is worth a thousand words and is attached.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1930982/comments/0

------------------------------------------------------------------------
On 2021-06-04T08:33:53+00:00 Walter ZAMBOTTI wrote:

Name    Firefox
Version         89.0
Build ID        20210527174632
Distribution ID         canonical
User Agent      Mozilla/5.0 (X11; Ubuntu; Linux aarch64; rv:89.0) 
Gecko/20100101 Firefox/89.0
OS      Linux 4.9.241-77 #1 SMP PREEMPT Mon Mar 29 23:04:14 -03 2021

Reply at:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1930982/comments/1

------------------------------------------------------------------------
On 2021-06-04T09:18:15+00:00 Release-mgmt-account-bot wrote:

The [Bugbug](https://github.com/mozilla/bugbug/) bot thinks this bug
should belong to the 'Core::Audio/Video: Playback' component, and is
moving the bug to that component. Please revert this change in case you
think the bot is wrong.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1930982/comments/2

------------------------------------------------------------------------
On 2021-06-06T20:53:43+00:00 Conrad-w wrote:

Created attachment 9225490
firefox_video.png

I'm also having this issue, also on aarch64, a Pinebook Pro:

I'm seeing RPi users with a similar issue.

Name    Firefox
Version         89.0
Build ID        20210602080605
Distribution ID         manjaro
User Agent      Mozilla/5.0 (X11; Linux aarch64; rv:89.0) Gecko/20100101 
Firefox/89.0
OS      Linux 5.12.9-1-MANJARO-ARM #1 SMP Thu Jun 3 08:06:55 UTC 2021

Reply at:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1930982/comments/7

------------------------------------------------------------------------
On 2021-06-06T20:54:47+00:00 Conrad-w wrote:

Created attachment 9225491
about_support_raw.json

Here's my about:support as raw json.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1930982/comments/8

------------------------------------------------------------------------
On 2021-06-06T21:05:14+00:00 Conrad-w wrote:

Disabling WebRender as suggested here gets rid of the artifacting, but
presumably this is still a problem.

https://support.mozilla.org/en-US/questions/1338832

"about:config => gfx.webrender.force-disabled = true"

Reply at:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1930982/comments/9

------------------------------------------------------------------------
On 2021-06-06T21:06:58+00:00 Conrad-w wrote:

Err to be perfectly clear, disabling WebRender, and then restarting
Firefox fixed the issue, in that order.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1930982/comments/10

------------------------------------------------------------------------
On 2021-06-07T16:29:49+00:00 Alwu wrote:

Per comment6, this seems related with Graphic.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1930982/comments/11

------------------------------------------------------------------------
On 2021-06-09T11:32:14+00:00 Jnicol-x wrote:

Yep, seems like an issue with software webrender playing videos on ARM
Linux.

See also bug 1714739 (probably a dup of this)

Sotaro, any ideas?

Reply at:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1930982/comments/12

------------------------------------------------------------------------
On 2021-06-09T11:33:03+00:00 Jnicol-x wrote:

*** Bug 1714739 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1930982/comments/13

------------------------------------------------------------------------
On 2021-06-09T11:36:06+00:00 Jnicol-x wrote:

Walter, Conrad, does this occur on other video sites too, or just
youtube? And is it every video on youtube (Perhaps it only affects
certain video formats)?

Reply at:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1930982/comments/14

------------------------------------------------------------------------
On 2021-06-09T12:32:58+00:00 Conrad-w wrote:

Jamie, I can confirm it happens on other sites, it also happens
regardless of the codec as far as I can tell - normally I have
everything but avc1/h264 disabled on the device in about:config just due
to it being kinder on battery life, but I re-enabled vp9 (and ensured
that youtube, in this case, was serving vp9) and it has the same issue.
Please let me know if there's anything else you'd like me to check.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1930982/comments/15

------------------------------------------------------------------------
On 2021-06-10T13:03:50+00:00 Walter ZAMBOTTI wrote:

Jamie Nicol asked :

Walter, Conrad, does this occur on other video sites too, or just
youtube? And is it every video on youtube (Perhaps it only affects
certain video formats)?

It appears to be happening on all sites that contain videos even video
adds!

Reply at:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1930982/comments/16

------------------------------------------------------------------------
On 2021-06-10T13:12:21+00:00 Jmuizelaar wrote:

Lee, it looks like there might be an issue with our YUV conversion code
on ARM. Any guesses what that might be?

Reply at:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1930982/comments/17

------------------------------------------------------------------------
On 2021-06-10T13:20:35+00:00 Jmuizelaar wrote:

Another thing to try would be enabling hw-wr. You should be able to do
that by setting gfx.webrender.all=true and unsetting gfx.webrender
.force-disabled. I expect this will improve performance, battery life
and remove the artifacts.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1930982/comments/18

------------------------------------------------------------------------
On 2021-06-10T14:42:04+00:00 Conrad-w wrote:

Created attachment 9226348
webrender_all_true_force_disable_false.png

Unfortunately no luck there, that seems to have caused Firefox to
suddenly come to life with creativity/inspiration for the visual arts.

I am running the "bleeding edge stable" of the Panfrost driver with
OpenGL 3.3 enabled (I believe the latter part specifically is
experimental); no idea if that has any bearing on this but I'll disable
that later and see if that makes any difference. Appreciate the
suggestions (and possible hints at improved power consumpiton in the
future on aarch64/in general by default).

Cheers, and again if there's anything else I can test I'd be happy to
help.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1930982/comments/19

------------------------------------------------------------------------
On 2021-06-10T14:44:45+00:00 Conrad-w wrote:

These new artifacts with gfx.webrender.all=true and gfx.webrender.force-
disabled=false occurred with both my compositor running and not (still
using X11).

Reply at:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1930982/comments/20

------------------------------------------------------------------------
On 2021-06-10T21:18:52+00:00 Jmuizelaar wrote:

Ok yeah, those new artifacts could be panfrost bugs. They're probably
worth reporting to upstream mesa.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1930982/comments/21

------------------------------------------------------------------------
On 2021-06-10T21:22:21+00:00 Lsalzman wrote:

Can you attach your "about:buildconfig" so we can see what compiler
setup you built Firefox with?

Reply at:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1930982/comments/22

------------------------------------------------------------------------
On 2021-06-11T02:35:04+00:00 Walter ZAMBOTTI wrote:

(In reply to Jeff Muizelaar [:jrmuizel] from comment #17)
> Ok yeah, those new artifacts could be panfrost bugs. They're probably worth 
> reporting to upstream mesa.

They could be panfrost issues but then we need to explain why the the
previous version of Firefox is working fine with the same panfrost
drivers.

In addition I have two ARM Linux systems.  One is 18.04 LTS X11 the
other is 20.04 PANFROST.

So whether there is panfrost or not the problem still exists.

I think we can safely discount PANFROST at this time.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1930982/comments/23

------------------------------------------------------------------------
On 2021-06-11T06:47:12+00:00 Sotaro-ikeda-g wrote:

(In reply to Jamie Nicol [:jnicol] from comment #8)
> Yep, seems like an issue with software webrender playing videos on ARM Linux.
> 
> See also bug 1714739 (probably a dup of this)
> 
> Sotaro, any ideas?

I could reproduce the problem with sw-wr on ARM64 Win10. Then it seems
arm specific problem.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1930982/comments/24

------------------------------------------------------------------------
On 2021-06-12T00:18:25+00:00 Conrad-w wrote:

Created attachment 9226630
about_buildconfig.html

Re: mesa, I can confirm that my mesa version did not change between
firefox versions. I tried playing around with downgrading things but
didn't have any luck.

Here's my about:buildconfig, wasn't sure how to format so just saved the
html.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1930982/comments/25

------------------------------------------------------------------------
On 2021-06-13T19:42:05+00:00 Lsalzman wrote:

Created attachment 9226716
Bug 1714511 - Use more saturated ops to avoid YUV math underflow. r?sotaro

Reply at:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1930982/comments/26

------------------------------------------------------------------------
On 2021-06-13T19:42:50+00:00 Lsalzman wrote:

Sotaro, if you are able to repro, can you check if my saturated math
patch helps the issue for you?

Reply at:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1930982/comments/27

------------------------------------------------------------------------
On 2021-06-14T03:18:45+00:00 Sotaro-ikeda-g wrote:

(In reply to Lee Salzman [:lsalzman] from comment #23)
> Sotaro, if you are able to repro, can you check if my saturated math patch 
> helps the issue for you?

I tried the following build. The problem was not addressed with D117599.
https://treeherder.mozilla.org/jobs?repo=try&revision=99c8dcb3ae16b3d3f19bcef6dfbc7ac783853e0f

Reply at:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1930982/comments/28


** Changed in: firefox
       Status: Unknown => New

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to firefox in Ubuntu.
https://bugs.launchpad.net/bugs/1930982

Title:
  Firefox 89: webrender breaks videos on Raspberry Pi

Status in Mozilla Firefox:
  New
Status in firefox package in Ubuntu:
  Confirmed

Bug description:
  Firefox 89 enabled the Webrender framework by default. Unfortunately,
  the GFX drivers on a Pi 4 seem to be non-compliant in a way that
  breaks videos - specifically, there will be a lot of primary coloured
  artefacts in videos. My guess is that other Raspberry Pi's will also
  be affected, but I don't have the hardware available to test. Setting
  gfx.webrender.force-disabled to True fixes the issue, so it's fairly
  clear where it lies.

  Mozilla doesn't seem to provide official builds for Raspberry Pi's (or
  Linux/Arm in general), so I think this is an issue to fix in these
  packages, rather than upstream. The quick solution would to just set
  gfx.webrender.force-disabled to True for the Pi-platforms and be done
  with it, but there may be better solutions I don't know about.

  Additioal info:
  Ubuntu release: 21.04
  Firefox package: firefox/hirsute-security,hirsute-updates,now 
89.0+build2-0ubuntu0.21.04.1 arm64
  Steps to reproduce: Play a video on Youtube, watch the coloured blocks 
appear. Then set gfx.webrender.force-disabled to True and restart to verify the 
fix.

To manage notifications about this bug go to:
https://bugs.launchpad.net/firefox/+bug/1930982/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to