Bug 55349 - [SNB]Oglc glsl-bif-tex-proj(basic.textureProjLodOffset.sampler2D.vec3) causes system hang with call trace on X mode
Summary: [SNB]Oglc glsl-bif-tex-proj(basic.textureProjLodOffset.sampler2D.vec3) causes...
Status: CLOSED DUPLICATE of bug 50619
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: unspecified
Hardware: All Linux (All)
: high major
Assignee: Daniel Vetter
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-26 08:10 UTC by lu hua
Modified: 2017-10-06 14:48 UTC (History)
5 users (show)

See Also:
i915 platform:
i915 features:


Attachments

Description lu hua 2012-09-26 08:10:40 UTC
System Environment:
--------------------------
Arch:           i386
Platform:       Sandybridge
Libdrm:	(master)libdrm-2.4.39-9-g2426a6a7112ae62755408a371831eddbe2d89d99
Mesa:	(master)124b214f094fa63ff1ddb7e9f0a1c2e0ba8214fb
Xserver:(master)xorg-server-1.13.0-24-g0b02150c27e98f996e10d7489f9f67a30e4e3497
Xf86_video_intel:(master)2.20.8-17-gc6008068372709c73034163eddc902b47bf87d24
Libva:	(staging)a78128ac9a52b7567296e076c3cd9e5b7ea640ad
Libva_intel_driver:(staging)eb5f7f88fbd9085c3346a6b00698cef091e2ece2
Kernel:	(drm-intel-nightly) 398b7a1b882a655ee84bd985f6c2ba89082404ae

Bug detailed description:
-------------------------
It causes system hang on X mode, It doesn't happen on gnome-session.
It happens on -nightly branch. It doesn't happen on -fixes kernel.
It causes system hang with call trace when running auto-bisect.
I can't reproduce the call trace, but I am able reproduce the hang.
netconsole:
[   54.442968] console [netcon0] enabled
[   54.445159] netconsole: network logging started
[  109.015372] oglconform[3028]: segfault at 0 ip 090fc51f sp bf8065f0 error 4 in oglconform[8048000+1e74000]


Calltrace
[  193.767643] ------------[ cut here ]------------
 [  193.767666] WARNING: at drivers/gpu/drm/i915/intel_pm.c:4032 gen6_gt_check_fifodbg+0x28/0x3e [i915]()
 [  193.767668] Hardware name: OptiPlex 990
 [  193.767670] MMIO read or write has been dropped 2
 [  193.767671] Modules linked in: sunrpc cpufreq_ondemand acpi_cpufreq freq_table mperf dm_mirror dm_region_hash dm_log snd_hda_codec_hdmi snd_hda_codec_realtek iTCO_wdt iTCO_vendor_support coretemp hwmon dcdbas snd_hda_intel snd_hda_codec snd_hwdep snd_seq sg snd_seq_device microcode pcspkr snd_pcm i2c_i801 snd_timer snd lpc_ich soundcore mfd_core snd_page_alloc e1000e virtio_net virtio virtio_ring kvm_intel kvm ipv6 autofs4 ext3 jbd mbcache sr_mod cdrom sd_mod ehci_hcd i915 drm_kms_helper drm i2c_algo_bit button i2c_core video dm_mod
 [  193.767722] Pid: 17492, comm: X Tainted: G        W    3.6.0-rc7_unstable_20120925+ #1
 [  193.767724] Call Trace:
 [  193.767729]  [<c0226138>] warn_slowpath_common+0x63/0x78
 [  193.767752]  [<f81c619a>] ? gen6_gt_check_fifodbg+0x28/0x3e [i915]
 [  193.767756]  [<c02261b1>] warn_slowpath_fmt+0x26/0x2a
 [  193.767779]  [<f81c619a>] gen6_gt_check_fifodbg+0x28/0x3e [i915]
 [  193.767796]  [<f8195b56>] i915_write32+0xb1/0xf9 [i915]
 [  193.767819]  [<f81c980e>] ring_write_tail+0x1c/0x1f [i915]
 [  193.767842]  [<f81ca903>] intel_ring_advance+0x31/0x35 [i915]
 [  193.767864]  [<f81cb252>] gen6_render_ring_flush+0xb8/0x1d9 [i915]
 [  193.767887]  [<f81cbb37>] intel_ring_invalidate_all_caches+0x21/0x66 [i915]
 [  193.767908]  [<f81a84e8>] i915_gem_do_execbuffer+0x906/0xcde [i915]
 [  193.767926]  [<c02baaf9>] ? might_fault+0x36/0x70
 [  193.767950]  [<f81a8ddc>] i915_gem_execbuffer2+0x12d/0x1b9 [i915]
 [  193.767966]  [<f80c3e48>] drm_ioctl+0x2db/0x39c [drm]
 [  193.767986]  [<f81a8caf>] ? i915_gem_execbuffer+0x3ef/0x3ef [i915]
 [  193.767996]  [<c02bcdc3>] ? handle_pte_fault+0x577/0x583
 [  193.768004]  [<c02bce74>] ? handle_mm_fault+0xa5/0xb4
 [  193.768019]  [<f80c3b6d>] ? drm_copy_field+0x4f/0x4f [drm]
 [  193.768026]  [<c02de61f>] do_vfs_ioctl+0x465/0x499
 [  193.768033]  [<c0242156>] ? up_read+0x16/0x29
 [  193.768040]  [<c0564ad1>] ? do_page_fault+0x37e/0x3ac
 [  193.768046]  [<c02bfcc0>] ? do_brk+0x1ca/0x211
 [  193.768053]  [<c02de694>] sys_ioctl+0x41/0x61
 [  193.768061]  [<c056732c>] sysenter_do_call+0x12/0x32
 [  193.768066] ---[ end trace 917f0b17ddc0b944 ]---
 [  193.771899] [drm:__gen6_gt_force_wake_get] *ERROR* Timed out waiting for forcewake to ack request.
 [  193.773890] [drm:__gen6_gt_wait_for_thread_c0] *ERROR* GT thread status wait timed out

Reproduce steps:
----------------
1. start X
2. oglconform -z -suite all -v 2 -test glsl-bif-tex-proj \ basic.textureProjLodOffset.sampler2D.vec3
Comment 1 Chris Wilson 2012-10-18 12:57:32 UTC
There should have been an earlier WARNING afaict, please do always attach the full dmesg.
Comment 2 lu hua 2012-10-19 03:12:41 UTC
Because system hang, I can't get full dmesg.

netconsole log:
[   85.395619] console [netcon0] enabled
[   85.397901] netconsole: network logging started
[   85.431353] console [netcon0] enabled
[   85.433573] netconsole: network logging started
[  119.932732] [drm:__gen6_gt_force_wake_get] *ERROR* Timed out waiting for forcewake to ack request.
[  119.974003] [drm:__gen6_gt_wait_for_thread_c0] *ERROR* GT thread status wait timed out
Comment 3 Chris Wilson 2012-12-09 15:40:28 UTC

*** This bug has been marked as a duplicate of bug 50619 ***
Comment 4 lu hua 2012-12-11 08:48:10 UTC
Disable RC6, this issue goes away.
Comment 5 Elizabeth 2017-10-06 14:48:09 UTC
Closing old verified.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.