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

Newegg Daily Deals

Reply
 
Thread Tools
Old 09-06-05, 01:16 PM   #1
ubergeek
Unnamed Citizen
 
Join Date: Sep 2005
Location: Colorado
Posts: 3
Send a message via ICQ to ubergeek Send a message via AIM to ubergeek Send a message via MSN to ubergeek Send a message via Yahoo to ubergeek
Unhappy Nvidia Driver Causes System Freeze

Alright, I built this system myself. Everything is great, except when I use any of the official Nvidia drivers. When I do, the X-server will spastically and without specific cause restart or lock up completely (no, CTRL-ALT-Backspace and CTRL-ALT-F1 don't work). The generic nv driver works fine though. I also tried Gentoo (VidaLinux) over Ubuntu (my default) only to find that the Nvidia driver and certain other components won't even build at all.

I even resorted to trying Window$. Upon a seemingly successful installation, I naturally install the latest chipset and graphics drivers (77.77) only to find that they cause Window$ to spastically reboot, flash the BSOD then reboot, or simply not start up at all.

I have taken my machine to PC Club and after all their tests, they said everything is good. I can't figure it out, how can I get my card to work right?

My system specs are the following:
Code:
AMD Sempron 2500+
Foxconn 600A01 Motherboard
128 MB Fujiplus GeForce FX5200 Graphics Card
2x 512 MB DDR 400 RAM from GigaRAM and Wintec (both passed Memtest)
Ubuntu 5.04 Kernel 2.6.10-5-k7
Can anyone give me any ideas on how to fix it?
Thanks in advance.
ubergeek is offline   Reply With Quote
Old 09-06-05, 01:57 PM   #2
uOpt
FreeBSD cheering section
 
uOpt's Avatar
 
Join Date: Nov 2004
Location: Boston, MA, USA
Posts: 609
Default Re: Nvidia Driver Causes System Freeze

You use i386 or amd64?
uOpt is offline   Reply With Quote
Old 09-06-05, 06:51 PM   #3
netllama
NVIDIA Corporation
 
Join Date: Dec 2004
Posts: 8,763
Default Re: Nvidia Driver Causes System Freeze

ubergeek,
Without very much to go on, I'd guess that the problem here is the SBIOS on the motherboard not allocating resources properly, or bad ACPI tables.

Have you checked to see if there are any SBIOS updates for your motherboard?

If you had the ability to setup a serial console under Linux, that might capture what is going wrong when the system spontaneously locks-up or reboots.

Thanks,
Lonni
netllama is offline   Reply With Quote
Old 09-07-05, 02:46 PM   #4
edchien
Registered User
 
Join Date: Sep 2005
Posts: 1
Default Re: Nvidia Driver Causes System Freeze

I get a similar problem too. Sporatically, my X will lock up rendering the computer useless (although I am able to ssh in). I did notice that in my /var/log/messages, there are some message from the nvidia driver.

Code:
Sep  7 11:25:04 yukonho NVRM: Xid: 4, Ch 00000100 SC 00000006 M 00000000 Data 03007c00
Sep  7 11:25:12 yukonho NVRM: Xid: 4, Ch 00000100 SC 00000006 M 00000000 Data 03007c00
Sep  7 11:28:18 yukonho NVRM: Xid: 4, Ch 00000100 SC 00000006 M 0000032c Data 00024040
Sep  7 12:11:16 yukonho NVRM: Xid: 4, Ch 00000100 SC 00000006 M 00000000 Data 03007c00
Sep  7 12:14:17 yukonho NVRM: Xid: 12, COCOD 00000000 03001900 00000019 000002fc 00000003
Sep  7 12:14:21 yukonho NVRM: Xid: 8, Channel 00000020
Sep  7 12:14:22 yukonho NVRM: Xid: 9, Channel 0000001e Instance 00000000 Intr 00100000
The sytem ultimately fails on the last message. Seems like some error in allocating memory?? Ubergeek, are you also getting similar messages?

My system specs are:
Code:
nVidia Corporation NV44 (GeForce 6200 TurboCache)
AMD Athlon(tm) 64 Processor 4000+
Gentoo Linux Kenel: linux-2.6.12-gentoo-r6 (Generic-x86-64)
latest 7676 nvidia drivers
edchien is offline   Reply With Quote
Old 09-07-05, 05:30 PM   #5
lambda_user
Registered User
 
Join Date: Sep 2005
Posts: 1
Default Re: Nvidia Driver Causes System Freeze

I think i have the same kind of problem as you, and as a lot of people on the Internet (plus the people not on the internet).
What is weird is that is doesn't seem to be linked to a kernel version, neither a card version, and nor an xorg/xfree86 configuration/version...

The only thing I could determine for sure is that :
It is linked with the Font -> twm works untill using the menu or launching a Terminal
What freezes the computer is a select on a unix socket not responding:
--- Extract from `strace my_wm`
connect(3, {sa_family=AF_FILE, path="/tmp/.X11-unix/X0"}, 19) = 3
[...]
writev(3, [{"6\0\2\0\231\3 \0005\30\4\0\326\5 \0\210\3 \0\237\0\22\000"..., 392}, {"RRS\0RRS\0QQR\0QQR\0PPQ\0PPQ\0OOP\0OOP\0"..., 125928}], 2) = 97920
writev(3, [{"vvw\0uuw\0uuv\0ttv\0ssu\0ssu\0rrt\0rrt\0"..., 28400}], 1) = -1 EAGAIN (Resource temporarily unavailable) <-- It is REALLY not normal...
[...]
select(4, [3], [3], NULL, NULL <unfinished ...>

The computer is logically freezed as the select on the unix socket is never triggered, and then you never come back to the *sweet* userland :/

Obviously, using the GPL version of the driver (nv) works with any card... but without OpenGL (so it is a little bit disapointing)

So if someone is motivated to continue the investigation further more, it would be great, especially if it is a dev from nVidia

<EOF>
lambda_user is offline   Reply With Quote
Old 09-08-05, 09:34 PM   #6
ubergeek
Unnamed Citizen
 
Join Date: Sep 2005
Location: Colorado
Posts: 3
Send a message via ICQ to ubergeek Send a message via AIM to ubergeek Send a message via MSN to ubergeek Send a message via Yahoo to ubergeek
Default Re: Nvidia Driver Causes System Freeze

Quote:
Originally Posted by netllama
ubergeek,
Without very much to go on, I'd guess that the problem here is the SBIOS on the motherboard not allocating resources properly, or bad ACPI tables.

Have you checked to see if there are any SBIOS updates for your motherboard?

If you had the ability to setup a serial console under Linux, that might capture what is going wrong when the system spontaneously locks-up or reboots.

Thanks,
Lonni
I think my BIOS is up to date, though I'm not sure. Even if it wasn't, I have no way to update it.

As I don't know how to set up a serial console, I don't know how to check anything else. I also don't know the locations of all the error files.
If you wouldn't mind sending me a guide for that, I'd be be glad to post some more useful data.

Thank you all for your support.
ubergeek is offline   Reply With Quote
Old 09-09-05, 10:54 AM   #7
netllama
NVIDIA Corporation
 
Join Date: Dec 2004
Posts: 8,763
Default Re: Nvidia Driver Causes System Freeze

Setting up a serial console is not difficult, however it requires a 2nd system, as well as a serial cable (also known as a null modem cable).

Attach the serial cable to the serial ports of the two systems.

On your target system, add the following additional kernel parameters:
console=ttyS0,9600 console=tty0

On the 2nd system, you can use 'screen' to capture the serial output:
screen /dev/ttyS0

Note that I referenced the first serial port, /dev/ttyS0, in my examples above. You
can grep dmesg output for ttyS to see if your systems are using a different serial port.

If everything is setup correctly, you should see the boot time output in the serial console, and then you should also be able to capture any kernel messages that are generated when the system crashes.

Why do you have no way of updating your BIOS? This page seems to have the latest SBIOS for your motherboard:
http://www.foxconnchannel.com/produc...as%20K7600A-RS
If you've not updated your BIOS since March, then I'd strongly suggest doing so.

Thanks,
Lonni
netllama is offline   Reply With Quote
Old 09-10-05, 04:16 PM   #8
ubergeek
Unnamed Citizen
 
Join Date: Sep 2005
Location: Colorado
Posts: 3
Send a message via ICQ to ubergeek Send a message via AIM to ubergeek Send a message via MSN to ubergeek Send a message via Yahoo to ubergeek
Default Re: Nvidia Driver Causes System Freeze

Quote:
Originally Posted by netllama
Setting up a serial console is not difficult, however it requires a 2nd system, as well as a serial cable (also known as a null modem cable).

Attach the serial cable to the serial ports of the two systems.

On your target system, add the following additional kernel parameters:
console=ttyS0,9600 console=tty0

On the 2nd system, you can use 'screen' to capture the serial output:
screen /dev/ttyS0

Note that I referenced the first serial port, /dev/ttyS0, in my examples above. You
can grep dmesg output for ttyS to see if your systems are using a different serial port.

If everything is setup correctly, you should see the boot time output in the serial console, and then you should also be able to capture any kernel messages that are generated when the system crashes.

Why do you have no way of updating your BIOS? This page seems to have the latest SBIOS for your motherboard:
http://www.foxconnchannel.com/produc...as%20K7600A-RS
If you've not updated your BIOS since March, then I'd strongly suggest doing so.

Thanks,
Lonni
That's no good, as I have no serial cable. I don't think I need it anymore, however.

I flashed my BIOS and the Nvidia driver no longer crashes. My GL render from glxgears is around 845 FPS if i run it in a failsafe terminal, but in full Gnome, it tops at >10 FPS.

Here's my xorg.conf file:
Code:
# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following commands:
#
#   cp /etc/X11/xorg.conf /etc/X11/xorg.conf.custom
#   sudo sh -c 'md5sum /etc/X11/xorg.conf >/var/lib/xfree86/xorg.conf.md5sum'
#   sudo dpkg-reconfigure xserver-xorg

Section "Files"
	FontPath	"unix/:7100"			# local font server
	# if the local font server has problems, we can fall back on these
	FontPath	"/usr/lib/X11/fonts/misc"
	FontPath	"/usr/lib/X11/fonts/cyrillic"
	FontPath	"/usr/lib/X11/fonts/100dpi/:unscaled"
	FontPath	"/usr/lib/X11/fonts/75dpi/:unscaled"
	FontPath	"/usr/lib/X11/fonts/Type1"
	FontPath	"/usr/lib/X11/fonts/CID"
	FontPath	"/usr/lib/X11/fonts/100dpi"
	FontPath	"/usr/lib/X11/fonts/75dpi"
        # paths to defoma fonts
	FontPath	"/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
	FontPath	"/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID"
EndSection

Section "Module"
	Load	"bitmap"
	Load	"dbe"
	Load	"ddc"
#	Load	"dri"
	Load	"extmod"
	Load	"freetype"
	Load	"glx"
	Load	"int10"
	Load	"record"
	Load	"type1"
	Load	"vbe"
EndSection

Section "InputDevice"
	Identifier	"Generic Keyboard"
	Driver		"keyboard"
	Option		"CoreKeyboard"
	Option		"XkbRules"	"xorg"
	Option		"XkbModel"	"pc104"
	Option		"XkbLayout"	"us"
EndSection

Section "InputDevice"
	Identifier	"Configured Mouse"
	Driver		"mouse"
	Option		"CorePointer"
	Option		"Device"		"/dev/input/mice"
	Option		"Protocol"		"ImPS/2"
	Option		"Emulate3Buttons"	"true"
	Option		"ZAxisMapping"		"4 5"
EndSection

Section "Device"
	Identifier	"NVIDIA Corporation NV34 [GeForce FX 5200]"
	Driver		"nvidia"
#	BusID		"PCI:1:0:0"
	Option "RenderAccel"		"true"
	Option "AllowGLXWithComposite" 	"true"
EndSection

Section "Monitor"
	Identifier	"eView 17s"
#	Option		"DPMS"
EndSection

Section "Screen"
	Identifier	"Default Screen"
	Device		"NVIDIA Corporation NV34 [GeForce FX 5200]"
	Monitor		"eView 17s"
	DefaultDepth	24
	SubSection "Display"
		Depth		1
		Modes		"1024x768" "800x600"
	EndSubSection
	SubSection "Display"
		Depth		4
		Modes		"1024x768" "800x600"
	EndSubSection
	SubSection "Display"
		Depth		8
		Modes		"1024x768" "800x600"
	EndSubSection
	SubSection "Display"
		Depth		15
		Modes		"1024x768" "800x600"
	EndSubSection
	SubSection "Display"
		Depth		16
		Modes		"1024x768" "800x600"
	EndSubSection
	SubSection "Display"
		Depth		24
		Modes		"1024x768" "800x600"
	EndSubSection
EndSection

Section "ServerLayout"
	Identifier	"Default Layout"
	Screen		"Default Screen"
	InputDevice	"Generic Keyboard"
	InputDevice	"Configured Mouse"
EndSection

Section "Extensions"
	Option "Composite" "Enable"
EndSection

Section "DRI"
	Mode	0666
EndSection
Anything I missed?
ubergeek is offline   Reply With Quote

Old 09-11-05, 03:24 PM   #9
netllama
NVIDIA Corporation
 
Join Date: Dec 2004
Posts: 8,763
Default Re: Nvidia Driver Causes System Freeze

glxgears should not be used as a benchmark of anything other than to compare glxgears results to other people's glxgears results. I can only guess that something else in Gnome is using up GPU time while glxgears is running.

Are you experiencing quantitatively measurable poor performance in any real OpenGL applications?
netllama is offline   Reply With Quote
Old 09-13-05, 07:44 AM   #10
linuxgyro
Registered User
 
Join Date: Sep 2005
Posts: 3
Default Re: Nvidia Driver Causes System Freeze

to tell you all the truth, i am having that problem as well. I am running gentoo with the same kernel as above. i actually was running a slackware linux, but the nvidia installer would not finish corectly. It would say that it had an error building module. I have a Gforce 4 MX440se This worked before on another computer, but for some reason it doesnt now.
when i boot my computer and it is starting up the kdm (after the nvidia logo pops up) my computer drastically slows down to a crawl. the logon console is there and all, but i cannot get out except by the reste button. i can see the fields for my username, and the pasword, but it freezes before i can get that far. Any ideas anyone?
linuxgyro is offline   Reply With Quote
Old 09-13-05, 10:33 AM   #11
netllama
NVIDIA Corporation
 
Join Date: Dec 2004
Posts: 8,763
Default Re: Nvidia Driver Causes System Freeze

linuxgyro,
Please post a bug report.

Thanks,
Lonni
netllama is offline   Reply With Quote
Old 09-13-05, 03:05 PM   #12
linuxgyro
Registered User
 
Join Date: Sep 2005
Posts: 3
Default Re: Nvidia Driver Causes System Freeze

whats a bug report and what goes in one?
linuxgyro 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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Need Help Installing NVIDIA Tesla M2070Q in Linux RHEL5 Ferianto85 NVIDIA Linux 0 05-18-12 08:35 PM
Getting the proprietary nvidia driver to run with Debian 3.0 r0 (woody) Katchina404 NVIDIA Linux 9 01-12-03 08:49 AM
nvidia + 2.4.19 gentoo = messed up ulukay NVIDIA Linux 18 11-01-02 11:58 PM
GF4 Nvidia Driver 2960, Win TV Problem, Freeze titan3025 NVIDIA Linux 5 09-06-02 07:12 AM

All times are GMT -5. The time now is 07:48 PM.


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