nV News Forums

 
 

nV News Forums (http://www.nvnews.net/vbulletin/index.php)
-   General Linux (http://www.nvnews.net/vbulletin/forumdisplay.php?f=27)
-   -   OpenGL video freezes, rest of game continues! (gcc problem?) (http://www.nvnews.net/vbulletin/showthread.php?t=39917)

Maalox 11-02-04 04:21 PM

OpenGL video freezes, rest of game continues! (gcc problem?)
 
Hello,

For the last few months I ran fuhquake 0.31 (a new Quake 1 client) on linux (gentoo) flawlessly.
Then, a few days ago, I updated my system with the latest packages, and I'm having this very weird problem:

I can connect to servers fine and move around for a bit. All of a sudden, I lag out for a couple of seconds (the sound loops), and when i come out of it, the video is stuck on whatever i saw last. The game isn't crashed, because I can still hear myself moving (jumping or hooking in ctf), and can even quit by bringing up the console and typing quit. The video doesn't get updated at all until i quit fuhquake, at which point everything is normal. Rarely, I will actually lose mouse and keyboard control and have to restart X via ssh.

The last time everything was working, I was using

==========
Software
X.org 6.7.0
KDE 3.3.0
mm kernel 2.6.8-rc2-mm2
Nvidia 61.11 (i think)
==========

I tried everything to fix this!

Running as root
Ezquake instead of Fuhquake
Going back to X.org 6.7 from 6.8
Using fluxbox (in case KDE 3.3.1 caused it)
Using my old working kernel instead of 2.6.9-mm1
Using my previous video drivers
Spectating someone playing instead of using keyboard/mouse input, just in case....

In every case, i will eventually lose video!!!! I can reproduce it in specific areas of a map very easily, usually when at the intersection from one room to another, although it can happen anywhere.

Also, I tried another opengl game (tuxracer) and although I didn't test it extensively, it exhibits the same problem! Sound still works and I can quit with the keyboard sequence, but video is stuck.

Obviously I'm thinking its a problem with the Nvidia opengl drivers, but how come it still happens if I boot into my old working kernel? Maybe the new version of gcc (3.4.2 from 10/25) is screwing up the nvidia drivers?

Help!

Thanks :P
Maalox

==========
Hardware
Asus CUV4X motherboard, 256 ram
PIII 600
Geforce FX 5200
==========

Maalox 11-05-04 03:09 AM

Re: OpenGL video freezes, rest of game continues! (gcc problem?)
 
Ok I tried using gcc 3.3.4, no luck
kernel without preempt, no luck
nvidia-1.0.5336, no luck

I did notice a difference between the nvidia drivers though:

For 6111, when the freeze happens, the sound loops and i lose input for a few seconds, then everything is back to normal except that the video is stuck on whatever i saw last. Like I said, the game is still running and I can quit normally, I just can't see anything. Actually, the "color" of the stuck image will change if i am in slime or lava or if I'm getting shot., but the contents of the picture are static. Dmesg shows nothing.

For 5336, it freezes as before, goes back to normal for a bit, freezes, goes back to normal, and so on. During the "normal" phase, the game is working properly, and the video is updating as it should. In the 6111 case, it only freezes once but the video is stuck for good. Here, it freezes all the time but the video works when its unstuck. Also, dmesg shows the following after running the game:

Code:

Code:
1/0x32 [nvidia]
 [<c011deb3>] run_timer_softirq+0xd3/0x1a0
 [<c011007b>] clear_IO_APIC+0x1b/0x40
 [<c011a2d9>] __do_softirq+0x79/0x80
 [<c011a307>] do_softirq+0x27/0x30
 [<c0106539>] do_IRQ+0xf9/0x130
 [<c0104918>] common_interrupt+0x18/0x20
 [<d0dad7e5>] nv_unlock_rm+0x2a/0x3c [nvidia]
 [<d0c44d62>] _nv001223rm+0x12/0x18 [nvidia]
 [<d0c32c18>] _nv000917rm+0x18c/0x1ac [nvidia]
 [<d0c32ed8>] _nv000916rm+0x2a0/0x2d0 [nvidia]
 [<d0c4899f>] _nv000899rm+0x99f/0xf70 [nvidia]
 [<c0256e9c>] as_move_to_dispatch+0xec/0x1d0
 [<c011ee7c>] signal_wake_up+0x1c/0x20
 [<c011f6ef>] __group_send_sig_info+0x8f/0xc0
 [<c011fc29>] send_group_sig_info+0x19/0x40
 [<c015acff>] send_sigio_to_task+0xdf/0xf0
 [<c024baae>] get_device+0xe/0x20
 [<c028ad32>] usb_get_dev+0x12/0x20
 [<c029c7e2>] uhci_submit_common+0x202/0x2c0
 [<c028ff11>] hcd_submit_urb+0x111/0x1a0
 [<c0290b36>] usb_submit_urb+0x236/0x360
 [<c02a1ea5>] hidinput_report_event+0x35/0x50
 [<c029f9cb>] hid_irq_in+0x2b/0xa0
 [<c029bf85>] uhci_destroy_urb_priv+0xb5/0x100
 [<c029d913>] uhci_irq+0x1b3/0x1e0
 [<c0106150>] handle_IRQ_event+0x30/0x60
 [<c01064f0>] do_IRQ+0xb0/0x130
 [<d0da4ddf>] _nv000176rm+0x57/0x3ec [nvidia]
 [<c0302a08>] dev_queue_xmit+0x228/0x2c0
 [<c0318c30>] ip_finish_output2+0x0/0x1a0
 [<c0318c30>] ip_finish_output2+0x0/0x1a0
 [<c0318c30>] ip_finish_output2+0x0/0x1a0
 [<c0112ced>] slice+0x1d/0x30
 [<c0112d2a>] effective_prio+0x2a/0xa0
 [<c0112ced>] slice+0x1d/0x30
 [<c0112fac>] task_preempts_curr+0x6c/0x80
 [<c011ee7c>] signal_wake_up+0x1c/0x20
 [<c011f6ef>] __group_send_sig_info+0x8f/0xc0
 [<d0da4ddf>] _nv000176rm+0x57/0x3ec [nvidia]
 [<c0112c9b>] inc_burst+0xb/0x20
 [<d0c3940a>] _nv001344rm+0x22/0x6c [nvidia]
 [<d0d0f48b>] _nv001556rm+0x5b/0x6c [nvidia]
 [<d0d92d44>] _nv001803rm+0x14/0x18 [nvidia]
 [<d0d91ad5>] _nv000426rm+0x39/0x5c [nvidia]
 [<d0d0f48b>] _nv001556rm+0x5b/0x6c [nvidia]
 [<d0c39595>] _nv001338rm+0x1d/0x24 [nvidia]
 [<d0d9246c>] _nv000412rm+0x84/0xa4 [nvidia]
 [<d0c39595>] _nv001338rm+0x1d/0x24 [nvidia]
 [<d0da4ddf>] _nv000176rm+0x57/0x3ec [nvidia]
 [<c0112ced>] slice+0x1d/0x30
 [<c0112d2a>] effective_prio+0x2a/0xa0
 [<c0112fac>] task_preempts_curr+0x6c/0x80
 [<c0112c9b>] inc_burst+0xb/0x20
 [<c0112ced>] slice+0x1d/0x30
 [<d0d107e6>] _nv001551rm+0x2e/0x90 [nvidia]
 [<d0d1065f>] _nv001613rm+0x6f/0x7c [nvidia]
 [<d0d0f48b>] _nv001556rm+0x5b/0x6c [nvidia]
 [<d0d0f34b>] _nv001532rm+0x1f/0x28 [nvidia]
 [<d0c5beb8>] _nv004240rm+0x180/0x18c [nvidia]
 [<d0d0f2fc>] _nv001534rm+0x20/0x28 [nvidia]
 [<d0c44d62>] _nv001223rm+0x12/0x18 [nvidia]
 [<d0c5c267>] _nv004046rm+0x3a3/0x3b0 [nvidia]
 [<d0c47bd1>] rm_ioctl+0x19/0x20 [nvidia]
 [<c0344641>] ip_conntrack_in+0x1/0x220
 [<d0dac6b3>] nv_kern_ioctl+0x31e/0x361 [nvidia]
 [<d0dac75c>] nv_kern_rc_timer+0x0/0x32 [nvidia]
 [<c0113288>] scheduler_tick+0x18/0x290
 [<c011e057>] do_timer+0xc7/0xd0
 [<c011a2d9>] __do_softirq+0x79/0x80
 [<c0344641>] ip_conntrack_in+0x1/0x220
 [<c015b310>] sys_ioctl+0xf0/0x240
 [<c0103fab>] syscall_call+0x7/0xb
 [<c0344641>] ip_conntrack_in+0x1/0x220
Badness in pci_find_subsys at drivers/pci/search.c:167
 [<c021f539>] pci_find_subsys+0xf9/0x110
 [<c021f568>] pci_find_device+0x18/0x20
 [<c021f371>] pci_find_slot+0x21/0x40
 [<d0daebbd>] os_pci_init_handle+0x31/0x5f [nvidia]
 [<d0c4385f>] _nv001243rm+0x1f/0x24 [nvidia]
 [<d0cf4a5d>] _nv003797rm+0xa9/0x128 [nvidia]
 [<d0d614a1>] _nv001490rm+0x55/0xe4 [nvidia]
 [<d0d8a154>] _nv000816rm+0x334/0x384 [nvidia]
 [<d0cf292c>] _nv003801rm+0xd8/0x100 [nvidia]
 [<d0d89c4f>] _nv000809rm+0x2f/0x34 [nvidia]
 [<d0cf3750>] _nv003816rm+0xf0/0x104 [nvidia]
 [<d0cf44c7>] _nv000013rm+0x77/0x84 [nvidia]
 [<d0cf3e6b>] _nv003780rm+0x1df/0x2c8 [nvidia]
 [<d0cf3c77>] _nv000012rm+0x43/0x58 [nvidia]
 [<d0cf3c34>] _nv000012rm+0x0/0x58 [nvidia]
 [<d0c3769c>] _nv001219rm+0xa8/0x124 [nvidia]
 [<d0dac75c>] nv_kern_rc_timer+0x0/0x32 [nvidia]
 [<d0c47eb6>] rm_run_rc_callback+0x36/0x4c [nvidia]
 [<d0dac76d>] nv_kern_rc_timer+0x11/0x32 [nvidia]
 [<c011deb3>] run_timer_softirq+0xd3/0x1a0
 [<c011007b>] clear_IO_APIC+0x1b/0x40
 [<c011a2d9>] __do_softirq+0x79/0x80
 [<c011a307>] do_softirq+0x27/0x30
 [<c0106539>] do_IRQ+0xf9/0x130
 [<c0104918>] common_interrupt+0x18/0x20
 [<d0dad7e5>] nv_unlock_rm+0x2a/0x3c [nvidia]
 [<d0c44d62>] _nv001223rm+0x12/0x18 [nvidia]
 [<d0c32c18>] _nv000917rm+0x18c/0x1ac [nvidia]
 [<d0c32ed8>] _nv000916rm+0x2a0/0x2d0 [nvidia]
 [<d0c4899f>] _nv000899rm+0x99f/0xf70 [nvidia]
 [<c0256e9c>] as_move_to_dispatch+0xec/0x1d0
 [<c011ee7c>] signal_wake_up+0x1c/0x20
 [<c011f6ef>] __group_send_sig_info+0x8f/0xc0
 [<c011fc29>] send_group_sig_info+0x19/0x40
 [<c015acff>] send_sigio_to_task+0xdf/0xf0
 [<c024baae>] get_device+0xe/0x20
 [<c028ad32>] usb_get_dev+0x12/0x20
 [<c029c7e2>] uhci_submit_common+0x202/0x2c0
 [<c028ff11>] hcd_submit_urb+0x111/0x1a0
 [<c0290b36>] usb_submit_urb+0x236/0x360
 [<c02a1ea5>] hidinput_report_event+0x35/0x50
 [<c029f9cb>] hid_irq_in+0x2b/0xa0
 [<c029bf85>] uhci_destroy_urb_priv+0xb5/0x100
 [<c029d913>] uhci_irq+0x1b3/0x1e0
 [<c0106150>] handle_IRQ_event+0x30/0x60
 [<c01064f0>] do_IRQ+0xb0/0x130
 [<d0da4ddf>] _nv000176rm+0x57/0x3ec [nvidia]
 [<c0302a08>] dev_queue_xmit+0x228/0x2c0
 [<c0318c30>] ip_finish_output2+0x0/0x1a0
 [<c0318c30>] ip_finish_output2+0x0/0x1a0
 [<c0318c30>] ip_finish_output2+0x0/0x1a0
 [<c0112ced>] slice+0x1d/0x30
 [<c0112d2a>] effective_prio+0x2a/0xa0
 [<c0112ced>] slice+0x1d/0x30
 [<c0112fac>] task_preempts_curr+0x6c/0x80
 [<c011ee7c>] signal_wake_up+0x1c/0x20
 [<c011f6ef>] __group_send_sig_info+0x8f/0xc0
 [<d0da4ddf>] _nv000176rm+0x57/0x3ec [nvidia]
 [<c0112c9b>] inc_burst+0xb/0x20
 [<d0c3940a>] _nv001344rm+0x22/0x6c [nvidia]
 [<d0d0f48b>] _nv001556rm+0x5b/0x6c [nvidia]
 [<d0d92d44>] _nv001803rm+0x14/0x18 [nvidia]
 [<d0d91ad5>] _nv000426rm+0x39/0x5c [nvidia]
 [<d0d0f48b>] _nv001556rm+0x5b/0x6c [nvidia]
 [<d0c39595>] _nv001338rm+0x1d/0x24 [nvidia]
 [<d0d9246c>] _nv000412rm+0x84/0xa4 [nvidia]
 [<d0c39595>] _nv001338rm+0x1d/0x24 [nvidia]
 [<d0da4ddf>] _nv000176rm+0x57/0x3ec [nvidia]
 [<c0112ced>] slice+0x1d/0x30
 [<c0112d2a>] effective_prio+0x2a/0xa0
 [<c0112fac>] task_preempts_curr+0x6c/0x80
 [<c0112c9b>] inc_burst+0xb/0x20
 [<c0112ced>] slice+0x1d/0x30
 [<d0d107e6>] _nv001551rm+0x2e/0x90 [nvidia]
 [<d0d1065f>] _nv001613rm+0x6f/0x7c [nvidia]
 [<d0d0f48b>] _nv001556rm+0x5b/0x6c [nvidia]
 [<d0d0f34b>] _nv001532rm+0x1f/0x28 [nvidia]
 [<d0c5beb8>] _nv004240rm+0x180/0x18c [nvidia]
 [<d0d0f2fc>] _nv001534rm+0x20/0x28 [nvidia]
 [<d0c44d62>] _nv001223rm+0x12/0x18 [nvidia]
 [<d0c5c267>] _nv004046rm+0x3a3/0x3b0 [nvidia]
 [<d0c47bd1>] rm_ioctl+0x19/0x20 [nvidia]
 [<c0344641>] ip_conntrack_in+0x1/0x220
 [<d0dac6b3>] nv_kern_ioctl+0x31e/0x361 [nvidia]
 [<d0dac75c>] nv_kern_rc_timer+0x0/0x32 [nvidia]
 [<c0113288>] scheduler_tick+0x18/0x290
 [<c011e057>] do_timer+0xc7/0xd0
 [<c011a2d9>] __do_softirq+0x79/0x80
 [<c0344641>] ip_conntrack_in+0x1/0x220
 [<c015b310>] sys_ioctl+0xf0/0x240
 [<c0103fab>] syscall_call+0x7/0xb
 [<c0344641>] ip_conntrack_in+0x1/0x220
0: nvidia: trying to map 0xf7c35000 to kernel space, but we're in an interrupt or holding a spinlock
Badness in pci_find_subsys at drivers/pci/search.c:167
 [<c021f539>] pci_find_subsys+0xf9/0x110
 [<c021f568>] pci_find_device+0x18/0x20
 [<c021f371>] pci_find_slot+0x21/0x40
 [<d0daebbd>] os_pci_init_handle+0x31/0x5f [nvidia]
 [<d0c4385f>] _nv001243rm+0x1f/0x24 [nvidia]
 [<d0d8a115>] _nv000816rm+0x2f5/0x384 [nvidia]
 [<d0cf292c>] _nv003801rm+0xd8/0x100 [nvidia]
 [<d0d89c4f>] _nv000809rm+0x2f/0x34 [nvidia]
 [<d0cf3750>] _nv003816rm+0xf0/0x104 [nvidia]
 [<d0cf44c7>] _nv000013rm+0x77/0x84 [nvidia]
 [<d0cf3e6b>] _nv003780rm+0x1df/0x2c8 [nvidia]
 [<d0cf3c77>] _nv000012rm+0x43/0x58 [nvidia]
 [<d0cf3c34>] _nv000012rm+0x0/0x58 [nvidia]
 [<d0c3769c>] _nv001219rm+0xa8/0x124 [nvidia]
 [<d0dac75c>] nv_kern_rc_timer+0x0/0x32 [nvidia]
 [<d0c47eb6>] rm_run_rc_callback+0x36/0x4c [nvidia]
 [<d0dac76d>] nv_kern_rc_timer+0x11/0x32 [nvidia]
 [<c011deb3>] run_timer_softirq+0xd3/0x1a0
 [<c011007b>] clear_IO_APIC+0x1b/0x40
 [<c011a2d9>] __do_softirq+0x79/0x80
 [<c011a307>] do_softirq+0x27/0x30
 [<c0106539>] do_IRQ+0xf9/0x130
 [<c0104918>] common_interrupt+0x18/0x20
 [<d0dad7e5>] nv_unlock_rm+0x2a/0x3c [nvidia]
 [<d0c44d62>] _nv001223rm+0x12/0x18 [nvidia]
 [<d0c32c18>] _nv000917rm+0x18c/0x1ac [nvidia]
 [<d0c32ed8>] _nv000916rm+0x2a0/0x2d0 [nvidia]
 [<d0c4899f>] _nv000899rm+0x99f/0xf70 [nvidia]
 [<c0256e9c>]<7>atkbd.c: Keyboard on isa0060/serio0 reports too many keys pressed.
 as_move_to_dispatch+0xec/0x1d0
 [<c011ee7c>] signal_wake_up+0x1c/0x20
 [<c011f6ef>] __group_send_sig_info+0x8f/0xc0
 [<d0da4ddf>] _nv000176rm+0x57/0x3ec [nvidia]
 [<c024baae>] get_device+0xe/0x20
 [<c028ad32>] usb_get_dev+0x12/0x20
 [<d0c39595>] _nv001338rm+0x1d/0x24 [nvidia]
 [<d0c5eacc>] _nv005307rm+0x54/0x544 [nvidia]
 [<d0d0f34b>] _nv001532rm+0x1f/0x28 [nvidia]
 [<d0d0f2fc>] _nv001534rm+0x20/0x28 [nvidia]
 [<d0d0faf2>] _nv003621rm+0x1a/0x20 [nvidia]
 [<d0da63b8>] _nv000183rm+0x750/0x774 [nvidia]
 [<d0d0f34b>] _nv001532rm+0x1f/0x28 [nvidia]
 [<d0d0fb31>] _nv003619rm+0x19/0x20 [nvidia]
 [<d0d5e6a3>] _nv003073rm+0x1b/0x30 [nvidia]
 [<d0c46521>] _nv000865rm+0x3d/0x48 [nvidia]
 [<d0c4648d>] _nv000900rm+0xd9/0xe8 [nvidia]
 [<d0c4632e>] _nv000897rm+0x4e/0x70 [nvidia]
 [<c01132d9>] scheduler_tick+0x69/0x290
 [<c011dc46>] update_wall_time+0x16/0x40
 [<c011e057>] do_timer+0xc7/0xd0
 [<c0109d74>] timer_interrupt+0x44/0x120
 [<c01064f0>] do_IRQ+0xb0/0x130
 [<c0302a08>] dev_queue_xmit+0x228/0x2c0
 [<c0307b9b>] neigh_resolve_output+0xeb/0x1c0
 [<c0318c30>] ip_finish_output2+0x0/0x1a0
 [<c0318c30>] ip_finish_output2+0x0/0x1a0
 [<c0318c00>] dst_output+0x0/0x30
 [<c031689e>] ip_finish_output+0x1de/0x1f0
 [<c0318c30>] ip_finish_output2+0x0/0x1a0
 [<c0318c00>] dst_output+0x0/0x30
 [<c0318c11>] dst_output+0x11/0x30
 [<c030b68a>] nf_hook_slow+0xda/0x110
 [<c0318c00>] dst_output+0x0/0x30
 [<c0318764>] ip_push_pending_frames+0x404/0x460
 [<d0da4ddf>] _nv000176rm+0x57/0x3ec [nvidia]
 [<d0c3940a>] _nv001344rm+0x22/0x6c [nvidia]
 [<d0d0f48b>] _nv001556rm+0x5b/0x6c [nvidia]
 [<d0da4ddf>] _nv000176rm+0x57/0x3ec [nvidia]
 [<d0c39595>] _nv001338rm+0x1d/0x24 [nvidia]
 [<d0d9246c>] _nv000412rm+0x84/0xa4 [nvidia]
 (cut out the rest because too long)

Hope someone can help,
Maalox

P.S. Remember that everything was 100% ok before my linux updates!

Maalox 11-07-04 02:56 PM

Re: OpenGL video freezes, rest of game continues! (gcc problem?)
 
I found the problem :)

After trying everything and nearly giving up, I booted into windows and tried to play. Same "crash", except instead of being able to quit or ssh in, it just rebooted on its own!

Ended up being a fried graphics card, so I bought a new one and everything is working properly now.

I wish the problem didn't start after my huge linux update, or else I wouldn't have wasted so much time trying to look for a configuration problem. I'm gonna assume that the updates (which took 2 days of compiling) overheated the system and damaged the (cheap and generic, not overclocked) video card.

Thanks for the help,
Maalox

Gopher 11-11-04 12:32 PM

Re: OpenGL video freezes, rest of game continues! (gcc problem?)
 
I'm having the same problem, but I don't think it's my video card unfortunately.. I'm using Debian Unstable and the 6*** version on the drivers (latest one as of now) The game will start and I can get into the game, but soon as the screen will garble.. and yes sound continues... but screen is just completely distorted and frozen... sometimes I can get back to the console, but it will also be garbled and distorted to where it's unreadable. Other times the whole system will lock up (yet there is sometimes still sound from the game) and I will have to forcefully reboot but turning off the power to my PC. This problem is really annoying, and it can't be my video card!

LavaDevil 11-26-04 02:36 PM

Re: OpenGL video freezes, rest of game continues! (gcc problem?)
 
Try lowering your AGP rate. I had that problem, and lowering it from 8X to 4X worked.

whig 11-26-04 09:50 PM

Re: OpenGL video freezes, rest of game continues! (gcc problem?)
 
Gopher: if you have a GeForce 5 or 6 you can monitor gpu temperature (other programs do cpu temps). Mine goes up to 65 celcius. The higher and longer it goes on the sooner to... death :(


All times are GMT -5. The time now is 06:16 PM.

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