Bug 52442 - [ivb gt1 0x0152] CPU hung and random artefacts on screen
Summary: [ivb gt1 0x0152] CPU hung and random artefacts on screen
Status: RESOLVED DUPLICATE of bug 52382
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/intel (show other bugs)
Version: git
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Chris Wilson
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-07-24 13:53 UTC by Mario
Modified: 2012-07-26 21:10 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
i915 error state (2.03 MB, application/octet-stream)
2012-07-24 13:53 UTC, Mario
no flags Details
dmesg, Xorg.0.log, i915_error_state (2.24 MB, application/x-tar)
2012-07-26 08:27 UTC, Mario
no flags Details

Description Mario 2012-07-24 13:53:42 UTC
Created attachment 64614 [details]
i915 error state

Hello,

got a Core i5-3470S which has an HD2500 and an ASUS P8H67-M Evo Motherboard and have problems getting the X Server running smoothly.

Installed everything as it is described in https://wiki.archlinux.de/title/X and for the Intel driver https://wiki.archlinux.org/index.php/intel

I have very ugly distortions and then after some interaction the X Server crashes and restarts.

Here are some infos about my system:

GRUB_CMDLINE_LINUX_DEFAULT="quiet enable_mtrr_cleanup mtrr_spare_reg_nr=1 i915.i915_enable_rc6=1 i915.i915_enable_fbc=1 i915.lvds_downclock=1 i915.semaphores=1"

# dmesg | grep drm
[    0.890567] [drm] Initialized drm 1.1.0 20060810
[    0.950726] [drm] Supports vblank timestamp caching Rev 1 (10.10.2010).
[    0.950727] [drm] Driver supports precise vblank timestamp query.
[    1.041821] [drm] Enabling RC6 states: RC6 on, RC6p off, RC6pp off
[    1.330691] fb: conflicting fb hw usage inteldrmfb vs VESA VGA - removing generic driver
[    1.331495] fbcon: inteldrmfb (fb0) is primary device
[    1.497752] fb0: inteldrmfb frame buffer device
[    1.497753] drm: registered panic notifier
[    1.498288] [drm] Initialized i915 1.6.0 20080730 for 0000:00:02.0 on minor 0
[   82.437051] [drm:i915_hangcheck_elapsed] *ERROR* Hangcheck timer elapsed... GPU hung
[   82.437055] [drm] capturing error event; look for more information in /debug/dri/0/i915_error_state
[  263.653809] WARNING: at drivers/gpu/drm/i915/i915_gem.c:2410 i915_gem_object_put_fence+0xab/0xd0 [i915]()
[  263.653811] Modules linked in: snd_hda_codec_hdmi snd_hda_codec_realtek microcode snd_hda_intel snd_hda_codec snd_hwdep snd_pcm aesni_intel aes_x86_64 snd_page_alloc aes_generic ghash_clmulni_intel mei(C) acpi_cpufreq eeepc_wmi mperf psmouse snd_timer asus_wmi pci_hotplug sparse_keymap rfkill cryptd wmi snd processor serio_raw pcspkr r8169 i2c_i801 iTCO_wdt soundcore mii iTCO_vendor_support coretemp thermal fan evdev joydev crc32c_intel ext4 crc16 jbd2 mbcache usbhid hid sd_mod sr_mod cdrom pata_marvell pata_acpi ata_generic xhci_hcd ahci libahci libata ehci_hcd scsi_mod usbcore usb_common i915 video button i2c_algo_bit intel_agp intel_gtt drm_kms_helper drm i2c_core
[  263.653861]  [<ffffffffa001105a>] drm_gem_object_free+0x2a/0x30 [drm]
[  263.653864]  [<ffffffffa0011410>] drm_gem_object_release_handle+0xc0/0xd0 [drm]
[  263.653871]  [<ffffffffa0011350>] ? drm_gem_private_object_init+0x40/0x40 [drm]
[  263.653875]  [<ffffffffa0011974>] drm_gem_release+0x24/0x40 [drm]
[  263.653879]  [<ffffffffa0010903>] drm_release+0x683/0x750 [drm]
[  287.921869] [drm:i915_hangcheck_elapsed] *ERROR* Hangcheck timer elapsed... GPU hung

# dmesg | grep intel
[    0.833909] intel_idle: does not run on family 6 model 58
[    0.891042] agpgart-intel 0000:00:00.0: Intel Ivybridge Chipset
[    0.891162] agpgart-intel 0000:00:00.0: detected gtt size: 2097152K total, 262144K mappable
[    0.892108] agpgart-intel 0000:00:00.0: detected 262144K stolen memory
[    0.892187] agpgart-intel 0000:00:00.0: AGP aperture is 256M @ 0xe0000000
[    1.330691] fb: conflicting fb hw usage inteldrmfb vs VESA VGA - removing generic driver
[    1.331495] fbcon: inteldrmfb (fb0) is primary device
[    1.497752] fb0: inteldrmfb frame buffer device
[    4.984154] snd_hda_intel 0000:00:1b.0: irq 52 for MSI/MSI-X
[  263.653811] Modules linked in: snd_hda_codec_hdmi snd_hda_codec_realtek microcode snd_hda_intel snd_hda_codec snd_hwdep snd_pcm aesni_intel aes_x86_64 snd_page_alloc aes_generic ghash_clmulni_intel mei(C) acpi_cpufreq eeepc_wmi mperf psmouse snd_timer asus_wmi pci_hotplug sparse_keymap rfkill cryptd wmi snd processor serio_raw pcspkr r8169 i2c_i801 iTCO_wdt soundcore mii iTCO_vendor_support coretemp thermal fan evdev joydev crc32c_intel ext4 crc16 jbd2 mbcache usbhid hid sd_mod sr_mod cdrom pata_marvell pata_acpi ata_generic xhci_hcd ahci libahci libata ehci_hcd scsi_mod usbcore usb_common i915 video button i2c_algo_bit intel_agp intel_gtt drm_kms_helper drm i2c_core


# cat /etc/X11/xorg.conf.d/20-intel.conf
Section "Device"
   Identifier	"HD 2500"
   Driver	"intel"
   Option	"AccelMethod"	"sna"
   #Option	"AccelMethod"	"uxa"
EndSection

"sna" seems to make more problems than "uxa".

Hope you can help me to get it running.

Regards
Mario
Comment 1 Chris Wilson 2012-07-24 20:48:40 UTC
Don't enable FBC, do the problems go away?
Comment 2 Mario 2012-07-25 08:47:57 UTC
(In reply to comment #1)
> Don't enable FBC, do the problems go away?

Removed from GRUB and it has no real effect. 

For now I have the problem when I start the computer and first start the X server he has the graphic distortion. When I then click around after some time the X server hangs, restarts and looks ok.
Comment 3 Mario 2012-07-26 08:26:32 UTC
Hello,

after I updated my xf86-video-intel driver to 2.20.1-3 I recognized this error in the X Server log:

[  1100.319] (EE) intel(0): Detected a hung GPU, disabling acceleration.

When I start the X server I get terrible distortion. After I started a console a tried glxdemo, the server hangs and restarts. After that everythings get better. I will add an attachment of i915_error_state and dmesg.

Hope this will help you.
Comment 4 Mario 2012-07-26 08:27:50 UTC
Created attachment 64701 [details]
dmesg, Xorg.0.log, i915_error_state
Comment 5 Chris Wilson 2012-07-26 15:00:53 UTC
I pushed a potential fix to http://cgit.freedesktop.org/~ickle/xf86-video-intel/log/?h=ivb-gt1 if you are able to test, that would be fantastic.
Comment 6 Mario 2012-07-26 15:04:05 UTC
(In reply to comment #5)
> I pushed a potential fix to
> http://cgit.freedesktop.org/~ickle/xf86-video-intel/log/?h=ivb-gt1 if you are
> able to test, that would be fantastic.

Ok, will try it tomorrow.
Comment 7 Chris Wilson 2012-07-26 21:10:22 UTC
The ddx portion will be fixed by

commit 1ced4f1ddcf30b518e1760c7aa4a5ed4f934b9f5
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Thu Jul 26 10:50:31 2012 +0100

    Reduce maximum thread count for IVB GT1 to avoid spontaneous combustion
    
    Somewhere along the way it seems that IVB GT1 was reduced to only allow
    a maximum of 48 threads, as revealed in the lastest bspecs.
    
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=52473
    Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>

however a similar patch is required for mesa.

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


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.