X intel driver crashed at xf86CrtcSetMode()

Bug #308225 reported by Marques Johansson
34
Affects Status Importance Assigned to Milestone
xf86-video-intel
Fix Released
Critical
xorg-server (Ubuntu)
Fix Released
High
Unassigned

Bug Description

Binary package hint: xserver-xorg-video-intel

This crash occurred after updating my Jaunty install since Friday 2008-12-12.

I had to change to fbdev and install that package before getting X back in any form. I was also suprised to see that the i865 driver no longer works with my device.

I'm attaching the log of the crashed X execution with ModeDebug and FallBackDebug enabled.

ProblemType: Bug
Architecture: i386
DistroRelease: Ubuntu 9.04
Package: xserver-xorg-video-intel 2:2.5.1-1ubuntu6
ProcEnviron:
 SHELL=/bin/bash
 PATH: custom, user
 LANG=en_US.UTF-8
ProcVersion: Linux version 2.6.28-2-generic (buildd@palmer) (gcc version 4.3.3 20081130 (prerelease) (Ubuntu 4.3.2-2ubuntu6) ) #3-Ubuntu SMP Thu Dec 4 21:49:06 UTC 2008

SourcePackage: xserver-xorg-video-intel
Uname: Linux 2.6.28-2-generic i686
xkbcomp:

Tags: apport-bug

Related branches

Revision history for this message
In , Haien-liu (haien-liu) wrote :

Created an attachment (id=21048)
xorg.0.log

Revision history for this message
In , Haien-liu (haien-liu) wrote :

Created an attachment (id=21049)
xorg conf file

Revision history for this message
In , Haien-liu (haien-liu) wrote :

we try to bisect and find below commit causes the issue:
commit 991f0be6e2bfe3cc3df55b2fc75fe3900d5e0b94
Author: Maarten Maathuis <email address hidden>
Date: Sat Nov 29 14:30:55 2008 +0100

    randr: Avoid needlessly creating a shadow framebuffer.

    - pScreen->width and height were zero, so it didn't "fit" the screen.
    (cherry picked from commit ffb484f7ef84099019b196ef97bfb2355eb6d52a)

    Signed-off-by: Keith Packard <email address hidden>

Revision history for this message
In , Fatih Aşıcı (fatih-pardus) wrote :

Same problem here. It works when 991f0be6e2bfe3cc3df55b2fc75fe3900d5e0b94 reverted.

Revision history for this message
In , Gordon Jin (gordon-jin) wrote :

Keith/Zhenyu, any idea?

Revision history for this message
In , Timo Jyrinki (timo-jyrinki-hut) wrote :

And yet another confirmation, since xserver 1.6 was put to Ubuntu development version and I encountered the problem via that. Reverting the mentioned commit fixed the problem for me. Using 965 (GMA X3100) on a laptop.
(downstream bug report: https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-intel/+bug/308225)

Revision history for this message
In , Keith Packard (keithp) wrote :

Fixed on master and server-1.6-branch. please test.

Revision history for this message
In , Maarten Maathuis (madman2003) wrote :

For the record, server-1.6 branch hasn't received a commit in 6 days.

Revision history for this message
Marques Johansson (marques) wrote :

Binary package hint: xserver-xorg-video-intel

This crash occurred after updating my Jaunty install since Friday 2008-12-12.

I had to change to fbdev and install that package before getting X back in any form. I was also suprised to see that the i865 driver no longer works with my device.

I'm attaching the log of the crashed X execution with ModeDebug and FallBackDebug enabled.

ProblemType: Bug
Architecture: i386
DistroRelease: Ubuntu 9.04
Package: xserver-xorg-video-intel 2:2.5.1-1ubuntu6
ProcEnviron:
 SHELL=/bin/bash
 PATH: custom, user
 LANG=en_US.UTF-8
ProcVersion: Linux version 2.6.28-2-generic (buildd@palmer) (gcc version 4.3.3 20081130 (prerelease) (Ubuntu 4.3.2-2ubuntu6) ) #3-Ubuntu SMP Thu Dec 4 21:49:06 UTC 2008

SourcePackage: xserver-xorg-video-intel
Uname: Linux 2.6.28-2-generic i686
xkbcomp:

Revision history for this message
Marques Johansson (marques) wrote :
Revision history for this message
Javier Cabezas (javier-cabezas) wrote :

Confirmed on a Macbook Core Duo

Changed in xserver-xorg-video-intel:
status: New → Confirmed
Revision history for this message
Javier Cabezas (javier-cabezas) wrote :

Intel 945GM

Revision history for this message
Timo Jyrinki (timo-jyrinki) wrote :

Confirming too with GMA X3100 (GM965). Tried out 2a61397d1 from http://wiki.x.org/wiki/Server16Branch (sounded closest to possibly helping out) but no luck. Any other possible patches sighted?

Revision history for this message
In , Gordon Jin (gordon-jin) wrote :

