Nvidia drivers

For drivers and kernel modules.
Message
Author
User avatar
meeki
Posts: 122
Joined: Mon 23 Jul 2012, 04:48
Location: Portland OR

#61 Post by meeki »

Well made a few more changes.

Found out that it was missing that fact that nouveau was not being detected as running.

# 6sep2013: [Meeki] added LH64 to the skip of msg to run xorg after reboot (see line 286)
# 6sep2013: [Meeki] -a changed to -o meeki (see line 280)
# 6sep2013: [Meeki] tons of edits (see line 284 to 290)

Here is the file with changes.
nvidia - https://dl.dropboxusercontent.com/u/129 ... use/nvidia

Also some unofficial pets

32bit getnvidia-unofficial
pet - https://dl.dropboxusercontent.com/u/129 ... .9.8.1.pet
md5 - https://dl.dropboxusercontent.com/u/129 ... .1.pet.md5

64bit getnvidia-unofficial
pet - https://dl.dropboxusercontent.com/u/129 ... 9.9-64.pet
md5 - https://dl.dropboxusercontent.com/u/129 ... 64.pet.md5

All these edits were done in Lighthouse64 (64bit puppy)
I don't know if it will fix or break the current kernel check issue in another distro.
Last edited by meeki on Sun 08 Sep 2013, 01:02, edited 1 time in total.

User avatar
Keef
Posts: 987
Joined: Thu 20 Dec 2007, 22:12
Location: Staffordshire

#62 Post by Keef »

meeki

Check the file structure of your pets. The 32bit one won't install because the important bits are buried in several layers of directories from your system.

User avatar
meeki
Posts: 122
Joined: Mon 23 Jul 2012, 04:48
Location: Portland OR

#63 Post by meeki »

Keef wrote:meeki

Check the file structure of your pets. The 32bit one won't install because the important bits are buried in several layers of directories from your system.
Yep, looks like I did botch the pet build.

Fixed it. rather fixed two letters in my rightclick dir2pet app for rox.
the dir structure you see is from building the pet not in the containing dir.

User avatar
shinobar
Posts: 2672
Joined: Thu 28 May 2009, 09:26
Location: Japan
Contact:

getnvidia-0.9.9

#64 Post by shinobar »

EDIT: Sorry, the getnvidia-0.9.9 was wrong in the permission of /root/Startup/nvidia.
Check the permission of /root/Startup/nvidia and add executable bits if it isn't, by 'chmod +x /root/Startup/nvidia'. Fixed in the getnvidia-0.9.9.1.

getnvidia-0.9.9.pet to install NVIDIA driver / build SFS/PET.
http://shino.pos.to/party/bridge.cgi?puppy/opt/

For 64bit Puppies, Fatdog 64 or Lighthouse 64, try
getnvidia-0.9.9-64.pet
http://shino.pos.to/party/bridge.cgi?puppy/opt/pup64/

# 4sep2013: [Meeki] Must check xconfig file with nvidia-xconfig -t (see line(s) 255-258 & 296-304)
# 6sep2013: [Meeki] added LH64 to the skip of msg to run xorg after reboot (see line 286)
# 6sep2013: [Meeki] -a changed to -o meeki (see line 280)
# 6sep203: [Meeki] tons of edits (see line 284 to 290)
#v0.9.9: 17oct2013: nvidia sfs first, nvidia old version numbers, kernel version from Makefile
Last edited by shinobar on Tue 22 Oct 2013, 10:00, edited 1 time in total.
Downloads for Puppy Linux [url]http://shino.pos.to/linux/downloads.html[/url]

User avatar
shinobar
Posts: 2672
Joined: Thu 28 May 2009, 09:26
Location: Japan
Contact:

getnvidia-0.9.9.1

#65 Post by shinobar »

Sorry, the getnvidia-0.9.9 was wrong in the permission of /root/Startup/nvidia.
Check the permission of /root/Startup/nvidia and add executable bits if it isn't, by 'chmod +x /root/Startup/nvidia'. Fixed in the getnvidia-0.9.9.1.

getnvidia-0.9.9.1.pet to install NVIDIA driver / build SFS/PET.
http://shino.pos.to/party/bridge.cgi?puppy/opt/

For 64bit Puppies, Fatdog 64 or Lighthouse 64, try
getnvidia-0.9.9.1-64.pet
http://shino.pos.to/party/bridge.cgi?puppy/opt/pup64/
Downloads for Puppy Linux [url]http://shino.pos.to/linux/downloads.html[/url]

User avatar
shinobar
Posts: 2672
Joined: Thu 28 May 2009, 09:26
Location: Japan
Contact:

getnvidia-1.0

#66 Post by shinobar »

getnvidia-1.0.pet to install NVIDIA driver / build SFS/PET.
http://shino.pos.to/party/bridge.cgi?puppy/opt/

For 64bit Puppies, Fatdog 64 or Lighthouse 64, try
getnvidia-1.0-64.pet
http://shino.pos.to/party/bridge.cgi?puppy/opt/pup64/

#v0.9.9.1: 22oct2013: fix was /root/Startup/nvidia not executable
#v1.0: 22oct2013: fix was LANG reset to en_US
Downloads for Puppy Linux [url]http://shino.pos.to/linux/downloads.html[/url]

version2013
Posts: 503
Joined: Mon 09 Sep 2013, 00:00
Location: Florida, USA
Contact:

#67 Post by version2013 »

Thank you for all your effort on this getnvidia package!
Thank you for adding the ability to build a pet/sfs from an older nvidia*.run file!

User avatar
8-bit
Posts: 3406
Joined: Wed 04 Apr 2007, 03:37
Location: Oregon

#68 Post by 8-bit »

I am running Puppy Slacko 5.5 and mt video card is the Nvidia 7300 LE.
I tried both driver PETS that are associated with an Nvidia driver for it and neither worked.
I can live with using the nuveau driver, but thought I would pass my problem along.

georg1
Posts: 170
Joined: Mon 23 Sep 2013, 17:06

#69 Post by georg1 »

I got slacko 5.7.0
nvidia geforce mx 440 videocard and that driver NVIDIA-Linux-x86-96.43.23-pkg1.run
used propper kernel and devx
use getnvidia 1.0
and allways wind up with this proble, some files missing

log

Code: Select all

nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Tue Aug 19 16:09:30 2014
installer version: 1.0.7

PATH:
/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin:/usr/X11R7/bin:/root/my-applicatio
ns/bin:/usr/games

option status:
  license pre-accepted               : true
  update                             : false
  force update                       : false
  expert                             : false
  uninstall                          : false
  driver info                        : false
  precompiled interfaces             : false
  no ncurses color                   : false
  query latest version               : false
  OpenGL header files                : true
  no questions                       : true
  silent                             : true
  no recursion                       : false
  no backup                          : false
  kernel module only                 : false
  sanity                             : false
  add this kernel                    : false
  no runlevel check                  : false
  no network                         : false
  no ABI note                        : false
  no RPMs                            : false
  no kernel module                   : false
  force SELinux                      : default
  no X server check                  : false
  no cc version check                : true
  run distro scripts                 : true
  no nouveau check                   : false
  run nvidia-xconfig                 : false
  sigwinch work around               : true
  force tls                          : (not specified)
  X install prefix                   : (not specified)
  X library install path             : (not specified)
  X module install path              : (not specified)
  OpenGL install prefix              : (not specified)
  OpenGL install libdir              : (not specified)
  utility install prefix             : (not specified)
  utility install libdir             : (not specified)
  installer prefix                   : (not specified)
  doc install prefix                 : (not specified)
  kernel name                        : 3.10.32
  kernel include path                : (not specified)
  kernel source path                 : (not specified)
  kernel output path                 : (not specified)
  kernel install path                :
/lib/modules/3.10.32/kernel/drivers/video/
  precompiled kernel interfaces path : (not specified)
  precompiled kernel interfaces url  : (not specified)
  proc mount point                   : /proc
  ui                                 : none
  tmpdir                             : /var/tmp
  ftp mirror                         : ftp://download.nvidia.com
  RPM file list                      : (not specified)
  selinux chcon type                 : (not specified)

Using built-in stream user interface
-> License accepted by command line option.
-> Installing NVIDIA driver version 96.43.23.
-> Not probing for precompiled kernel interfaces.
-> Performing CC sanity check with CC="cc".
-> Kernel source path: '/lib/modules/3.10.32/source'
-> Kernel output path: '/lib/modules/3.10.32/build'
ERROR: If you are using a Linux 2.4 kernel, please make sure
       you either have configured kernel sources matching your
       kernel or the correct set of kernel headers installed
       on your system.
       
       If you are using a Linux 2.6 kernel, please make sure
       you have configured kernel sources matching your kernel
       installed on your system. If you specified a separate
       output directory using either the "KBUILD_OUTPUT" or
       the "O" KBUILD parameter, make sure to specify this
       directory with the SYSOUT environment variable or with
       the equivalent nvidia-installer command line option.
       
       Depending on where and how the kernel sources (or the
       kernel headers) were installed, you may need to specify
       their location with the SYSSRC environment variable or
       the equivalent nvidia-installer command line option.
