Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Sat 25 Oct 2014, 15:48
All times are UTC - 4
 Forum index » House Training » HOWTO ( Solutions )
How to install NVIDIA graphics drivers.
Moderators: Flash, Ian, JohnMurga
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 2 of 3 Posts_count   Goto page: Previous 1, 2, 3 Next
Author Message
Tjotser

Joined: 16 Feb 2006
Posts: 1

PostPosted: Thu 16 Feb 2006, 08:07    Post_subject:  

You sdhould mention that you should use 7174 drivers for the "legacy" cards.
At least i didn't bother trying, reading the file description.
Back to top
View user's profile Send_private_message 
Pizzasgood


Joined: 04 May 2005
Posts: 6270
Location: Knoxville, TN, USA

PostPosted: Thu 16 Feb 2006, 20:15    Post_subject:  

Well, that might do it......
Thanks

_________________
Between depriving a man of one hour from his life and depriving him of his life there exists only a difference of degree. --Muad'Dib

Back to top
View user's profile Send_private_message Visit_website 
derangedtaco

Joined: 10 Jul 2005
Posts: 10

PostPosted: Sat 04 Mar 2006, 12:47    Post_subject:  

Will these drivers work on a laptop?

And where can I get xorg and the development package? Shocked
Back to top
View user's profile Send_private_message 
tempestuous

Joined: 10 Jun 2005
Posts: 5271
Location: Australia

PostPosted: Sat 04 Mar 2006, 19:49    Post_subject:  

usr_devx.sfs is here ftp://ibiblio.org/pub/linux/distributions/puppylinux/
You don't need Xorg development files ... they're about 400MB.
Back to top
View user's profile Send_private_message 
BionicCommando


Joined: 19 Nov 2005
Posts: 21
Location: Devon,UK

PostPosted: Tue 07 Mar 2006, 18:00    Post_subject:  

I'd just like to say thanks to Pizzas...
I don't know what was wrong with the way my Puppy was set up (my install was a hybrid of a standard NTFS partition pup001 file and an ext2 partition which puppy took over and used as home when I deleted th pup001 from my NTFS partition).

..anyway either way. I'd just like to say that this installer has now worked perfectly on two puppy pcs!. one of which was a full hard drive installed puppy 1.08 too.

..now all i gotta do is find some apps that'll let me test my 3d out!

Can anyone recommend any improvements i can make to puppy in this respect?

my gfx card is a cheap old 64mb geforce mx400 btw.
Back to top
View user's profile Send_private_message 
tempestuous

Joined: 10 Jun 2005
Posts: 5271
Location: Australia

PostPosted: Tue 07 Mar 2006, 22:40    Post_subject:  

If you have properly enabled the DRI features of your new nVidia driver, graphics performance is as good as it can get in Linux.
To confirm this, open /var/log/Xorg.0.log in Beaver and check that it reports direct rendering enabled.

Now you can try MU's collection of games for Puppy -
http://www.murga.org/~puppy/viewtopic.php?t=5164
Back to top
View user's profile Send_private_message 
BionicCommando


Joined: 19 Nov 2005
Posts: 21
Location: Devon,UK

PostPosted: Thu 09 Mar 2006, 20:23    Post_subject:  

temp,
I had a look at my xorg.0.log but couldn't see anything about direct rendering. Its quite a messy log too which doesn't help.

i also had a look at MU's guide to DRI - but I couldn't see anything that relates to DRI on nvidia cards. Is this definately something that I can do?... I was hoping to get MU's window shadow trick to work
Smile
Back to top
View user's profile Send_private_message 
MU


Joined: 24 Aug 2005
Posts: 13642
Location: Karlsruhe, Germany

PostPosted: Thu 09 Mar 2006, 20:50    Post_subject:  

Windowshadows works without DRI, just not so fast.

Add these lines in the end of xorg.conf with an editor:

Code:
     Section "Extensions"
              Option "Composite" "Enable"
              Option "RENDER" "Enable"
      EndSection


