[i945GM] Connecting external VGA monitor hangs Xorg

Bug #421478 reported by Stefano Rivera
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
xserver-xorg-video-intel (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Binary package hint: xserver-xorg-video-intel

Hardware: MacBook 2,1
Running: Karmic amd64

Attaching an external VGA monitor causes X to lock-up (can't change to VT, black screen except for mouse pointer, which can't be moved) In one of the crashes, the mouse pointer could be moved, and changed type over different parts of the screen (e.g. text pointer over console).

Starting X with the VGA monitor attached works, but the monitor can't re-configured from the start-up settings or it'll probably lock-up.

If the machine is booted with the monitor attached, it will pick up the correct settings via EDID (eg capable of 1024x768@75), otherwise it only sees up to 1024x768@60.

After a while, this appears in the kernel log:

[ 840.481089] INFO: task i915/0:825 blocked for more than 120 seconds.
[ 840.481096] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[ 840.481101] i915/0 D 00000000ffffffff 0 825 2 0x00000000
[ 840.481111] ffff8800987f5d70 0000000000000046 ffff8800988c4cf4 0000000000015580
[ 840.481120] ffff8800379e5e70 0000000000015580 0000000000015580 0000000000015580
[ 840.481128] 0000000000015580 ffff8800379e5e70 0000000000015580 0000000000015580
[ 840.481136] Call Trace:
[ 840.481152] [<ffffffff8151f2a7>] __mutex_lock_slowpath+0xd7/0x160
[ 840.481160] [<ffffffff8151f1a6>] mutex_lock+0x26/0x50
[ 840.481200] [<ffffffffa0060768>] i915_gem_retire_work_handler+0x38/0x90 [i915]
[ 840.481223] [<ffffffffa0060730>] ? i915_gem_retire_work_handler+0x0/0x90 [i915]
[ 840.481232] [<ffffffff8106e7c5>] run_workqueue+0x95/0x170
[ 840.481238] [<ffffffff8106e944>] worker_thread+0xa4/0x120
[ 840.481245] [<ffffffff81073b50>] ? autoremove_wake_function+0x0/0x40
[ 840.481252] [<ffffffff8106e8a0>] ? worker_thread+0x0/0x120
[ 840.481257] [<ffffffff81073766>] kthread+0xa6/0xb0
[ 840.481265] [<ffffffff8101308a>] child_rip+0xa/0x20
[ 840.481271] [<ffffffff810736c0>] ? kthread+0x0/0xb0
[ 840.481276] [<ffffffff81013080>] ? child_rip+0x0/0x20
[ 840.481304] INFO: task Xorg:5425 blocked for more than 120 seconds.
[ 840.481308] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[ 840.481313] Xorg D 0000000000000000 0 5425 5422 0x00400004
[ 840.481321] ffff88008a02fcb8 0000000000000086 ffff88008a02fc90 0000000000015580
[ 840.481329] ffff88008e4e47c0 0000000000015580 0000000000015580 0000000000015580
[ 840.481337] 0000000000015580 ffff88008e4e47c0 0000000000015580 0000000000015580
[ 840.481344] Call Trace:
[ 840.481352] [<ffffffff8151f2a7>] __mutex_lock_slowpath+0xd7/0x160
[ 840.481359] [<ffffffff8151f1a6>] mutex_lock+0x26/0x50
[ 840.481381] [<ffffffffa0060a56>] i915_gem_throttle_ioctl+0x36/0x90 [i915]
[ 840.481412] [<ffffffffa0026cae>] drm_ioctl+0x17e/0x3a0 [drm]
[ 840.481420] [<ffffffff81011545>] ? __setup_rt_frame+0x2c5/0x420
[ 840.481428] [<ffffffff81520590>] ? _spin_lock_irq+0x10/0x20
[ 840.481435] [<ffffffff810117df>] ? handle_signal+0x13f/0x290
[ 840.481442] [<ffffffff81032439>] ? default_spin_lock_flags+0x9/0x10
[ 840.481449] [<ffffffff8152056a>] ? _spin_lock_irqsave+0x2a/0x40
[ 840.481457] [<ffffffff81128d7c>] vfs_ioctl+0x7c/0xa0
[ 840.481463] [<ffffffff81129349>] do_vfs_ioctl+0x79/0x370
[ 840.481469] [<ffffffff811296c1>] sys_ioctl+0x81/0xa0
[ 840.481476] [<ffffffff81011fc2>] system_call_fastpath+0x16/0x1b

(repeats)

lspci -v:
00:02.0 VGA compatible controller: Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller (rev 03)
 Subsystem: Intel Corporation Device 7270
 Flags: bus master, fast devsel, latency 0, IRQ 16
 Memory at b0380000 (32-bit, non-prefetchable) [size=512K]
 I/O ports at 20e0 [size=8]
 Memory at a0000000 (32-bit, prefetchable) [size=256M]
 Memory at b0400000 (32-bit, non-prefetchable) [size=256K]
 Capabilities: <access denied>
 Kernel driver in use: i915
 Kernel modules: i915

ProblemType: Bug
Architecture: amd64
Date: Sun Aug 30 15:21:03 2009
DistroRelease: Ubuntu 9.10
MachineType: Apple Inc. MacBook2,1
Package: xserver-xorg-video-intel 2:2.8.1-1ubuntu1
PccardctlIdent:

PccardctlStatus:

ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.31-8-generic root=UUID=3345fa7f-d2c4-456f-8d0d-8fdb515433f7 ro quiet splash
ProcEnviron:
 SHELL=/bin/bash
 LANG=en_ZA.UTF-8
 LANGUAGE=en_ZA:en
ProcVersionSignature: Ubuntu 2.6.31-8.28-generic
RelatedPackageVersions:
 xserver-xorg 1:7.4+3ubuntu5
 libgl1-mesa-glx 7.6.0~git20090817.7c422387-0ubuntu3
 libdrm2 2.4.12+git20090801.45078630-0ubuntu1
 xserver-xorg-video-intel 2:2.8.1-1ubuntu1
 xserver-xorg-video-ati 1:6.12.99+git20090629.f39cafc5-0ubuntu6
SourcePackage: xserver-xorg-video-intel
Uname: Linux 2.6.31-8-generic x86_64
Xrandr: Error: command ['xrandr', '--verbose'] failed with exit code 1: Can't open display
dmi.bios.date: 06/27/07
dmi.bios.vendor: Apple Inc.
dmi.bios.version: MB21.88Z.00A5.B07.0706270922
dmi.board.asset.tag: Base Board Asset Tag
dmi.board.name: Mac-F4208CAA
dmi.board.vendor: Apple Inc.
dmi.board.version: PVT
dmi.chassis.asset.tag: Asset Tag
dmi.chassis.type: 10
dmi.chassis.vendor: Apple Inc.
dmi.chassis.version: Mac-F4208CAA
dmi.modalias: dmi:bvnAppleInc.:bvrMB21.88Z.00A5.B07.0706270922:bd06/27/07:svnAppleInc.:pnMacBook2,1:pvr1.0:rvnAppleInc.:rnMac-F4208CAA:rvrPVT:cvnAppleInc.:ct10:cvrMac-F4208CAA:
dmi.product.name: MacBook2,1
dmi.product.version: 1.0
dmi.sys.vendor: Apple Inc.
fglrx: Not loaded
glxinfo: Error: command ['glxinfo'] failed with exit code 255: Error: unable to open display
setxkbmap: Error: command ['setxkbmap', '-print'] failed with exit code 255: Cannot open display "default display"
system:
 distro: Ubuntu
 architecture: x86_64kernel: 2.6.31-8-generic
xdpyinfo: Error: command ['xdpyinfo'] failed with exit code 1: xdpyinfo: unable to open display "".
xkbcomp: Error: command ['xkbcomp', ':0', '-w0', '-'] failed with exit code -15:

Revision history for this message
Stefano Rivera (stefanor) wrote :
Bryce Harrington (bryce)
Changed in xserver-xorg-video-intel (Ubuntu):
status: New → Confirmed
Bryce Harrington (bryce)
summary: - [945GM] Connecting external VGA monitor hangs Xorg
+ [i945GM] Connecting external VGA monitor hangs Xorg
Bryce Harrington (bryce)
tags: added: karmic
Revision history for this message
Anton (avelo) wrote :

Also in 32bits

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.