Characters missing or incorrectly placed
Categories
(Core :: Graphics: WebRender, defect)
Tracking
()
People
(Reporter: h9l, Unassigned)
References
Details
Attachments
(7 files, 1 obsolete file)
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0
Steps to reproduce:
My machine is using AMD Ryzen 7700 iGPU on Windows 11 with all latest updates and AMD drivers 23.12.1.
- Install Firefox 120.0.1 and run it
- Enter a URL and start browsing
Actual results:
Some letters are missing or are incorrectly placed while browsing. It can also happen while typing in input fields and text areas (yes, it's also happening while I'm writing this). Eventually it fixed itself after some seconds. It happens for all areas which contain text in Firefox. I observed it on websites, active and inactive tabs, bookmarks toolbar, web developer tools console view.
Expected results:
No letters are missing and all letters are in the correct position.
Reporter | ||
Comment 1•2 years ago
|
||
Reporter | ||
Comment 2•2 years ago
|
||
Reporter | ||
Comment 3•2 years ago
|
||
Reporter | ||
Comment 4•2 years ago
|
||
Reporter | ||
Comment 5•2 years ago
|
||
Issue seems to be related to a bad combination of drivers. I used the AMD Cleanup Utility to uninstall all AMD related drivers. Then I used the AMD Software Adrenaline Edition 23.12.1 Minimal Setup installer. This time I chose "Minimal" installation package, before I chose "Drivers only" installation package which resulted in the described errors.
Reporter | ||
Updated•2 years ago
|
Reporter | ||
Comment 6•2 years ago
|
||
Unfortunately, I was able to reproduce it again. I happens much fewer than before, but it still happens sporadically. High GPU usage doesn't have any effect on it. I was able to reproduce it with very low load, but wasn't able to reproduce it with very high load.
Reporter | ||
Updated•2 years ago
|
Reporter | ||
Comment 7•2 years ago
|
||
Reporter | ||
Updated•2 years ago
|
Reporter | ||
Comment 8•2 years ago
|
||
I can confirm it happens also on Ubuntu 22.03 with the same version of Firefox.
Reporter | ||
Comment 9•2 years ago
|
||
I created a Firefox Profile. The issue appears at ~ 22.31s and disappears at ~22.7s (see text of included screenshots). The website I was browsing is https://support.mozilla.org/en-US/products/firefox/fix-problems with 300% zoom.
Profile is available here: https://share.firefox.dev/3TuDou0
Comment 10•2 years ago
|
||
Dropping this into WR, but asking Jonathan to have a look
Reporter | ||
Updated•2 years ago
|
Comment 11•2 years ago
|
||
This feels to me like it must be some fairly low-level graphics issue, maybe related to caching of the rasterized glyphs? I would have been inclined to wonder about a driver-level bug, but the fact that the user reports it happening on Ubuntu as well as Windows perhaps makes it more likely to be at the webrender level.
From the comments, it doesn't seem to be related to particularly heavy use (which we might suspect of leading to some kind of resource exhaustion); maybe something like a race condition in maintaining rasterized-glyph caches, resulting in occasionally-broken cache entries? But I'm really just guessing here.
Reporter | ||
Comment 12•2 years ago
|
||
I unsuccessfully tried to reproduce it under heavy load while playing two 4k videos in Firefox, running https://browserbench.org/MotionMark1.2/ and opening like 20 tabs with various websites.
Comment 13•2 years ago
|
||
Glenn, can you throw a Severity on this when you get a chance?
Comment 14•2 years ago
|
||
It seems surprising that it happens on both windows and ubuntu. The drivers possibly (?) share some code, but maybe that points to something else going on. I'll mark it as S2 for now, in case it's affecting other users on this hardware. If we determine it is a software / hardware issue specific to only this machine, we will probably drop it to S3.
h9l, could you go to about:config
, change gfx.webrender.software
to true
, restart the browser and let us know if it's still occurring? I expect that will work around the issue, as it means we won't be using the GPU for rasterizing those glyphs (not a long term solution, as it's slower, but would be good to know).
Comment 15•2 years ago
|
||
Could you also share the output of about:support
here, and let us know if you have anything listed in about:crashes
?
Reporter | ||
Comment 16•2 years ago
|
||
Meanwhile I disabled "Use recommended performance settings" and "Use hardware acceleration when available" under General -> Performance as a workaround. I couldn't reproduce it anymore with these settings disabled.
I'll add the output of about:config to the attachments.
I submitted all crash reports:
https://crash-stats.mozilla.org/report/index/d264e792-eca3-4662-aba8-9c1ea0231219
https://crash-stats.mozilla.org/report/index/4a8ea26f-08d7-4e63-8e69-9431b0231219
https://crash-stats.mozilla.org/report/index/56554a1e-683f-4d1d-bcf7-24ce90231219
Reporter | ||
Comment 17•2 years ago
|
||
Comment 18•2 years ago
|
||
OK, disabling that hardware acceleration preference probably does the same thing, as it looks like your about:support
is using software-webrender.
Interestingly, each of those three crashes comes from inside the AMD GPU driver, when trying to do something with a video codec. If it's correlated to that, it's possible we get some kind of GPU reset and we're not handling the glyph atlases being re-uploaded, or something like that (could also be driver memory corruption). Do you recall if it only happens on pages with video at all?
Sotaro, are there any preferences the reporter could disable to work around that driver crash in video, to see if that's related at all?
Updated•2 years ago
|
Comment 19•2 years ago
|
||
The following pref change could disable hardware video decoding.
-[1] pref media.hardware-video-decoding.enabled = false from about:config
-[2] Restart Firefox
Comment 20•2 years ago
|
||
(In reply to h9l from comment #16)
I submitted all crash reports:
https://crash-stats.mozilla.org/report/index/d264e792-eca3-4662-aba8-9c1ea0231219
https://crash-stats.mozilla.org/report/index/4a8ea26f-08d7-4e63-8e69-9431b0231219
https://crash-stats.mozilla.org/report/index/56554a1e-683f-4d1d-bcf7-24ce90231219
Factory::ConvertSourceAndRetryReadback() create and destroy D3D11DXVA2Manager. It seemed to cause the crash inside the AMD GPU driver.
Reporter | ||
Comment 21•2 years ago
|
||
(In reply to Glenn Watson [:gw] from comment #18)
OK, disabling that hardware acceleration preference probably does the same thing, as it looks like your
about:support
is using software-webrender.Interestingly, each of those three crashes comes from inside the AMD GPU driver, when trying to do something with a video codec. If it's correlated to that, it's possible we get some kind of GPU reset and we're not handling the glyph atlases being re-uploaded, or something like that (could also be driver memory corruption). Do you recall if it only happens on pages with video at all?
Sotaro, are there any preferences the reporter could disable to work around that driver crash in video, to see if that's related at all?
I doubt the crashes are not really connected to the issue I submitted. As you can see in comment #9 it happened while only opening one tab browsing https://support.mozilla.org/en-US/products/firefox/fix-problems.
Reporter | ||
Comment 22•2 years ago
|
||
I recorded some profiles on Ubuntu. There have been no crash reports listed in about:crashes
. I'll also attach the output of about:support
.
https://share.firefox.dev/479qAfN (range where it happens)
https://share.firefox.dev/3NzIP7d (range where it happens)
https://share.firefox.dev/3GPl7zN (here something else happens, not sure if related)
Reporter | ||
Comment 23•2 years ago
|
||
Updated•2 years ago
|
Comment 24•2 years ago
|
||
Also having this exact issue, text is corrupt and letters will come and go.
7800x3d igpu.
Chrome and Edge do not have any issues.
Websites, menu, settings all have corrupt text.
Running Firefox in safe mode seems to fix it (Shift click to start Firefox). Obviously, running in safe mode all the time isn't ideal.
Drivers from Windows Update or AMD directly doesn't seem to make a difference with the bug.
Reporter | ||
Comment 25•2 years ago
|
||
I no longer think it is a Firefox bug. I'm having similar rendering issues with VSCode and Word now.
Comment 26•2 years ago
|
||
Reinstalled Windows 11. Firefox doesn't have the text corruption until the AMD driver is installed by Windows Update. Latest Radeon gpu drivers directly from AMD or Asus don't solve the issue. Seems more like a severe GPU driver issue now.
Comment 27•2 years ago
|
||
(In reply to Sunain.pm from comment #26)
Reinstalled Windows 11. Firefox doesn't have the text corruption until the AMD driver is installed by Windows Update. Latest Radeon gpu drivers directly from AMD or Asus don't solve the issue. Seems more like a severe GPU driver issue now.
How likely do you think that this is a hardware issue? I assume there just isn't hardware acceleration available if you do not install the drivers. The drivers could have just made hardware acceleration available and exposed the issue.
Comment 28•2 years ago
|
||
Since this is present on both Linux and Windows, which I assume have different drivers, and that this problem is not seemingly very widespread despite the chips being out for over a year, I think there is a chance our chips may be defective.
Reporter | ||
Comment 29•2 years ago
|
||
(In reply to 1over137 from comment #27)
(In reply to Sunain.pm from comment #26)
Reinstalled Windows 11. Firefox doesn't have the text corruption until the AMD driver is installed by Windows Update. Latest Radeon gpu drivers directly from AMD or Asus don't solve the issue. Seems more like a severe GPU driver issue now.
How likely do you think that this is a hardware issue? I assume there just isn't hardware acceleration available if you do not install the drivers. The drivers could have just made hardware acceleration available and exposed the issue.
I noticed the same and think hardware acceleration is simply not available without drivers being installed.
Reporter | ||
Comment 30•2 years ago
|
||
(In reply to 1over137 from comment #28)
Since this is present on both Linux and Windows, which I assume have different drivers, and that this problem is not seemingly very widespread despite the chips being out for over a year, I think there is a chance our chips may be defective.
After several rounds of troubleshooting with the AMD support, they said that it seems to be a hardware issue and asked me to submit a warranty claim request.
Comment 31•1 years ago
|
||
Based on the last few comments, we'll close this. If relevant information changes, please reopen.
Description
•