And install this Dotpup with xcompmgr and transset, I forgot to add it to Enlightenment:
http://dotpups.de/dotpups/XServer/transparency-demo.pup

Now the menu-entries should work.

Mark
Back to top
View user's profile Send_private_message Visit_website 
tempestuous

Joined: 10 Jun 2005
Posts: 5271
Location: Australia

PostPosted: Fri 10 Mar 2006, 10:40    Post_subject:  

I'm no expert on nVidia, but I see some potential problems with Pizzasgood's instructions.
The nvidia.o module is made permanent, but it may not necessarily get loaded at each boot. Same problem with agpgart.
1. Run "lsmod". You should see agpgart and nvidia listed. If not, load them now -

modprobe agpgart
modprobe nvidia

and add these commands to /etc/rc.d/rc.local so it will happen at each boot.

Regarding your xorg.conf, I think these lines should all be necessary in Section "Module" -
Load "dbe"
Load "glx"
Load "dri"

Now referring back to MU's post about DRI http://www.murga.org/~puppy/viewtopic.php?t=5244&start=0
you also need to have libGL files installed. Get my more recent libGL package here http://www.murga.org/%7Epuppy/viewtopic.php?t=5244&start=32

Restart the Xserver (ctl-alt-backspace, then startx) and hopefully DRI will be working.
Back to top
View user's profile Send_private_message 
Pizzasgood


Joined: 04 May 2005
Posts: 6270
Location: Knoxville, TN, USA

PostPosted: Fri 10 Mar 2006, 23:29    Post_subject:  

Hmmm.... that all sounds about right, but what's agpgart? Is it for a certain type of port, like pci? Or is this some other thing?

Also, at least on my system, nvidia was loaded. I think the Xorg deal causes that.

I'll edit the instructions to make sure they leave the "load dri" part in, and I'll mention the libgl thing too. I also need to add that the instructions to copy the stuff back need to recreate that directory because it doesn't seem to exist by default anymore (at least on mine). I'm not sure about what the agpgart part is, so I'm going to wait for that.

_________________
Between depriving a man of one hour from his life and depriving him of his life there exists only a difference of degree. --Muad'Dib

Back to top
View user's profile Send_private_message Visit_website 
MU


Joined: 24 Aug 2005
Posts: 13642
Location: Karlsruhe, Germany

PostPosted: Sat 11 Mar 2006, 00:29    Post_subject:  

agpgart is a Kernelmodule, that is needed for accessing the AGP-slot I think.
The free X.org-Drivers need it for DRI.
But for example the proprietary ATI-Driver does not need it, the docs eve say it should be unloaded, because ATI has its own drivers for that.
Might be the same with Nvidia.
By default, they are not loaded in Puppy.
Mark
Back to top
View user's profile Send_private_message Visit_website 
tempestuous

Joined: 10 Jun 2005
Posts: 5271
Location: Australia

PostPosted: Sat 11 Mar 2006, 05:18    Post_subject:  

OK, shared knowledge is good! I now realise that there are a different set of rules for proprietary drivers. Please ignore most of what I said above.
I did some reading on the subject and I see that nVidia has its own libGL, and the nvidia kernel module possibly has inbuilt AGP functions that make the agpgart module unnecessary.
So my amended suggestions are:

- make sure the nvidia module is loaded. This is the DRI/DRM module and accelerated performance won't happen without it. Installers typically try to automate things like this by putting a boot script in /etc/rc.d ... but this won't work in Puppy. So if "lsmod" does not show nvidia is loaded, then "modprobe nvidia" should be added to /etc/rc.d/rc.local (after "/sbin/depmod -aq").

- make sure that xorg.conf is set up correctly. According to several pages I found on the web, as well as removing "Load "GLcore"", it's also necessary to remove "Load "dri"". Apparently this otherwise attempts to load the open source DRI libraries, which would conflict with the proprietary nvidia libraries.
"Load "glx"" is correct.
And in Section "Screen", DefaultDepth needs to be 16 or 24.
It would be interesting to see the xorg.conf generated by the installer.

