Closed Bug 809178 Opened 14 years ago Closed 14 years ago

bad drawing on a page with SVG embedded in iframes

Categories

(Core :: Graphics, defect)

x86
Windows 7
defect
Not set
normal

Tracking

()

VERIFIED FIXED
mozilla19
Tracking Status
firefox18 + verified
firefox19 --- verified

People

(Reporter: ted, Assigned: bas.schouten)

References

()

Details

Attachments

(2 files)

Attached image bad drawing —
At the URL in the URL field, with an up-to-date Windows nightly, getting weird black rendering, see attached. Scrolling or mousing over seems to make it flicker, and sometimes render correctly. about:support says Graphics Adapter Description ATI Radeon HD 5670 Adapter Drivers aticfx64 aticfx64 aticfx64 aticfx32 aticfx32 aticfx32 atiumd64 atidxx64 atidxx64 atiumdag atidxx32 atidxx32 atiumdva atiumd6a atitmm64 Adapter RAM 1024 Device ID 0x68d8 Direct2D Enabled true DirectWrite Enabled true (6.1.7601.17789) Driver Date 1-26-2011 Driver Version 8.821.0.0 GPU #2 Active false GPU Accelerated Windows 1/1 Direct3D 10 Vendor ID 0x1002 WebGL Renderer Google Inc. -- ANGLE (ATI Radeon HD 5670) AzureCanvasBackend direct2d AzureContentBackend direct2d AzureFallbackCanvasBackend cairo
The rendering issues go away if I disable hardware acceleration.
This seems to happen regardless of Azure, but it -is- a regression, that's very odd! Ted, could you confirm you're still seeing this with gfx.content.azure.enabled set to false?
Yes, sorry, Joe had me flip that pref and I still see the rendering issue.
Regression window(m-c) Good: http://hg.mozilla.org/mozilla-central/rev/b274e8e3479f Mozilla/5.0 (Windows NT 6.1; WOW64; rv:18.0) Gecko/18.0 Firefox/18.0 ID:20120928160219 Bad: http://hg.mozilla.org/mozilla-central/rev/b62b229a4d41 Mozilla/5.0 (Windows NT 6.1; WOW64; rv:18.0) Gecko/18.0 Firefox/18.0 ID:20120928161018 Pushlog: http://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=b274e8e3479f&tochange=b62b229a4d41 Regression window(m-i) Good: http://hg.mozilla.org/integration/mozilla-inbound/rev/9f476b4ac1e1 Mozilla/5.0 (Windows NT 6.1; WOW64; rv:18.0) Gecko/18.0 Firefox/18.0 ID:20120928040137 Bad: http://hg.mozilla.org/integration/mozilla-inbound/rev/6b58397ad735 Mozilla/5.0 (Windows NT 6.1; WOW64; rv:18.0) Gecko/18.0 Firefox/18.0 ID:20120928042236 Pushlog: http://hg.mozilla.org/integration/mozilla-inbound/pushloghtml?fromchange=9f476b4ac1e1&tochange=6b58397ad735
Looks like DLBI! Interesting that it just affects Direct2D though, I'm going to have a look at this with the Azure Drawing Recorder.
I'm truly sorry Matt.
Blocks: dlbi
I've looked into this a little with the Azure Drawing recorder. It doesn't have all the features yet that I'd like to diagnose this. But the following can be seen: - This page is drawn as one big ThebesLayer. - The portions which are showing in 'black' when scrolling, are portions of the iFrame, which are being invalidated on the layer, but apparently not properly redrawn, or the redraw is overwritten. This is interesting debug info and this has given me some more debugging ideas. Since this is D3D10 only I'll work on debugging this, Matt has enough DLBI issues on his place.
Assignee: nobody → bas
Status: NEW → ASSIGNED
Attachment #679972 - Flags: review?(matt.woodrow) → review+
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla19
Do we need this fixed for FF18? I think we probably do!
Bas - if this fix is low risk, can you nominate for uplift to Beta 18?
Comment on attachment 679972 [details] [diff] [review] Don't let inactive layer manager keep a gfxContext alive [Approval Request Comment] Bug caused by (feature/regressing bug #): Bug 539356 User impact if declined: Rendering artifacts Testing completed (on m-c, etc.): Nightly testing Risk to taking this patch (and alternatives if risky): Risk practically zero String or UUID changes made by this patch: None
Attachment #679972 - Flags: approval-mozilla-beta?
Attachment #679972 - Flags: approval-mozilla-aurora?
Comment on attachment 679972 [details] [diff] [review] Don't let inactive layer manager keep a gfxContext alive Already in 19, only approving for Beta (18).
Attachment #679972 - Flags: approval-mozilla-beta?
Attachment #679972 - Flags: approval-mozilla-beta+
Attachment #679972 - Flags: approval-mozilla-aurora?
Attachment #679972 - Flags: approval-mozilla-aurora-
I wasn't able to reproduce this issue on a Nightly from 2012-09-17, with gfx.content.azure.enabled set to false. User Agent: Mozilla/5.0 (Windows NT 6.1; rv:18.0) Gecko/18.0 Firefox/18.0 Build ID: 20120917030530 Any suggestions would be appreciated.
QA Contact: manuela.muntean
Manuela: check about:support and verify that you have accelerated compositing enabled, something like (from comment 0): GPU Accelerated Windows 1/1 Direct3D 10 If that says 0/1 then you won't be able to reproduce the issue.
(In reply to Ted Mielczarek [:ted.mielczarek] from comment #16) > Manuela: check about:support and verify that you have accelerated > compositing enabled, something like (from comment 0): > GPU Accelerated Windows > 1/1 Direct3D 10 > > If that says 0/1 then you won't be able to reproduce the issue. Thanks Ted for your reply. I've checked what you suggested, and I have 1/1 Direct3D 10 for GPU Accelerated Windows.
(In reply to Manuela Muntean from comment #15) > I wasn't able to reproduce this issue on a Nightly from 2012-09-17, with > gfx.content.azure.enabled set to false. > > User Agent: Mozilla/5.0 (Windows NT 6.1; rv:18.0) Gecko/18.0 Firefox/18.0 > Build ID: 20120917030530 > > Any suggestions would be appreciated. First bad build in nightly Nitry is *SEP/29*. Mozilla/5.0 (Windows NT 6.1; WOW64; rv:18.0) Gecko/18.0 Firefox/18.0 ID:20120929030624
(In reply to Alice0775 White from comment #18) > (In reply to Manuela Muntean from comment #15) > > I wasn't able to reproduce this issue on a Nightly from 2012-09-17, with > > gfx.content.azure.enabled set to false. > > > > User Agent: Mozilla/5.0 (Windows NT 6.1; rv:18.0) Gecko/18.0 Firefox/18.0 > > Build ID: 20120917030530 > > > > Any suggestions would be appreciated. > > First bad build in nightly Nitry is *SEP/29*. > Mozilla/5.0 (Windows NT 6.1; WOW64; rv:18.0) Gecko/18.0 Firefox/18.0 > ID:20120929030624 Thanks Alice for your reply. After taking your suggestion into consideration, I was able to see some rendering issues while scrolling on the bad Nightly build from the 29th of September. This issue is now fixed in the latest beta build, Firefox 18 beta 4. User Agent: Mozilla/5.0 (Windows NT 6.1; rv:18.0) Gecko/20100101 Firefox/18.0 Build ID: 20121212073002
Verified with Firefox 19 RC. User Agent: Mozilla/5.0 (Windows NT 6.1; rv:19.0) Gecko/20100101 Firefox/19.0 Build ID: 20130215130331
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: