From nobody Sun Feb 5 12:02:39 2023 X-Original-To: gecko@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4P8p1L34lrz3nSQW; Sun, 5 Feb 2023 12:02:46 +0000 (UTC) (envelope-from jbeich@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "freefall.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4P8p1L29xTz3nht; Sun, 5 Feb 2023 12:02:46 +0000 (UTC) (envelope-from jbeich@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1675598566; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=cu33jdnQ2j0V0lNvHk3LCexWuGNVA7w5qg0I3frjYUc=; b=VDTn8BeqkUoDAUcWaPOOlPgFE6CG0xk69xb0pM3tX2FQEM7t8ixipaVZvNYHyhaquM/jrg yywBm5saqaq2ispmDE5TiqCisrcRYRQJN68UcMQsDvMCZbsE5O2UzH1Q/jXiSdUpQrR9VB vluz2eNMTLEWYfEZi9xv7cTdK4UNErd/vHplCduO6mFuswCPTQgA9VEHo6ujd/c6biwbn5 Npv+r5yG0uiJ2wKwp5ymVLPWCTmUSnBZ/bBeeLE47f8TVEytkir5qzlB4QLyDyyQJ9v8Be bs1ySC4me9cemHSB+ge0Pt4jvb8DjHSbZMPqe7Ovpm9R0w2ixSw0058Ltrhnog== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1675598566; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=cu33jdnQ2j0V0lNvHk3LCexWuGNVA7w5qg0I3frjYUc=; b=fCRFP/nkVF6lK5t1yeXVr2gVE7JUsbD3p76JVQbj9GXN3fEbOX9GOXoz6MN/zGg1WJKB+p AsJaA9P79VpXOkvA1jXMKDPw+sVv7ai6MveHJmRsGKzRhyME3dmbebz0bgbenP3euuUlZA iuak/pA5MX0gKIZ2M5bxAwqGJDMPW/13dgkDojeBVIelKTZAeoa+EJSvxkVGZh+KVrNECO Ka/CO+T7WXdfnprZSxf2hF1ewZ6BagciXSLuDZQFY3Nfm+lhMZDzlJ9YB6jyB5YLmJlTye rVCd0k5OCrAXiboRG40IdcSH6H1BkVx0Eeiv71O6xVxamKwpZh6F7PnKgcHguA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1675598566; a=rsa-sha256; cv=none; b=W3wD6LvOng5vtjf9ki6RP0UIq28KJ5Gd5Ds+4iod1YXlHL0RpphLHB7/9E6tCBT+QKwz/k rJmaOFZKRK0Y4/gXtDYxEHqMzvYOVM5iGPv1jev6HlxWVemxOnKZhCkhB5S0/k2DbjfY7I E6RW/5VyPJSS0iSjyhPOlHGfT+A/qiJbMDKnfWL9KC5fhJ1Uw3Ror/L5OY0ORR6aovhx0P YSr9rwJFCcDEvzfRVDStELcV/UtRwYoskslCawzMSptVwksRmJZsSQrtqHz4rzp2OoeXuh atR7lALRrfAbf35VbfYmh2bZwpds1uDY4Mw3mTBzrLJ0ZEg3J05R6FCligXndA== Received: by freefall.freebsd.org (Postfix, from userid 1354) id 365F314D4F; Sun, 5 Feb 2023 12:02:46 +0000 (UTC) From: Jan Beich To: "Alex V. Petrov" Cc: gecko@FreeBSD.org, ports@FreeBSD.org Subject: Re: FreeBSD Port: firefox-109.0.1,2 (WebGL) In-Reply-To: (Alex V. Petrov's message of "Sun, 5 Feb 2023 14:20:04 +0700") References: Date: Sun, 05 Feb 2023 13:02:39 +0100 Message-ID: List-Id: Gecko Rendering Engine issues List-Archive: https://lists.freebsd.org/archives/freebsd-gecko List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-gecko@freebsd.org MIME-Version: 1.0 Content-Type: text/plain X-ThisMailContainsUnwantedMimeParts: N "Alex V. Petrov" 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/