← Back to team overview

ubuntu-x-swat team mailing list archive

[Bug 788428] [NEW] screen blacks out and locks up during 3d gameplay

 

Public bug reported:

I am running Lucid with a nVidia Corporation GT216 [GeForce GT 220].  I
have had this exact configuration for > 1 year and it had been running
stable.

Starting approximately 1 month ago, I began to experience strange screen
black out and lock ups when running 3d games.  I have seen this with
Trine, Steel Storm, Aquaria, etc.

These lock ups seem to be accompanies by the following messages in
/var/log/messages:

kernel: [100573.805121] NVRM: os_pci_init_handle: invalid context!

Sometimes, I can log into the system via SSH.  In one case I managed to
capture dmesg output while the screen was locked.  I found the
following:

[92682.852528] NVRM: Xid (0001:00): 16, Head 00000000 Count 00003419
[92682.852607] NVRM: Xid (0001:00): 16, Head 00000001 Count 00000012
[92881.022338] INFO: task compiz:1590 blocked for more than 120 seconds.
[92881.022344] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[92881.022348] compiz        D 00000682     0  1590   1524 0x00000000
[92881.022355]  f1177dd0 00000086 f5bfccac 00000682 00000000 c084c760 f592a8e4 c084c760
[92881.022366]  582b9f36 0000544c c084c760 c084c760 f592a8e4 c084c760 c084c760 f699c400
[92881.022376]  582aa9c2 0000544c f592a640 7fffffff 7fffffff f0c7c688 f1177e30 c058dc2d
[92881.022386] Call Trace:
[92881.022399]  [<c058dc2d>] schedule_timeout+0x1ad/0x280
[92881.022408]  [<c01405e9>] ? update_curr+0x169/0x2a0
[92881.022413]  [<c01405e9>] ? update_curr+0x169/0x2a0
[92881.022419]  [<c0172366>] ? getnstimeofday+0x56/0x110
[92881.022424]  [<c058d8e6>] wait_for_common+0xa6/0x130
[92881.022429]  [<c01457f0>] ? default_wake_function+0x0/0x20
[92881.022434]  [<c058da27>] wait_for_completion+0x17/0x20
[92881.022680]  [<f916a117>] os_acquire_sema+0x77/0x80 [nvidia]
[92881.022928]  [<f90d9400>] ? _nv002152rm+0xc0/0xc7 [nvidia]
[92881.023188]  [<f908521a>] _nv006668rm+0xa/0x21 [nvidia]
[92881.023451]  [<f9005196>] ? _nv008443rm+0x34/0x7c [nvidia]
[92881.023674]  [<f8e5ba4c>] ? _nv004517rm+0x190/0x544 [nvidia]
[92881.023935]  [<f908ca79>] ? rm_ioctl+0x3e/0x6d [nvidia]
[92881.024144]  [<f9167e71>] ? nv_kern_ioctl+0x151/0x470 [nvidia]
[92881.024153]  [<c01fe78c>] ? __slab_free+0x7c/0xe0
[92881.024361]  [<f91681e0>] ? nv_kern_unlocked_ioctl+0x20/0x30 [nvidia]
[92881.024505]  [<f91681c0>] ? nv_kern_unlocked_ioctl+0x0/0x30 [nvidia]
[92881.024604]  [<c0218201>] ? vfs_ioctl+0x21/0x90
[92881.024609]  [<c01ea467>] ? remove_vma+0x47/0x60
[92881.024614]  [<c02184e9>] ? do_vfs_ioctl+0x79/0x310
[92881.024618]  [<c02187e7>] ? sys_ioctl+0x67/0x80
[92881.024623]  [<c01033ec>] ? syscall_call+0x7/0xb
[92881.024628]  [<c0104629>] ? __math_state_restore+0x59/0x90
[92881.024683] INFO: task trine-bin32:8548 blocked for more than 120 seconds.
[92881.024687] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[92881.024690] trine-bin32   D 000081c6     0  8548      1 0x00000000
[92881.024697]  f543ddd0 00000086 f1176000 000081c6 00000000 c084c760 c71002a4 c084c760
[92881.024707]  3fcd17b6 0000544c c084c760 c084c760 c71002a4 c084c760 c084c760 edb34600
[92881.024716]  00000000 0000544c c7100000 7fffffff 7fffffff f0c7c688 f543de30 c058dc2d
[92881.024726] Call Trace:
[92881.024733]  [<c058dc2d>] schedule_timeout+0x1ad/0x280
[92881.024739]  [<c053b2ca>] ? unix_stream_recvmsg+0x21a/0x460
[92881.024745]  [<c01405e9>] ? update_curr+0x169/0x2a0
[92881.024750]  [<c0172366>] ? getnstimeofday+0x56/0x110
[92881.024755]  [<c058d8e6>] wait_for_common+0xa6/0x130
[92881.024759]  [<c01457f0>] ? default_wake_function+0x0/0x20
[92881.024764]  [<c058da27>] wait_for_completion+0x17/0x20
[92881.024996]  [<f916a117>] os_acquire_sema+0x77/0x80 [nvidia]
[92881.025232]  [<f90d9400>] ? _nv002152rm+0xc0/0xc7 [nvidia]
[92881.025489]  [<f908521a>] _nv006668rm+0xa/0x21 [nvidia]
[92881.025749]  [<f9005196>] ? _nv008443rm+0x34/0x7c [nvidia]
[92881.025971]  [<f8e5ba4c>] ? _nv004517rm+0x190/0x544 [nvidia]
[92881.026226]  [<f908ca79>] ? rm_ioctl+0x3e/0x6d [nvidia]
[92881.026441]  [<f9167e71>] ? nv_kern_ioctl+0x151/0x470 [nvidia]
[92881.026650]  [<f9162c4a>] ? nv_kern_vma_release+0x6a/0x130 [nvidia]
[92881.026864]  [<f91681e0>] ? nv_kern_unlocked_ioctl+0x20/0x30 [nvidia]
[92881.027073]  [<f91681c0>] ? nv_kern_unlocked_ioctl+0x0/0x30 [nvidia]
[92881.027079]  [<c0218201>] ? vfs_ioctl+0x21/0x90
[92881.027084]  [<c01ea467>] ? remove_vma+0x47/0x60
[92881.027088]  [<c02184e9>] ? do_vfs_ioctl+0x79/0x310
[92881.027092]  [<c02187e7>] ? sys_ioctl+0x67/0x80
[92881.027097]  [<c01033ec>] ? syscall_call+0x7/0xb
[92881.027102]  [<c0104629>] ? __math_state_restore+0x59/0x90

