Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
nvidia riva tnt2 xorg lockups
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
mulander
n00b
n00b


Joined: 27 Jul 2006
Posts: 7

PostPosted: Sat Jan 20, 2007 10:42 am    Post subject: nvidia riva tnt2 xorg lockups Reply with quote

Hi all.
I am having a hard time with my nvidia card.
My X keeps locking up, no mouse and keyboard interaction.
ctrl + alt + backspace also doesn't work.
Crashes are random, it can run for 45 days then crash, or it can crash several times during 30 minutes.
It even crashed during the night while I was logged in on the desktop, so no interaction is required to crash it.

installed versions
Code:

xorg-x11-7.0-r1
nvidia-legacy-drivers-1.0.7184


my xorg configuration for my card
Code:

Section "Device"
        Identifier  "Card0"
        Driver      "nvidia"
        VendorName  "nVidia Corporation"
        VideoRam    32768
        Option      "NoLogo" "true"
        Option      "NvAGP"  "1"
        BoardName   "NV5 [RIVA TNT2/TNT2 Pro]"
        BusID       "PCI:1:0:0"
EndSection


dmesg info on nvidia
Code:

 BIOS-e820: 000000000fff0000 - 000000000fff3000 (ACPI NVS)
vesafb: NVidia, Riva TNT, B1 (OEM: NVidia)
nvidia: module license 'NVIDIA' taints kernel.
NVRM: loading NVIDIA Linux x86 Kernel Module  1.0-7184  Tue Aug  1 18:38:58 PDT 2006


nvidia device files
Code:

inferno ~ # ls -l /dev/nvidia*
crw-rw-rw- 1 root root 195,   0 2007-01-20 11:07 /dev/nvidia0
crw-rw-rw- 1 root root 195, 255 2007-01-20 11:07 /dev/nvidiactl
inferno ~ #


lsmod output
Code:

inferno mulander # lsmod
Module                  Size  Used by
snd_seq_midi            6048  0
snd_emu10k1_synth       5920  0
snd_emux_synth         31936  1 snd_emu10k1_synth
snd_seq_virmidi         5216  1 snd_emux_synth
snd_seq_midi_emul       5792  1 snd_emux_synth
snd_pcm_oss            18976  0
snd_mixer_oss          14784  2 snd_pcm_oss
snd_seq_oss            28864  0
snd_seq_midi_event      5984  3 snd_seq_midi,snd_seq_virmidi,snd_seq_oss
snd_seq                45520  8 snd_seq_midi,snd_emux_synth,snd_seq_virmidi,snd_seq_midi_emul,snd_seq_oss,snd_seq_midi_event
nvidia               3919372  12
snd_emu10k1           111108  3 snd_emu10k1_synth
snd_rawmidi            19264  3 snd_seq_midi,snd_seq_virmidi,snd_emu10k1
snd_ac97_codec         86496  1 snd_emu10k1
snd_ac97_bus            1792  1 snd_ac97_codec
snd_pcm                67624  3 snd_pcm_oss,snd_emu10k1,snd_ac97_codec
snd_seq_device          6316  7 snd_seq_midi,snd_emu10k1_synth,snd_emux_synth,snd_seq_oss,snd_seq,snd_emu10k1,snd_rawmidi
snd_timer              19044  3 snd_seq,snd_emu10k1,snd_pcm
snd_page_alloc          7336  2 snd_emu10k1,snd_pcm
snd_util_mem            3264  2 snd_emux_synth,snd_emu10k1
snd_hwdep               6628  2 snd_emux_synth,snd_emu10k1
snd                    43268  15 snd_emux_synth,snd_seq_virmidi,snd_pcm_oss,snd_mixer_oss,snd_seq_oss,snd_seq,snd_emu10k1,snd_rawmidi,snd_ac97_codec,snd_pcm,snd_seq_device,snd_timer,snd_hwdep


Xorg.0.log's after lockups:
Code:

log nr 1:
(WW) NVIDIA(0): WAIT (0, 7, 0x8000, 0x00009108, 0x00009108, 1)
(WW) NVIDIA(0): WAIT (2, 7, 0x8000, 0x00009108, 0x0000912c, 1)
(WW) NVIDIA(0): WAIT (1, 7, 0x8000, 0x00009108, 0x0000912c, 1)
(WW) NVIDIA(0): WAIT (2, 7, 0x8000, 0x00009108, 0x00009150, 1)

