WebGL doesn't work after Bug 615976

RESOLVED FIXED

Status

()

Core
Canvas: WebGL
RESOLVED FIXED
6 years ago
6 years ago

People

(Reporter: ojab, Assigned: jgilbert)

Tracking

Trunk
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(URL)

Attachments

(2 attachments)

(Reporter)

Description

6 years ago
Created attachment 568400 [details]
glxinfo output

Can't get WebGL window and "ResizeOffscreenFBO failed with AA, retrying without..." after opening any WebGL demo after Bug 615976 fixed.
The same with webgl.force-enable=true.

MSAA _is_ available on my driver.
(Reporter)

Updated

6 years ago
Blocks: 615976
Component: General → Canvas: WebGL
Product: Firefox → Core
QA Contact: general → canvas.webgl
(Assignee)

Comment 1

6 years ago
Confirmed that ResizeOffscreenFBO does not properly retry after AA failure.

I'll take a look at your glxinfo to try to see why it failed in the first place, but it's a bug that it doesn't fallback to no-aa properly.
Assignee: nobody → jgilbert
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
OS: Linux → All
Hardware: x86_64 → All
(Assignee)

Comment 2

6 years ago
Created attachment 568536 [details] [diff] [review]
Fix ResizeOffscreen FBO not properly retrying without AA after failing with AA.
Attachment #568536 - Flags: review?(bjacob)
(Assignee)

Comment 3

6 years ago
After going over your glxinfo, it looks like while your OpenGL implementation supports AA (that is, it has the right functions), and your card also likely supports AA (you'd be hard-pressed to find one which doesn't, these days), your current drivers do not support any level of MSAA.

The 'ms' column regards the level of multisampling supported for that config line. The 'ns' is the number of samples, and 'b' appears to be something having to do with the number of buffers (either required or available). Unfortunately, all of the config lines in your gfxinfo under 'ms' are '0', meaning that it is not possible to get hardware antialiasing with your current driver/card/system configuration.

You may check if there have been any driver updates, though, because that would by my guess as to what's not supporting multisampling.
This user is already on a very recent development snapshot of Mesa and the radeon driver, so it could be that MSAA is not available at all in the radeon driver, which would suck.
Comment on attachment 568536 [details] [diff] [review]
Fix ResizeOffscreen FBO not properly retrying without AA after failing with AA.

Review of attachment 568536 [details] [diff] [review]:
-----------------------------------------------------------------

Thanks for the quick patch. Landing right away on mozilla-central, skipping inbound, so that it will be in tomorrow's nightly at the same time as the AA patches.
Attachment #568536 - Flags: review?(bjacob) → review+
https://hg.mozilla.org/mozilla-central/rev/2afc252b4d39
Status: ASSIGNED → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.