Closed Bug 718039 Opened 12 years ago Closed 12 years ago

Canvas element for Angrybirds webapp is displayed upside down

Categories

(Core :: Graphics: CanvasWebGL, defect)

10 Branch
All
macOS
defect
Not set
normal

Tracking

()

VERIFIED FIXED
mozilla10
Tracking Status
firefox9 --- unaffected
firefox10 --- fixed
firefox11 --- unaffected
firefox12 --- unaffected

People

(Reporter: tchung, Assigned: jgilbert)

References

()

Details

(Keywords: regression, Whiteboard: [qa!])

Attachments

(1 file)

Attached image screenshot
See screenshot.  Angry birds is displayed upside down.


Repro:
1) launch mac firefox 10:  Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:10.0) Gecko/20100101 Firefox/10.0
2) visit URL
3) verify page loads with content upside down

Expected:
- right side up!
This is a regression in Firefox 10. It doesn't happen in Firefox 9 nor Aurora. So probably it has been fixed already but has not been backported?
Whiteboard: [qa+]
Version: unspecified → 10 Branch
I cant reproduce this on linux ubuntu 11.10 32bits beta or aurora

Mozilla/5.0 (X11; Linux i686; rv:10.0) Gecko/20100101 Firefox/10.0
Mozilla/5.0 (X11; Linux i686; rv:11.0a2) Gecko/20120113 Firefox/11.0a2
Not able to reproduce on 10.7.3 using the latest Firefox 10 beta.
Just to add, this happens for on my 13" aluminum MBP but not the white one with the same version of OS X installed. So it seems to have some external dependencies.
Regressed between the builds 2011-11-03-03 and 2011-11-04-03 on mozilla-central/

WORKS: http://hg.mozilla.org/mozilla-central/rev/b8dd6f6f4207
FAILS: http://hg.mozilla.org/mozilla-central/rev/3491b2f021bf

Pushlog:

http://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=b8dd6f6f4207&tochange=3491b2f021bf

There are way too many changesets. I would have to bisect all those.

Paul, anything you could imagine?
I think we should track this bug for Firefox 10.
Fixed on mozilla-central between the builds 2011-11-24-03 and 2011-11-25-03:

FAILS: http://hg.mozilla.org/mozilla-central/rev/de483d897af4
WORKS: http://hg.mozilla.org/mozilla-central/rev/84117219ded0

Pushlog:

http://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=de483d897af4&tochange=84117219ded0

I can't really find anything useful. Will start to bisect now.
The first bad revision is:
changeset:   79683:b7a96e8bec7e
user:        Doug Sherk <dsherk@mozilla.com>
date:        Thu Nov 03 10:50:40 2011 -0400
summary:     Bug 695912: implemented antialiasing blocklisting r=jgilbert

Given that we have tested it on different machines, it would explain why we do not have seen this issue on some of them. Looks like that some of our hardware is getting blocklisted and somehow the canvas element displays the content upside down.
Blocks: 695912
Component: General → Canvas: WebGL
Product: Firefox → Core
QA Contact: general → canvas.webgl
Summary: angrybirds webapp displays upside down → Canvas element for Angrybirds webapp is displayed upside down
Here my graphics section from about:support

Vendor ID               0x8086
Device ID               0x 126
WebGL Renderer          Intel Inc. -- Intel HD Graphics 3000 OpenGL Engine -- 2.1 APPLE-7.14.5
GPU Accelerated Windows 1/1 OpenGL
AzureBackendskia
Assignee: nobody → jgilbert
Sounds like this may be bug 702058. Does 'cgl.prefer-fbo'='true' make it right-side-up again?
(In reply to Jeff Gilbert [:jgilbert] from comment #10)
> Sounds like this may be bug 702058. Does 'cgl.prefer-fbo'='true' make it
> right-side-up again?

You are right:

The first good revision is:
changeset:   80723:9c20e88fe6c1
user:        Jeff Gilbert <jgilbert@mozilla.com>
date:        Wed Nov 23 16:49:02 2011 -0800
summary:     Bug 702058 - Prefer CGL+FBOs by default on Mac - r=bjacob

Setting the preference in Firefox 10 to true fixes the problem too. So shall we dupe and request tracking-firefox 10 on bug 702058?
Indeed.
Depends on: 702058
Fixed with the push to beta on bug 702058:
https://hg.mozilla.org/releases/mozilla-beta/rev/4c6bfe0434b0
Status: NEW → RESOLVED
Closed: 12 years ago
Hardware: x86 → All
Resolution: --- → FIXED
Target Milestone: --- → mozilla10
Verified fixed with Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:10.0) Gecko/20100101 Firefox/10.0

Not sure if we have or want manual WebGL tests on Litmus, but we should add Angry birds at least to a list of major apps we test across releases. Anthony or Marcia, can you please follow-up?
Status: RESOLVED → VERIFIED
Flags: in-litmus?
Whiteboard: [qa+] → [qa!]
I think it's worth having a smoketest for this. I'll go ahead and add one.
Added to the Aurora Smoketests:
https://litmus.mozilla.org/show_test.cgi?id=45465
Flags: in-litmus? → in-litmus+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: