Date: Tue, 19 Apr 2022 23:27:40 +1000 From: matti k <mattik@gwsit.com.au> To: tech-lists <tech-lists@zyxst.net> Cc: freebsd-questions@freebsd.org Subject: Re: nvidia-driver and no update in /usr/ports/UPDATING Message-ID: <20220419232740.6007e594@ws1.wobblyboot.net> In-Reply-To: <Yl6uoSiV/zyiipOu@cloud9.zyxst.net> References: <Yk9tEmvtQB5JEWoz@cloud9.zyxst.net> <20220419214544.3a0d236e@ws1.wobblyboot.net> <Yl6uoSiV/zyiipOu@cloud9.zyxst.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 19 Apr 2022 13:44:17 +0100 tech-lists <tech-lists@zyxst.net> wrote: > Hello, > > On Tue, Apr 19, 2022 at 09:45:44PM +1000, matti k wrote: > > > >The latest repo seems to have dropped the 470.x driver I need > > [...] > > >I have a kepler card and it needs the 470.x driver to work but pkg > >wants to upgrade it to the 510.x driver, which fails to work > > > >I often wonder why some pkgs disappear from the latest repo (I guess > >the answer is easy and should use quarterly) but is there a way to > >track why they break and possibly assist somehow? > > > >Currently installing freebsd on an old laptop and scratching head > >which nvidia-driver to use, maybe 390? seems dmesg/messages don't > >show this until after installing an nvidia driver which may or may > >not work > > You'll need to download the ports tree, freebsd sources, checkout > your version, and build & install a kernel with the relevant driver > (ideally you want to download and build with an unpriviledged account) > > This is for the 470 driver: > > 1. cd /usr > 2. mkdir ports. > 3. git clone ssh://anongit@git.freebsd.org/ports.git > 4. git clone ssh://anongit@git.freebsd.org/src.git > 5. edit /etc/src.conf (create it if it's not there) > 6. add this line: PORTS_MODULES+=x11/nvidia-driver-470 > 7. save the file > 8. cd /usr/src > 9. git checkout (whatever release you're following) like so: > git checkout releng/13.0 > (I follow stable for a graphical workstation so my equivalent > would be "git checkout stable/13") > 10. make kernel && sync && reboot > > If you need the 390 driver then change the ports modules line to have > x11/nvidia-driver-390. > > good luck, Thanks Ended up switching to the quarterly pkg repo as a workaround just for the nvidia-driver-470 pkg, lock nvidia-driver and switch back to latest pkg repo
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20220419232740.6007e594>