LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-14-2023, 12:24 PM   #1
Feanor
Member
 
Registered: Sep 2010
Location: Police State
Distribution: Slackware
Posts: 63

Rep: Reputation: 4
Nvidia driver installation and reversion


Hey all

Fresh difficulties after finally getting a slackware 15.0 install up and running, KDE desktop.

The pre-packaged nouveau drivers work pretty well on the old ASUS 6600 graphics card that came with the machine and I am willing to leave it at that for my purposes, but before committing to the installation I tried out the nvidia driver install from slackbuilds, as usual.

The non-legacy version did not work on an earlier install attempt, so I went with the oldest, the 340 legacy in the hopes that the old card is still supported by them.

Installed the nouveau blacklist as usual, and then the kernel bit, and then the drivers proper with all the extras linked on the slackbuilds page included.

Building the packages finishes, but there are C++ warnings (not unexpected).

Installed the packages with installpkg.

Unfortunately, after installing the xorg.conf file generated by nvidia-xconfig and trying to start up X with KDE as a normal user. No dice. No graphics mode change and it drops back to shell.

So I attempt to revert by removepkg of the two nvidia packages and removepkg the blacklist.

I remove any xorg.conf.

Trying to run startx now does not work, with X log errors about failing to find glx and various other libraries.

How to get back to default nouveau configuration? - it seems the removal of the nvidia drivers took some things with it that it shouldn't have, perhaps?

Any help?

Thanks

Last edited by Feanor; 07-14-2023 at 12:26 PM.
 
Old 07-14-2023, 12:42 PM   #2
cwizardone
LQ Veteran
 
Registered: Feb 2007
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,120

Rep: Reputation: 7292Reputation: 7292Reputation: 7292Reputation: 7292Reputation: 7292Reputation: 7292Reputation: 7292Reputation: 7292Reputation: 7292Reputation: 7292Reputation: 7292
Quote:
Originally Posted by Feanor View Post
.........The pre-packaged nouveau drivers work pretty well on the old ASUS 6600 graphics card that came with the machine......
RX 6600?
Isn't that a AMD GPU?

Regardless, remove the nvidia blacklist in /etc/modprobe.d/ and delete
your xorg.conf file in /etc/X11/xorg.conf.d/, and reboot.

Last edited by cwizardone; 07-14-2023 at 12:47 PM.
 
Old 07-14-2023, 12:52 PM   #3
Feanor
Member
 
Registered: Sep 2010
Location: Police State
Distribution: Slackware
Posts: 63

Original Poster
Rep: Reputation: 4
Hi cwizardone, thanks for responding

> RX 6600?

Definitely Nvidia, I used Nvidia drivers to get it running when it was a windows machine before linux install.

The card is very anonymous other than it's asus branding. I thought I caught a glimpse of 6600 written small on the board when I first starting working on it (inherited machine), but I was mistaken, or confused it with another on the pile. I've just taken it out to look closer, and there is very little identification other than a tiny text saying ENGT430, which leads to ...

> ASUS ENGT430/DI/1GD3(LP) NVIDIA GeForce GT 430 1 GB GDDR3

Either way, what would lead to the inability to revert to nouveau? - that's my main worry for now.

Last edited by Feanor; 07-14-2023 at 12:53 PM.
 
Old 07-14-2023, 01:04 PM   #4
cwizardone
LQ Veteran
 
Registered: Feb 2007
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,120

Rep: Reputation: 7292Reputation: 7292Reputation: 7292Reputation: 7292Reputation: 7292Reputation: 7292Reputation: 7292Reputation: 7292Reputation: 7292Reputation: 7292Reputation: 7292
This would be the proper driver for that gpu,
https://www.nvidia.com/Download/driv.../196213/en-us/
Installation instructions can be found under the heading, "Additional Information" at the above link. Under that same heading you can find detailed installation instructions by clicking on "README."

As to returning to the nouveau driver, use the instructions in post number 2, above.

Last edited by cwizardone; 07-14-2023 at 01:06 PM.
 
Old 07-14-2023, 01:08 PM   #5
Feanor
Member
 
Registered: Sep 2010
Location: Police State
Distribution: Slackware
Posts: 63

Original Poster
Rep: Reputation: 4
> /etc/modprobe.d/

Will give that a try.

Thanks for the driver link.

In terms of installing it, should I wrap the driver .run file in one of the pre-existing slackbuilds and change version numbers etc., or run it stand-alone?

EDIT - ah, I see you've added more info, thanks.
 
Old 07-14-2023, 01:09 PM   #6
Minime_2003
Member
 
Registered: Aug 2021
Location: Sweden
Distribution: Slackware
Posts: 123

Rep: Reputation: 40
If its a GT430 you will need this drivers:
https://www.nvidia.co.uk/content/Dri...=uk&type=TITAN

As Slackware 15.0 is using kernel 5.15.x you will have to patch the drivers or it will fail to build the kernel drivers.
You can use this script to parch the drivers:
https://www.if-not-true-then-false.c...vidia-patcher/ and download the shell script "https://nvidia.if-not-true-then-false.com/patcher/inttf-nvidia-patcher.sh"

run the script like so:
# sh inttf-nvidia-patcher.sh -v 390.157

Note: acroding to your info about "ENGT430", Asus sais this is a "nVIDIA Display Driver V306.23 WHQL"
https://www.asusdriversdownload.com/...0-graphic-card

If checking this on Nvidia site i get this:
https://www.nvidia.com/download/driv...x/48693/en-us/