log nr 2:
(WW) NVIDIA(0): WAIT (0, 7, 0x8000, 0x0000a7ac, 0x0000a7ac, 1)

log nr 3:
(WW) NVIDIA(0): WAIT (0, 7, 0x8000, 0x0000f40c, 0x0000f40c, 1)
(WW) NVIDIA(0): WAIT (2, 7, 0x8000, 0x0000f40c, 0x0000f430, 1)

log nr 4:
(WW) NVIDIA(0): WAIT (0, 7, 0x8000, 0x0000c054, 0x0000c054, 1)
(WW) NVIDIA(0): WAIT (2, 7, 0x8000, 0x0000c054, 0x0000c078, 1)
(WW) NVIDIA(0): WAIT (1, 7, 0x8000, 0x0000c054, 0x0000c078, 1)
(WW) NVIDIA(0): WAIT (2, 7, 0x8000, 0x0000c054, 0x0000c09c, 1)
(WW) NVIDIA(0): WAIT (1, 7, 0x8000, 0x0000c054, 0x0000c09c, 1)

log nr 5:
(WW) NVIDIA(0): WAIT (0, 7, 0x8000, 0x00003f90, 0x00003f90, 1)


I've uploaded my xorg startup log because it's to much to paste here in my opinion.
You can find it here

The current specifications (xorg.conf etc.) are a result of things that I tried.
So here is a list of what and why I did:

  • At first there was no Option "NvAGP" "1" in xorg.conf. I tried using NvAGP 2 and 3,4 no results
    I noticed that AGP was loading with the kernel, so I recompiled it without AGP support,
    recompiled the nvidia drivers and added NvAGP 1. Still no result, I also tried other NvAGP settings.
  • I tried running with RenderAccel true, but it crashed even more often.
  • I tried disabling several software/daemons that in my opinion could cause the crash (gkrellm, firefox, dbus, avahi, hal) but no positive results)
  • I logged the output of dbus-monitor and analyzed it after a system crash, there was nothing of interest there
  • Other things that I've probably forgotten by now.


I hope that someone will be able to help me. I am fighting with this one for several months now, with no results, and I'm getting really depressed by it. If some more info/logs are required then those that are gathered here, please post a message and I will provide them as quick as possible.

I am also using a frame buffer running on vesafb. I saw in one of these forum topics that nvidia driers do not collide with it.
Back to top
View user's profile Send private message
moocha
Watchman
Watchman


Joined: 21 Oct 2003
Posts: 5722
Location: Cluj-Napoca, Romania

PostPosted: Sat Jan 20, 2007 12:21 pm    Post subject: Reply with quote

The first thing I'd try is getting rid of any and all frame buffer support in the kernel. Even if it's been reported to be compatible :).
However, it's unlikely that should be the problem. I suspect (or rather know, from my adventures with a old Geforce4MX440 card) recent NVidia drivers aren't really supporting older cards anymore, or if they do it's more by accident. Recent NVidia drivers being any driver post-1.0.6111 - that was the last one that actually worked properly on old cards. The problem is that 1.0.6111 and older do not work or compile against kernels newer than 2.6.11 and linux-headers newer than 2.6.11, and compile on kernel and linux-headers between 2.6.9 and 2.6.11 only using heavy patches, the most important one being using all AGP-related headers from 2.6.8. I'm not even going to touch then "new X.org" issue, that's out of the question anyway.
In short, if you use old hardware you're pretty much stuck using old kernel and X.org versions too.
_________________
Military Commissions Act of 2006: http://tinyurl.com/jrcto

"Those who would give up essential liberty to purchase a little temporary safety deserve neither liberty nor safety."
-- attributed to Benjamin Franklin
Back to top
View user's profile Send private message
whig
l33t
l33t


Joined: 27 Nov 2004
Posts: 963
Location: New Zealand

PostPosted: Sun Jan 21, 2007 12:21 am    Post subject: Reply with quote

The nvidia driver seems to stress ram (my personal experience) so check yours with memtest. You may wish to try the 2D nv driver and leave X run overnight (like you have done before). Both are longshots.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum