Black squares artifacts on Android WebRender (Emulator SwiftShader)
Categories
(Core :: Graphics: WebRender, defect)
Tracking
()
Tracking | Status | |
---|---|---|
firefox-esr78 | --- | unaffected |
firefox81 | --- | wontfix |
firefox82 | --- | wontfix |
firefox83 | --- | fixed |
People
(Reporter: sotaro, Assigned: sotaro)
References
(Blocks 2 open bugs, Regression)
Details
(Keywords: regression)
Attachments
(2 files)
When I enabled WebRender on Android Emulator, I saw black squares.
Assignee | ||
Updated•4 years ago
|
Assignee | ||
Comment 1•4 years ago
•
|
||
It looks similar to Bug 1558374. Clear seemed not work as expected.
Assignee | ||
Updated•4 years ago
|
Assignee | ||
Updated•4 years ago
|
Assignee | ||
Updated•4 years ago
|
Assignee | ||
Comment 2•4 years ago
|
||
Assignee | ||
Comment 3•4 years ago
|
||
Assignee | ||
Comment 4•4 years ago
|
||
Comment 5•4 years ago
|
||
What android emulator version are you running? And what Android version is the AVD? This appears to be with the swiftshader backend. does running the GPU backend work correctly?
Just so you know, I've actually just landed a patch to remove that code for Mali (bug 1663355). It wasn't the right fix, some websites still showed artefacts. So your patch will conflict with autoland.
Comment 6•4 years ago
|
||
Would you be able to run mozregression? If only Mali is buggy, or if only the emulator is buggy, then I assume it is just a driver/emulator bug. But if both are buggy, it makes me think that it could be a webrender bug.
Assignee | ||
Comment 7•4 years ago
|
||
By Bug 1485981, it seems that mozregression alway tries to install ARM on android. I tried locally on android x86 emulator, but it failed.
Assignee | ||
Comment 8•4 years ago
|
||
(In reply to Sotaro Ikeda [:sotaro] from comment #7)
By Bug 1485981, it seems that mozregression alway tries to install ARM on android. I tried locally on android x86 emulator, but it failed.
Sorry, it should be addressed by Bug 1651760.
Assignee | ||
Comment 9•4 years ago
|
||
(In reply to Jamie Nicol [:jnicol] from comment #5)
What android emulator version are you running? And what Android version is the AVD? This appears to be with the swiftshader backend. does running the GPU backend work correctly?
On Android 7.0, 8.0, 9.0 and 10.0. All used Swift Shader. When backend was GPU backend, the problem did not happen.
Assignee | ||
Updated•4 years ago
|
Assignee | ||
Comment 10•4 years ago
|
||
Bug 1663355 affected to the patch, I am going to update it.
Assignee | ||
Comment 11•4 years ago
|
||
Checked regression with the following.
./mach mozregression -n gve --good 2020-09-10 --bad 2020-05-01 --pref gfx.webrender.all:true --arch x86_64
Bug 1621390 seemed to cause the regression.
Updated•4 years ago
|
Updated•4 years ago
|
Assignee | ||
Comment 12•4 years ago
|
||
Confirmed that updated patch worked on Android Emulator with SwiftShader on Android 7, 8, 9 and 10.
Assignee | ||
Updated•4 years ago
|
Comment 13•4 years ago
|
||
(In reply to Sotaro Ikeda [:sotaro] from comment #11)
Checked regression with the following.
./mach mozregression -n gve --good 2020-09-10 --bad 2020-05-01 --pref gfx.webrender.all:true --arch x86_64
Bug 1621390 seemed to cause the regression.
Interesting. So the problem is perhaps to do with coloured scissored clears. So it seems different than the Mali bug, and it's not worth spending too much time on the emulator or swiftshader, so let's land this. Thanks!
Comment 14•4 years ago
|
||
Updated•4 years ago
|
Comment 15•4 years ago
|
||
bugherder |
Updated•4 years ago
|
Description
•