Open Bug 1184866 Opened 9 years ago Updated 4 months ago game is janky


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





(Reporter: nissan4321, Unassigned)


(Blocks 1 open bug, )


(Keywords: perf, reproducible, Whiteboard: [gfx-noted])


(2 files)

Attached 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.
Keywords: perf
OS: Unspecified → Windows 8.1
Hardware: Unspecified → x86_64
See Also: → 1160260
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
(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
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
This is still a major issue in Firefox 43. As soon as multiple blobs come in, it is super janky.
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]
i captured a profile from latest Nightly.
I have tested this with e10 enabled. running well 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.

This still exists on 82.0

Hi mikel
is this bug still visible?
I tried but the site is down

then i tried a game on and and could not notice anything on windows10 using firefox release 94.0.1


Flags: needinfo?(nissan4321)

Still looks like the are performance issue with (site still works for me)

Flags: needinfo?(nissan4321)

In the process of migrating remaining bugs to the new severity system, the severity for this bug cannot be automatically determined. Please retriage this bug using the new severity system.

Severity: major → --

The severity field is not set for this bug.
:bhood, could you have a look please?

For more information, please visit BugBot documentation.

Flags: needinfo?(bhood)

Mikel, is this report still valid with the current release of Firefox (115)?

Severity: -- → S3
Flags: needinfo?(bhood) → needinfo?(nissan4321)

(In reply to Bob Hood [:bhood] from comment #16)

Mikel, is this report still valid with the current release of Firefox (115)?

From when I create this ticket my hardware has changed, and I am targeting 144 FPS now, but I still see some hitches on the latest Firefox nightly.
Here is a link to a clean profile of FF:

Flags: needinfo?(nissan4321)
Component: Graphics → Graphics: Canvas2D
You need to log in before you can comment on or make changes to this bug.