Graphical glitches on Mali GPU (Android)
Categories
(Firefox for Android :: General, defect)
Tracking
()
People
(Reporter: u753344, Assigned: jnicol)
References
Details
Attachments
(3 files, 2 external files)
User Agent: Mozilla/5.0 (Android 14; Mobile; rv:125.0) Gecko/125.0 Firefox/125.0
Firefox for Android
Steps to reproduce:
- Go to https://lihkg.com/recall
- Press on the bottom-left menu button
- Scroll up and down
- Get graphical glitches and lags
Actual results:
The website started having tons of graphical glitches, flashing and lagging
Expected results:
The website should not be flashing, lagging or glitching at all.
Comment 1•2 years ago
|
||
The Bugbug bot thinks this bug should belong to the 'Fenix::General' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Updated•2 years ago
|
I also encountered this similar error, which I logged in Webcompat, here: https://github.com/webcompat/web-bugs/issues/134949 , but the error was closed, I think it would be worth attention. On the website htts://www.nperf.com I saw this graphical glitches, flashing. The most I have seen on a Samsung Galaxy A20E phone model.
(In reply to eclaudiu64 from comment #2)
Created attachment 9397766 [details]
315272941-426ecaae-f1cb-4948-adac-330bab1c21a2.mp4I also encountered this similar error, which I logged in Webcompat, here: https://github.com/webcompat/web-bugs/issues/134949 , but the error was closed, I think it would be worth attention. On the website htts://www.nperf.com I saw this graphical glitches, flashing. The most I have seen on a Samsung Galaxy A20E phone model.
Yeah, I believe it's worth attention, as I don't remember this happening on my Redmi Note 10 Pro, which had a Qualcomm Snapdragon 732G and a Adreno 618, but it started happening on my new Redmi Note 13 Pro+ with a Mediatek Dimensity 7200 Ultra and Mali-G610 MC4. I believe this could be something with the Mali drivers that Firefox uses, or something related to Mali GPUs
| Assignee | ||
Comment 4•2 years ago
|
||
Thank you for the bug report. Marcin, could you please navigate to about:support, click "copy text to clipboard", and attach the contents to this bug.
eclaudiu64, I think your issue looks like a separate issue, but if you could provide the same information that would be really helpful too. Thanks!
Here is my about:support output.
| Assignee | ||
Comment 6•2 years ago
|
||
Emanuell, your issue does indeed appear to be unrelated to the original report in this bug, so I have filed bug 1892716 for that. I can reproduce it on a range of Mali devices.
Unfortunately I cannot reproduce Marcin's issue on any of my devices. It may be specific to the Mali-G61. I will get my hands on one then can investigate further.
| Assignee | ||
Comment 7•2 years ago
|
||
My Redmi Note 13 Pro Plus arrived, and I can reproduce the glitches.
This is actually a Mali driver bug that we have already discovered and fixed on other devices: bug 1787520, bug 1795614, etc. We already apply the workaround to this bug on Mali Valhall GPUs when the driver version is r36p0 or later. This is why I could not reproduce on any of my other devices.
On this device, however, the driver version is reported slightly differently than on all others I've seen.
Usually it looks something like this: OpenGL ES 3.2 v1.r36p0-01eac0.28ab3a577f105e026887e2b4c93552fb, but on this device it is reported as: OpenGL ES 3.2 v1.r38p1.
Note it doesn't have the big string of characters at the end beginning with a "-". If we handle that case correctly when parsing the driver version, then we will apply the existing workaround on this device to, and the glitches will disappear.
| Assignee | ||
Comment 8•2 years ago
|
||
To determine whether to work around a known driver bug (bug 1787520)
affecting certain Mali drivers, we parse the GL_VERSION string which
follows a common format on Mali devices.
In this bug, however, we encountered a device with a slightly
different version format. The "v", "r" and "p" numbers we care about
are still present, but the trailing string that begins with a "-" was
not. This was tripping up our parsing logic even though we ignore its
value. This patch handles the case where the trailing string is not
present, meaning we correctly apply the existing workaround, and avoid
the bug on this device.
Updated•2 years ago
|
Comment 10•2 years ago
|
||
| bugherder | ||
| Assignee | ||
Comment 11•2 years ago
|
||
To determine whether to work around a known driver bug (bug 1787520)
affecting certain Mali drivers, we parse the GL_VERSION string which
follows a common format on Mali devices.
In this bug, however, we encountered a device with a slightly
different version format. The "v", "r" and "p" numbers we care about
are still present, but the trailing string that begins with a "-" was
not. This was tripping up our parsing logic even though we ignore its
value. This patch handles the case where the trailing string is not
present, meaning we correctly apply the existing workaround, and avoid
the bug on this device.
Original Revision: https://phabricator.services.mozilla.com/D209004
Updated•2 years ago
|
Comment 12•2 years ago
|
||
beta Uplift Approval Request
- User impact if declined: Glitches for users with certain Mali GPUs
- Code covered by automated testing: no
- Fix verified in Nightly: yes
- Needs manual QE test: no
- Steps to reproduce for manual QE testing: N/A
- Risk associated with taking this patch: Low
- Explanation of risk level: Applies an existing workaround to another driver version
- String changes made/needed: None
- Is Android affected?: yes
Updated•2 years ago
|
Updated•2 years ago
|
Comment 13•2 years ago
|
||
| uplift | ||
Comment 14•2 years ago
•
|
||
Verified as fixed on Firefox 126.0b9 and Firefox 126 with the following devices:
- Samsung Galaxy Note 8 (Android 9) GPU Mali-G71
- Oppo Fin N2 Flip (Android 14) GPU Mali-G710
- Google Pixel 6 (Android 14) GPU Mali-G78
- Samsung Galaxy A14 (Android 13) GPU Mali-G52
- OPPO A58 ( Android 13) GPU Mali-G52 MC2
- Google Pixel 7 Pro ( Android 14) GPU Mali-G710 MP7
Description
•