poor vsync performance on macOS

RESOLVED INACTIVE

Status

()

Core
Canvas: 2D
P3
normal
RESOLVED INACTIVE
a year ago
2 days ago

People

(Reporter: hujq, Unassigned)

Tracking

53 Branch
x86_64
Mac OS X
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: gfx-noted)

Attachments

(6 attachments)

(Reporter)

Description

a year ago
Created attachment 8833818 [details]
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.
(Reporter)

Updated

a year ago
OS: Unspecified → Mac OS X
Hardware: Unspecified → x86_64
(Reporter)

Comment 1

a year ago
Created attachment 8833819 [details]
51.0.1 fullscreen.png
(Reporter)

Comment 2

a year ago
Created attachment 8833820 [details]
54.0a1 (2017-02-05).png
(Reporter)

Comment 3

a year ago
Created attachment 8833821 [details]
54.0a1 (2017-02-05) fullscreen.png
(Reporter)

Comment 4

a year ago
Created attachment 8833822 [details]
safari 10.0.3.png
(Reporter)

Comment 5

a year ago
Created attachment 8833823 [details]
chrome 56.0.2924.76.png

Updated

a year ago
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
(Reporter)

Comment 7

a year ago
Setting layers.shared-buffer-provider.enabled to true doesn't seem to make any improvements here.
(Reporter)

Updated

a year ago
Version: 51 Branch → 52 Branch
(Reporter)

Updated

a year ago
Version: 52 Branch → 53 Branch

Comment 8

2 days ago
Per policy at https://wiki.mozilla.org/Bug_Triage/Projects/Bug_Handling/Bug_Husbandry#Inactive_Bugs. If this bug is not an enhancement request or a bug not present in a supported release of Firefox, then it may be reopened.
Status: UNCONFIRMED → RESOLVED
Last Resolved: 2 days ago
Resolution: --- → INACTIVE
You need to log in before you can comment on or make changes to this bug.