LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 10-05-2016, 06:23 AM   #1
Strela9K
LQ Newbie
 
Registered: Sep 2016
Posts: 10

Rep: Reputation: Disabled
Slackware 14.2 Nvidia 367.44 64-bit and 32-bit installation


Hello Slackers!

My Slackware is multilib-enabled.
I've been searching for the correct way to install the Nvidia SlackBuilds.org drivers including the 32-bit packages for multilib. When browsing through https://docs.slackware.com/slackware:multilib there is a piece of text that says:

Quote:
If you were considering to use the convertpkg-compat32 script to convert a non-Slackware package to a -compat32 package, I must strongly advise against this. The script is written with a single purpose and that is to make 32bit versions of the official Slackware64 binaries/libraries available in a multilib setup. As such, the script will remove a lot of stuff that is present in the original 32bit package - stuff which is expected to have been installed as part of the 64bit version of the package.
In almost all cases where you have downloaded a non-Slackware 32bit package and want to make it work on Slackware64, the best way is to find the sources and build a 64bit version of the package. Alternatively, just install the original 32bit package instead of trying to “convert it” and then run it from the commandline to find out any missing 32bit libraries you may still have to extract from an official Slackware package.
If I understand correctly building and installing the 64-bit packages is pretty straightforward. Having all the source tarballs and the build script in the same directory I run ./nvidia-kernel.SlackBuild to get a package in /tmp directory. Installing it is as simple as doing installpkg nvidia-kernel-... and the same goes for Nvidia drivers.

But what confuses me is how should I build the 32-bit package. Should I run . /etc/profile.d/32dev.sh change ARCH variable to "i486" and then run the build script and later convert the package to compat32 and while still in the 32-bit environment install the package? Should I do it like this considering what is written in the quoted text and is it correct to install compat32 packages with the . /etc/profile.d/32.dev.sh still active?
 
Old 10-05-2016, 06:44 AM   #2
phenixia2003
Senior Member
 
Registered: May 2006
Location: France
Distribution: Slackware
Posts: 1,052

Rep: Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008
Hello,

To install the 32-bit compatibility libraries from nvidia-driver, you don't need to use convertpkg-compat32. Simply run the nvidia-driver.SlackBuild as below :

Code:
$ COMPAT32="yes" ./nvidia-driver.SlackBuild
--
SeB

Last edited by phenixia2003; 10-05-2016 at 06:48 AM.
 
Old 10-05-2016, 06:49 AM   #3
Strela9K
LQ Newbie
 
Registered: Sep 2016
Posts: 10

Original Poster
Rep: Reputation: Disabled
Thanks for the reply!

But what about the nvidia-kernel?
 
Old 10-05-2016, 07:03 AM   #4
phenixia2003
Senior Member
 
Registered: May 2006
Location: France
Distribution: Slackware
Posts: 1,052

Rep: Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008
Hello,

Quote:
Originally Posted by Strela9K View Post
Thanks for the reply!

But what about the nvidia-kernel?
The nvidia-kernel package contains only the kernel module required by the nvidia proprietary driver. To run 32-bit OpenGL softwares on 64-bit, you don't need a 32-bit version of this module.

--
SeB
 
1 members found this post helpful.
Old 10-05-2016, 07:05 AM   #5
Strela9K
LQ Newbie
 
Registered: Sep 2016
Posts: 10

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by phenixia2003 View Post
Hello,



The nvidia-kernel package contains only the kernel module required by the nvidia proprietary driver. To run 32-bit OpenGL softwares on 64-bit, you don't need a 32-bit version of this module.

--
SeB
Thanks! I'm quite new to Slackware and don't want to screw anything up
 
Old 10-05-2016, 07:41 AM   #6
Strela9K
LQ Newbie
 
Registered: Sep 2016
Posts: 10

Original Poster
Rep: Reputation: Disabled
I've built the SB package with COMPAT32 variable on "yes" and installed the nvidia-kernel and nvidia-driver(multi) package and everything works fine.

Thanks again for the help!
 
  


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 367 drivers in Slackware 14.2 slacktroll Slackware 15 09-05-2016 01:57 PM
Is Slackware 14.1 32 bit capable of handling multiple core processor on a 64 bit machine? sinar.kk Slackware 11 01-12-2016 06:06 AM
[SOLVED] Overwriting the Ubuntu 64 bit partition with installation of 32 bit version brantkings Ubuntu 7 09-12-2011 11:12 AM
RedHat support booting 32-bit & 64-bit kernels from single installation? bkimura66 Linux - Server 1 08-11-2009 07:45 AM
Can't get out of 24 bit color want (32 bit) also can't go to 1280x1024, nVidia? mr_coffee Linux - Hardware 3 01-19-2006 06:06 PM

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

All times are GMT -5. The time now is 10:50 PM.

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