Nvidia drivers

For drivers and kernel modules.
Message
Author
User avatar
peebee
Posts: 4370
Joined: Sun 21 Sep 2008, 12:31
Location: Worcestershire, UK
Contact:

#46 Post by peebee »

ETP wrote:Hi peebee,
Please see my post in the 5.6 thread. You may wish to try that sfs. If however you wish to compile
your own driver you WILL need a savefile and you WILL need to first blacklist the Nouveau module.
So.....
1. Create a savefile and reboot.
2. Blacklist the Nouveau module and reboot.
3. Load the devx & kernel SFSs.
4. Drop to a command prompt in the same directory as you have the run file. (Check with ls when there)
5. Type sh ./first few letters of the name of the run file observing the case.
6. Press Tab key to complete the full name followed by enter.
Hi ETP

Thanks for the response - appreciated. Apparently my nvidia version GeForce 7025 is not supported by the 319.17 driver.

I would like to create an sfs for the 304.88 driver for kernel 3.2.44 so that I can install it without consuming savefile space.

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

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

getnvidia-0.9.1

#47 Post by shinobar »

# 22may2013: fix NVIDIA-*.run check (thanks to peebee)
getnvidia-0.9.1.pet to install NVIDIA driver / build SFS/PET.
http://shino.pos.to/party/bridge.cgi?puppy/opt/
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:

Re: getnvidia-0.9.1

#48 Post by peebee »

shinobar wrote:# 22may2013: fix NVIDIA-*.run check (thanks to peebee)
getnvidia-0.9.1.pet to install NVIDIA driver / build SFS/PET.
http://shino.pos.to/party/bridge.cgi?puppy/opt/
Confirmed - now produces the sfs

however.............

the sfs does not work with Precise 5.6 - continually get the reboot message below on every reboot + xorgwizard does not show the nvidia driver so it can't be selected.

however..............

taking the advice of ETP (thanks ETP) by blacklisting nouveau then rebooting the nvidia driver is automatically selected and works.

Cheers
peebee
Attachments
capture5259.png
(22.59 KiB) Downloaded 2895 times
ImageLxPup = Puppy + LXDE
Main version used daily: LxPupSc; Assembler of UPups, ScPup & ScPup64, LxPup, LxPupSc & LxPupSc64

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

Re: getnvidia-0.9.1

#49 Post by shinobar »

peebee wrote:the sfs does not work with Precise 5.6 - continually get the reboot message below on every reboot + xorgwizard does not show the nvidia driver so it can't be selected.
I will check it up.
Thanks.
Downloads for Puppy Linux [url]http://shino.pos.to/linux/downloads.html[/url]

User avatar
BarryK
Puppy Master
Posts: 9392
Joined: Mon 09 May 2005, 09:23
Location: Perth, Western Australia
Contact:

Re: getnvidia-0.9.1

#50 Post by BarryK »

peebee wrote:however.............

the sfs does not work with Precise 5.6 - continually get the reboot message below on every reboot + xorgwizard does not show the nvidia driver so it can't be selected.

however..............

taking the advice of ETP (thanks ETP) by blacklisting nouveau then rebooting the nvidia driver is automatically selected and works.
I have fixed that, but I need a little bit of information, see my post:

http://murga-linux.com/puppy/viewtopic. ... 073#705073
[url]https://bkhome.org/news/[/url]

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

getnvidia-0.9.2

#51 Post by shinobar »

Please try:
# 22may2013: fix NVIDIA-*.run check (thanks to peebee)
# 23may2012: fix disablenouveau (Thanks to peebee)
getnvidia-0.9.2.pet to install NVIDIA driver / build SFS/PET.
http://shino.pos.to/party/bridge.cgi?puppy/opt/
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:

Re: getnvidia-0.9.2

#52 Post by peebee »

shinobar wrote:Please try:
# 22may2013: fix NVIDIA-*.run check (thanks to peebee)
# 23may2012: fix disablenouveau (Thanks to peebee)
getnvidia-0.9.2.pet to install NVIDIA driver / build SFS/PET.
http://shino.pos.to/party/bridge.cgi?puppy/opt/
Hi Shinobar

Confirmed - 0.9.2 creates an sfs which loads correctly after a reboot and is displayed by xorgwizard.

BarryK has made changes in parallel to Woof for Precise 5.6 so hopefully the 2 sets of changes will be complementary....

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

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

getnvidia-0.9.8

#53 Post by shinobar »

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

# 22may2013: fix NVIDIA-*.run check (thanks to peebee)
# 23may2012: fix disablenouveau (Thanks to peebee)
# 24may2012: improve disablenouveau keeping compatibility with Barry's xorgwizard-cli
# 25may2013: new rc.nvidia mechanism
# 26may2013: never use nvidia-xconfig as for normal puppy, cleaning up save layers

getnvidia-0.9.8-64.pet for LHP64 and for Fatdog.
http://shino.pos.to/party/bridge.cgi?puppy/opt/pup64/
Downloads for Puppy Linux [url]http://shino.pos.to/linux/downloads.html[/url]

partsman
Posts: 363
Joined: Wed 06 Jun 2012, 19:00
Location: OHIO,USA

#54 Post by partsman »

Hello all i have tried the getnvidia pet on an older box lucid 528.005 i installed devx sfs and kernel sources sfs i then loged out to command prompt and typed getnvidia got an error cant find kernel modules and may have to use path to module option just wondering if anyone else has see or ran across this ? :? THANK YOU in advance ! :wink:
[color=red]Anyone can build a fast processor. The trick is to build a fast system. (Seymour Cray)[/color] :wink:

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

kernel source for the lucid puppy

