Nvidia drivers

For drivers and kernel modules.
Message
Author
green_dome
Posts: 203
Joined: Tue 06 Jan 2009, 02:49
Contact:

#41 Post by green_dome »

Is it possible for 'getnvidia' package to be altered to allow for choosing which nvidia driver to build?

example terminal codes:
getnvidia http://url/to/driver.run
getnvidia /path/to/driver.run

I am having difficulty understanding the code in the getnvidia script relating to downloading or what driver file to run.

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

Re: old version nvidia drivers

#42 Post by shinobar »

green_dome wrote:Is it possible for 'getnvidia' package to be altered to allow for choosing which nvidia driver to build?
There are 2 difficulties:
1. Getnvidia uses the binary program 'nvidia-installer' provided by Nvidia, which automatically chooses the most recent version driver.
2. I have not the hardware to test old version drivers.

I hope someone makes the script which supports old version drivers under your concept.
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

#43 Post by shinobar »

green_dome wrote:Is it possible for 'getnvidia' package to be altered to allow for choosing which nvidia driver to build?
Try getnvidia-0.9.
# 18may2013: nvidia driver source file, losetup, LANG, avoid the depmod bug in Puppy 4.3.1
Attachments
getnvidia_screenshot-0.9.png
(5.19 KiB) Downloaded 1925 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:

#44 Post by peebee »

Hi

I wanted to create the 304.88 version of the nvidia driver for Precise 5.6 k3.2.44 as I apparently need that version for my desktop.

I downloaded NVIDIA-Linux-x86-304.88.run

I installed getnvidia 0.9 onto a pristine frugal install of Precise 5.6 (no savefile) with the devx and kernel sources loaded by load-sfs-on-the-fly

I had 3 problems:

1. getnvidia insisted on there being an internet connection even though I wanted it to use a file that I had already downloaded

2. the new xorg-wizard had chosen nouveau and getnvidia did not seem to want to create the nvidia sfs whilst nouveau was in use

3. the .run file was not recognised as valid:
getnvidia 0.9
This program guides to make SFS of the NVIDIA driver.

Work space - OK
devx package - OK
Kernel source package - OK
No nouveau - NG
nvidia-installer - OK
Internet connection - OK
NVIDIA driver source file - NG

The 'nouveau' driver conflicts with the NVIDIA. You need to reboot PC to disable 'nouveau'.
Of course, you need to save your session.
'NVIDIA-Linux-x86-304.88.run' does not seem a valid NVIDIA driver source file.
So I'm currently stuck and would welcome suggestions on how to proceed.

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

User avatar
ETP
Posts: 1193
Joined: Tue 19 Oct 2010, 19:55
Location: UK

#45 Post by ETP »

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.
Regards ETP
[url=http://tinyurl.com/pxzq8o9][img]https://s17.postimg.cc/tl19y14y7/You_Tube_signature80px.png[/img][/url]
[url=http://tinyurl.com/kennels2/]Kennels[/url]

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.

Post Reply