Bug 65514 - Mesa can't render Google Maps WebGL preview in Firefox
Summary: Mesa can't render Google Maps WebGL preview in Firefox
Status: RESOLVED INVALID
Alias: None
Product: Mesa
Classification: Unclassified
Component: Mesa core (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: mesa-dev
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-06-07 16:33 UTC by Nicholas Miell
Modified: 2013-06-12 00:28 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Nicholas Miell 2013-06-07 16:33:16 UTC
Both current git Mesa (8bc788ea9e73ef4c355dfea80ac5070c6f81ac1c) and current Fedora Mesa (mesa-libGL-9.2-0.7.20130528.fc18.x86_64) fail to render the preview version of the WebGL based Google Maps correctly in Firefox.

The Google Maps preview renders correctly in Chrome using Mesa and in Firefox using Catalyst.

The misrendering occurs with both RS880 (Radeon HD 4250) and JUNIPER (Radeon HD 6770) GPUs.

After the initial map is rendered (when in Map mode), Firefox fails to update the map in response to user interaction (dragging the map around, searching for locations outside the current map view, zooming, etc.) unless the window is resized.

If you switch to Earth mode (which uses aerial photography instead of line drawings), in addition to failures to redraw, forcing redraws using resizing often results in corrupted rendering.

xorg-x11-server-Xorg-1.13.3-3.fc18.x86_64
kernel-3.9.4-200.fc18.x86_64

(Sign up for the Google Maps preview at http://maps.google.com/preview ).
Comment 1 Nicholas Miell 2013-06-09 02:58:44 UTC
Mozilla bug implies this also happens with Intel GPUs.
Comment 2 Marc Dietrich 2013-06-10 08:32:18 UTC
does it work with R600_LLVM=0 ?
Comment 3 Nicholas Miell 2013-06-10 08:36:21 UTC
(In reply to comment #2)
> does it work with R600_LLVM=0 ?

No.

Quoting the Mozilla bug:
"A GL_INVALID_FRAMEBUFFER_OPERATION error is generated in
glClear(GL_COLOR_BUFFER_BIT|GL_DEPTH_BUFFER_BIT|GL_STENCIL_BUFFER_BIT).
glCheckFramebufferStatus returns GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE."

Keep in mind that this renders correctly with AMD Catalyst drivers.
Comment 4 Grigori Goronzy 2013-06-10 10:40:33 UTC
To be more accurate, Google Maps attaches a depth and stencil buffer with 4 samples and a colorbuffer with 0 (1) samples. That's clearly not supposed to work. I do not believe this is a bug in Mesa.
Comment 5 Karl Tomlinson 2013-06-12 00:28:50 UTC
This is a bug in Gecko.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.