#55 Post by shinobar »

The kernel source for the lucid 528.005 is
http://ftp.nluug.nl/ftp/pub/os/Linux/di ... atched.sfs
MD5: 78a989b17552d10bd2d7ba2f2c3c1217

@partsman
What is your graphic tip? some need older version drivers.
Downloads for Puppy Linux [url]http://shino.pos.to/linux/downloads.html[/url]

partsman
Posts: 363
Joined: Wed 06 Jun 2012, 19:00
Location: OHIO,USA

#56 Post by partsman »

Thanks shinobar
it is a nvidia geforce fx 5200 pci card i downloaded the driver
NVIDIA-LINUX-x86-173.14.12-pkg1.run and thanks but same kernel source sfs that i am using !
[color=red]Anyone can build a fast processor. The trick is to build a fast system. (Seymour Cray)[/color] :wink:

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

getnvidia-0.9.8.1

#57 Post by shinobar »

Sorry, fix was failed to build old drivers.
UPDATE: getnvidia-0.9.8.1
http://shino.pos.to/party/bridge.cgi?puppy/opt/

Run the getnvidia with GUI and choose the NVIDIA*.run.

Or you can specify the .run file by the command line.
# getnvidia --help
getnvidia 0.9.8.1
Get and make sfs of the NVIDIA driver.
usage: getnvidia [ --update | SOURCE_FILE ]
--update: install latest version. Needs internet connection (defalt)
SOURCE_FILE: NVIDIA driver source(NVIDIA-*.run) file.
Attachments
getnvidia-0.9.8.1.png
(39.39 KiB) Downloaded 3714 times
Downloads for Puppy Linux [url]http://shino.pos.to/linux/downloads.html[/url]

partsman
Posts: 363
Joined: Wed 06 Jun 2012, 19:00
Location: OHIO,USA

#58 Post by partsman »

Thanks shinobar :wink:
I also tried NVIDIA-LINUX-x86-173.14.12-pkg1.run driver with getnvidia 0.9.8.1
with no avail but a more updated driver for my card NVIDIA-LINUX-x86-173.14.37-pkg1.run driver worked perfect :wink: but i had also tried it with
getnvidia 0.9.8 with no avail seems that the updated driver worked perfect this time :wink: THANK YOU ! very good work we have needed this for some time ! I installed mesa utilities to run glxgears THANKS AGAIN :D
[color=red]Anyone can build a fast processor. The trick is to build a fast system. (Seymour Cray)[/color] :wink:

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

Re: getnvidia-0.9.8.1

#59 Post by peebee »

shinobar wrote:UPDATE: getnvidia-0.9.8.1
getnvidia does not seem to create a working driver under the new Slacko 5.6beta's from 01micko - an sfs is produced apparently successfully but when it runs it says there is a kernel mismatch...and there are errors/warnings in the log files left in /root

This is using the 5.5.80 k3.4.52-4g version of Slacko and trying to build the 304.88 legacy driver.

01micko has issued pets of these drivers (for both k3.4.52-4g and k3.10.5-pae) and these do work if converted to sfs and then selected in xorgwizard.

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

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

Re: getnvidia-0.9.8.1

#60 Post by meeki »

peebee wrote: getnvidia does not seem to create a working driver under the new Slacko 5.6beta's from 01micko - an sfs is produced apparently successfully but when it runs it says there is a kernel mismatch...and there are errors/warnings in the log files left in /root
peebee
Well after a year away from puppy I came back to LightHouse64. First thing I noticed was a lack of the newest nvidia drivers. Back in the day before your package I would have to use a tool to mark every new file and file change and symb_link made by the .run file from Nvidia then painfully integrate them into a pet. Then make a install script to sort out the crap.

Just like peebee I too get an error. However it only happened when I went to check that my SFS made by 'getnvidia' worked.

If I use 'getnvidia' to make an SFS it also installs it to my system and brings me into a working desktop running nvidia. However when I started LH64 in ram mode with no save file and used the SFS made in the prior installation i get this.

Image

Well I know right off it was a lie. So instead of bitching I dug into your bash. BTW nice work. I only understand about 70% of it but it was enough.

The issue is in the nvidia file (usr/share/getnvidia/nvidia) the one that sits in the startup directory after ya make a pet or SFS.

All the checks starting around line 255 fail all the way to the last else.
"The NVIDIA X driver is found, but lacking the module for the current kernel"

As a check using 'nvidia-xconfig -t' shows that the xorg.config file has no nvidia driver in it. And spits out "xorg.conf VALIDATION ERROR:"

What is nice about this is I was able to put a check in for any ERROR of the nvidia-xconfig.

Code: Select all

xerror=$(nvidia-xconfig -t 2>&1 >&-)
echo "$xerror" | grep -q 'ERROR' && xerror="y" || xerror=""
Then I was able to throw another elif in.

Code: Select all

elif  [ "$xerror" ]; then
  # Meeki - 
  # Failed Xorg file for nvidia standards
  # Runs nvidia-xconfig to set correct format
	nvidia-xconfig &&
    MSG=$(gettext "xorg.conf VALIDATION ERROR: You need to restart X to enable a new xorg.conf ")
   BUTTONS='<button>
    <input file>/usr/local/lib/X11/mini-icons/mini-x.xpm</input><label>"'$(gettext "Restart X")'"</label><action>EXIT:RestartX</action>
  </button>
  <button cancel></button>'
Now when it cant find a xorg.config file or one with an error it can now try to make one. and restart X

Here is what I get now
Image

Then I restart X and it gives me the good to go with driver version number etc popup.

Later tonight I throw a link up to the modified version I made.

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]

Post Reply