From nobody Sun Dec 25 19:59:27 2022 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 4NgBZm0BFwz1HQ19 for ; Sun, 25 Dec 2022 19:59:28 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4NgBZl5bWcz3kbS for ; Sun, 25 Dec 2022 19:59:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1671998367; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Mc+/mujhNwdsusHpqzhMMSEna6dVs95Q60TseLVgxdk=; b=kwzi5Tbdk1AeB5E83PTsMM3ILJWYOxM9egyXaAq07Y6C+6d16mVe3JckBTTiMa56l4cNHL RWFMBQjGTKULtvm2wBD2BBBlG3oX6mXp/mPA869CzShHCTsx34lvIn/gZjRAH611SVun5u JNVOueGtiE+qh3AXtbsY/f83Wfi3G1dvnGEENLY+tEiQ49tkMUDYhbtJoe04UVXd7N1yco 92ZgTEm1/TgWMF8sPMVvjfptwklqTIEB4j0v/GxqkDCFG92geEH2G2d64S1DbUAcRBw5D0 L0Y2HYChNiSL98Xwy07UlwozOKeFt33ElcJD3IANZgnEzFyUedxlBCVq6XFzxQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1671998367; a=rsa-sha256; cv=none; b=pL5Bm5f6sSZNszYxbDb+VgOfQCxFzW6tg2OlBSzHiSj71Qe6b7tqMG6FbrNP2FjAvS6vZN OyhM0LTCMICxKZh6XRdY9mAnd3CjJeU1O90ZEL9QcgQbDy+/XTOUI/o5YFQlDVzaLo+B/m vby3qVqtpbPkp+E7ig0tagZ2uo4g91ib3DmjIvvEBTxZqnb4pBMiRKGFOEFeavX2+wWL0P YIVijTwoBkxY4AdGQnaQABM+HxOQfhvM+t8u4spFw4kXCEOirmu9V4sljX9Kf9UhtqpMZ+ 1XjBqvpOeqpzjYxmGOug9tvikUDTR806qgZieKJhatU01C5raDXwFFV+wci53A== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4NgBZl4XL3z148M for ; Sun, 25 Dec 2022 19:59:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 2BPJxRgX011117 for ; Sun, 25 Dec 2022 19:59:27 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 2BPJxRWJ011116 for gecko@FreeBSD.org; Sun, 25 Dec 2022 19:59:27 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: gecko@FreeBSD.org Subject: [Bug 265482] www/firefox 103.0: WebGL no longer works with nvidia driver Date: Sun, 25 Dec 2022 19:59:27 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: marek@mky.waw.pl X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: gecko@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated 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 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D265482 --- Comment #3 from marek@mky.waw.pl --- > I wonder how WebGL in Firefox works on Linux given https://download.nvidi= a.com/XFree86/Linux-x86_64/510.60.02/README/kms.html still says "NVIDIA's D= RM KMS support is still considered experimental. It is disabled by default" I checked this on several modern Linux distros (Ubuntu, Mint, Debian) and it seems that DRM support is now enabled by default. I have not investigated it deeper, just checked the presence of nvidia_drm module and the tree of /dev/dri/ One more thing that I can confirm is that I successfully compiled nvidia-drm module from amshafer's work on github and it works with Firefox!=20 The confirmed working versions are: OS: FreeBSD 13.1-RELEASE Packages: drm-510-kmod-5.10.113_8 (compiled from ports, because I needed the same sou= rces to build nvidia-drm) firefox-108.0.1,2=20 Sources: 525.60.11 branch from https://github.com/amshafer/nvidia-driver Kernel log after loaded nvidia-drm.ko: nvidia0: on vgapci0 vgapci0: child nvidia0 requested pci_enable_io vgapci0: child nvidia0 requested pci_enable_io nvidia-modeset: Loading NVIDIA Kernel Mode Setting Driver for UNIX platform= s=20 525.60.11 Wed Nov 23 22:41:38 UTC 2022 sysctl_warn_reuse: can't re-use a leaf (hw.dri.debug)! [drm] [nvidia-drm] [GPU ID 0x00000a00] Loading driver [drm] Initialized nvidia-drm 0.0.0 20160202 for nvidia0 on minor 0 # ls -l /dev/dri/ total 0 lrwxr-xr-x 1 root wheel 8 Dec 25 20:18 card0 -> ../drm/0 lrwxr-xr-x 1 root wheel 10 Dec 25 20:18 renderD128 -> ../drm/128 It would be nice to see a x11/nvidia-drm in the ports tree or (probably bet= ter) integrate amshafer's patches with the next nvidia driver x11/nvidia-driver-= 525 --=20 You are receiving this mail because: You are the assignee for the bug.=