Closed Bug 1492859 Opened 6 years ago Closed 5 years ago

3d transforms problem on https://youriguide.com/sample-full/

Categories

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

Desktop
All
defect

Tracking

()

RESOLVED DUPLICATE of bug 1415987
Tracking Status
firefox64 --- affected

People

(Reporter: jan, Assigned: tnikkel)

References

(Blocks 1 open bug, )

Details

(Keywords: correctness, nightly-community)

Attachments

(2 files)

Attached video 2018-09-20_16-33-33.mp4
Please see attached video. (Everything has been worse the days before.)
Screencast = Try build from bug 1492566 comment 1:
mozregression --repo try --launch 576fe180d245f338bc522ed4ea346b0a22abfd2c --pref gfx.webrender.all:true -a https://youriguide.com/sample-full/

It looks the same on Win10 (GTX 1060) and looks fine without WebRender.
OS: Linux → All
Priority: -- → P2
Hardware: Unspecified → Desktop
The problem from attachment 9010649 [details] has been fixed:

https://hg.mozilla.org/integration/autoland/graph/76d218ea875e
> 76d218ea875e: Bug 1489337 - Don't set preserve-3d to true when creating WebRender commands for nsDisplayPerspective since it's not needed. r=jrmuizel 
mozregression --repo autoland --launch 76d218ea875e --pref gfx.webrender.all:true -a https://youriguide.com/sample-full/
first good

> 96059b4f6d8a: bug 1490119: Add build system bits for building dep updater. r=firefox-build-system-reviewers,mshal,rstrong 
mozregression --repo autoland --launch 96059b4f6d8a --pref gfx.webrender.all:true -a https://youriguide.com/sample-full/
last bad
Depends on: 1489337
Awesome, thanks :darkspirit for confirming! The remaining issue appears to be simpler.
Priority: P2 → P3
Priority: P3 → P2
Reflecting my comment on Github, the remaining issue appears to be related to the image handling in Gecko: when the bug is visible on the corners, Gecko provides us with 1:1 image. Perhaps, it's an aggressive mipmapping gone wrong? Adding Andrew.
:kvark can you still reproduce this? I don't really understand what you think the problem was. Can you elaborate?
Flags: needinfo?(kvark)
Yes, I'm still seeing it on 65.0a1 (2018-11-09) (64-bit)
What I said in Comment 5 is that Gecko provides us with bogus image data (size 1x1) in those buggy cases, I don't see WR doing anything wrong.
Flags: needinfo?(kvark)
Can still reproduce, I'll take a look.
Assignee: nobody → aosmond
The stacking context has scale factors of (0, 0) which makes us request an image of 1x1 (since the clamp the width and height to be at least 1).
I can easily copy/paste the necessary code from comment 10, but it seems like bug 1415987 is going to fix it anyways since it will reuse that code path to calculate the scale.
Depends on: 1415987
Assignee: aosmond → tnikkel
Fixed by bug 1415987 comment 17.
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: