Bug 31082 - X crashes for some reason, drm fails on startup (Arrandale graphics, i915)
Summary: X crashes for some reason, drm fails on startup (Arrandale graphics, i915)
Status: CLOSED PATCH_ALREADY_AVAILABLE
Alias: None
Product: Drivers
Classification: Unclassified
Component: Video(DRI - Intel) (show other bugs)
Hardware: x86-64 Linux
: P1 normal
Assignee: drivers_video-dri-intel@kernel-bugs.osdl.org
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-14 10:28 UTC by Heiko Tietze
Modified: 2011-07-12 15:29 UTC (History)
2 users (show)

See Also:
Kernel Version: 2.6.38-rc7-14
Subsystem:
Regression: No
Bisected commit-id:


Attachments

Description Heiko Tietze 2011-03-14 10:28:48 UTC
Some but not all OpenGL programs and some web sites crashes X server. German news http://www.spiegel.de/ section "einestages" fails always (Firefox). X server reports nothing except "crashed unexpectedly". Problem does not depend on kernel version, I'm struggling with it since 2.6.35(?).

On startup drm has an error:
[    3.437456] [drm:intel_dsm_pci_probe] *ERROR* failed to get supported _DSM functions

I'm running openSuSE with tumbleweed repository. Hardware is a Thinkpad T510 with Arrandale graphics.

/usr/sbin/hwinfo -gfx
14: PCI 02.0: 0300 VGA compatible controller (VGA)              
  [Created at pci.318]
  Unique ID: _Znp.nUjOwTmEfZC
  SysFS ID: /devices/pci0000:00/0000:00:02.0
  SysFS BusID: 0000:00:02.0
  Hardware Class: graphics card
  Model: "Intel Arrandale Integrated Graphics Controller"
  Vendor: pci 0x8086 "Intel Corporation"
  Device: pci 0x0046 "Arrandale Integrated Graphics Controller"
  SubVendor: pci 0x17aa "Lenovo"
  SubDevice: pci 0x215a 
  Revision: 0x02
  Driver: "i915"
  Driver Modules: "drm"
  Memory Range: 0xf2000000-0xf23fffff (rw,non-prefetchable)
  Memory Range: 0xd0000000-0xdfffffff (ro,non-prefetchable)
  I/O Ports: 0x1800-0x1807 (rw)
  IRQ: 41 (5254 events)
  I/O Ports: 0x3c0-0x3df (rw)
  Module Alias: "pci:v00008086d00000046sv000017AAsd0000215Abc03sc00i00"
  Driver Info #0:
    Driver Status: i915 is active
    Driver Activation Cmd: "modprobe i915"
  Config Status: cfg=no, avail=yes, need=no, active=unknown

Primary display adapter: #14

dmsg |grep drm
[    3.135759] [drm] Initialized drm 1.1.0 20060810
[    3.338205] [drm] Supports vblank timestamp caching Rev 1 (10.10.2010).
[    3.338208] [drm] Driver supports precise vblank timestamp query.
[    3.437456] [drm:intel_dsm_pci_probe] *ERROR* failed to get supported _DSM functions
[    3.883729] fb0: inteldrmfb frame buffer device
[    3.883731] drm: registered panic notifier
[    3.899224] [drm] Initialized i915 1.6.0 20080730 for 0000:00:02.0 on minor 0
Comment 1 Chris Wilson 2011-03-14 10:42:21 UTC
The *ERROR* was a debugging leftover from the integration of the dynamic GPU switching probe and has since been reduced to a debug. Your primary issue lies in the userspace components (one presumes due to the nature of X crashing) and so making sure you have the latest stable components and then file a bug on bugs.freedesktop.org.
Comment 2 Heiko Tietze 2011-03-14 12:12:37 UTC
It was the only indication I found. I would still make the driver responsible instead X. Any idea which setting or feature I could double check?
Comment 3 Chris Wilson 2011-03-14 12:24:17 UTC
The driver has both kernel and userspace components. In this case, it is the userspace portion that is at fault: xf86-video-intel (the ddx), libdrm and mesa (i965_dri.so)
Comment 4 Chris Wilson 2011-03-19 12:44:31 UTC
Treating as a likely userspace driver bug. Make sure you have up-to-date drivers and file a bug on bugs.freedesktop.org with Xorg.log, dmesg and /sys/kernel/debug/dri/0/i915_error_state
Comment 5 Heiko Tietze 2011-07-12 15:29:50 UTC
I just updated from standard repo to XOrg (e.g. libdrm 2.4.26, Mesa 7.10.3, Xorg 7.6-175). And all works like a charm now. Thank you!

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