Closed Bug 1658591 Opened 4 years ago Closed 4 years ago

Canvas compositing is slower with firefox 79 and up on linux x64 on NVIDIA proprietary driver

Categories

(Core :: Graphics: CanvasWebGL, defect)

79 Branch
Unspecified
Linux
defect

Tracking

()

RESOLVED DUPLICATE of bug 1010527
Tracking Status
firefox-esr68 --- unaffected
firefox-esr78 --- unaffected
firefox79 --- wontfix
firefox80 --- wontfix
firefox81 --- wontfix
firefox82 --- wontfix

People

(Reporter: m.sokalski, Unassigned)

References

(Regression)

Details

(Keywords: regression)

User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:79.0) Gecko/20100101 Firefox/79.0

Steps to reproduce:

Start firefox 79.0 or later, maximize window to at least full-hd screen resolution
Visit Wasm/WebGL http://asciicker.com/y6
Stay idle until fps indicator stabilizes.

Actual results:

Fps value at the top edge of screen shows no more than 45.

Expected results:

Fps value should oscillate in between 59-61.

It can be observed in performance recording that most of the time is consumed by 'Graphics' task (outside of any rendering functions).
I made regression bisection, multiple times, all ends at the same place (attached one below):

2020-08-11T15:45:43.263000: INFO : application_version: 79.0a1
2020-08-11T15:45:43.264000: INFO : platform_buildid: 20200615174947
2020-08-11T15:45:43.266000: INFO : platform_changeset: ca8139d58d58ea03def4ff2375ab9010cbd2a1b3
2020-08-11T15:45:43.267000: INFO : platform_repository: https://hg.mozilla.org/integration/autoland
2020-08-11T15:45:43.267000: INFO : platform_version: 79.0a1
2020-08-11T15:45:43.815000: INFO : b''
2020-08-11T15:45:43.816000: INFO : b'(firefox:19797): Gtk-WARNING **: GModule (/usr/lib/x86_64-linux-gnu/gtk-3.0/3.0.0/immodules/im-ibus.so) initialization check failed: GLib version too old (micro mismatch)'
2020-08-11T15:45:43.817000: INFO : b''
2020-08-11T15:45:43.817000: INFO : b"(firefox:19797): Gtk-WARNING **: Loading IM context type 'ibus' failed"
2020-08-11T15:45:43.817000: INFO : b''
2020-08-11T15:45:43.817000: INFO : b'(firefox:19797): Gtk-WARNING **: GModule (/usr/lib/x86_64-linux-gnu/gtk-3.0/3.0.0/immodules/im-ibus.so) initialization check failed: GLib version too old (micro mismatch)'
2020-08-11T15:45:43.817000: INFO : b''
2020-08-11T15:45:43.817000: INFO : b"(firefox:19797): Gtk-WARNING **: Loading IM context type 'ibus' failed"
2020-08-11T15:45:43.827000: INFO : b''
2020-08-11T15:45:43.828000: INFO : b'(firefox:19797): Gtk-WARNING **: GModule (/usr/lib/x86_64-linux-gnu/gtk-3.0/3.0.0/immodules/im-ibus.so) initialization check failed: GLib version too old (micro mismatch)'
2020-08-11T15:45:43.828000: INFO : b''
2020-08-11T15:45:43.829000: INFO : b"(firefox:19797): Gtk-WARNING **: Loading IM context type 'ibus' failed"
2020-08-11T15:45:44.342000: INFO : b''
2020-08-11T15:45:44.342000: INFO : b'(firefox:19797): Gtk-WARNING **: GModule (/usr/lib/x86_64-linux-gnu/gtk-3.0/3.0.0/immodules/im-ibus.so) initialization check failed: GLib version too old (micro mismatch)'
2020-08-11T15:45:44.342000: INFO : b''
2020-08-11T15:45:44.342000: INFO : b"(firefox:19797): Gtk-WARNING **: Loading IM context type 'ibus' failed"
2020-08-11T15:45:44.345000: INFO : b''
2020-08-11T15:45:44.345000: INFO : b'(firefox:19797): Gtk-WARNING **: GModule (/usr/lib/x86_64-linux-gnu/gtk-3.0/3.0.0/immodules/im-ibus.so) initialization check failed: GLib version too old (micro mismatch)'
2020-08-11T15:45:44.345000: INFO : b''
2020-08-11T15:45:44.348000: INFO : b"(firefox:19797): Gtk-WARNING **: Loading IM context type 'ibus' failed"
2020-08-11T15:45:47.564000: INFO : b''
2020-08-11T15:45:47.564000: INFO : b"(firefox:19797): GLib-GIO-WARNING **: unknown schema extension 'd'"
2020-08-11T15:45:50.831000: INFO : b''
2020-08-11T15:45:50.834000: INFO : b"(/tmp/tmpdbsuwdfu/firefox/firefox-bin:20024): Gtk-WARNING **: Error loading image 'file:///usr/share/themes/Ambiance/gtk-3.0/assets/progressbar-horizontal-trough.png': Unable to load image-loading module: /usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-png.so: /home/user/mozreg/mozregression-gui/libz.so.1: version `ZLIB_1.2.9' not found (required by /usr/lib/x86_64-linux-gnu/libpng16.so.16)"
2020-08-11T15:45:54.910000: INFO : Narrowed integration regression window from [50324c6c, 567a8768] (4 builds) to [ca8139d5, 567a8768] (2 builds) (~1 steps left)
2020-08-11T15:45:54.919000: DEBUG : Starting merge handling...
2020-08-11T15:45:54.919000: DEBUG : Using url: https://hg.mozilla.org/integration/autoland/json-pushes?changeset=567a8768593eb06a86deb263f94d9de2d3d3e8fa&full=1
2020-08-11T15:45:54.919000: DEBUG : redo: attempt 1/3
2020-08-11T15:45:54.919000: DEBUG : redo: retry: calling _default_get with args: ('https://hg.mozilla.org/integration/autoland/json-pushes?changeset=567a8768593eb06a86deb263f94d9de2d3d3e8fa&full=1',), kwargs: {}, attempt #1
2020-08-11T15:45:54.921000: DEBUG : urllib3.connectionpool: Resetting dropped connection: hg.mozilla.org
2020-08-11T15:45:56.061000: DEBUG : urllib3.connectionpool: https://hg.mozilla.org:443 "GET /integration/autoland/json-pushes?changeset=567a8768593eb06a86deb263f94d9de2d3d3e8fa&full=1 HTTP/1.1" 200 None
2020-08-11T15:45:56.108000: DEBUG : Found commit message:
Bug 1632249 - Disable now-failing DXGL test for now.

