Slackware Linux 15.0 OS may be just be the third ‘Release Candidate‘, but it is sure a great OS even @ this stage! I *HATE* working wid ‘n in ‘Da Terminal, but this ‘Thang is soooooooo Smoooooth! How Smoooooth? Well, I’m basically ‘driving’ it whilst wearing a blindfold, and it still takes ‘Da Corners at incredible speeds!?!
Fortunately, the Slackware Documentation Project (slackware docs) may be the best Linux guide I have ever used…I also usually *HATE* all Linux guides. 😲
As mentioned in the Slackware Linux 15.0 RC3: 100% *PURE* ‘Root User‘ Distro – ‘no Girls or Girlie men allowed!‘ post, I “especially want to see how to add Nvidia drivers.”
Let’s get right to it…
I stopped using AMD graphic cards a long time ago, but the Slackware Proprietary Graphics Drivers page covers them also. Scroll down the page until you get to the nVIDIA Driver Installation and Configuration section.
I skipped most of the first part, and moved to this instead:
The Nvidia drivers mentioned in that above pic are at – Unix Driver Archive.
I went wid the 470.94 version just to be safe, tho it said the 495.46 version was also compatible wid my GPU.
Next, I went to “Disabling the nouveau Module”:
Just like it says, you need to find the /etc/modprobe.d/ folder, mine was in File Manager >> Devices 107.4 GiB Internal Drive (root drive) >> etc >> modprobe.d:
Open the modprobe.d folder, and it probably just has the ReadMe file; however, since I mostly just ‘Winged‘ it to this point, on what that “Disabling the nouveau Module” above pic was saying, I was going to continue ‘Winging‘ it. Yes, I am that good…for a ‘Newb‘ anyway. 😁
In the modprobe.d folder, click secondary mouse button, click Create New, then open a Text File. Like this:
Just like it said, name that file “disable_nouveau.conf” like #3 in the above pic. Then open the file ‘n type in “blacklist nouveau” on first line, then “options nouveau modeset=0” on second line (Copy ‘n Paste is easier). Like this:
Then save it.
OK…at this point I had already read way too much, was tired, and decided to double my ‘Winging‘ in this Nvidia driver installation, so the next steps may be off a tad. 😉
Had done something like this before, so before I rebooted, I wrote down the location of that Nvidia driver I downloaded earlier: /root/Downloads/NVIDIA-Linux-x86_64-470.94.run and I noted it probably needed the “sh” command like it showed on the Proprietary Graphics Drivers page. Since I’m a ‘Newb‘ just ‘Winging‘ it, I write several versions of the commands I might need in the terminal, and it took about three tries this time to get it right…one try was another error not connected to the Nvidia driver.
Follow this pic if needed:
I forget what I met as it booted back up, but I believe it just wanted name (root) and a password. The text-only terminal probably came up at some point, and I typed in: sh /root/Downloads/NVIDIA-Linux-x86_64-470.94.run
That starts the installer, and I basically went wid defaults (tho sorta following the steps in above pic). Accepted (Yes) the 32-bit question. Default for the “nvidia-xconfig utility” was “No” but I went “Yes“.
‘Winging‘ it Worked! \o/ ’Hippity hip Hoorah’ \o/
Earlier, “About this System” showed Graphics Processor as “NV168”, but now:
The correct NVIDIA GeForce GTX 1660 SUPER driver…a triple-check:
That was pretty easy ‘n went well since I sorta ‘Winged‘ a lot of it. Yes, I am that good…for a ‘Newb‘ anyway. 😁
Will also move Slackware Linux 15.0 RC3 into Tier Two on the Karmi’s Top 10 Linux Distros page.
2/13/2022 UPDATE: have added this post to the new Slackware Linux page…
LINUX IS LIKE A BOX OF CHOCOLATES – you never know what you’re gonna get!