Bug 516993 - kernel BUG when running 3D games
Summary: kernel BUG when running 3D games
Keywords:
Status: CLOSED DUPLICATE of bug 509519
Alias: None
Product: Fedora
Classification: Fedora
Component: xorg-x11-drv-intel
Version: 11
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Adam Jackson
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-08-12 09:15 UTC by Jonathan Dieter
Modified: 2009-08-12 09:38 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-08-12 09:38:39 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Xorg.0.log (72.44 KB, text/plain)
2009-08-12 09:20 UTC, Jonathan Dieter
no flags Details

Description Jonathan Dieter 2009-08-12 09:15:38 UTC
Description of problem:
When I run certain 3D games, after a few seconds, I get a kernel BUG and xorg stops responding.  I can still ssh into the machine, but the display is completely gone.  This is observable on at least two machines with different Intel video chipsets.  One thing in common is that it happens most often when games are run full screen.  Same thing happens whether compiz is enabled or disabled.

Version-Release number of selected component (if applicable):
kernel-2.6.29.6-217.2.3.fc11.x86_64
mesa-libGL-7.6-0.1.fc11.x86_64
xorg-x11-drv-intel-2.7.0-7.fc11.x86_64

How reproducible:
Always

Steps to Reproduce:
1. Run a 3D game (e.g. glest) fullscreen
  
Actual results:
Display freezes, ssh into machine and there's a kernel bug

Expected results:
Game runs (though it may be slow)

Comment 1 Jonathan Dieter 2009-08-12 09:17:49 UTC
Excerpt from /var/log/messages:

Aug 12 12:14:56 scd06 kernel: ------------[ cut here ]------------
Aug 12 12:14:56 scd06 kernel: kernel BUG at drivers/gpu/drm/i915/i915_gem.c:2241!
Aug 12 12:14:56 scd06 kernel: invalid opcode: 0000 [#1] SMP 
Aug 12 12:14:56 scd06 kernel: last sysfs file: /sys/devices/system/cpu/sched_mc_power_savings
Aug 12 12:14:56 scd06 kernel: CPU 1 
Aug 12 12:14:56 scd06 kernel: Modules linked in: fuse nfs lockd nfs_acl auth_rpcgss inet_diag sunrpc coretemp hwmon ipv6 cpufreq_ondemand acpi_cpufreq freq_table dm_multipath vboxnetflt vboxdrv uinput snd_hda_codec_realtek snd_hda_intel snd_hda_codec snd_hwdep i2c_i801 iTCO_wdt iTCO_vendor_support snd_pcm snd_timer snd soundcore snd_page_alloc r8169 mii pcspkr floppy ata_generic pata_acpi i915 drm i2c_algo_bit i2c_core video output [last unloaded: microcode]
Aug 12 12:14:56 scd06 kernel: Pid: 2283, comm: glest Not tainted 2.6.29.6-217.2.3.fc11.x86_64 #1         
Aug 12 12:14:56 scd06 kernel: RIP: 0010:[<ffffffffa005f86e>]  [<ffffffffa005f86e>] i915_gem_object_get_fence_reg+0x221/0x61e [i915]
Aug 12 12:14:56 scd06 kernel: RSP: 0000:ffff88001de49be8  EFLAGS: 00010202
Aug 12 12:14:56 scd06 kernel: RAX: 000000000000c733 RBX: ffff88001b0620c0 RCX: 0000000000000010
Aug 12 12:14:56 scd06 kernel: RDX: 0000000000002e32 RSI: 000000000000c733 RDI: ffff88001b0609c0
Aug 12 12:14:56 scd06 kernel: RBP: ffff88001de49c28 R08: 0000000000000004 R09: ffff88003b694228
Aug 12 12:14:56 scd06 kernel: R10: 0000000000000001 R11: 0000000000000040 R12: ffff88001b060b40
Aug 12 12:14:56 scd06 kernel: R13: ffff88003b694000 R14: ffff88001b062240 R15: ffff88003b693000
Aug 12 12:14:56 scd06 kernel: FS:  00007fa78f0e8710(0000) GS:ffff88003c5ef080(0000) knlGS:0000000000000000
Aug 12 12:14:56 scd06 kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Aug 12 12:14:56 scd06 kernel: CR2: 00007fa78714c000 CR3: 0000000035912000 CR4: 00000000000006e0
Aug 12 12:14:56 scd06 kernel: DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
Aug 12 12:14:56 scd06 kernel: DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
Aug 12 12:14:56 scd06 kernel: Process glest (pid: 2283, threadinfo ffff88001de48000, task ffff88002096c500)
Aug 12 12:14:56 scd06 kernel: Stack:
Aug 12 12:14:56 scd06 kernel: ffff88001de49c38 ffff88003b694228 ffff88003b693020 ffff88001b062240
Aug 12 12:14:56 scd06 kernel: ffff88003b693020 ffff88001b0620c0 ffff88002b42f370 ffff88001de49ce8
Aug 12 12:14:56 scd06 kernel: ffff88001de49c98 ffffffffa00613e9 ffff88001de49c68 00007fa78714c000
Aug 12 12:14:56 scd06 kernel: Call Trace:
Aug 12 12:14:56 scd06 kernel: [<ffffffffa00613e9>] i915_gem_fault+0xc1/0x136 [i915]
Aug 12 12:14:56 scd06 kernel: [<ffffffff810b223b>] __do_fault+0x55/0x3d5
Aug 12 12:14:56 scd06 kernel: [<ffffffff81242ea7>] ? agp_flush_chipset+0x1b/0x1d
Aug 12 12:14:56 scd06 kernel: [<ffffffffa005d654>] ? i915_gem_object_flush_cpu_write_domain+0x26/0x32 [i915]
Aug 12 12:14:56 scd06 kernel: [<ffffffff810b4571>] handle_mm_fault+0x349/0x7c5
Aug 12 12:14:56 scd06 kernel: [<ffffffff813af045>] do_page_fault+0x5b5/0x9e9
Aug 12 12:14:56 scd06 kernel: [<ffffffff813aca42>] ? unlock_kernel+0x2f/0x32
Aug 12 12:14:56 scd06 kernel: [<ffffffff810e0f3b>] ? vfs_ioctl+0x76/0x87
Aug 12 12:14:56 scd06 kernel: [<ffffffff810e13cf>] ? do_vfs_ioctl+0x462/0x4a3
Aug 12 12:14:56 scd06 kernel: [<ffffffff810ba5b5>] ? do_mmap_pgoff+0x304/0x367
Aug 12 12:14:56 scd06 kernel: [<ffffffff81029f87>] ? default_spin_lock_flags+0x9/0xe
Aug 12 12:14:56 scd06 kernel: [<ffffffff813ac4dd>] ? trace_hardirqs_off_thunk+0x3a/0x6c
Aug 12 12:14:56 scd06 kernel: [<ffffffff813acba5>] page_fault+0x25/0x30
Aug 12 12:14:56 scd06 kernel: Code: ff e8 d0 e5 ff ff 85 c0 0f 84 b3 fe ff ff e9 06 04 00 00 41 83 7c 24 20 00 75 10 48 8b 55 c8 48 8b 02 f7 40 70 be ff ff ff 74 04 <0f> 0b eb fe 49 8b bf 38 01 00 00 48 8b 70 38 48 85 ff 74 1a 48 
Aug 12 12:14:56 scd06 kernel: RIP  [<ffffffffa005f86e>] i915_gem_object_get_fence_reg+0x221/0x61e [i915]
Aug 12 12:14:56 scd06 kernel: RSP <ffff88001de49be8>
Aug 12 12:14:56 scd06 kernel: ---[ end trace 9bb3b68f51a0b7b4 ]---

Comment 2 Jonathan Dieter 2009-08-12 09:20:01 UTC
Created attachment 357131 [details]
Xorg.0.log

This is /var/log/Xorg.0.log after a crash

Comment 3 Jonathan Dieter 2009-08-12 09:22:13 UTC
lspci -n from first computer (log above are from this computer):
00:00.0 0600: 8086:2e30 (rev 03)
00:01.0 0604: 8086:2e31 (rev 03)
00:02.0 0300: 8086:2e32 (rev 03) <--
00:02.1 0380: 8086:2e33 (rev 03)
00:1b.0 0403: 8086:27d8 (rev 01)
00:1c.0 0604: 8086:27d0 (rev 01)
00:1c.1 0604: 8086:27d2 (rev 01)
00:1d.0 0c03: 8086:27c8 (rev 01)
00:1d.1 0c03: 8086:27c9 (rev 01)
00:1d.2 0c03: 8086:27ca (rev 01)
00:1d.3 0c03: 8086:27cb (rev 01)
00:1d.7 0c03: 8086:27cc (rev 01)
00:1e.0 0604: 8086:244e (rev e1)
00:1f.0 0601: 8086:27b8 (rev 01)
00:1f.1 0101: 8086:27df (rev 01)
00:1f.2 0101: 8086:27c0 (rev 01)
00:1f.3 0c05: 8086:27da (rev 01)
03:00.0 0200: 10ec:8168 (rev 03)

And from second computer:
00:00.0 0600: 8086:2a00 (rev 0c)
00:02.0 0300: 8086:2a02 (rev 0c) <--
00:02.1 0380: 8086:2a03 (rev 0c)
00:19.0 0200: 8086:1049 (rev 03)
00:1a.0 0c03: 8086:2834 (rev 03)
00:1a.1 0c03: 8086:2835 (rev 03)
00:1a.7 0c03: 8086:283a (rev 03)
00:1b.0 0403: 8086:284b (rev 03)
00:1c.0 0604: 8086:283f (rev 03)
00:1c.1 0604: 8086:2841 (rev 03)
00:1d.0 0c03: 8086:2830 (rev 03)
00:1d.1 0c03: 8086:2831 (rev 03)
00:1d.7 0c03: 8086:2836 (rev 03)
00:1e.0 0604: 8086:2448 (rev f3)
00:1f.0 0601: 8086:2811 (rev 03)
00:1f.2 0106: 8086:2829 (rev 03)
00:1f.3 0c05: 8086:283e (rev 03)
03:00.0 0280: 8086:4230 (rev 61)
05:00.0 0607: 1180:0476 (rev ba)
05:00.1 0c00: 1180:0832 (rev 04)
05:00.2 0805: 1180:0822 (rev 21)

Comment 4 Jonathan Dieter 2009-08-12 09:38:39 UTC
Sorry, I've just come across 509519; this is obviously a duplicate of that one.

*** This bug has been marked as a duplicate of bug 509519 ***


Note You need to log in before you can comment on or make changes to this bug.