From nobody Mon Aug 12 23:17:59 2024 X-Original-To: x11@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 4WjVml6BCmz5TP0K for ; Mon, 12 Aug 2024 23:17:59 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WjVml30QXz4hlK for ; Mon, 12 Aug 2024 23:17:59 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1723504679; a=rsa-sha256; cv=none; b=XV34drAUE214Pmz4QShOnkKXkCDOYNlQWf5KMu4cOow5UlUHtGmKc3cAUwvYskeAT1L7mC PqCainxEvXE27xh7gxC71wqjoebmFwfWzERqdOTFSO3f+Zxn1IdKJrYzFUEXYsVjGa0kOn MzKmecJ2cLi08Sjdp571iemjV8tkx/m9navCE6rHy+wkYK40fww9PYWKGxQnW+s3Hd+PC8 94s0R4oXdFbvosfsqk9xmnrW/vY46Z4rUo0lh/CHongmq9vxRns4MKX4UcWom/om764qfV iNBBXwcpl31sXMBjfhG3xdxStj7G3jNGSUk4Vb+VVkO9WbI2Zl35ItlTsR71RA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1723504679; 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=MZgCCEy2G6DMPdOLpQCIXBisXRhkXIQqEDAIjGL6ZRk=; b=rZhbBsSW2uRqyM5m51/s1sprg+50gMK/PM4pDBgxdWsGb1yznhUzIwBgUmhlfcZc5ipO2C w7olGBTvfOkNFjReULQ86a1uve1HK2pN7JO4JOe8KtgVb1Cytnz+1SNRjhHPTSrsagu1sU CwOpXps+guX75PJkjN8B0JitFaryeljYNOy3z4lrAPk1v8ZqOS4pl61sBFXfSC+F4CT5XR rpSTp3ZHU0LiYZ9OF5/a84mmcXOFXVcv+YYcYbuhitgwwKKh5JbyrKNuuO2MgPdBTgSNrO iBjTMs8cj7cFgH5MIaM8rbaFYb9MFanh4A7OUEphh8qCws1CH6qq7z2FtE+XzA== 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 4WjVml2W02zm56 for ; Mon, 12 Aug 2024 23:17:59 +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 47CNHxCY077650 for ; Mon, 12 Aug 2024 23:17:59 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 47CNHxVK077648 for x11@FreeBSD.org; Mon, 12 Aug 2024 23:17:59 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: x11@FreeBSD.org Subject: [Bug 280772] x11/nvidia-driver: Update to 550.107.02 with x11/linux-nvidia-libs and related DRM ports Date: Mon, 12 Aug 2024 23:17:59 +0000 X-Bugzilla-Reason: CC 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: junchoon@dec.sakura.ne.jp X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? 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: X11 List-Archive: https://lists.freebsd.org/archives/freebsd-x11 List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-x11@freebsd.org Sender: owner-freebsd-x11@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D280772 --- Comment #4 from Tomoaki AOKI --- (In reply to Chad Jacob Milios from comment #3) Nice! Latest GPU architecture, Ada Lovelace! > when you say "includes fixes to allow 560 series" am i to understand your= intention is that i twiddle the NVIDIA_DISTVERSION myself then? i will try= your patches and let you know how it goes. Yes. You must specify which DISTVERSION to be wanted. Without it, 550.107.02 is built with this patch applied. Technically, NVIDIA_DISTVERSION is set with "=3D", means, forcibly set it. OTOH, DISTVERSION is set with "?=3D", means, set with right-side value if n= ot yet set, thus, possible to override. For example, I have configurations below for 560.31.02 in my /etc/make.conf. It works fine for x11/nvidia-driver and x11/linux-nvidia-libs, but couldn't determine why, graphics/nvidia-drm-*-kmod and graphics/nvidia-drm-kmod alwa= ys pick version from x11/nvidia-driver/Makefile.version ("NO_CHECKSUM=3D YES" = works, though). =3D=3D=3D=3D=3D Quote =3D=3D=3D=3D=3D NVIDIA_OVERRIDE_VERSION=3D 560.31.02 .if ${.CURDIR:M/usr/ports/x11/nvidia-driver} && defined (NVIDIA_OVERRIDE_VERSION) DISTVERSION=3D ${NVIDIA_OVERRIDE_VERSION} NO_CHECKSUM=3D YES .endif .if ${.CURDIR:M/usr/ports/x11/linux-nvidia-libs} && defined (NVIDIA_OVERRIDE_VERSION) DISTVERSION=3D ${NVIDIA_OVERRIDE_VERSION} NO_CHECKSUM=3D YES .endif .if ${.CURDIR:M/usr/ports/graphics/nvidia-drm-*-kmod} && defined (NVIDIA_OVERRIDE_VERSION) DISTVERSION=3D ${NVIDIA_OVERRIDE_VERSION} NO_CHECKSUM=3D YES .endif .if ${.CURDIR:M/usr/ports/graphics/nvidia-drm-kmod} && defined (NVIDIA_OVERRIDE_VERSION) DISTVERSION=3D ${NVIDIA_OVERRIDE_VERSION} NO_CHECKSUM=3D YES .endif =3D=3D=3D=3D=3D End quote =3D=3D=3D=3D=3D Strangely, if I build graphics/nvidia-drm-*-kmod ports with overriding DISTVERSION with 560.31.03 but without editing x11/nvidia-driver/Makefile.version (kept for 550.107.02 as is), `% pkg vers= ion -v | grep nvidia-drm-61-kmod` would show =3D=3D=3D=3D=3D Quote =3D=3D=3D=3D=3D nvidia-drm-61-kmod-560.31.02_1 =3D up-to-date with index =3D=3D=3D=3D=3D End Quote =3D=3D=3D=3D=3D but actually it is nvidia-drm-61-kmod-550.107.02, thus, not work with versi= on mismatch. > How likely is this to brick my GPU? (1 being probably and 5 being certain= ly lol) First of all, do not load GPU related modules via /boot/loader.conf[.local]. It could brick your PC when something goes wrong. If you load GPU related modules via kld_list variable in /etc/rc.conf[.loca= l], don't worry. If your PC seems to become a brick, try Ctrk-Alt-Del and wait = in front of your PC, then, go to single user mode when loader menu is displaye= d. You can rebuild/reinstall safer version of drivers. (Remount of FS with RW would be needed just as installworld in single user mode.) If 560 series of drivers exposed problems, you can still try 555 series of = New Feature drivers. 555 series doesn't have GSP firmware, so would be expected less problematic. > Do you think i will be okay with the Linuxulator bits having my DEFAULT_V= ERSIONS=3D linux=3Drl9 ? Not sure. I've not even tried rl9. c7 only. And IIRC/IIUC, rl9 ports are largely restructured compared with c7. > how might i help you further this cause until FreeBSD natively supports C= UDA and UVM as well or better than Linux? Unfortunately, CUDA and UVM are not stated to be supported even on 560.31.0= 2. At least, modules/components needed for them, which Linux version has, are = not built on FreeBSD yet. --=20 You are receiving this mail because: You are on the CC list for the bug.=