Display properties hangs X when detecting monitors

Bug #436902 reported by Daniel Lee on 2009-09-25
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
xserver-xorg-video-intel (Ubuntu)
Undecided
Unassigned

Bug Description

Binary package hint: gnome-control-center

Plugging in a new monitor and then attempting to open display properties or opening display properties, then plugging in a new monitor and clicking on the detect displays button results in a blank screen. kern.log then gets flooded with these messages

[ 720.641063] INFO: task i915/1:695 blocked for more than 120 seconds.
[ 720.641071] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[ 720.641077] i915/1 D c080b380 0 695 2 0x00000000
[ 720.641087] ef053f04 00000046 ef544000 c080b380 ef03da88 c080b380 59e794e9 00000046
[ 720.641102] c080b380 c080b380 ef03da88 c080b380 00000001 00000046 c080b380 ef598700
[ 720.641117] ef03d7f0 ef01b414 ef01b418 ffffffff ef053f30 c0569fb6 f705e480 ef01b41c
[ 720.641131] Call Trace:
[ 720.641147] [<c0569fb6>] __mutex_lock_slowpath+0xc6/0x130
[ 720.641156] [<c0569ed0>] mutex_lock+0x20/0x40
[ 720.641188] [<f859596a>] i915_gem_retire_work_handler+0x2a/0x70 [i915]
[ 720.641211] [<c015313e>] run_workqueue+0x6e/0x140
[ 720.641236] [<f8595940>] ? i915_gem_retire_work_handler+0x0/0x70 [i915]
[ 720.641249] [<c0153298>] worker_thread+0x88/0xe0
[ 720.641259] [<c0157940>] ? autoremove_wake_function+0x0/0x40
[ 720.641268] [<c0153210>] ? worker_thread+0x0/0xe0
[ 720.641274] [<c015764c>] kthread+0x7c/0x90
[ 720.641281] [<c01575d0>] ? kthread+0x0/0x90
[ 720.641289] [<c0103f17>] kernel_thread_helper+0x7/0x10
[ 720.641309] INFO: task Xorg:1010 blocked for more than 120 seconds.
[ 720.641314] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[ 720.641319] Xorg D c080b380 0 1010 997 0x00400004
[ 720.641328] f4e07e20 00003082 c0138be1 c080b380 ef2fa848 c080b380 3dffe5de 00000046
[ 720.641342] c080b380 c080b380 ef2fa848 c080b380 3dff06e0 00000046 c080b380 ef7da540
[ 720.641356] ef2fa5b0 ef01b414 ef01b418 ffffffff f4e07e4c c0569fb6 f4e07ec0 ef01b41c
[ 720.641370] Call Trace:
[ 720.641377] [<c0138be1>] ? enqueue_task_fair+0x31/0x70
[ 720.641386] [<c0569fb6>] __mutex_lock_slowpath+0xc6/0x130
[ 720.641394] [<c0569ed0>] mutex_lock+0x20/0x40
[ 720.641418] [<f85967f6>] i915_gem_set_domain_ioctl+0x86/0x110 [i915]
[ 720.641452] [<f847e6c0>] drm_ioctl+0x180/0x360 [drm]

This repeats indefinitely.

My best guess is that display properties is creating an incorrect display size after detecting the new monitor. In my case it is a 1280x800 14" laptop screen and 1680x1050 19" monitor.

This is from Xorg.0.log

(II) intel(0): Allocate new frame buffer 2960x1050 stride 4096

ProblemType: Bug
Architecture: i386
CheckboxSubmission: 309c6e3872ffd0c083bbc91512e7100a
CheckboxSystem: b845c366ea09c60efa3a45c1b5b21525
Date: Fri Sep 25 14:24:09 2009
DistroRelease: Ubuntu 9.10
Package: gnome-control-center 1:2.28.0-0ubuntu2
ProcEnviron:
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-10.35-generic
SourcePackage: gnome-control-center
Uname: Linux 2.6.31-10-generic i686

Daniel Lee (longinus00) wrote :
Daniel Lee (longinus00) wrote :
summary: - Display properties blanks screen when detecting monitors
+ Display properties hangs X when detecting monitors
Sebastien Bacher (seb128) wrote :

the log indicates an intel xorg stack issue

affects: gnome-control-center (Ubuntu) → xserver-xorg-video-intel (Ubuntu)
Daniel Lee (longinus00) wrote :

This hasn't been fixed yet but I saw that there were a few lines that I left out last time I posted the syslog

[ 1946.000121] Clocksource tsc unstable (delta = -178221891 ns)
[ 1995.226542] [drm] TV-16: set mode NTSC 480i 0
[ 1995.394617] [drm] TV-16: set mode NTSC 480i 0
[ 1995.757599] [drm] DAC-6: set mode 1a

This appears only once and it appears before the complaints about the task being blocked.

Jimmy Hedman (jimmy-hedman) wrote :

This is not only gnome-control-setting that triggers this. Just running xrandr gives the exact same behavior.

Jimmy Hedman (jimmy-hedman) wrote :

lshw gives:
  *-display:0
       description: VGA compatible controller
       product: Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller
       vendor: Intel Corporation
       physical id: 2
       bus info: pci@0000:00:02.0
       version: 03
       width: 32 bits
       clock: 33MHz
       capabilities: msi pm bus_master cap_list rom
       configuration: driver=i915 latency=0
       resources: irq:16 memory:eff00000-eff7ffff ioport:eff8(size=8) memory:d0000000-dfffffff(prefetchable) memory:efec0000-efefffff
  *-display:1 UNCLAIMED
       description: Display controller
       product: Mobile 945GM/GMS/GME, 943/940GML Express Integrated Graphics Controller
       vendor: Intel Corporation
       physical id: 2.1
       bus info: pci@0000:00:02.1
       version: 03
       width: 32 bits
       clock: 33MHz
       capabilities: pm bus_master cap_list
       configuration: latency=0
       resources: memory:eff80000-efffffff

Jimmy Hedman (jimmy-hedman) wrote :

Just tried on another machine with intel but another chip and it didn't hang.

lshw from that (working) machine is:

  *-display:0
       description: VGA compatible controller
       product: Mobile 945GME Express Integrated Graphics Controller
       vendor: Intel Corporation
       physical id: 2
       bus info: pci@0000:00:02.0
       version: 03
       width: 32 bits
       clock: 33MHz
       capabilities: msi pm bus_master cap_list rom
       configuration: driver=i915 latency=0
       resources: irq:16 memory:e8100000-e817ffff ioport:6000(size=8) memory:d0000000-dfffffff(prefetchable) memory:e8180000-e81bffff
  *-display:1 UNCLAIMED
       description: Display controller
       product: Mobile 945GM/GMS/GME, 943/940GML Express Integrated Graphics Controller
       vendor: Intel Corporation
       physical id: 2.1
       bus info: pci@0000:00:02.1
       version: 03
       width: 32 bits
       clock: 33MHz
       capabilities: pm bus_master cap_list
       configuration: latency=0
       resources: memory:e8200000-e827ffff

Jimmy Hedman (jimmy-hedman) wrote :

When starting a xterm session from GDM (not the entire GNOME desktop) doesn't make xrandr trigg this bug.

Eduard Carcole (ecarcole) wrote :

I have the same problem in a Packard Bell easy note under Ubuntu 9.10 amd64.

I provide the following outputs:

lspci | grep VGA

00:02.0 VGA compatible controller: Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller (rev 03)

lshw

description: Computer
    width: 64 bits
    capabilities: vsyscall64 vsyscall32
  *-core
       description: Motherboard
       physical id: 0
     *-memory
          description: System memory
          physical id: 0
          size: 2038MiB
     *-cpu
          product: Intel(R) Core(TM)2 CPU T5600 @ 1.83GHz
          vendor: Intel Corp.
          physical id: 1
          bus info: cpu@0
          size: 996MHz
          capacity: 996MHz
          width: 64 bits
          capabilities: fpu fpu_exception wp vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall x86-64 constant_tsc arch_perfmon pebs bts rep_good pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm lahf_lm tpr_shadow cpufreq
     *-pci
          description: Host bridge
          product: Mobile 945GM/PM/GMS, 943/940GML and 945GT Express Memory Controller Hub
          vendor: Intel Corporation
          physical id: 100
          bus info: pci@0000:00:00.0
          version: 03
          width: 32 bits
          clock: 33MHz
          configuration: driver=agpgart-intel
          resources: irq:0
        *-display:0
             description: VGA compatible controller
             product: Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller
             vendor: Intel Corporation
             physical id: 2
             bus info: pci@0000:00:02.0
             version: 03
             width: 32 bits
             clock: 33MHz
             capabilities: bus_master cap_list rom
             configuration: driver=i915 latency=0
             resources: irq:16 memory:a6280000-a62fffff ioport:60c0(size=8) memory:90000000-9fffffff(prefetchable) memory:a6300000-a633ffff
        *-display:1 UNCLAIMED
             description: Display controller
             product: Mobile 945GM/GMS/GME, 943/940GML Express Integrated Graphics Controller
             vendor: Intel Corporation
             physical id: 2.1
             bus info: pci@0000:00:02.1
             version: 03
             width: 32 bits
             clock: 33MHz
             capabilities: bus_master cap_list
             configuration: latency=0
             resources: memory:a6200000-a627ffff

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

Other bug subscribers