Page 1 of 1

How to add an NVidia Linux .run package to slacko646.3.2

Posted: Sat 29 Apr 2017, 16:59
by leejosepho
The "unaccelerated driver" in slacko646.3.2 works, but I am trying to improve my frame rate in Minecraft. After switching to "simple NV driver", Minecraft crashes with this error:
"org.lwjgl.LWJGLException: Could not init GLX...
"No OpenGL context found in the current thread."

It seems to me that I need to do this:
1. Download the NVidia Linux package for your card;
2. Download the devx sfs file for slacko646.3.2;
3. Download the kernel sources sfs file for slacko646.3.2;
4. Enable both sfs files in the bootmanager, and reboot..
5. After rebooting, and making sure both sfs files are enabled..
6. Drop out of X to the command prompt and run the installer..
e.g. /mnt/~~~/tmp/NVidia Linux package.run
7. Let the installer do its thing, and watch for any errors..
8. When it is finished, reboot...
9. After rebooting, run xorgwizard, and choose nvidia..
Ta-da...
http://murga-linux.com/puppy/viewtopic. ... 223#885223
Am I thinking correctly here?

Posted: Sun 30 Apr 2017, 02:09
by bigpup
Basically correct.

Just for others:
If you have already been using a Nvidia driver package.
Uninstall it before trying to use a different one.
When you get to selecting in Xorgwizard. Nvidia is the choice. If there is more than one Nvidia driver installed, it will not know which one to use.

Download the NVidia Linux package for your card;
Download from official Nvidia web site.
Make sure you get the one that is 64bit and recommended for your Nvidia hardware.
If Slacko is a frugal install, put the Nvidia run package in /mnt/home.

If you need the Nvidia 304 driver package, that one is a little buggy and needs special procedures.

There is now a program to help with this process.
Getnividia
http://www.murga-linux.com/puppy/viewtopic.php?t=72405
Make sure to get the 64 bit version.

To use Getnvidia:
Well, install it.
Download the Nvidia run package, place in /mnt/home
Load the devx and kernel source sfs packages.
Run Getnvidia.
It will walk you through the process.
Along with installing the driver. It also gives option to make a pet and or a sfs package of the driver.

Note:
The process of unpacking, compiling, and installing the driver needs free storage space and memory.
The Nvidia package is around 40 to 50 MB.
You need 3 times that space to run the process.

Posted: Thu 04 May 2017, 15:58
by leejosepho
bigpup wrote:Basically correct.
Many thanks...and now I am running into a permissions problem at this point...
5. After rebooting, and making sure both sfs files are enabled..
6. Drop out of X to the command prompt and run the installer..
e.g. /mnt/home/nvidia7600-64.run
... and I think that is because I have Slacko installed alongside LXLE in '/' (sda3)...

Edit to update: I have moved Slacko into its own partition and I am still receiving "Permission denied" when I try '/mnt/home/nvidia7600-64.run'.

Posted: Sat 13 May 2017, 01:04
by bigpup
In the Rox file manager.
Right click on the nvidia7600-64.run package and select properties.
Make sure it has exec permissions.
If not give it exec permissions.
Try again.

The Getnividia program will make this process much easier.