LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   nvidia driver trouble (https://www.linuxquestions.org/questions/linux-hardware-18/nvidia-driver-trouble-245270/)

zenith_zth 10-20-2004 05:06 PM

nvidia driver trouble
 
Hi!
I use SuSE 9.1 and I got some serious trouble with my 3d graphics.
I have an MSI GForceFx 5700 128mb card, and I've downloaded the drivers from nvidias homepage. I can't use yast2 to download drivers as the suse how-to says, it just wont work.

1. I sh the file, installing it. So far so good.
2. I edit the XF86config, add "nvidia" as driver instead of "nv".
3. I Enable 3D support in SaX2.
4. I reboot the computer.
5. X gives me No screens found, I use modprobe nvidia. It says that that module can't be found.
6. I try to install it again, now the installer says that I don't have a precompiled kernelsurface, it tries to make it's own bu then it returns that my kernel-source is missing.


What the hell is wrong? I wanna play accelerated 3D games, I really need help! Please help a desperate man ;).

BTW. I re-installed the kernel-source, installed the driver again and got the same error. In modprobe.conf it says "alias char-major-195* nvidia" is that correct?

Thanks in advance, cheers.

fblucher 10-20-2004 06:16 PM

The documentation is clear that you do NOT enable 3D support in SaX2


Finn.

hp46168 10-20-2004 06:20 PM

Re: nvidia driver trouble
 
Quote:

Originally posted by zenith_zth
Hi!
I use SuSE 9.1 and I got some serious trouble with my 3d graphics.
I have an MSI GForceFx 5700 128mb card, and I've downloaded the drivers from nvidias homepage. I can't use yast2 to download drivers as the suse how-to says, it just wont work.

1. I sh the file, installing it. So far so good.
2. I edit the XF86config, add "nvidia" as driver instead of "nv".
3. I Enable 3D support in SaX2.
4. I reboot the computer.
5. X gives me No screens found, I use modprobe nvidia. It says that that module can't be found.
6. I try to install it again, now the installer says that I don't have a precompiled kernelsurface, it tries to make it's own bu then it returns that my kernel-source is missing.


What the hell is wrong? I wanna play accelerated 3D games, I really need help! Please help a desperate man ;).

BTW. I re-installed the kernel-source, installed the driver again and got the same error. In modprobe.conf it says "alias char-major-195* nvidia" is that correct?

Thanks in advance, cheers.

Which site is your YAST pointing to? I had great success with 3d gaming on my laptop with an nvidia gforce4go card.

zenith_zth 10-21-2004 12:42 AM

Quote:

Originally posted by fblucher
The documentation is clear that you do NOT enable 3D support in SaX2


Finn.

The suse howto documentation at nvidias homepage tells me to "as usual" configure everything with sax2.


My yast is pointing to Sunet.se since I live in swe.

undrwater 10-21-2004 12:52 AM

Quote:

6. I try to install it again, now the installer says that I don't have a precompiled kernelsurface, it tries to make it's own bu then it returns that my kernel-source is missing.
You didn't mention whether or not you actually installed your kernel source. You'll need it if you're going to use the installer from nvidia. You can find kernel-source packages in YAST.

fblucher 10-21-2004 01:42 AM

I've never had to alias anything in modprobe.conf to get nvidia working. If it's complaining that it can't find your kernel source that can some times be because it's looking in a clean source tree. Try compiling against it.

cd /usr/src/linux
zcat /proc/config.gz > .config
make oldconfig
make
make modules

Will give you a nice worked in source tree. There's shorter ways to do this (like with a make scripts) but I've found this way always works. Untill you can modprobe nvidia, there's not much point trying to get your screens up.


PS: SuSE Nvidia Installer HOWTO -->

NOTE: There is no need to try to enable 3D support. It's already
enabled, when the nvidia driver is running.

zenith_zth 10-21-2004 02:00 AM

Thanks, haven't seen that line before.

Well, the kernel-source works at first since I can install the driver at first.
I reloaded my source from YaST and I'll try using your command when I get home.

So basicly I should do this:

- Install the module using sh NVIDIA-....run
- Replace "nv" in the xfree config with "nvidia"
- Restart X and be happy?

'cause the driver-install auto-adds "alias char-major* nvidia" in modprobe.conf.

qtaznromeo7 10-21-2004 04:50 AM

i had the same problem...
try adding this to your xorg.conf file:

Load "nvidia"

zenith_zth 10-21-2004 01:30 PM

Well, tried to install again. Now it acutally manages to compile the module itself, but now I've got another problem. When I compile and it reaches 100%, the 100% text switches to done. And then nothing happens. Can't ctrl+c, ctrl+alt+f1-12 or anything at all. I have to reboot. And then the driver isn't installed. :S

Also, I try to use the --precompiled-path command (I use the right command, not sure if I wrote right here though) since I found a precompiled surface for the module, but it won't find it itself. Anyway I still get the "can't find precompiled surface" error so if someone could give me the right commandline please. I've tried reading --advanced-commands but it didn't state clear how to do there either.

zenith_zth 10-21-2004 05:01 PM

I'd really appreciate aome advice, need this up 'n running by tommorow.

Thanks in advance-

zenith_zth 10-22-2004 05:37 AM

Doesn't anybody know? :(

spankers 10-22-2004 10:32 AM

Use the following:
1. ./NVIDIA-Linux-x86-1.0-6111-pkg1.run --extract-only
2. cd NVIDIA-Linux-x86-1.0-6111-pkg1
3. As root run "make install"

This should give you more information to work with. The output of "make install" will give you some idea of whats going on. Your kernel module should be /lib/modules/2.6.x/kernel/drivers/video/nvidia.ko (substitute your kernel version for 2.6.x) if everything went OK.

The installed X server driver will be /usr/X11R6/lib/modules/drivers/nvidia_drv.o, and there should also be a few libraries installed to /usr/X11R6/lib/ and /usr/X11R6/lib/modules/extensions.


All times are GMT -5. The time now is 04:15 PM.