So i suspect that you want the nvidia 340.108 drivers for this card.
You can also patch the drivers for this card with the script i sent you:
# sh inttf-nvidia-patcher.sh -v 340.108

Hope this helps
Best regards:
Minime

Last edited by Minime_2003; 07-14-2023 at 01:22 PM.
 
1 members found this post helpful.
Old 07-14-2023, 01:14 PM   #7
Feanor
Member
 
Registered: Sep 2010
Location: Police State
Distribution: Slackware
Posts: 63

Original Poster
Rep: Reputation: 4
Thanks Minime.

It is never straightforward, is it?
 
Old 07-14-2023, 01:26 PM   #8
Feanor
Member
 
Registered: Sep 2010
Location: Police State
Distribution: Slackware
Posts: 63

Original Poster
Rep: Reputation: 4
> So i suspect that tyou want the nvidia 340.108 drivers for this card.

> You can allso patch the drivers for this card with the script i sent you:

Is that necessary, since that driver version is already available on slackbuilds, and would presumably be set up to work?:

http://slackbuilds.org/repository/15...acy340-driver/

But this is the driver I tried (which did built, but X would not start).
 
Old 07-14-2023, 01:40 PM   #9
fourtysixandtwo
Member
 
Registered: Jun 2021
Location: Alberta
Distribution: Slackware...mostly
Posts: 321

Rep: Reputation: 215Reputation: 215Reputation: 215
The nvidia-legacy340 SBo packages do not uninstall cleanly (at least back in Nov/Dec). Here's my notes from after briefly testing that driver on a w510 laptop before reverting.

Code:
#to remove nvidia drivers
removepkg nvidia-legacy340-* xf86-video-nouveau-blacklist-1.0-noarch-1

# also related if getting this error "/usr/bin/ld: cannot find -lGL"
#   saw this in my build VM and w510 
ls -l /usr/lib64/libGL.*
ls -l /usr/lib64/*340.108*
rm /usr/lib64/libGL.so.1.7.0-xorg /usr/lib64/libGL.so.1
slackpkg reinstall libglvnd
After that I could start X again.

Last edited by fourtysixandtwo; 07-14-2023 at 01:48 PM.
 
1 members found this post helpful.
Old 07-14-2023, 01:45 PM   #10
Feanor
Member
 
Registered: Sep 2010
Location: Police State
Distribution: Slackware
Posts: 63

Original Poster
Rep: Reputation: 4
Thanks fourtysixandtwo, useful info.
 
Old 07-14-2023, 03:48 PM   #11
JayByrd
Member
 
Registered: Aug 2021
Location: Seattle, WA
Distribution: Slackware
Posts: 300

Rep: Reputation: 309Reputation: 309Reputation: 309Reputation: 309
Quote:
Originally Posted by cwizardone View Post
This would be the proper driver for that gpu,
https://www.nvidia.com/Download/driv.../196213/en-us/
....
I believe cwiz is correct: the 390 version of nvidia is the one for this chip (GT430).

At this point, there are several different legacy versions of the official nvidia driver. Here's a quick overview from nVidia.

You'll want to use the most recent one you can that supports your hardware. If the 390 works, that'd be preferable to v340. As an added benefit, since v390 was officially supported right up until the end of 2022, the SlackBuild script available on SBo is already in a working state--no patching necessary!

Contrast the v340 script on SBo which is listed as UNMAINTAINED, and may need patching as minime said. (Personally, my hardware limits me to the even older 304, which nVidia declared EOL in 2017. I've been keeping it patched myself for the last several years.)
 
1 members found this post helpful.
Old 07-15-2023, 04:17 AM   #12
Feanor
Member
 
Registered: Sep 2010
Location: Police State
Distribution: Slackware
Posts: 63

Original Poster
Rep: Reputation: 4
JayByrd, thank you. Once I fix the reversion to nouveau I will try the 390 driver next.
 
Old 07-15-2023, 12:17 PM   #13
Feanor
Member
 
Registered: Sep 2010
Location: Police State
Distribution: Slackware
Posts: 63

Original Poster
Rep: Reputation: 4
JayByrd, thanks.

I futzed about with /usr/lib64/ GL stuff (even after tips from earlier in the thread about removing old links and reinstalling libglvnd there were 340 libs left over). I gave up trying to rewire everything and re-installed again.

Using the 390 drivers I have a complete system ready to work. Thanks to all contributors.

The interface for apps such as kstars and kdenlive now work smoothly, no lag, and google earth in the browser runs a treat. KDE speedy as I can ask for.

Last edited by Feanor; 07-15-2023 at 12:23 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
NVIDIA problems (NVIDIA-SMI has failed..., NVIDIA driver is not loaded....) CrimsonEvenfall Linux - General 1 04-16-2022 02:33 AM
nvidia-driver SBo The symbolic link '/usr/lib/libGL.so.1' does not point to 'tmp/SBo/package-nvidia-driver/usr/lib64/libGL.so.1' Gerardo Zamudio Slackware 5 07-30-2017 10:44 PM
Insufficient data descriptors in format after reversion AlexBB Linux - Newbie 0 12-16-2014 12:44 AM
Trouble with new nVidia driver installation...no nvidia logo and KDE no start up mdb Linux - Software 8 08-18-2004 09:45 AM
nvidia fx5600 loads vesa driver instead of nvidia driver saburo62 Linux - Hardware 3 05-04-2004 03:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:13 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration