Bug 439642

Summary: intel: Xserver crashes (915G)
Product: [openSUSE] openSUSE 11.1 Reporter: Michael Wolf <maw>
Component: X.OrgAssignee: Stefan Dirsch <sndirsch>
Status: RESOLVED FIXED QA Contact: E-mail List <xorg-maintainer-bugs>
Severity: Critical    
Priority: P2 - High CC: eich, kevin.dupuy
Version: Factory   
Target Milestone: Beta 4   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: my xorg.conf file
a /var/log/Xorg.0.log file
startx output

Description Michael Wolf 2008-10-28 19:58:28 UTC
When I start X I get a black screen.  Keyboard and mouse input don't appear to do anything.

mw@linux:~ % rpm -q xorg-x11-driver-video
xorg-x11-driver-video-7.4-12.1
mw@linux:~ % rpm -q --changelog xorg-x11-driver-video | head
* Sun Oct 26 2008 sndirsch@suse.de
- specfile cleanup

* Fri Oct 24 2008 sndirsch@suse.de
- xf86-video-intel-memleak.diff
  * fixes memory leak (bnc #432595, comment #22)
- package provides/obsoletes 855resolution/915resolution now
  (bnc #438753)

* Tue Oct 21 2008 sndirsch@suse.de
Comment 1 Michael Wolf 2008-10-28 19:59:14 UTC
mw@linux:~ % /usr/sbin/hwinfo --gfx
10: PCI 02.0: 0300 VGA compatible controller (VGA)              
  [Created at pci.318]
  UDI: /org/freedesktop/Hal/devices/pci_8086_2582
  Unique ID: _Znp.wJI3jFnugdA
  SysFS ID: /devices/pci0000:00/0000:00:02.0
  SysFS BusID: 0000:00:02.0
  Hardware Class: graphics card
  Model: "Intel 915 G"
  Vendor: pci 0x8086 "Intel Corporation"
  Device: pci 0x2582 "915 G"
  SubVendor: pci 0x1028 "Dell"
  SubDevice: pci 0x0179 
  Revision: 0x04
  Memory Range: 0xdff00000-0xdff7ffff (rw,non-prefetchable)
  I/O Ports: 0xe898-0xe89f (rw)
  Memory Range: 0xc0000000-0xcfffffff (rw,prefetchable)
  Memory Range: 0xdfec0000-0xdfefffff (rw,non-prefetchable)
  IRQ: 11 (no events)
  I/O Ports: 0x3c0-0x3df (rw)
  Module Alias: "pci:v00008086d00002582sv00001028sd00000179bc03sc00i00"
  Driver Info #0:
    XFree86 v4 Server Module: intel
  Driver Info #1:
    XFree86 v4 Server Module: intel
    3D Support: yes
    Extensions: dri
  Config Status: cfg=no, avail=yes, need=no, active=unknown

11: PCI 02.1: 0380 Display controller
  [Created at pci.318]
  UDI: /org/freedesktop/Hal/devices/pci_8086_2782
  Unique ID: ruGf.C7oSu11upvC
  SysFS ID: /devices/pci0000:00/0000:00:02.1
  SysFS BusID: 0000:00:02.1
  Hardware Class: graphics card
  Model: "Intel 82915G Integrated Graphics Controller"
  Vendor: pci 0x8086 "Intel Corporation"
  Device: pci 0x2782 "82915G Integrated Graphics Controller"
  SubVendor: pci 0x1028 "Dell"
  SubDevice: pci 0x0179 
  Revision: 0x04
  Memory Range: 0xdff80000-0xdfffffff (rw,non-prefetchable)
  Module Alias: "pci:v00008086d00002782sv00001028sd00000179bc03sc80i00"
  Config Status: cfg=no, avail=yes, need=no, active=unknown

Primary display adapter: #10
Comment 2 Michael Wolf 2008-10-28 20:01:13 UTC
mw@linux:~ % cat /tmp/hwinfo--monitor.out                               [14:01]
28: None 00.0: 10000 Monitor
  [Created at monitor.95]
  Unique ID: rdCR.6_9HBFswXv2
  Hardware Class: monitor
  Model: "DELL E172FP"
  Vendor: DEL "DELL"
  Device: eisa 0xa00a "DELL E172FP"
  Serial ID: "J1806484CADB"
  Resolution: 720x400@70Hz
  Resolution: 640x480@60Hz
  Resolution: 640x480@75Hz
  Resolution: 800x600@60Hz
  Resolution: 800x600@75Hz
  Resolution: 1024x768@60Hz
  Resolution: 1024x768@75Hz
  Resolution: 1280x1024@75Hz
  Resolution: 1152x864@75Hz
  Resolution: 1280x1024@60Hz
  Size: 338x270 mm
  Detailed Timings #0:
     Resolution: 1280x1024
     Horizontal: 1280 1328 1440 1688 (+48 +160 +408) +hsync
       Vertical: 1024 1025 1028 1066 (+1 +4 +42) +vsync
    Frequencies: 108.00 MHz, 63.98 kHz, 60.02 Hz
  Driver Info #0:
    Max. Resolution: 1280x1024
    Vert. Sync Range: 56-76 Hz
    Hor. Sync Range: 31-80 kHz
    Bandwidth: 108 MHz
  Config Status: cfg=new, avail=yes, need=no, active=unknown

29: None 00.1: 10000 Monitor
  [Created at monitor.95]
  Unique ID: jyhG.byuqErOKgs2
  Hardware Class: monitor
  Model: "Monitor"
  Vendor: HA@ 
  Device: eisa 0xd800 
  Resolution: 720x400@70Hz
  Resolution: 720x400@88Hz
  Resolution: 640x480@67Hz
  Resolution: 640x480@72Hz
  Resolution: 832x624@75Hz
  Resolution: 248x139@84Hz
  Resolution: 248x139@84Hz
  Resolution: 32x728@60Hz
  Resolution: 512x3360@60Hz
  Detailed Timings #0:
     Resolution: 512x3360
     Horizontal:  512 1312 1600  728 (+800 +1088 +216) hsync
       Vertical: 3360 3392 3392 5408 (+32 +32 +2048) vsync
    Frequencies: 82.24 MHz, 112.97 kHz, 20.89 Hz
  Detailed Timings #1:
     Resolution: 32x728
     Horizontal:   32   32  760   64 (+0 +728 +32) -hsync
       Vertical:  728  730  730  760 (+2 +2 +32) -vsync
    Frequencies: 552.96 MHz, 8640.00 kHz, 11368.42 Hz
  Config Status: cfg=new, avail=yes, need=no, active=unknown
Comment 3 Michael Wolf 2008-10-28 20:03:33 UTC
Created attachment 248417 [details]
my xorg.conf file
Comment 4 Michael Wolf 2008-10-28 20:04:43 UTC
Created attachment 248418 [details]
a /var/log/Xorg.0.log file
Comment 5 Michael Wolf 2008-10-28 20:06:09 UTC
Created attachment 248420 [details]
startx output
Comment 6 Michael Wolf 2008-10-28 20:08:54 UTC
This happens when switching to runlevel 5 as well as when running startx.
Comment 7 Stefan Dirsch 2008-10-28 20:21:59 UTC
Backtrace:
0: /usr/sbin/xw(xf86SigHandler+0x79) [0x80c0be9]
1: [0xffffe400]
2: /usr/sbin/xw(xf86DestroyI2CBusRec+0x88) [0x80fb188]

Maybe Egbert's patch introduced a bug?

-------------------------------------------------------------------
Fri Oct 24 17:22:52 CEST 2008 - sndirsch@suse.de

- xf86-video-intel-memleak.diff
  * fixes memory leak (bnc #432595, comment #22)

--- src/i830_crt.c.orig 2008-10-24 17:19:41.000000000 +0200
+++ src/i830_crt.c      2008-10-24 17:21:13.000000000 +0200
@@ -434,6 +434,8 @@ i830_get_edid(xf86OutputPtr output, int
     xf86MonPtr             edid_mon = NULL;
 
     /* Set up the DDC bus. */
+    if (intel_output->pDDCBus)
+       xf86DestroyI2CBusRec(intel_output->pDDCBus, TRUE, TRUE);
     I830I2CInit(output->scrn, &intel_output->pDDCBus, gpio_reg, gpio_str);
 
     edid_mon = xf86OutputGetEDID (output, intel_output->pDDCBus);

I'll try to reproduce this issue on my 915G machine tomorrow. If you could disable the patch in xorg-x11-driver-video and rebuild the package for testing
this would be really appreciated.
Comment 8 Michael Wolf 2008-10-28 21:22:28 UTC
(In reply to comment #7 from Stefan Dirsch)

> 
> I'll try to reproduce this issue on my 915G machine tomorrow. If you could
> disable the patch in xorg-x11-driver-video and rebuild the package for testing
> this would be really appreciated.
> 

Yep, removing that patch gets me something that works again.
Comment 9 Stefan Dirsch 2008-10-28 22:06:43 UTC
Thanks. I've removed the patch. Fixed for STABLE.

-------------------------------------------------------------------
Tue Oct 28 22:57:14 CET 2008 - sndirsch@suse.de

- removed xf86-video-intel-memleak.diff, which resulted in a
  Xserver crash (bnc #439642)
Comment 10 Stefan Dirsch 2008-10-29 02:01:35 UTC
*** Bug 439684 has been marked as a duplicate of this bug. ***