Closed Bug 1491911 Opened 6 years ago Closed 6 years ago

Extreme 3d-perspective Melts Webrender

Categories

(Core :: Graphics: WebRender, defect, P2)

defect

Tracking

()

RESOLVED FIXED
mozilla64
Tracking Status
firefox64 --- fixed

People

(Reporter: Gankra, Assigned: gw)

References

Details

Attachments

(3 files)

Attached file perspective.html
I noticed this when messing around with the perspective on https://developer.mozilla.org/en-US/docs/Web/CSS/perspective

Attached is a more reduced case that reliably creates corrupted rendering that extends into the chrome.
Attached image 3d-wr.PNG
rendering in wr on my windows nvidia laptop
Attached image 3d-ff.PNG
rendering in vanilla firefox
(I see the expected thing here on Linux FWIW)
This is obscure enough that we could probably go to beta with it, but nasty enough that I wouldn't be opposed to bumping this to P1.
Priority: -- → P2
I also see the tearing corruption on my nvidia/nouveau linux desktop, although much harder to get chrome corruption.
Debian Testing, GTX 1060
https://addons.mozilla.org/en-US/firefox/addon/starry-space-fantasy/
Nightly should be renamed back to "Minefield". Depending on zoom level and theme, I get every behavior, incl. drawn on tabs. ;)
I can reproduce this on Linux w/ nvidia (blob) driver. The same machine with Intel GPU enabled doesn't show the artifact. It looks like uninitialized data / garbage or perhaps NaN output from the shaders?

I'll take this one - I think I have seen a similar looking screenshot in a few bugs, so it's probably worth sorting out now.
Assignee: nobody → gwatson
Looks OK to me on macOS/Intel.
This appears to be either a driver/shader compiler bug, or perhaps some internal precision implementation detail we're seeing on certain GPUs only.

I have a fix / workaround for it, but making sure the fix doesn't break any existing reftests may take a little while.
No longer depends on: 1492389
Depends on: 1492566
Debian Testing, GTX 1060
Contrary to non-WR, scrolling is buttery smooth with WebRender.
The issue with vertical lines in content and on chrome (comment 1) is fixed.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla64
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: