Click to See Complete Forum and Search --> : problems with nvidia in UT-LINUX


=CoBB=IMPERATOR
08-23-2002, 09:10 PM
Hi

serios problem will guide me in the last three day's. ich change my live to linux and i want to take the UT with me. i installed UT-linux, but it will not start because of an grfik-device-error.
together with a german UT-LINUX-BROTHER we find out, that first i have to install the current nvidia-driver combined with the corresponding kernel pack for my VGA (GForce 2MX 32MB)
i follow the install-manual that is given on the nvidia-hp striktly. bud after all these successful jobs, startx failed with kernel-conflikt.
i'm sure that i used the accurate rpm-packages..
(NVIDIA_GLX-1.0-2960.i386.rpm.exe)
(NVIDIA_kernel-1.0-2960.mdk82secure.i586.rpm.exe)


UT break down with....
.........
Opening SDL viewport.
Bound to SDLGLDrv.so
Loaded render device class.
Initializing SDLGLDrv...
binding libGL.so.1
Resizing SDL viewport. X: 640 Y: 480
OpenGL
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
appError called:
Couldn't set video mode: Couldn't find matching GLX visual

Executing UObject::StaticShutdownAfterError
Executing USDLClient::ShutdownAfterError
Executing USDLViewport::ShutdownAfterError
USDLGLRenderDevice::ShutdownAfterError
Signal: SIGIOT [iot trap]
Aborting.
Exiting.
Name subsystem shut down



who can help me and made my live complete ;)
thanks in advanced
ralf

few facts of my live:

Linux version 2.4.18-6mdk (quintela@bi.mandrakesoft.com) (gcc version 2.96 20000731 (Mandrake Linux 8.2 2.96-0.76mdk)) #1 Fri Mar 15 02:59:08 CET 2002

~~~~~~~~~

XFree86 Version 4.2.0 / X Window System
(protocol Version 11, revision 0, vendor release 6600)
Release Date: 23 January 2002
If the server is older than 6-12 months, or if your card is
newer than the above date, look for a newer version before
reporting problems. (See http://www.XFree86.Org/)
Build Operating System: Linux 2.4.18-1mdksmp i686 [ELF]
Module Loader present

Hayl
08-23-2002, 09:23 PM
the best way to install the nvidia drivers is to compile them from source. i have installed them many times both from rpm (when i used to run redhat) and from source (with both redhat and debian) and have ALWAYS found the rpms to be of low quality/buggy.

Hayl
08-23-2002, 09:51 PM
do you have a :

Load "glx"

line in your XF86Config or XF86Config-4 - whichever you use file - in the module section?

=CoBB=IMPERATOR
08-23-2002, 10:10 PM
hi Cybr099!

unbeliveable, how fast you answer!!! COOL

- Load "glx" i've set in the MODULE SECTION

to compile a file, is for me completly new... i've made my experiences with rpm and excluding this job, i finished the "rpm-work" successfuly.
in compiling the packages ihave no experiences...
but i will read this and try...!

thx
ralf

bwkaz
08-23-2002, 10:55 PM
It's not all that hard -- either follow the directions in nVidia's readme, or follow this synopsis:

Download NVIDIA_kernel-xxxxx.tar.gz and NVIDIA_GLX-xxxxx.tar.gz (they have to be the same version). Put them in a directory with no other files in it.

Open a terminal and cd into that directory.

su

Type in your root password

tar xvzf NV*.tar.gz

cd NV<tab>k<tab>

(note that you don't type angle-bracket, t, a, b, angle-bracket; rather, just hit the tab key after typing NV and k)

make

cd ../NV<tab>G<tab>

(again, hit the tab key)

make

exit

Now, make sure Load "glx" is in your XF86Config-4 (and make sure it doesn't have a # sign in front of it; if it does, that means it's commented out). Also, down farther in the file, there should be a line that reads Driver "nv"; you'll want to change "nv" to "nvidia". Reboot (I know, it isn't strictly necessary, but it's easiest). You should see the nVidia logo when you start up X, then you should also have OpenGL acceleration.

You can delete the NVIDIA_xxxxxx directories if you want.

Icarus
08-24-2002, 01:24 AM
If the RPMs work for you, use them. There have been times when I wasn't able to install the tarball but the RPMs installed with no problems

To each on to their own

(or something like that :D)

=CoBB=IMPERATOR
08-24-2002, 02:39 AM
hi

first of all, let me say "a big thank you" for the dedicated help you gave me!

ok, now i want to try it by compiling the files and on that way i start doubting about my self...

- did i use the "right" rpm-kernel-driver-file?
i used NVIDIA_kernel-1.0-2960.mdk82secure.i586.rpm.exe
-and what about the already installed rpm-versions, have to had the be deinstalled, bevor i start my compiling-sessions??

to compile the files i download ...

NVIDIA_GLX-1.0-2960.tar.gz



but first i decide, to repeat me rpm-session.
and now i get a warning...
[root@IMPERATOR ut_nvidia_treiber]# rpm -ivh NVIDIA_kernel-1.0-2960.mdk82up.i586.rpm
Preparing... ########################################### [100%]
1:NVIDIA_kernel ########################################### [100%]
Warning: loading /lib/modules/2.4.18-6mdk/kernel/drivers/video/NVdriver will taint the kernel: non-GPL license - NVIDIA

NVdriver installed successfully

wat about the non-gpl-licence

thanks in advanced
ralf

=CoBB=IMPERATOR
08-24-2002, 03:27 AM
i installed the "right" rpm, i set the points in the XF86config-4 and after startx i had just a few seconds the nVIDIA-logo but then it break down and automaticly the old setting wil be done from the system.

in the Section Module there is a
Load "dbe"
Load "v41"
and here has to be aditionally Load "glx"
what about that "dbe" and "v41"... must i remove them.?

and in the graficsrd device section der is to times a section device, like this...?
Section "Device"
Identifier "Generic VGA"
Driver "vga"
EndSection

AND

Section "Device"
Identifier "NVIDIA GeForce2 DDR (generic)"
VendorName "Unknown"
BoardName "Unknown"
Driver "nv" here has to be nvidia

# VideoRam 32768
# Clock lines


# Uncomment following option if you see a big white block
# instead of the cursor!
# Option "sw_cursor"

Option "DPMS" "on"
EndSection

what about the dubbel Section "Device"?

thx
ralf :confused:

bwkaz
08-24-2002, 11:31 AM
"dbe" and "v4l" (note that that's video4linux, vee four ell) are not related to "glx". You still need glx to be loaded, but having those loaded also isn't a big deal (actually, depending on what you're trying to do, it's a good idea).

Two Device sections is also OK. If you look further down, in the Section "Screen", the Device "xxxx" line there tells the X server which Device section to actually use. (The argument to Device in the Screen section should actually be the Identifier of the Device section -- I know, it's a little confusing until you get used to it.)

If you had an nVidia logo for a few seconds, then that means the driver at least tried to load. Did you get your normal GUI screen, or did it fall back to text mode? If it fell back to text mode, did it print anything for you on the console?

If you got your normal GUI screen, then everything's OK.

You did use the correct RPM, if you're running Mandrake 8.2, with the secure kernel. If you're using the standard Mandrake kernel, then uninstall that RPM and try the standard Mandrake 8.2 version.

The non-GPL license message is just so you know that you're tainting your kernel. After you install the nVidia driver, not all of your kernel is open-source anymore -- so if the nVidia driver has bugs in it, the kernel developers can't trace them down (because they don't have access to the code). It's just a message to you and them (but don't worry, they won't know unless you try to do some bug reporting) that there are nonstandard extensions in your kernel.