4 years ago
2 years ago


(Reporter: nissan4321, Unassigned)


(Blocks 1 bug, {perf, reproducible})

Firefox Tracking Flags

(Not tracked)


(Whiteboard: [gfx-noted], )


(2 attachments)



4 years ago
Posted file profile.json
User Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:42.0) Gecko/20100101 Firefox/42.0
Build ID: 20150715030207

Steps to reproduce:

1) Enter games
2) Play the game
3) Observe the game getting hitches and drop of frames (jank)

*Attaching a performance recording while playing on my machine.

Actual results:

The games drops frames and gets pretty janky at times.

Expected results:

Maintain a smooth 60fps gameplay without drop of frames.


4 years ago
Keywords: perf
OS: Unspecified → Windows 8.1
Hardware: Unspecified → x86_64


4 years ago
See Also: → 1160260

Comment 1

4 years ago
did you test with e10s enabled or disabled?
I tried it with e10s enabled and disabled and did find it a little sluggish both ways.

Mozilla/5.0 (Windows NT 6.3; Win64; x64; rv:42.0) Gecko/20100101 Firefox/42.0


Adapter Description: AMD Radeon R9 200 / HD 7900 Series
Adapter Drivers: aticfx64 aticfx64 aticfx64 aticfx32 aticfx32 aticfx32 atiumd64 atidxx64 atidxx64 atiumdag atidxx32 atidxx32 atiumdva atiumd6a atitmm64
Adapter RAM: 3072
Asynchronous Pan/Zoom: none
ClearType Parameters: D [ Gamma: 2200 Pixel Structure: R ClearType Level: 100 Enhanced Contrast: 300 ] D [ Gamma: 2200 Pixel Structure: R ClearType Level: 50 Enhanced Contrast: 100 ]
Device ID: 0x6798
Direct2D Enabled: true
DirectWrite Enabled: true (6.3.9600.17795)
Driver Date: 6-22-2015
Driver Version: 15.200.1046.0
GPU #2 Active: false
GPU Accelerated Windows: 1/1 Direct3D 11 (OMTC)
Subsys ID: 00000000
Supports Hardware H264 Decoding: true
Vendor ID: 0x1002
WebGL Renderer: Google Inc. -- ANGLE (AMD Radeon R9 200 / HD 7900 Series Direct3D11 vs_5_0 ps_5_0)
windowLayerManagerRemote: true
AzureCanvasBackend: direct2d 1.1
AzureContentBackend: direct2d 1.1
AzureFallbackCanvasBackend: cairo
AzureSkiaAccelerated: 0

Comment 3

4 years ago
(In reply to Loic from comment #1)
> did you test with e10s enabled or disabled?

I have tested this with e10 enabled.
Severity: normal → major
Ever confirmed: true
Keywords: reproducible

Comment 4

4 years ago
Me and mfinkle second this. mfinkle said this:

12:49	mfinkle	works great on chrome, crappy on Firefox
12:50	mfinkle	it seems like gc pauses happen, ruining the game play

Comment 5

4 years ago
This is still a major issue in Firefox 43. As soon as multiple blobs come in, it is super janky.


3 years ago
Component: Untriaged → Graphics
Product: Firefox → Core
OS: Windows 8.1 → All
Hardware: x86_64 → All
Version: Trunk → unspecified
To test this in a more controlled environment, use a local instance of and load and the port Ogar is listening on. Running commands like addbot on the server helps control the parameters of the game and the load on the rendering engine.

For a game like avoiding jank is very important.. I also think it's a question of GC timing/duration, so tweaking is better left to experts, but if there's any more analysis or logging I can help with..
Can someone please retest this with the latest Firefox Nightly? If it's still janky, please capture a performance profile and GC profile using the built in Developer Tools. If this is GC related then it doesn't belong in Graphics.
Whiteboard: [gfx-noted]

Comment 8

3 years ago
i captured a profile from latest Nightly.

Comment 9

2 years ago
I have tested this with e10 enabled. running well

Comment 10

2 years ago also plays very choppily in Firefox 56.0a1 (2017-07-30) (64-bit nightly build). Plays very well in Chrome. It becomes more exaggerated on lower mid-end laptops (I use a HP Pavillion g7-1277dx with AMD 3530MX processor), especially in linux.

Sluggish canvas rendering is one of the last things keeping me from using Firefox full-time, aside from that it has pretty much caught up to chrome.
You need to log in before you can comment on or make changes to this bug.