LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   nvidia runs fine, now what about 32bit library? (https://www.linuxquestions.org/questions/slackware-14/nvidia-runs-fine-now-what-about-32bit-library-754101/)

mlai023 09-10-2009 04:12 AM

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?

mlangdn 09-10-2009 04:21 AM

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.

mlai023 09-10-2009 04:38 AM

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.

vik 09-10-2009 11:09 AM

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/

ppr:kut 09-11-2009 01:09 AM

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.

mlai023 09-12-2009 05:35 AM

Thanks. I have a very strong feeling this is going to get Dwarf Fortress running without segfaults.

Edit: Success!


All times are GMT -5. The time now is 03:49 AM.