Date: Mon, 12 Aug 2024 23:17:59 +0000 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 Message-ID: <bug-280772-7788-rcdPPwq4Dq@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-280772-7788@https.bugs.freebsd.org/bugzilla/> References: <bug-280772-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D280772 --- Comment #4 from Tomoaki AOKI <junchoon@dec.sakura.ne.jp> --- (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.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-280772-7788-rcdPPwq4Dq>