From nobody Mon Aug 12 23:17:59 2024 X-Original-To: ports-bugs@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 4WjVmm1qTSz5TP9Q for ; Mon, 12 Aug 2024 23:18:00 +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 4WjVml5sH0z4hnd 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=qcADnrCmvh0iUPp7leVhHNrW2kkg6GB6ZFgaxCOE6ugwACbRYZ6GsJ2SAbA2yWxtxbdiN1 yO3+wxVKM0yQe8c3suZNBosG1mufwGHF8juCXJzW8/YCaYzOMpXWcDUTvMZjhk41htn4KH MKGZPnF12kJ7Hk8NdoAwOkEetJoDphdt/qKVSr+3+vlBFhRgmRm3x6iqN2kIsEsI5FjZ6G SS8hZuxFNwRm9GKPc98H5dwrijnPbsNlOcgJMAF3MccHXlYjXR5J7BbRjcG5iM57usaXUE 6BacMscrBmHU1i+/aOcsSYlJDtdmJSAyF9KSqRaPhiXEYEBp/A0V33ju6HvC9Q== 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=QG+4iDLp5C6nQIJNsmPSU+8pFEzY5JOKza4jW9kZSyU=; b=ZLIbHQ3VyWQLr+EOk35Ki7DOeVyc3UtR98xfV5weGoI5cnyVUPtDcdy/wau0iU5e1OGZAU ev32fS8iX00mGV9qOU1tn6DB5m7CT/zq+Ryn99Ghg1hsRkLOtcyDKSoiM4A4GtXyjB04nJ PKMZWeWJzZiySvCz/YeKblNdFGq6KU5xmanHNLVcbj6Vd9mlxoPR9SGrUkAtbCEDhEl0e9 alW1FsyAPSs5eGSgWaT6RFRntu6LP8Rle0QRXZqJC23QvIoWW3nThUys8lUsQToR8HBb9b RHMuv3NKQGkKasnCPVQY3UUhjH4yhYCLB5AQEvOggePnC9M6CN1RSbbTsfuK8Q== 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 4WjVml5MHgzmn9 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 47CNHxYm077668 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 47CNHxcR077665 for ports-bugs@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: ports-bugs@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: 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: 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: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-ports-bugs@freebsd.org Sender: owner-freebsd-ports-bugs@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 the assignee for the bug.=