Differential Revision: https://phabricator.services.mozilla.com/D79649

2020-08-11T15:45:56.108000: DEBUG : Did not find a branch, checking all integration branches
2020-08-11T15:45:56.111000: INFO : The bisection is done.
2020-08-11T15:45:56.112000: INFO : Stopped

Summary: Canvas compositing is slower with firefox 79 and up on linux x64 → Canvas compositing is slower with firefox 79 and up on linux x64 on NVIDIA properitary driver
Summary: Canvas compositing is slower with firefox 79 and up on linux x64 on NVIDIA properitary driver → Canvas compositing is slower with firefox 79 and up on linux x64 on NVIDIA proprietary driver

looks like this problem affects my intel graphics as well.
Tested on Chromium(~59-60fps) vs FFNightly 81.0a1 (2020-08-09) (64-bit)(~39fps)
Intel Open Source Technology Center -- Mesa DRI Intel(R) HD Graphics 3000 (SNB GT2)
3.0 Mesa 20.0.8
Webrender enabled

Regressed by: 1632249
Has Regression Range: --- → yes
See Also: → 1658600

(In reply to bull500 from comment #3)

looks like this problem affects my intel graphics as well.
Tested on Chromium(~59-60fps) vs FFNightly 81.0a1 (2020-08-09) (64-bit)(~39fps)
Intel Open Source Technology Center -- Mesa DRI Intel(R) HD Graphics 3000 (SNB GT2)
3.0 Mesa 20.0.8
Webrender enabled

Slower performance than Chromium is still expected on Linux unfortunately. You can expect similar performance if you use the Wayland backend or, as soon as bug 1655026 lands, use the EGL/X11 backend. So if you don't observe a regression from compared to FF 78 then this bug doesn't affect you.

FTR, I get steady ~60FPS on my Intel iGPU with FF 79 on Wayland backend (and WR enabled of course).

Set release status flags based on info from the regressing bug 1632249

Component: Untriaged → Canvas: WebGL
OS: Unspecified → Linux
Product: Firefox → Core

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

For more information, please visit auto_nag documentation.

Flags: needinfo?(jgilbert)
Status: UNCONFIRMED → RESOLVED
Closed: 4 years ago
Flags: needinfo?(jgilbert)
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.