LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 09-10-2009, 04:12 AM   #1
mlai023
LQ Newbie
 
Registered: Aug 2009
Posts: 14

Rep: Reputation: 0
nvidia runs fine, now what about 32bit library?


I installed Slackware 13.0 x86_64 about a week ago. My video card is a GeForce 9500 GT. I went to the NVIDIA site and downloaded the appropriate 64-bit drivers. I went to slackbuilds.org, got the SlackBuilds for nvidia-kernel and nvidia-driver, modified the SlackBuilds accordingly, exited X and ran them. I ran nvidia-xconfig, restarted X, and everything works fantastically.

Fantastic!

Now, I had multilib support enabled before I did any of this NVIDIA stuff. Alien Bob's guide says the following:

Quote:
Originally Posted by Alien Bob
After installing the ”-compat32” packages, you may have to re-install your binary Nvidia or Ati video X.Org drivers. These driver packages contain both 64bit and 32bit libraries to be maximally useful on a 64bit multilib OS. If you installed the driver files for both architectures, the ”mesa-compat32” package will overwrite some of the 32bit library files.

On the other hand, if you originally only installed the 64bit driver libraries for your Nvidia/Ati card, it is recommended after installation of the multilib packages, to re-install the binary driver package. This time, choose to install the 32bit driver files as well.

The graphical 32bit applications that you are going to run on your multilib installation will require these 32bit driver libraries. Crashes are likely to occur if you fail to install the correct files.
Okay. I only installed the 64-bit driver. I just want to verify that what I should do now is something like:

1. Go to the NVIDIA site and get the 32-bit drivers.
2. Get the SlackBuilds for nvidia-driver and nvidia-kernel. Modify them appropriately.
3. Run " . /etc/profile.d/32dev.sh"
4. ???

This seems incorrect to me. I just need some 32bit libraries, right? Do I already have them? I need to run nvidia-xconfig again?

Last edited by mlai023; 09-10-2009 at 04:12 AM. Reason: tired
 
Old 09-10-2009, 04:21 AM   #2
mlangdn
Senior Member
 
Registered: Mar 2005
Location: Kentucky
Distribution: Slackware64-current
Posts: 1,844

Rep: Reputation: 452Reputation: 452Reputation: 452Reputation: 452Reputation: 452
I've never used the slackbuild for the nvidia driver. I simply run the nvidia script, and it will prompt you to install the 32 bit libraries. I always say no to that since I do not run the 32 bit compat layer.

Maybe the slackbuild does not allow for the 32 bit layer.
 
Old 09-10-2009, 04:38 AM   #3
mlai023
LQ Newbie
 
Registered: Aug 2009
Posts: 14

Original Poster
Rep: Reputation: 0
So I opened up the script in a text editor and looked around. There's a version history in there commented out, and pkg2 (that is, the one I ran) has the 32bit libraries as well. Good to know.
 
Old 09-10-2009, 11:09 AM   #4
vik
Member
 
Registered: Apr 2008
Distribution: Gentoo, FreeBSD
Posts: 225
Blog Entries: 8

Rep: Reputation: 50
Funny that you bring this up as I just had the same problem with the ATI driver. Running the installer manually produced the necessary 32-bit libraries: using the slackpackages didn't give me the compatibility layer (I guess they did it differently with the ATI drivers). Best way to test is to run /usr/bin/32/glinfo as your normal user. If you get errors, most likely you don't have the 32-bit libs installed.

BTW, you shouldn't need to do . /etc/profile.d/32dev.sh and create a 32 bit package or anything like that. The installer should give you the option to install the 32 bit compatibility libraries: just click yes.

See this thread for my experience:
http://www.linuxquestions.org/questi...are-64-753961/

Last edited by vik; 09-10-2009 at 11:17 AM.
 
Old 09-11-2009, 01:09 AM   #5
ppr:kut
Slackware Contributor
 
Registered: Aug 2006
Location: Netherlands
Distribution: Slackware
Posts: 631

Rep: Reputation: 463Reputation: 463Reputation: 463Reputation: 463Reputation: 463
The SlackBuilds on SBo don't support the 64bit driver version with included 32bit compat libs, and I have no intention to change that. So if you *really* need those 32bit compat libs, you'll have to use nvidia's binary installer.
 
Old 09-12-2009, 05:35 AM   #6
mlai023
LQ Newbie
 
Registered: Aug 2009
Posts: 14

Original Poster
Rep: Reputation: 0
Thanks. I have a very strong feeling this is going to get Dwarf Fortress running without segfaults.

Edit: Success!

Last edited by mlai023; 09-12-2009 at 05:48 AM. Reason: see post
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Windows Runs fine, Linux Crashes OC problems.... Chaosbringer Linux - Hardware 7 08-08-2008 09:33 PM
script doesn't run in cron (runs from shell just fine) Timur Sakayev Linux - Software 6 02-26-2007 12:56 PM
Using a 32bit library on a 64bit computer sniff Programming 1 07-04-2006 03:47 AM
Most Java runs fine, one game is slow Brain Drop Linux - Software 0 08-10-2004 10:10 AM
script runs fine from a command line, but doesn't work from cron? kleptophobiac Linux - Software 5 05-03-2004 04:14 PM

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

All times are GMT -5. The time now is 07:07 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