[i945] querying information on external monitor with xrandr hangs gpu when compiz is active

Bug #503255 reported by Reinhard Tartler
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
xserver-xorg-video-intel (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Binary package hint: xserver-xorg-video-intel

Steps to reproduce:
 - activate desktop effects (i.e., enable compiz)
 - attach external monitor (laptop has VGA only)
 - run xrandr without parameters (either in commandline or via System->Settings->Display Resolution

Symptoms:
 - external screen gets a signal and wakes up from sleep
 - internal screen turns black (but does not deactivate)
 - external screen remains black
 - moving the mouse shows the normal gnome cursor
 - moving the cursor out of the internal LVDS screen makes it appear on the external screen

Output in dmesg:
Jan 4 09:22:29 faui44a kernel: [ 549.721418] Skipping EDID probe due to cached edid
Jan 4 09:22:29 faui44a kernel: [ 549.756280] Skipping EDID probe due to cached edid
Jan 4 09:22:29 faui44a kernel: [ 549.812308] Skipping EDID probe due to cached edid
Jan 4 09:22:34 faui44a kernel: [ 554.512359] Skipping EDID probe due to cached edid
Jan 4 09:24:05 faui44a kernel: [ 645.971289] Skipping EDID probe due to cached edid
Jan 4 09:24:06 faui44a kernel: [ 646.141197] [drm] DAC-6: set mode b
Jan 4 09:24:07 faui44a kernel: [ 647.224036] [drm:i915_hangcheck_elapsed] *ERROR* Hangcheck timer elapsed... GPU hung
Jan 4 09:24:07 faui44a kernel: [ 647.224053] render error detected, EIR: 0x00000000
Jan 4 09:24:07 faui44a kernel: [ 647.224057] i915: Waking up sleeping processes
Jan 4 09:24:07 faui44a kernel: [ 647.224081] [drm:i915_wait_request] *ERROR* i915_wait_request returns -5 (awaiting 9527 at 9526)
Jan 4 09:24:07 faui44a kernel: [ 647.224122] reboot required
Jan 4 09:24:07 faui44a kernel: [ 647.224892] [drm:i915_gem_execbuffer] *ERROR* Execbuf while wedged
Jan 4 09:24:07 faui44a kernel: [ 647.225319] [drm:i915_gem_execbuffer] *ERROR* Execbuf while wedged
Jan 4 09:24:07 faui44a kernel: [ 647.225461] [drm:i915_gem_execbuffer] *ERROR* Execbuf while wedged
Jan 4 09:24:07 faui44a kernel: [ 647.226137] [drm:i915_gem_execbuffer] *ERROR* Execbuf while wedged
Jan 4 09:24:07 faui44a kernel: [ 647.229346] [drm:i915_gem_execbuffer] *ERROR* Execbuf while wedged
Jan 4 09:24:07 faui44a kernel: [ 647.229494] [drm:i915_gem_execbuffer] *ERROR* Execbuf while wedged
Jan 4 09:24:07 faui44a kernel: [ 647.235557] [drm:i915_gem_execbuffer] *ERROR* Execbuf while wedged

last message is repeated very often until reboot

ProblemType: Bug
Architecture: i386
Date: Tue Jan 5 08:54:06 2010
DistroRelease: Ubuntu 10.04
MachineType: LENOVO 1702M3G
Package: xserver-xorg-video-intel 2:2.9.1-1ubuntu1
PccardctlIdent:
 Socket 0:
   product info: "OMNIKEY", "CardMan 4040", "", ""
   manfid: 0x0223, 0x0200
PccardctlStatus:
 Socket 0:
   5.0V 16-bit PC Card
   Subdevice 0 (function 0) bound to driver "cm4040_cs"
ProcCmdLine: root=/dev/mapper/hostname-root ro quiet splash
ProcEnviron:
 PATH=(custom, user)
 LANG=de_DE.UTF-8
 SHELL=/usr/bin/zsh
ProcVersionSignature: Ubuntu 2.6.32-9.13-generic
RelatedPackageVersions:
 xserver-xorg 1:7.5~3ubuntu4
 libgl1-mesa-glx 7.6.1~rc3-1ubuntu1
 libdrm2 2.4.14-1ubuntu2
 xserver-xorg-video-intel 2:2.9.1-1ubuntu1
 xserver-xorg-video-ati 1:6.12.99+git20091125.0061c4db-0ubuntu1
SourcePackage: xserver-xorg-video-intel
Tags: lucid
Uname: Linux 2.6.32-9-generic i686
XorgConf: Error: [Errno 2] No such file or directory: '/etc/X11/xorg.conf'
dmi.bios.date: 03/07/2007
dmi.bios.vendor: LENOVO
dmi.bios.version: 7BETC7WW (2.08 )
dmi.board.name: 1702M3G
dmi.board.vendor: LENOVO
dmi.board.version: Not Available
dmi.chassis.asset.tag: No Asset Information
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.version: Not Available
dmi.modalias: dmi:bvnLENOVO:bvr7BETC7WW(2.08):bd03/07/2007:svnLENOVO:pn1702M3G:pvrThinkPadX60s:rvnLENOVO:rn1702M3G:rvrNotAvailable:cvnLENOVO:ct10:cvrNotAvailable:
dmi.product.name: 1702M3G
dmi.product.version: ThinkPad X60s
dmi.sys.vendor: LENOVO
fglrx: Not loaded
glxinfo: Error: [Errno 2] No such file or directory
system:
 distro: Ubuntu
 architecture: i686kernel: 2.6.32-9-generic

Revision history for this message
Reinhard Tartler (siretart) wrote :
Revision history for this message
Reinhard Tartler (siretart) wrote :

The last point of the symptoms section ("moving the cursor out of the internal LVDS screen makes it appear on the external screen") surprises me a bit:

in earlier releases of ubuntu, the maximum desktop size is limited, read I was not able to combine the internal LVDS (1024x768) with my external display that has a much larger resolution of 1920x1200. This new behavior however shows that the mouse coursor can reach both screens independently.

The other interesting observation is that a simple query auto enables the external screen in a "extended desktop" configuration. Is this behavior intended or a (possibly related) defect?

Revision history for this message
Reinhard Tartler (siretart) wrote :

this posting shows similar symptoms: http://www.pubbs.net/kernel/200911/25605/

Revision history for this message
Felix Handler (snowborn) wrote :

I have the same result as a problem, but with a Thinkpad T60 and kernel 2.6.31-16-generic .
it is also a intel 945.

Revision history for this message
Felix Handler (snowborn) wrote :

hm, I see that mine is actually a problem with OpenGL / Compiz. When I start metacity and then attempt the changes it work again...

Revision history for this message
Reinhard Tartler (siretart) wrote :

The hint with compiz is excellent, using plain metacity does not crash the GPU.

Revision history for this message
Reinhard Tartler (siretart) wrote :

Further references that might be related to this issue:

http://bugs.archlinux.org/task/17725
http://forum.ubuntuusers.de/topic/dualview-haengt-sich-auf/#post-2273500
Bug #329860 (but this is with vt switch, not with external monitors. Might be a seperate problem but symptoms look similar)

possibly https://bugs.freedesktop.org/show_bug.cgi?id=22996

based on these references, and the fact that Felix experiences similar behavior, I'm triaging this this bug accordingly.

Changed in xserver-xorg-video-intel (Ubuntu):
status: New → Triaged
importance: Undecided → Medium
summary: [i945] querying information on external monitor with xrandr hangs gpu
+ when compiz is active
description: updated
Revision history for this message
Reinhard Tartler (siretart) wrote :

fixed in current lucid with mesa 7.7 and intel 2.9.1

Changed in xserver-xorg-video-intel (Ubuntu):
status: Triaged → Fix Released
Revision history for this message
lokað (lokad) wrote :

I still experience this behaviour with the latest updates (2010-01-15 17:00 UTC+1)
libmesa-dri 7.7-0ubuntu5
xserver-xorg-video-intel 2.9.1-1ubuntu1
I do not have compiz enabled - just plain metacity. A week ago everything was fine with my system ...

Revision history for this message
Reinhard Tartler (siretart) wrote : Re: [Bug 503255] Re: [i945] querying information on external monitor with xrandr hangs gpu when compiz is active

On Fr, Jan 15, 2010 at 18:33:32 (CET), lokað wrote:

> I still experience this behaviour with the latest updates (2010-01-15 17:00 UTC+1)
> libmesa-dri 7.7-0ubuntu5
> xserver-xorg-video-intel 2.9.1-1ubuntu1
> I do not have compiz enabled - just plain metacity. A week ago everything was fine with my system ...

are you sure that the kernel messages in your /var/log/kern.log are the
same as here?

if not, you may be experiencing another bug which should be filed
seperately.

--
Gruesse/greetings,
Reinhard Tartler, KeyID 945348A4

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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