ERROR: Installation has failed.  Please see the file
       '/var/log/nvidia-installer.log' for details.  You may find suggestions
       on fixing installation problems in the README available on the Linux
       driver download page at www.nvidia.com.
Attachments
Screenshot_2014-08-19_155851.png
(28.84 KiB) Downloaded 1757 times

User avatar
shinobar
Posts: 2672
Joined: Thu 28 May 2009, 09:26
Location: Japan
Contact:

Old nvidia drivers

#70 Post by shinobar »

georg1 wrote:I got slacko 5.7.0
nvidia geforce mx 440 videocard and that driver NVIDIA-Linux-x86-96.43.23-pkg1.run
used propper kernel and devx
use getnvidia 1.0
and allways wind up with this proble, some files missing
Some old nvidia drivers for kernel 3.x need patches.
See..
http://www.murga-linux.com/puppy/viewtopic.php?t=95382
Downloads for Puppy Linux [url]http://shino.pos.to/linux/downloads.html[/url]

User avatar
shinobar
Posts: 2672
Joined: Thu 28 May 2009, 09:26
Location: Japan
Contact:

GLX server fails

#71 Post by shinobar »

In some case, the GL library fails. The nvidia-settings complains "Failed to query the GLX server vendor." for OpenGL/GLX Information (see the attached image).

SOLUTION:
1. Remove the links, /usr/lib/libGL.so and libGL.so.1.
2. Restart the X server.
Attachments
nvidiaglinfo.png
nvidia-settings > OpenGL/GLX Information
(3.98 KiB) Downloaded 1563 times
Downloads for Puppy Linux [url]http://shino.pos.to/linux/downloads.html[/url]

User avatar
peebee
Posts: 4370
Joined: Sun 21 Sep 2008, 12:31
Location: Worcestershire, UK
Contact:

nvidia 304 driver for kernel 4?

#72 Post by peebee »

Hi

I am having problems making the 304.125 driver for kernel 4 with getnvidia.

I have tried various combinations of devx and kernel 4 versions but they all exhibit the same errors.

The errors produced by trying to make a 304.125 driver for vividpup + kernel 4.0.4-32-pae are attached below (remove false .gz).

Anybody tried this? Found any patches? (how do you apply patches to the .run file??)

Annybody know how to do the suggested:
Run 'make oldconfig && make prepare' on kernel src to fix it.
Thanks
peebee
Attachments
nvidia-installer.log.gz
false .gz
(7.13 KiB) Downloaded 459 times
ImageLxPup = Puppy + LXDE
Main version used daily: LxPupSc; Assembler of UPups, ScPup & ScPup64, LxPup, LxPupSc & LxPupSc64

User avatar
666philb
Posts: 3615
Joined: Sun 07 Feb 2010, 12:27
Location: wales ... by the sea

#73 Post by 666philb »

hi peebee, open a terminal in /usr/src/linux and try running that command
Bionicpup64 built with bionic beaver packages http://murga-linux.com/puppy/viewtopic.php?t=114311
Xenialpup64, built with xenial xerus packages http://murga-linux.com/puppy/viewtopic.php?t=107331

User avatar
peebee
Posts: 4370
Joined: Sun 21 Sep 2008, 12:31
Location: Worcestershire, UK
Contact:

Nvidia 304 driver for k4

#74 Post by peebee »

see later post below
Last edited by peebee on Sun 06 Sep 2015, 07:15, edited 1 time in total.
ImageLxPup = Puppy + LXDE
Main version used daily: LxPupSc; Assembler of UPups, ScPup & ScPup64, LxPup, LxPupSc & LxPupSc64

User avatar
peebee
Posts: 4370
Joined: Sun 21 Sep 2008, 12:31
Location: Worcestershire, UK
Contact:

nvidia 304.128

#75 Post by peebee »

Looks like nvidia driver 304.128 is now available:

ftp://download.nvidia.com/XFree86/Linux-x86/304.128/

I'll try later to build on kernel 4....

[6-sep-15] Update: Yep - success - built AOK for k4.0.4-tahr_PAE-32-pae in LxPup15.06

Also AOK for k4.1.6-EmSee-32-pae
Attachments
nvidia-416.png
(137.42 KiB) Downloaded 1244 times
nvidia304-128.png
(137.26 KiB) Downloaded 1311 times
ImageLxPup = Puppy + LXDE
Main version used daily: LxPupSc; Assembler of UPups, ScPup & ScPup64, LxPup, LxPupSc & LxPupSc64

User avatar
peebee
Posts: 4370
Joined: Sun 21 Sep 2008, 12:31
Location: Worcestershire, UK
Contact:

Recent nvidia updates

#76 Post by peebee »

