Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Reply
 
Thread Tools
Old 02-19-04, 11:03 PM   #1
Lyndon
Registered User
 
Join Date: Feb 2004
Location: Discovery Bay, Hong Kong
Posts: 28
Default Mandrake 9.2 and GeForce FX 5600 - Installation Problems

Subject
Mandrake 9.2 and GeForce FX 5600 - Driver Installation Problems (1.0-5336)


Symptoms
X is very unstable and will crash often. It seems to crash for no apparent reason. Sometimes I have noticed that crashes have occurred while surfing the net using Mozilla. The most recent crash came when I was closing a pop-up window. The crashes occur when using regular programs (web browser, e-mail, word processing and sometime the gimp). I don't play games very much but I have tried Tux Racer which doesn't work. When a crash occurs X goes to top of the process list (top command) and takes up 99% or more of available CPU cycles. The mouse and keyboard are unresponsive. I can log in from another box with SSH, su to root and kill the X server process ID with a "kill -9" command.

I am somewhat lucky that I can do this (NVIDIA staff please take notice!) but for people with only one computer this must be *extremely* frustrating. They will have to do a hard reset with all the nasty file system checking and attendant problems. I can imagine them cursing their monitors wondering what all the Linux fuss is about when they have to reboot their computer more than did when they ran Windows 95 more than 10 years ago! Sure you can tell them that Linux hasn't really crashed and that it's just the X server and that underneath it all the kernel is still chugging away but somehow I don't think they will care. Another note for the NVIDIA folks... For many, many users, X *is* Linux. Bad X, bad Linux.


Political Comment
I am a geek. I am willing to help you sort out the problems with your driver and/or installation program, but you should remember that the vast majority of people are not geeks. They will just give up and take your card back to the store. Heck, even I gave up on ATI cards and took mine back trading it in for the GeForce FX5600. Let me say that I strongly believe the best policy is to open your drivers. "Given enough eyeballs, all bugs are shallow" - Linus's Law (Eric Raymond). IMHO, the road to a great video card driver with rock solid stability is an *open* one. There is probably an alpha-geek out there who could fix most of the worst bugs/problems in just a few hours.


Linux Version Information
Mandrake 9.2 Download Edition - I am using the stock install with a newer kernel. After installing the OS, I installed the 2.4.22-26 kernel and kernel source code. This is the only change I made to the standard install from CD-ROM. Here is the kernel version:

[lyndon@tuxbox]$ cat /proc/version
Linux version 2.4.22-26mdk (qateam@updates.mandrakesoft.com) (gcc version 3.3.1 (Mandrake Linux 9.2 3.3.1-2mdk)) #1 Wed Jan 7 10:47:21 MST 2004
[lyndon@tuxbox]$

After installing the new kernel I then installed the NVIDIA driver. The installation seemed to go well and no errors were reported. After installing the new driver, I installed all the Mandrake 9.2 updates.


Hardware Information
I am using a home brew computer. Here is what I have assembled:
Motherboard: Gigabyte GA-7VT600
Processor: AMD Athlon XP 2600+ (2.0 GHz)
Memory: 1.0 Gigabyte of PC2700 DDR RAM
Chipset: VIA KT600 Memory/AGP/PCI Controller (PAC) and,
Chipset: VIA VT8235 / VT2837 Integrated Peripheral Controller (PSIPC)
Monitor: Sony SDM-X93 19-inch flat panel display
Interface: I am using the DVI connection
Graphic Adaptor: NVIDIA GeForce FX 5600


Driver Information
Here is the output of the various files in /proc/driver/nvidia:

[lyndon@tuxbox]$ cat /proc/driver/nvidia/version
NVRM version: NVIDIA Linux x86 NVIDIA Kernel Module 1.0-5336 Wed Jan 14 18:29:26 PST 2004
GCC version: gcc version 3.3.1 (Mandrake Linux 9.2 3.3.1-2mdk)
[lyndon@tuxbox nvidia]$

[lyndon@tuxbox]$ cat /proc/driver/nvidia/agp/card
Fast Writes: Supported
SBA: Supported
AGP Rates: 8x 4x
Registers: 0x1f000e1b:0x00000000
[lyndon@tuxbox]$

