Closed Bug 997156 Opened 10 years ago Closed 10 years ago

WebGL bad performance on Firefox/Linux

Categories

(Core :: Graphics: CanvasWebGL, defect)

28 Branch
x86_64
Linux
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1010527

People

(Reporter: remco47, Unassigned)

Details

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:28.0) Gecko/20100101 Firefox/28.0 (Beta/Release)
Build ID: 20140319112400

Steps to reproduce:

I created a simple scene with Three.js. You can see it here:

http://remcokranenburg.com/webgl-performance-problem/

I then viewed it with Firefox in Linux. My monitor resolution is 1920x1200. Relevant parts from glxinfo are:

OpenGL renderer string: GeForce GTS 450/PCIe/SSE2
OpenGL version string: 4.4.0 NVIDIA 331.49


Actual results:

A performance problem. Even without anything interesting going on, I get max 25fps. If I click on the stats widget in the right-bottom corner, it switches to an ms counter. I see that the render loop takes close to 0ms in Javascript. Yet, only 25 frames are displayed each second. Resolution seems to have a big impact: FPS shoots up to 53 when I click on the "Low resolution" button.


Expected results:

For such a simple scene I my computer to easily manage 60fps on full resolution. I know that my computer is capable because Chrome works as expected.
We're almost certainly doing readback on your system. This will be fixed by one of:
https://bugzilla.mozilla.org/show_bug.cgi?id=594876
Or:
https://bugzilla.mozilla.org/show_bug.cgi?id=942302

Reopen this if you think you're on hardware-accelerated compositing, and post a copy of your about:support.
Status: UNCONFIRMED → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.