12613 [Solved] How do you install the CORRECT nvidia-driver? - The FreeBSD Forums
The FreeBSD Forums  

Go Back   The FreeBSD Forums > Desktop Usage > X.Org

X.Org X.Org on FreeBSD installation & configuration.

Reply
 
Thread Tools Display Modes
  #1  
Old June 6th, 2010, 20:17
PhenomII PhenomII is offline
Junior Member
 
Join Date: Jun 2010
Location: the terminal (console)
Posts: 58
Thanks: 9
Thanked 4 Times in 3 Posts
Default How do you install the CORRECT nvidia-driver?

Greetings,
I've struggled with the decision of which driver to choose for my nvidia cards over the
years (which driver; xorg nv, nouveau, or the "official" nvidia blobs).
Xorg nv, and nouveau worked ok. But didn't provide any more performance than one would
get from a run-of-the-mill video card. Given that I have a few newer Nvidia cards, I would
eventually attempt to install the drivers from nvidia. This, more often than not, resulted
in alot of trouble, an/or "glitches". So I'd ultimately need to return to the nv, or nouveau
drivers for stability.

Well, I just picked up some new hardware that I've been wanting to get for a l-o-n-g time
(see sig for details).
So now that it's been awhile, and nvidia seems to have been a bit more forthcoming with
*NIX drivers. I find myself looking in the x11 category in my ports tree again to see how
the new drivers might work on my new hardware. But after looking at all the Make files, I
find myself asking: how does the port nvidia-driver know which of the versions is
correct for my card? Must I choose ahead of time, and if that's the case, what's the point
of the nvidia-driver port?

In short, is simply: cd /usr/ports/x11/nvidia-driver; make && make install; make clean
All there is to iy?

Thank you for all yout time and consideration.



__________________
8.1-PRERELEASE/amd64 | AMD PhenomII X3 440 | MSI 880GMA-E45 | NVIDIA G98 (8400 GS)

Reply With Quote
  #2  
Old June 6th, 2010, 20:55
hydra hydra is offline
Member
 
Join Date: Nov 2008
Location: Slovakia
Posts: 272
Thanks: 18
Thanked 24 Times in 21 Posts
Default

cd /usr/ports/x11/nvidia-driver ; make install clean

Next, load the kernel module or add nvidia_load="YES" to /boot/loader.conf and reboot.

Last edited by hydra; June 6th, 2010 at 21:21.
Reply With Quote
The Following User Says Thank You to hydra For This Useful Post:
PhenomII (June 7th, 2010)
  #3  
Old June 6th, 2010, 20:59
sossego's Avatar
sossego sossego is offline
Member
 
Join Date: Mar 2009
Location: qualquer na ontem da amanhã
Posts: 962
Thanks: 109
Thanked 66 Times in 51 Posts
Default

Nouveau is the OpenSource replacement driver, nvidia is the official, nv is the formerly supported by nvidia driver- see the first part of this sentence.
You see if the driver supports your card by searching google with a selective boolean algorithm.
I would assume that the program is written to have the install paths within it.
__________________
Smiles and laughter are the medicines for tears and sadness.

Um humano, sou eu com culpa e dificuldades.

Stay a child with a child's view of the world and life is worth more every moment you live it.
Reply With Quote
The Following User Says Thank You to sossego For This Useful Post:
PhenomII (June 7th, 2010)
  #4  
Old June 6th, 2010, 21:22
PhenomII PhenomII is offline
Junior Member
 
Join Date: Jun 2010
Location: the terminal (console)
Posts: 58
Thanks: 9
Thanked 4 Times in 3 Posts
Default

Quote:
Originally Posted by hydra View Post
cd /usr/ports/x11/nvidia-driver ; make install clean

Next, load the kernel module or add nvidia_load="YES" to /boot/loader.conf.
Greetings Hydra, and thank you for your response.
I imagined that that would be the proceedure. BUT, what really need to know is how
will doing that insure that I get the correct version of the driver? As I asked in the OP;
Does make decide which version is correct, or must I specify the version I want/need to
install. After all /usr/ports/x11/nvidia-driver is simply a meta-port of one of the
available nvidia-driver-versions in the x11 tree.

I hope I was clearer this time.

Thanks again for your reply.
__________________
8.1-PRERELEASE/amd64 | AMD PhenomII X3 440 | MSI 880GMA-E45 | NVIDIA G98 (8400 GS)

Reply With Quote
  #5  
Old June 6th, 2010, 21:30
PhenomII PhenomII is offline
Junior Member
 
Join Date: Jun 2010
Location: the terminal (console)
Posts: 58
Thanks: 9
Thanked 4 Times in 3 Posts
Default

Quote:
Originally Posted by sossego View Post
Nouveau is the OpenSource replacement driver, nvidia is the official, nv is the formerly supported by nvidia driver- see the first part of this sentence.
You see if the driver supports your card by searching google with a selective boolean algorithm.
I would assume that the program is written to have the install paths within it.
Thank you for the thoughtful reply, sossego.

I am aware of how the posts system works. But what I really need to discover is how can
I know which version of the Nvidia blob will get installed. If you look at:
/usr/ports/x11/nvidia-driver you will discover that it is a meta-port. Each of the other
nvidia-driver ports all have a version number appended to the name (nvidia-driver-173) for
example. If you choose nvidia-driver-173, the make file will pull it's needed information
from ../nvidia-driver. Do you see what I mean?

Thanks again for the reply.
__________________
8.1-PRERELEASE/amd64 | AMD PhenomII X3 440 | MSI 880GMA-E45 | NVIDIA G98 (8400 GS)

Reply With Quote
  #6  
Old June 6th, 2010, 22:55
zeiz's Avatar
zeiz zeiz is offline
Member
 
Join Date: Nov 2008
Location: Canada
Posts: 691
Thanks: 38
Thanked 54 Times in 52 Posts
Default

If you used to browse the port collection then in /usr/ports/x11 you saw four nvidia drivers: 71,96,173 and just nvidia-driver that is the latest version (195 - you looked in Makefile, don't you?) Each driver supports a bunch of cards. If you have newer and newest cards then the latest version is right for you. But only you know your cards, we don't, so sossego advised you to google. For example: http://www.nvidia.com/object/unix.html
As soon as you find your driver just follow exactly what hydra advised.
Along with nvidia-driver you may want to install also x11/nvidia-xconfig. Then instead of manual editing of /etc/x11/xorg.conf just type in console:
# nvidia-xconfig
and reboot to Nvidia World

In general ports system knows nothing about your cards: you are the Master. But for example
vesa driver will support almost any card perfectly though without fancy effects.
Reply With Quote
The Following User Says Thank You to zeiz For This Useful Post:
PhenomII (June 7th, 2010)
  #7  
Old June 7th, 2010, 01:12
PhenomII PhenomII is offline
Junior Member
 
Join Date: Jun 2010
Location: the terminal (console)
Posts: 58
Thanks: 9
Thanked 4 Times in 3 Posts
Default

Greetings zeiz, and thank you for your reply.
OK then, that get's it. As I had already spent quite some time @ the nvforums && the nvidia
site. I know that the newest driver is the one I need, I was hoping that simply:
cd /usr/ports/x11/nvidia-driver; make install clean would get it, as I see that the newest version
offered by it is 195.36.15 - not 195.36.24 (the one I need). It looks like I'll need to do it
manually as per instructions provided @ the Nvidia site.

I really appreciate all the thoughtful responses - thanks, and best wishes.

P.S. Yes, the nvidia-xconfig is a "must have".



__________________
8.1-PRERELEASE/amd64 | AMD PhenomII X3 440 | MSI 880GMA-E45 | NVIDIA G98 (8400 GS)

Reply With Quote
  #8  
Old June 7th, 2010, 07:18
hydra hydra is offline
Member
 
Join Date: Nov 2008
Location: Slovakia
Posts: 272
Thanks: 18
Thanked 24 Times in 21 Posts
Default

I would install the latest driver (x11/nvidia-drivers). If it doesn't work, simply try the other (older) ones (x11/nvidia-driver-173, x11/nvidia-driver-96, x11/nvidia-driver-71, in this order).
Reply With Quote
  #9  
Old June 7th, 2010, 08:43
PhenomII PhenomII is offline
Junior Member
 
Join Date: Jun 2010
Location: the terminal (console)
Posts: 58
Thanks: 9
Thanked 4 Times in 3 Posts
Default

Greetings hydra, and thanks for your response.
Well, I went the way of the newest dirver available on the Nvidia site. The FreeBSD version was announced on the nvforums. So as My card is reasonably new and pretty darn fast. I decided to go w/it. While I did read the entire documentation for it. The process did not go without some issues. I was able to iron the whole thing out with little effort. So that was good.
The only thing I notice now, is upon reboot, occasionally the system panics at about the time it attempts to mount root r/w. I'm not sure if it's the Linux ABI I decided to enable, or not. But I'm pretty darn sure it is. As that's the only significant change to the system I did. Prior I didn't have linux_enable="YES", and I hadn't installed the emulators/linux_base-f10 "linuxulator" either. It's not that big a deal since this is just a "testbed" for evaluating this hardware as a potential for the 78 FreeBSD servers I currently own and operate. I won't have the Nvidia card I'm using on this one on any of the servers, and I also will not likely be using the Linux ABI either. So if I run into a panic once-and-awhile on this workstation, no big deal.

Thanks again hydra, for taking the time to respond.

__________________
8.1-PRERELEASE/amd64 | AMD PhenomII X3 440 | MSI 880GMA-E45 | NVIDIA G98 (8400 GS)

Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
NVIDIA 5200 - new nvidia driver can't install t4z3v4r3d X.Org 3 December 26th, 2009 21:03
[Solved] Nvidia driver on 8.0? plamaiziere X.Org 15 October 18th, 2009 15:11
cant find correct Cnetpro200 driver. javid System Hardware 2 June 3rd, 2009 14:49
After install nvidia Driver refresh rate in all resolution is lower than 55 HZ mfaridi X.Org 20 April 14th, 2009 15:35
A correct way to install security fixes eujedi Installing & Upgrading 7 November 23rd, 2008 01:10


All times are GMT +1. The time now is 05:06.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
The mark FreeBSD is a registered trademark of The FreeBSD Foundation and is used by The FreeBSD Project with the permission of The FreeBSD Foundation.
Web protection and acceleration provided by CloudFlare
0