[lyndon@tuxbox]$ cat /proc/driver/nvidia/agp/host-bridge
Host Bridge: VIA Technologies, Inc. VT8377 [KT400 AGP] Host Bridge
Fast Writes: Supported
SBA: Supported
AGP Rates: 8x 4x
Registers: 0x1f000a1b:0x00000000
[lyndon@tuxbox]$

[lyndon@tuxbox]$ cat /proc/driver/nvidia/agp/status
Status: Disabled
[lyndon@tuxbox]$

[lyndon@tuxbox]$ cat /proc/driver/nvidia/cards/0
Model: GeForce FX 5600
IRQ: 16
Video BIOS: ??.??.??.??.??
Card Type: AGP
[lyndon@tuxbox]$


Summary
I don't want this post to become too long so I am going to attach the XF86Config-4 file and the XFree86.0.log file in the next two post. I'll then mention a few more things I've noticed about Mandrake 9.2 and the 1.0-5336 driver.

Regards,

Lyndon

Last edited by Lyndon; 02-20-04 at 12:12 AM.
Lyndon is offline   Reply With Quote
Old 02-19-04, 11:05 PM   #2
Lyndon
Registered User
 
Join Date: Feb 2004
Location: Discovery Bay, Hong Kong
Posts: 28
Default My XF86Config-4 file

The following segment is from my XF86Config-4 file:

Section "Module"
Load "dbe" # Double-Buffering Extension
Load "v4l" # Video for Linux
Load "extmod"
Load "type1"
Load "freetype"
Load "glx" # 3D layer
EndSection

The complete config file is attached to this post.
Attached Files
File Type: txt xf86config-4.txt (2.6 KB, 198 views)
Lyndon is offline   Reply With Quote
Old 02-19-04, 11:07 PM   #3
Lyndon
Registered User
 
Join Date: Feb 2004
Location: Discovery Bay, Hong Kong
Posts: 28
Default My XFree86.0.log

The following section shows the first error that occurs in XFree86.0.log:

...
(II) Setting vga for screen 0.
(II) Initializing built-in extension MIT-SHM
(II) Initializing built-in extension XInputExtension
(II) Initializing built-in extension XTEST
(II) Initializing built-in extension XKEYBOARD
(II) Initializing built-in extension LBX
(II) Initializing built-in extension XC-APPGROUP
(II) Initializing built-in extension SECURITY
(II) Initializing built-in extension XINERAMA
(II) Initializing built-in extension XFree86-Bigfont
(II) Initializing built-in extension RENDER
(II) Initializing built-in extension RANDR
(EE) Failed to initialize GLX extension (NVIDIA XFree86 driver not found)
(II) Keyboard "Keyboard1" handled by legacy driver
...

The error: (EE) Failed to initialize GLX extension (NVIDIA XFree86 driver not found) occurs a total of 4 times.

The complete log file is attached to this post.
Attached Files
File Type: log xfree86.0.log (43.7 KB, 140 views)
Lyndon is offline   Reply With Quote
Old 02-19-04, 11:27 PM   #4
Lyndon
Registered User
 
Join Date: Feb 2004
Location: Discovery Bay, Hong Kong
Posts: 28
Default Problems

I have spotted some of the obvious problems:

[lyndon@tuxbox]$ cat /proc/driver/nvidia/cards/0
Model: GeForce FX 5600
IRQ: 16
Video BIOS: ??.??.??.??.??
Card Type: AGP
[lyndon@tuxbox]$



[lyndon@tuxbox]$ cat /proc/driver/nvidia/agp/host-bridge
Host Bridge: VIA Technologies, Inc. VT8377 [KT400 AGP] Host Bridge
Fast Writes: Supported
SBA: Supported
AGP Rates: 8x 4x
Registers: 0x1f000a1b:0x00000000
[lyndon@tuxbox]$

I have the KT600 Chipset not the KT400 as shown above.



[root@tuxbox]# cat /var/log/XFree86.0.log | grep '(EE)'
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(EE) Failed to initialize GLX extension (NVIDIA XFree86 driver not found)
(EE) Failed to initialize GLX extension (NVIDIA XFree86 driver not found)
(EE) Failed to initialize GLX extension (NVIDIA XFree86 driver not found)
(EE) Failed to initialize GLX extension (NVIDIA XFree86 driver not found)
[root@tuxbox]#

Because GLX doesn't initialize the following is not a surprise:

[lyndon@tuxbox]$ glxgears
Xlib: extension "GLX" missing on display ":0.0".
Error: couldn't get an RGB, Double-buffered visual
[lyndon@tuxbox]$



I have also noticed that there may be some weird permissions. Several files have been installed as executable. I don't think they need to be and pose a security risk, but I could be wrong on this one. Here is one example:

[lyndon@tuxbox]$ ll /usr/X11R6/lib/modules/extensions
total 3592
-r--r--r-- 1 root root 16852 Feb 12 11:49 libdbe.a
-r--r--r-- 1 root root 31828 Feb 12 11:49 libdri.a
-r--r--r-- 1 root root 169570 Feb 12 11:49 libextmod.a
-r--r--r-- 1 root root 2264136 Feb 12 11:49 libGLcore.a
-r--r--r-- 1 root root 454642 Feb 12 11:49 libglx.a
lrwxrwxrwx 1 root root 18 Feb 8 21:41 libglx.so -> libglx.so.1.0.5336*
-rwxr-xr-x 1 root root 646808 Feb 8 21:41 libglx.so.1.0.5336*
-r--r--r-- 1 root root 26260 Feb 12 11:49 librecord.a
-r--r--r-- 1 root root 40046 Feb 12 11:49 libxtrap.a
[lyndon@tuxbox]$


I will try to supply some more information, but I may wait until I hear from Andy Mecham. I don't want to spend too much time on incorrect troubleshooting. I will continue to read through the FAQ and search this forum.

Thanks in advance for any help.

Lyndon
Lyndon is offline   Reply With Quote
Old 02-23-04, 07:01 PM   #5
Lyndon
Registered User
 
Join Date: Feb 2004
Location: Discovery Bay, Hong Kong
Posts: 28
Default New installation

I have managed to get Mandrake 9.2 working. I have been running with the NVIDIA driver for couple of days and so far it hasn't crashed.

Last time I tried to use a kernel newer than the one provided on the CD-ROMs. This time I reinstalled the system using the default 'enterprise' kernel that came 9.2. During installation the install program found a matching pre-compiled driver which it installed.

So far it seems better than before, but the output from glxgears is a bit low for a machince as new and fast as mine (details shown above).

[lyndon@tuxbox]$ glxgears
12680 frames in 5.0 seconds = 2536.000 FPS
12891 frames in 5.0 seconds = 2578.200 FPS
12704 frames in 5.0 seconds = 2540.800 FPS
12755 frames in 5.0 seconds = 2551.000 FPS
12856 frames in 5.0 seconds = 2571.200 FPS
12777 frames in 5.0 seconds = 2555.400 FPS
X connection to :0.0 broken (explicit kill or server shutdown).
[lyndon@tuxbox]$

Lessons learned: If you are having trouble, go for a stock install first and don't get fancy with custom kernels. Another thing that may be of help to newer users:

When you first install Mandrake, choose version 4 of X and then choose the 'vesa' option. This should ensure that you will at least be able to get a basic version of X up and running no matter what. Once you do that make a copy of your XF86Config-4 file. I called my copy 'XF86Config-4.vesa'.

When you have things working with the vesa driver your X config file should be correct. Now you can go ahead and install and try the nvidia driver. All you have to do now is open the XF86Config-4 in your editor and change the line that has 'vesa' in it to 'nvidia'. I also made a copy of my nvidia config file which I called 'XF86Config-4.nvidia'. Depending on which X server I want to use, I copy the appropriate file to XF86Config-4.

Hope this helps.

Lyndon
Lyndon is offline   Reply With Quote
Reply


Thread Tools

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


All times are GMT -5. The time now is 05:49 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.