Now after restarting the Xserver, glxinfo should show "direct rendering: Yes", and /var/log/Xorg.0.log should report something positive.
Back to top
View user's profile Send_private_message 
Pizzasgood


Joined: 04 May 2005
Posts: 6270
Location: Knoxville, TN, USA

PostPosted: Sat 11 Mar 2006, 11:14    Post_subject:  

Quote:
- make sure the nvidia module is loaded. This is the DRI/DRM module and accelerated performance won't happen without it. Installers typically try to automate things like this by putting a boot script in /etc/rc.d ... but this won't work in Puppy. So if "lsmod" does not show nvidia is loaded, then "modprobe nvidia" should be added to /etc/rc.d/rc.local (after "/sbin/depmod -aq").

Well, like I said, mine gets loaded automatically. I suspect the line in xorg.conf that says Driver "nvidia" takes care of it.

Quote:
- make sure that xorg.conf is set up correctly. According to several pages I found on the web, as well as removing "Load "GLcore"", it's also necessary to remove "Load "dri"". Apparently this otherwise attempts to load the open source DRI libraries, which would conflict with the proprietary nvidia libraries.
"Load "glx"" is correct.

Okay, I guess I had it right the first time. I'll go back and fix that.

Quote:
It would be interesting to see the xorg.conf generated by the installer.

That's what I've been thinking. I'm going to set up a fresh pupfile and see what it does. Plus, that way I can see what my pre-driver speeds were.

_________________
Between depriving a man of one hour from his life and depriving him of his life there exists only a difference of degree. --Muad'Dib

Back to top
View user's profile Send_private_message Visit_website 
Pizzasgood


Joined: 04 May 2005
Posts: 6270
Location: Knoxville, TN, USA

PostPosted: Sat 11 Mar 2006, 13:56    Post_subject:  

Well, it seems to me that Puppy automatically comes with most of the right stuff as far as the dbe and glx and dri things go (at least mine did) in the xorg.conf file. The installer mostly just moved some things around and replaced the driver setting for whatever was already set to "nvidia". So, in the config file, it might still say "vesa frame-buffer" or whatever for the identification, but it will use the "nvidia" driver. Not the cleanest method, but it works.

If you run
Code:
sh NVIDIAblablalba -h
it gives you options, and if you do
Code:
sh NVIDIAblablalba -x
it will extract itself so you can see what it has inside.
_________________
Between depriving a man of one hour from his life and depriving him of his life there exists only a difference of degree. --Muad'Dib

Back to top
View user's profile Send_private_message Visit_website 
Pizzasgood


Joined: 04 May 2005
Posts: 6270
Location: Knoxville, TN, USA

PostPosted: Sat 11 Mar 2006, 14:48    Post_subject:  

I put some info about some of the things the driver comes with in the instructions. Also, the readme I found verified that the driver loads the kernal module itself (unless you disable that ability).

Pizzasgood wrote:
After it's all installed, you can go to /usr/share/doc/NVIDIA_GLX-1.0/ to find a manual with a bunch of information. The readme has a list of extra settings you can add to xorg.conf to alter the setup. One of them lets you skip the splash screen. You add
Code:
    Option      "NoLogo" "true"

to /etc/X11/xorg.conf in the Device section.

There's also a program that comes with it that can change the screen colors and such. It is called nvidia-settings.desktop and can be found in /usr/share/applications/.

_________________
Between depriving a man of one hour from his life and depriving him of his life there exists only a difference of degree. --Muad'Dib

Back to top
View user's profile Send_private_message Visit_website 
Display_posts:   Sort by:   
Page 2 of 3 Posts_count   Goto page: Previous 1, 2, 3 Next
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » House Training » HOWTO ( Solutions )
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0915s ][ Queries: 11 (0.0129s) ][ GZIP on ]