Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 05 Feb 2023 13:02:39 +0100
From:      Jan Beich <jbeich@FreeBSD.org>
To:        "Alex V. Petrov" <alexvpetrov@gmail.com>
Cc:        gecko@FreeBSD.org, ports@FreeBSD.org
Subject:   Re: FreeBSD Port: firefox-109.0.1,2 (WebGL)
Message-ID:  <y1pc-s4kg-wny@FreeBSD.org>
In-Reply-To: <f9b42659-e626-2910-fe8f-c9ba56b34222@gmail.com> (Alex V. Petrov's message of "Sun, 5 Feb 2023 14:20:04 %2B0700")
References:  <f9b42659-e626-2910-fe8f-c9ba56b34222@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
"Alex V. Petrov" <alexvpetrov@gmail.com> writes:

> Last versions FF have very low perfomance of WebGL.
>
> Compare with Chromium (https://webglsamples.org/aquarium/aquarium.html):
> 10000 fish
> Chromium - 60 Fps
> FF - 6 Fps
> (I have GF 1070)
>
> Some time ago these values were about the same.

On Intel HD 530 (8086:1912) for 10000 fish I get

chromium-109.0.5414.119:
- 41 FPS under Sway
- 60 FPS under Xwayland
- 60 FPS under Xorg (modesetting, without compositor)

firefox-109.0.1,2:
- 30 FPS under Sway
- 31 FPS under Xwayland
- 29 FPS under Xorg (modesetting, without compositor)

Maybe Firefox uses DMABUF[1] outside of Wayland and VA-API nowadays.
If so for DMABUF to work on NVIDIA GPUs you need DRM[2].

[1] https://searchfox.org/mozilla-release/search?q=DMABufWebGL
    and widget.dmabuf-webgl.enabled in about:config
[2] https://forums.freebsd.org/threads/call-for-testing-nvidia-drm-kernel-module.87161/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?y1pc-s4kg-wny>