Closed Bug 1336854 Opened 7 years ago Closed 3 years ago

poor vsync performance on macOS

Categories

(Core :: Graphics: Canvas2D, defect, P3)

53 Branch
x86_64
macOS
defect

Tracking

()

RESOLVED WONTFIX

People

(Reporter: hujq, Unassigned)

Details

(Whiteboard: gfx-noted)

Attachments

(6 files)

Attached image 51.0.1.png
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Safari/537.36

Steps to reproduce:

1. Start firefox with a new profile (to make sure it's not due to anything wrong with my profile).
2. Visit http://www.vsynctester.com/ and look for the fps and smoothness of the animation.
3. Switch between windowed or fullscreen mode by clicking the fullscreen button on the window frame.


Firefox Stable 51.0.1 and Nightly 54.0a1 (2017-02-05)
on macOS 10.12.3 with Intel Iris Graphics 6100 1536 MB


Actual results:

The page rendering is out of sync with the display (60Hz) as indicated by fps and the graph, as well as the red/cyan text. The animation is choppy. 

Switching to fullscreen helps a little bit. But the performance is still not comparable with Safari or Chrome.

In the graphics section of about:support, the failure log shows three entries of 
CP+[GFX1-]: Failed to create a SkiaGL DrawTarget, falling back to software 


Expected results:

The graphics should be smooth and correctly synced with display. Expecting similar results to Safari and Chrome.
OS: Unspecified → Mac OS X
Hardware: Unspecified → x86_64
Attached image 51.0.1 fullscreen.png
Attached image 54.0a1 (2017-02-05).png
Attached image safari 10.0.3.png
Attached image chrome 56.0.2924.76.png
Component: Untriaged → Graphics
Product: Firefox → Core
I believe this is similar to bug 1161818 as layers.shared-buffer-provider.enabled remains false.
Priority: -- → P3
Whiteboard: gfx-noted
Component: Graphics → Canvas: 2D
Setting layers.shared-buffer-provider.enabled to true doesn't seem to make any improvements here.
Version: 51 Branch → 52 Branch
Version: 52 Branch → 53 Branch
Status: UNCONFIRMED → RESOLVED
Closed: 3 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: