PDA

View Full Version : HOWTO get NVidia driver working on GeForce cards in Solaris10


gireeshbhat
06-02-05, 10:41 PM
Although the NVidia readme says it supports Quadro cards only, I have it working like a champ on my GeForce FX 5200 card.
Here is how to get it working;
1. As su, run /usr/X11/bin/xorgconfig. Answer the questions as appropriate
and the program will create an xorg.conf in /etc/X11.
2. Run kdmconfig and change from the xsun server to xorg server.
3. Download the NVidia driver for Solaris from their website
4. Read the README and run the file as per instructions
5. Run /usr/X11/bin/scanpci and check the pci id of your NVidia card.
6. run the command update_drv -a -i '"pcixxxx,xxx"' where the xxxs are
filled by the values you got from scanpci command. Don't forget the
quotes ' and ". One thing to note here,scanpci gave me a PCI ID for my GeForce
5200 as 0x10de 0x0322. Entering it as '"pci10de,0322"'
failed. I had to go into /etc/driver_aliases and drop the 0 in 0322.
Finicky eh?
7. Finally reboot and enjoy NVidia 3d acceleration in all its glory on
Solaris. Dont forget to run nvidia-settings and check your options there
including cursor shadow

Best Regards
Gireesh

gireeshbhat
06-02-05, 10:45 PM
Ack!!
In addition to everything mentioned above, don't forget to change Driver "nv" to "nvidia" in /etc/X11/xorg.conf before rebooting.

Best Regards
Gireesh

Kamel
06-02-05, 10:51 PM
nice job on the howto man, awesome :D

Noniko
06-08-05, 06:47 AM
Hi, I have a problem for updating NVIDIA driver for just the FX 5200. Now I have found this instruction of yours and just following it. I am exiting what would happen. See you later!

gireeshbhat
06-18-05, 08:16 PM
Although the NVidia readme says it supports Quadro cards only, I have it working like a champ on my GeForce FX 5200 card.
Here is how to get it working;
1. As su, run /usr/X11/bin/xorgconfig. Answer the questions as appropriate
and the program will create an xorg.conf in /etc/X11.
2. Run kdmconfig and change from the xsun server to xorg server.
3. Download the NVidia driver for Solaris from their website
4. Read the README and run the file as per instructions
5. Run /usr/X11/bin/scanpci and check the pci id of your NVidia card.
6. run the command update_drv -a -i '"pcixxxx,xxx"' where the xxxs are
filled by the values you got from scanpci command. Don't forget the
quotes ' and ". One thing to note here,scanpci gave me a PCI ID for my GeForce
5200 as 0x10de 0x0322. Entering it as '"pci10de,0322"'
failed. I had to go into /etc/driver_aliases and drop the 0 in 0322.
Finicky eh?
7.Edit the /etc/X11/xorg.conf file anc change the entry that reads "nv" to "nvidia"
8. Finally as root run the following command
# reboot -- -r
and enjoy NVidia 3d acceleration in all its glory on
Solaris. Dont forget to run nvidia-settings and check your options there
including cursor shadow

Best Regards
Gireesh

sml
06-19-05, 05:22 PM
update_drv -a -i '"pcixxxx,xxx"' nvidia

The last word is critical.

No probs with an FX5500.

Wintceas
06-25-05, 10:38 AM
update_drv -a -i '"pcixxxx,xxx"' nvidia

The last word is critical.

No probs with an FX5500.

Thank you guys!

No probs with my old GeForce4 MX 4000 card too.

soulie
07-04-05, 09:30 PM
:o Anyone know if this also works for geforce 6200 TC

bcbk
07-08-05, 04:49 AM
Hi!
I used your manipulation to configure my nvidia card FX5200 under Solaris 10 x86 but I have some pbs.
When a finish to configure my card and edit xorg.cong file, after reboot, I have the following error message : X-Server can not started on display:0 I don't understand.
Someone can help me please ?

Marovincian
07-20-05, 04:11 PM
Same error here. I get the nvidia logo, then the error.

gireeshbhat
07-23-05, 09:44 PM
If your xserver failed, please copy and paste the contents of /var/log/Xorg.0.log

Better still use pastebin (http://pastebin.com/) and we can check the log there

Best Regards
Gireesh

keithk
07-27-05, 08:29 PM
After installing in on my machine wiht GeForce MX GPU running solaris 5.11 snv_17 , the module would hang at boot up.

Vanuatoo
09-12-05, 05:07 AM
I've got solaris express 8/05 on amd 64. I followed the guide
but can't get my GeForce FX 5200 card working.
I've installed version 7676.

I checked /etc/driver_aliases and it contains the string
nvidia "pci10de,0322"

Here is the /var/log/Xorg.0.log
http://pastebin.com/361340

And here is my /etc/X11/xorg.conf.
http://pastebin.com/361341

If I change nvidia to nv in my /etc/X11/xorg.conf file
everything works fine.

What is the problem?

gireeshbhat
09-12-05, 10:45 PM
Did you run the command as root after installing the driver?

reboot -- -r

Vanuatoo
09-13-05, 03:23 AM
Did you run the command as root after installing the driver?

reboot -- -r

Yes. The driver is loading fine. Something wrong with the configuration I think.

johnmartin
09-21-05, 08:01 PM
The syntax for the entry in /etc/driver_aliases should be:

nvidia "pci10de,322"

The match will fail with the leading zero in "pci10de,0322".
Do the configuration reboot.

Vanuatoo
09-22-05, 05:18 AM
Thank you very much. Now it works fine but
I don't notice any change. What settings should I change
to achieve better performance in X?. I remember in linux
I used dri module. Is it possible in Solaris?

johnmartin
09-23-05, 09:01 AM
Which performance is lacking?

Things to check:

1. Is the NVIDIA DDX being used:

$ grep "NVIDIA 3D" /var/log/Xorg.0.log
(II) NVIDIA(0): NVIDIA 3D Acceleration Architecture Initialized
$

2. Are AGP cycles being used:

$ grep "Detected AGP" /var/log/Xorg.0.log
(II) NVIDIA(0): Detected AGP rate: 8X
$

dsw
09-23-05, 10:42 AM
Experiencing problems as described in this post (http://www.nvnews.net/vbulletin/showthread.php?t=55107). The thread seems to indicate the problem was resolved. Please post any solutions/suggestions.

I've added the proper driver aliases using the update_drv command, done a reconfiguration boot. Still hangs upon reboot with the message "Can't find driver for console framebuffer".

I able to rlogin to the machine and back out the changes, then reboot with the generic nv driver.

Vanuatoo
09-24-05, 09:14 AM
Which performance is lacking?

Things to check:

1. Is the NVIDIA DDX being used:

$ grep "NVIDIA 3D" /var/log/Xorg.0.log
(II) NVIDIA(0): NVIDIA 3D Acceleration Architecture Initialized
$

This is printed


2. Are AGP cycles being used:

$ grep "Detected AGP" /var/log/Xorg.0.log
(II) NVIDIA(0): Detected AGP rate: 8X
$

This is not. What should I change in xorg.conf?

rednoise
10-07-05, 01:36 PM
Well, I have tried and treid, to no avail. I have a 6800 Ultra, Solaris10 x64

I dl'd the 7676 driver and did all that was required, but have stumbled upon an
interesting discovery that might be causing the god aweful "can't open display on :0"
error.

I discovered that Solaris is making it's own /etc/X11/.xorg.conf every time I reboot

Now I have edited that file to set the AGP to 3, and upon reboot the file was
replaced, I did a find for xorg.conf and .xorg.conf from / and can't for the life of me figure out where it's coming from.

I even removed /etc/X11/xorg.conf and used my edited .xorg.conf and once again it was replaced.

I've used these drivers a million time in Linux with never a problem.

what gives ?

rednoise
10-07-05, 02:26 PM
nope nogo

Upon boot it says the NVidia module loads sucessfully, however here is
suspicious output from the log:

grep NV /var/log/Xorg.0.log
(**) | |-->Device "** NVIDIA (generic) [nv]"
(II) Module glx: vendor="NVIDIA Corporation"
(II) Module nvidia: vendor="NVIDIA Corporation"
(II) NVIDIA dlloader X Driver 1.0-7676 Fri Jul 29 13:25:02 PDT 2005
(II) NVIDIA Unified Driver for all NVIDIA GPUs
(--) Chipset NVIDIA GPU found
(++) NVIDIA(0): Depth 24, (--) framebuffer bpp 32
(==) NVIDIA(0): RGB weight 888
(==) NVIDIA(0): Default visual is TrueColor
(==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
(EE) NVIDIA(0): Failed to initialize the NVIDIA kernel module! Please ensure
(EE) NVIDIA(0): that there is a supported NVIDIA GPU in this system, and
(EE) NVIDIA(0): that the NVIDIA device files have been created properly.
(EE) NVIDIA(0): Please consult the NVIDIA README for details.
(EE) NVIDIA(0): *** Aborting ***

I guess either the 6800 Ultra is unsupported or the Driver installation isn't working right. I don't know I'll give up for a while and move on to other things I guess unless someone has an idea

Thanks :)