There have been other recent updates besides 304.128 on ftp://download.nvidia.com/XFree86/Linux-x86/

e.g.
340.93
346.96
352.41
355.11
ImageLxPup = Puppy + LXDE
Main version used daily: LxPupSc; Assembler of UPups, ScPup & ScPup64, LxPup, LxPupSc & LxPupSc64

User avatar
Argolance
Posts: 3767
Joined: Sun 06 Jan 2008, 22:57
Location: PORT-BRILLET (Mayenne - France)
Contact:

#77 Post by Argolance »

Bonjour,
I am running Puppy Precise 5.7.1 with kernel 3.9.11.
I tried to use getnividia to build a 340.93 NVIDIA driver SFS file.
I loaded the devx, downloaded/loaded the "kernel_src-3.9.11-patched.sfs" from BK repository, installed getnvidia and so on. Unfortunately, getnvidia says that my kernel source package does not match with the running kernel. :shock:
What's wrong?
Thank you for your attention.

Corldialement.
Attachments
151022_130333_440x320_easyshot.jpg
(27.81 KiB) Downloaded 6980 times

User avatar
Argolance
Posts: 3767
Joined: Sun 06 Jan 2008, 22:57
Location: PORT-BRILLET (Mayenne - France)
Contact:

#78 Post by Argolance »

Sorry! The "kernel_src-3.9.11-patched.sfs" was in the list of mounted sfs, but only queued and not really loaded: this is why getnvidia displayed the error message. As this may happen to "unexperimented" users like me, I do not delete my message...
Thank you to shinobar for getnvidia which is really amazing and did the work perfectly.

Cordialement.

User avatar
peebee
Posts: 4370
Joined: Sun 21 Sep 2008, 12:31
Location: Worcestershire, UK
Contact:

Nvidia driver building for kernel 4.3+

#79 Post by peebee »

Heads up!

With kernels 4.3 onwards, if the kernel is configured:

Code: Select all

CONFIG_MODULE_SIG=y
CONFIG_MODULE_SIG_ALL=y
CONFIG_MODULE_SIG_SHA1=y
CONFIG_MODULE_SIG_HASH="sha1"
any new modules compiled for that kernel will need to be cryptographically signed using utility /usr/src/linux/scripts/sign-file
found in the kernel-sources.

GetNvidia will need to be updated to include signing if nvidia drivers are to continue working on kernels 4.3 onwards.

For example, nvidia-304.131 fails to build for stemsee's kernel 4.3.2 because module loading fails because the module is not signed.

(there is a futher problem with stemsee's 4.3.2 that sign-file does not work due to some problem with missing version information for libcrypto).

Cheers
peebee
ImageLxPup = Puppy + LXDE
Main version used daily: LxPupSc; Assembler of UPups, ScPup & ScPup64, LxPup, LxPupSc & LxPupSc64

User avatar
rufwoof
Posts: 3690
Joined: Mon 24 Feb 2014, 17:47

Re: Nvidia driver building for kernel 4.3+

#80 Post by rufwoof »

peebee wrote:Heads up!

With kernels 4.3 onwards, if the kernel is configured:

Code: Select all

CONFIG_MODULE_SIG=y
CONFIG_MODULE_SIG_ALL=y
CONFIG_MODULE_SIG_SHA1=y
CONFIG_MODULE_SIG_HASH="sha1"
any new modules compiled for that kernel will need to be cryptographically signed using utility /usr/src/linux/scripts/sign-file
found in the kernel-sources.

GetNvidia will need to be updated to include signing if nvidia drivers are to continue working on kernels 4.3 onwards.

For example, nvidia-304.131 fails to build for stemsee's kernel 4.3.2 because module loading fails because the module is not signed.

(there is a futher problem with stemsee's 4.3.2 that sign-file does not work due to some problem with missing version information for libcrypto).

Cheers
peebee
I'm running Tahr 6.0.5 with Stemsee's 4.3.2 32bit pae kernel and downloaded/compiled NVIDIA-Linux-x86-340.96.run OK and its apparently working fine with my 8600GT nvidia graphics card (I used Shinobar's getnvidia-1.0.pet to perform the compile).

Looking at the DotConfig the configuration matches what you posted above.

Don't really know what I'm doing, just follow the instructions - but from my perspective it all looks fine !!??
[size=75]( ͡° ͜ʖ ͡°) :wq[/size]
[url=http://murga-linux.com/puppy/viewtopic.php?p=1028256#1028256][size=75]Fatdog multi-session usb[/url][/size]
[size=75][url=https://hashbang.sh]echo url|sed -e 's/^/(c/' -e 's/$/ hashbang.sh)/'|sh[/url][/size]

Post Reply