(In reply to comment #7)
> Fixed on master and server-1.6-branch. please test.

I guess you mean this commit, but it's not on server-1.6-branch:

http://cgit.freedesktop.org/xorg/xserver/commit/?id=fde2f961035609cfff8761ef1e0f23e6a9761be2

author Keith Packard <email address hidden> 2008-12-15 19:39:24 (GMT)
committer Keith Packard <email address hidden> 2008-12-15 19:45:43 (GMT)
commit fde2f961035609cfff8761ef1e0f23e6a9761be2 (patch)
tree 767dafa52fa86df801ba831aad03a6113ab28bd6
parent 29a5b0596b396d3e4a8a014cacd3e3ef77467ab7 (diff)

Use scrn->virtualX/virtualY in xf86CrtcFitsScreen. Fix bug 19017. pScreen->width/height are not initialized when doing initial mode setting, which makes this function incorrectly fail. Using scrn->virtualX should work in all cases though.
Bug 19017 reports a crash in xf86CrtcSetModeTransform when doing a modeset for output probing, long before the screen array is initialized; that was caused by a work-around to set pScreen->width/height so that xf86CrtcFitsScreen could find the right values.
Signed-off-by: Keith Packard <email address hidden>

Changed in xserver-xorg-video-intel:
status: Unknown → Confirmed
Revision history for this message
In , Keith Packard (keithp) wrote :

sorry, forgot to push :-)

Revision history for this message
Timo Jyrinki (timo-jyrinki) wrote :

Found the upstream bug. Reverted the commit 991f0be6e2bfe3cc3df55b2fc75fe3900d5e0b94 in Ubuntu's package and now running again intel driver succesfully. The revert patch attached.

Revision history for this message
Javier Cabezas (javier-cabezas) wrote :

Fixed in upstrean:

  ------- Comment #7 From Keith Packard 2008-12-15 11:49:22 PST -------

Fixed on master and server-1.6-branch. please test.

Revision history for this message
In , Haien-liu (haien-liu) wrote :

(In reply to comment #10)
> sorry, forgot to push :-)
>

keith,the issue has gone against server 1.6 branch ,but it still exists with master.

Revision history for this message
In , Keith Packard (keithp) wrote :

The initial patch was broken, master needs 063eb6743cd0d98dd52d1a9559b804381ee5144d and server-1.6-branch needs 09039fb89f3fd047f10b575e019bba6762448456

I tested GM45 and GM965 on both master and server-1.6-branch and with both patches applied, both work fine.

Revision history for this message
In , Haien-liu (haien-liu) wrote :

verified against :
master 7aa29b9d66c3cd0f8af4fafbe92efd0c0556d225
server 1.6 branch 063eb6743cd0d98dd52d1a9559b804381ee5144d

William Grant (wgrant)
Changed in xserver-xorg-video-intel:
importance: Undecided → High
status: Confirmed → Triaged
Revision history for this message
Martin Pitt (pitti) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package xorg-server - 2:1.5.99.3-0ubuntu2

---------------
xorg-server (2:1.5.99.3-0ubuntu2) jaunty; urgency=low

  * Merge server-1.6-branch (LP: #308225).

 -- Timo Aaltonen <email address hidden> Tue, 16 Dec 2008 10:00:58 +0200

Changed in xorg-server:
status: Triaged → Fix Released
Revision history for this message
Javier Cabezas (javier-cabezas) wrote :

The package failed to build:

https://launchpad.net/ubuntu/+source/xorg-server/2:1.5.99.3-0ubuntu2/+build/814896

Error:

dpkg: error processing /home/buildd/build-814896-1895888/chroot-autobuild/var/cache/apt/archives/libdrm-dev_2.4.1-0ubuntu7_i386.deb (--unpack):
 trying to overwrite `/usr/include/drm/drm.h', which is also in package linux-libc-dev
dpkg-deb: subprocess paste killed by signal (Broken pipe)
...
Errors were encountered while processing:
 /home/buildd/build-814896-1895888/chroot-autobuild/var/cache/apt/archives/libdrm-dev_2.4.1-0ubuntu7_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
apt-get failed.

Revision history for this message
Timo Aaltonen (tjaalton) wrote :
Changed in xserver-xorg-video-intel:
status: Confirmed → Fix Released
Revision history for this message
Javier Cabezas (javier-cabezas) wrote :

It's working now with xserver-xorg-core 1.5.99.3-0ubuntu3

Revision history for this message
In , Bernhard Rosenkraenzer (berolinux) wrote :

*** Bug 19204 has been marked as a duplicate of this bug. ***

Revision history for this message
Vikrant (vikrant82) wrote :

I am on xserver-xorg-core 1.5.99.3-0ubuntu4 with Intel 915GM. I am still having the crash as soon as I login. X server crashes and I am thrown back to login screen. Fluxbox and IceWM works.

Changed in xserver-xorg-video-intel:
importance: Unknown → Critical
Changed in xserver-xorg-video-intel:
importance: Critical → Unknown
Changed in xserver-xorg-video-intel:
importance: Unknown → Critical
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Patches

Remote bug watches

Bug watches keep track of this bug in other bug trackers.