As I said, the system had been running very stable and I had no similar
problems w/ 3D gaming until about 1 month ago.

To try to work around this I have so far:

Enabled Sync to VBlank in OpenGL Settings
Set PowerMizer to "Max Performance"
Reinstalled Nvidia drivers
Disabled PowerMizer by adding the following to xorg.conf: 
  Option "RegistryDwords" "PowerMizerEnable=0x1; PerfLevelSrc=0x3322; PowerMizerDefaultAC=0x1"
Disabled Desktop Effects
Disabled Desktop Sharing 

None of these has helped.

I can reproduce this reliably by playing Trine for 5- 10 minutes.

I have full dmesg output and output of nvidia-bug-report.sh if that
helps.

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: nvidia-current 195.36.24-0ubuntu1~10.04
ProcVersionSignature: Ubuntu 2.6.32-30.59-generic 2.6.32.29+drm33.13
Uname: Linux 2.6.32-30-generic i686
NonfreeKernelModules: nvidia
Architecture: i386
Date: Wed May 25 21:45:55 2011
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release i386 (20091028.5)
MachineType: Dell Inc. Dell DM051
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.32-30-generic root=UUID=f8de4aba-2af3-4231-b151-871a870e9677 ro quiet splash
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.utf8
 SHELL=/bin/bash
SourcePackage: nvidia-graphics-drivers
dmi.bios.date: 03/31/2006
dmi.bios.vendor: Dell Inc.
dmi.bios.version: A05
dmi.board.name: 0HJ054
dmi.board.vendor: Dell Inc.
dmi.chassis.type: 6
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.:bvrA05:bd03/31/2006:svnDellInc.:pnDellDM051:pvr:rvnDellInc.:rn0HJ054:rvr:cvnDellInc.:ct6:cvr:
dmi.product.name: Dell DM051
dmi.sys.vendor: Dell Inc.
system:
 distro:             Ubuntu
 codename:           lucid
 architecture:       i686
 kernel:             2.6.32-30-generic

** Affects: nvidia-graphics-drivers (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-bug i386 lucid

-- 
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to nvidia-graphics-drivers in Ubuntu.
https://bugs.launchpad.net/bugs/788428

Title:
  screen blacks out and locks up during 3d gameplay


Follow ups

References