From: Thomas Meyer <thomas@m3y3r.de>
To: Jesse Barnes <jbarnes@virtuousgeek.org>
Cc: "Rafael J. Wysocki" <rjw@sisk.pl>,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
Kernel Testers List <kernel-testers@vger.kernel.org>,
Eric Anholt <eric@anholt.net>
Subject: Re: [Bug #14670] i915: playing video via XVideo extension makes the screen flicker
Date: Wed, 13 Jan 2010 22:06:34 +0100 [thread overview]
Message-ID: <1263416794.17308.6.camel@localhost.localdomain> (raw)
In-Reply-To: <20100112095702.4b22fcc1@jbarnes-piketon>
Am Dienstag, den 12.01.2010, 09:57 -0800 schrieb Jesse Barnes:
> Yeah, the function tracer should be able to do it (though I don't know
> how to use it offhand, maybe through the perf tool?). Or you could
> just add some DRM_ERROR lines. :)
I set the function tracer to the function "drm_mode_getconnector":
here is the output, that i captured after I start playing a video with
totem (i.e. the flickering starts):
# tracer: function
#
# TASK-PID CPU# TIMESTAMP FUNCTION
# | | | | |
Xorg-1443 [000] 1880.280581: drm_mode_getconnector <-drm_ioctl
Xorg-1443 [000] 1880.394308: drm_mode_getconnector <-drm_ioctl
Xorg-1443 [000] 1880.395379: drm_mode_getconnector <-drm_ioctl
Xorg-1443 [000] 1880.406780: drm_mode_getconnector <-drm_ioctl
Xorg-1443 [000] 1880.420169: drm_mode_getconnector <-drm_ioctl
Xorg-1443 [000] 1880.424712: drm_mode_getconnector <-drm_ioctl
Xorg-1443 [000] 1880.444334: drm_mode_getconnector <-drm_ioctl
Xorg-1443 [000] 1880.631332: drm_mode_getconnector <-drm_ioctl
Xorg-1443 [000] 1880.632368: drm_mode_getconnector <-drm_ioctl
Xorg-1443 [000] 1880.643349: drm_mode_getconnector <-drm_ioctl
Xorg-1443 [000] 1880.656874: drm_mode_getconnector <-drm_ioctl
Xorg-1443 [000] 1880.662623: drm_mode_getconnector <-drm_ioctl
Xorg-1443 [000] 1880.764168: drm_mode_getconnector <-drm_ioctl
Xorg-1443 [000] 1880.986639: drm_mode_getconnector <-drm_ioctl
Xorg-1443 [000] 1880.988920: drm_mode_getconnector <-drm_ioctl
Xorg-1443 [000] 1880.999856: drm_mode_getconnector <-drm_ioctl
Xorg-1443 [000] 1881.013260: drm_mode_getconnector <-drm_ioctl
Xorg-1443 [000] 1881.024310: drm_mode_getconnector <-drm_ioctl
Xorg-1443 [000] 1881.069299: drm_mode_getconnector <-drm_ioctl
Xorg-1443 [000] 1881.303194: drm_mode_getconnector <-drm_ioctl
Xorg-1443 [000] 1881.305308: drm_mode_getconnector <-drm_ioctl
Xorg-1443 [000] 1881.316421: drm_mode_getconnector <-drm_ioctl
Xorg-1443 [000] 1881.329808: drm_mode_getconnector <-drm_ioctl
Xorg-1443 [000] 1881.337493: drm_mode_getconnector <-drm_ioctl
Xorg-1443 [000] 1881.420231: drm_mode_getconnector <-drm_ioctl
Xorg-1443 [000] 1881.633036: drm_mode_getconnector <-drm_ioctl
Xorg-1443 [000] 1881.634075: drm_mode_getconnector <-drm_ioctl
Xorg-1443 [000] 1881.646363: drm_mode_getconnector <-drm_ioctl
Xorg-1443 [000] 1881.659741: drm_mode_getconnector <-drm_ioctl
Xorg-1443 [000] 1881.670751: drm_mode_getconnector <-drm_ioctl
Xorg-1443 [000] 1881.742476: drm_mode_getconnector <-drm_ioctl
Xorg-1443 [000] 1881.959634: drm_mode_getconnector <-drm_ioctl
Xorg-1443 [000] 1881.960669: drm_mode_getconnector <-drm_ioctl
Xorg-1443 [000] 1881.972904: drm_mode_getconnector <-drm_ioctl
Xorg-1443 [000] 1881.986272: drm_mode_getconnector <-drm_ioctl
Xorg-1443 [000] 1881.993965: drm_mode_getconnector <-drm_ioctl
Xorg-1443 [000] 1882.078704: drm_mode_getconnector <-drm_ioctl
Xorg-1443 [000] 1882.295050: drm_mode_getconnector <-drm_ioctl
Xorg-1443 [000] 1882.296104: drm_mode_getconnector <-drm_ioctl
Xorg-1443 [000] 1882.309439: drm_mode_getconnector <-drm_ioctl
Xorg-1443 [000] 1882.322834: drm_mode_getconnector <-drm_ioctl
Xorg-1443 [000] 1882.333858: drm_mode_getconnector <-drm_ioctl
Xorg-1443 [000] 1882.407520: drm_mode_getconnector <-drm_ioctl
Xorg-1443 [000] 1882.622870: drm_mode_getconnector <-drm_ioctl
Xorg-1443 [000] 1882.623896: drm_mode_getconnector <-drm_ioctl
Xorg-1443 [000] 1882.635987: drm_mode_getconnector <-drm_ioctl
Xorg-1443 [000] 1882.649366: drm_mode_getconnector <-drm_ioctl
Xorg-1443 [000] 1882.660390: drm_mode_getconnector <-drm_ioctl
Xorg-1443 [000] 1882.772479: drm_mode_getconnector <-drm_ioctl
Xorg-1443 [000] 1882.992680: drm_mode_getconnector <-drm_ioctl
Xorg-1443 [000] 1882.993707: drm_mode_getconnector <-drm_ioctl
Xorg-1443 [000] 1883.005845: drm_mode_getconnector <-drm_ioctl
Xorg-1443 [000] 1883.019238: drm_mode_getconnector <-drm_ioctl
Xorg-1443 [000] 1883.026922: drm_mode_getconnector <-drm_ioctl
Xorg-1443 [000] 1883.142571: drm_mode_getconnector <-drm_ioctl
Xorg-1443 [000] 1883.359167: drm_mode_getconnector <-drm_ioctl
Xorg-1443 [000] 1883.360190: drm_mode_getconnector <-drm_ioctl
Xorg-1443 [000] 1883.372398: drm_mode_getconnector <-drm_ioctl
Xorg-1443 [000] 1883.385862: drm_mode_getconnector <-drm_ioctl
Xorg-1443 [000] 1883.393457: drm_mode_getconnector <-drm_ioctl
Xorg-1443 [000] 1883.479378: drm_mode_getconnector <-drm_ioctl
Xorg-1443 [000] 1883.692285: drm_mode_getconnector <-drm_ioctl
Xorg-1443 [000] 1883.693326: drm_mode_getconnector <-drm_ioctl
Xorg-1443 [000] 1883.705552: drm_mode_getconnector <-drm_ioctl
Xorg-1443 [000] 1883.718920: drm_mode_getconnector <-drm_ioctl
Xorg-1443 [000] 1883.729979: drm_mode_getconnector <-drm_ioctl
Xorg-1443 [000] 1883.808964: drm_mode_getconnector <-drm_ioctl
Xorg-1443 [000] 1884.032179: drm_mode_getconnector <-drm_ioctl
Xorg-1443 [000] 1884.033222: drm_mode_getconnector <-drm_ioctl
Xorg-1443 [000] 1884.045422: drm_mode_getconnector <-drm_ioctl
Xorg-1443 [000] 1884.058808: drm_mode_getconnector <-drm_ioctl
Xorg-1443 [000] 1884.066525: drm_mode_getconnector <-drm_ioctl
Xorg-1443 [000] 1884.151051: drm_mode_getconnector <-drm_ioctl
Xorg-1443 [000] 1884.368836: drm_mode_getconnector <-drm_ioctl
Xorg-1443 [000] 1884.369872: drm_mode_getconnector <-drm_ioctl
Xorg-1443 [000] 1884.382019: drm_mode_getconnector <-drm_ioctl
Xorg-1443 [000] 1884.395401: drm_mode_getconnector <-drm_ioctl
Xorg-1443 [000] 1884.403100: drm_mode_getconnector <-drm_ioctl
Xorg-1443 [000] 1884.504375: drm_mode_getconnector <-drm_ioctl
Xorg-1443 [000] 1884.725273: drm_mode_getconnector <-drm_ioctl
Xorg-1443 [000] 1884.726373: drm_mode_getconnector <-drm_ioctl
Xorg-1443 [000] 1884.738545: drm_mode_getconnector <-drm_ioctl
Xorg-1443 [000] 1884.751942: drm_mode_getconnector <-drm_ioctl
Xorg-1443 [000] 1884.759633: drm_mode_getconnector <-drm_ioctl
Xorg-1443 [000] 1884.828803: drm_mode_getconnector <-drm_ioctl
Xorg-1443 [000] 1885.045242: drm_mode_getconnector <-drm_ioctl
Xorg-1443 [000] 1885.046283: drm_mode_getconnector <-drm_ioctl
Xorg-1443 [000] 1885.058442: drm_mode_getconnector <-drm_ioctl
Xorg-1443 [000] 1885.071842: drm_mode_getconnector <-drm_ioctl
Xorg-1443 [000] 1885.079498: drm_mode_getconnector <-drm_ioctl
Xorg-1443 [000] 1885.162244: drm_mode_getconnector <-drm_ioctl
Xorg-1443 [000] 1885.388404: drm_mode_getconnector <-drm_ioctl
Xorg-1443 [000] 1885.389429: drm_mode_getconnector <-drm_ioctl
Xorg-1443 [000] 1885.401620: drm_mode_getconnector <-drm_ioctl
Xorg-1443 [000] 1885.415130: drm_mode_getconnector <-drm_ioctl
Xorg-1443 [000] 1885.421548: drm_mode_getconnector <-drm_ioctl
Xorg-1443 [000] 1885.510004: drm_mode_getconnector <-drm_ioctl
Xorg-1443 [000] 1885.685747: drm_mode_getconnector <-drm_ioctl
Xorg-1443 [000] 1885.686776: drm_mode_getconnector <-drm_ioctl
Xorg-1443 [000] 1885.698176: drm_mode_getconnector <-drm_ioctl
Xorg-1443 [000] 1885.711599: drm_mode_getconnector <-drm_ioctl
Xorg-1443 [000] 1885.723703: drm_mode_getconnector <-drm_ioctl
Xorg-1443 [000] 1885.808301: drm_mode_getconnector <-drm_ioctl
Xorg-1443 [000] 1886.032422: drm_mode_getconnector <-drm_ioctl
Xorg-1443 [000] 1886.033456: drm_mode_getconnector <-drm_ioctl
Xorg-1443 [000] 1886.044685: drm_mode_getconnector <-drm_ioctl
Xorg-1443 [000] 1886.058081: drm_mode_getconnector <-drm_ioctl
Xorg-1443 [000] 1886.065622: drm_mode_getconnector <-drm_ioctl
Xorg-1443 [000] 1886.140785: drm_mode_getconnector <-drm_ioctl
Xorg-1443 [000] 1886.367987: drm_mode_getconnector <-drm_ioctl
Xorg-1443 [000] 1886.369012: drm_mode_getconnector <-drm_ioctl
Xorg-1443 [000] 1886.381254: drm_mode_getconnector <-drm_ioctl
Xorg-1443 [000] 1886.394621: drm_mode_getconnector <-drm_ioctl
Xorg-1443 [000] 1886.402334: drm_mode_getconnector <-drm_ioctl
Xorg-1443 [000] 1886.456423: drm_mode_getconnector <-drm_ioctl
Xorg-1443 [000] 1886.671279: drm_mode_getconnector <-drm_ioctl
Xorg-1443 [000] 1886.672302: drm_mode_getconnector <-drm_ioctl
Xorg-1443 [000] 1886.684470: drm_mode_getconnector <-drm_ioctl
Xorg-1443 [000] 1886.697844: drm_mode_getconnector <-drm_ioctl
Xorg-1443 [000] 1886.705543: drm_mode_getconnector <-drm_ioctl
Any idea why the function "drm_mode_getconnector" is called so many
times?
The call chain seems to be
drm_ioctl ->
drm_mode_getconnector ->
drm_helper_probe_single_connector_modes ->
intel_crt_detect, intel_hdmi_detect and intel_lvds_detect
>
> > > The LVDS state will also be checked at ACPI LID event time, maybe
> > > your platforms is getting spurious LID events?
> >
> > maybe! where can I check this? acpid log file?
>
> Yeah or using acpi_listen I think.
>
acpi lid events seems to correspond to the lid status.
greets
thomas
next prev parent reply other threads:[~2010-01-13 21:06 UTC|newest]
Thread overview: 89+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-01-10 22:45 2.6.33-rc3-git3: Reported regressions 2.6.31 -> 2.6.32 Rafael J. Wysocki
2010-01-10 22:46 ` [Bug #14297] console resume broken since ba15ab0e8d Rafael J. Wysocki
2010-01-10 22:56 ` [Bug #14406] uvcvideo stopped work on Toshiba Rafael J. Wysocki
2010-01-11 15:30 ` Oliver Neukum
2010-01-10 22:56 ` [Bug #14376] Kernel NULL pointer dereference/ kvm subsystem Rafael J. Wysocki
2010-01-10 22:56 ` [Bug #14426] CE: hpet increasing min_delta_ns flood Rafael J. Wysocki
2010-01-10 22:56 ` [Bug #14417] [Regression] Wireless driver iwlagn+iwlcore doesn't work after resume (needs reloading) Rafael J. Wysocki
2010-01-10 22:56 ` [Bug #14298] warning at manage.c:361 (set_irq_wake), matrix-keypad related? Rafael J. Wysocki
2010-01-10 22:56 ` [Bug #14442] resume after hibernate: /dev/sdb drops and returns as /dev/sde Rafael J. Wysocki
2010-01-10 22:56 ` [Bug #14482] kernel BUG at fs/dcache.c:670 +lvm +md +ext3 Rafael J. Wysocki
2010-01-10 22:56 ` [Bug #14483] Interrupts enabled after irqrouter_resume - iMac9,1 Rafael J. Wysocki
2010-01-10 22:56 ` [Bug #14504] intermittent hibernation problem again Rafael J. Wysocki
2010-01-10 22:56 ` [Bug #14625] Commit d451564 breaks ARM Rafael J. Wysocki
2010-01-10 22:56 ` [Bug #14487] PANIC: early exception 08 rip 246:10 error ffffffff810251b5 cr2 0 Rafael J. Wysocki
2010-01-11 13:56 ` Justin P. Mattock
2010-01-11 19:42 ` Rafael J. Wysocki
2010-01-10 22:56 ` [Bug #14624] ath9k: BUG kmalloc-8192: Poison overwritten Rafael J. Wysocki
2010-01-10 22:56 ` [Bug #14621] specjbb2005 and aim7 regression with 2.6.32-rc kernels Rafael J. Wysocki
2010-01-11 7:05 ` Mike Galbraith
2010-01-10 22:56 ` [Bug #14657] perf subsystem breakage in 2.6.32-rc7 Rafael J. Wysocki
2010-01-10 23:20 ` Arjan van de Ven
[not found] ` <20100110152037.1d59d7cd-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org>
2010-01-11 19:46 ` Rafael J. Wysocki
2010-01-10 22:56 ` [Bug #14656] Oops at __rmqueue+0x98 with 2.6.32-rc6 Rafael J. Wysocki
2010-01-10 22:56 ` [Bug #14667] bisected 2.6.32 EC regression - Temperatures not correctly detected after suspend - Dell Studio XPS 16 laptop Rafael J. Wysocki
2010-01-10 22:56 ` [Bug #14695] regression in karmic thermal control Rafael J. Wysocki
2010-01-10 22:56 ` [Bug #14742] 2.6.32 new menu idle governor causes very high CPU temp Rafael J. Wysocki
2010-01-10 22:56 ` [Bug #14670] i915: playing video via XVideo extension makes the screen flicker Rafael J. Wysocki
2010-01-11 16:53 ` Thomas Meyer
2010-01-11 16:55 ` Jesse Barnes
2010-01-11 18:05 ` Thomas Meyer
[not found] ` <8B599161-2977-4A43-B88F-36E87AFCF4EA@m3y3r.de>
2010-01-11 19:19 ` Jesse Barnes
2010-01-11 20:28 ` Rafael J. Wysocki
2010-01-12 17:43 ` Thomas Meyer
[not found] ` <1263318189.3284.2.camel-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
2010-01-12 17:57 ` Jesse Barnes
2010-01-13 21:06 ` Thomas Meyer [this message]
2010-01-13 21:48 ` Thomas Meyer
2010-01-10 22:56 ` [Bug #14747] bisected 2.6.32 regression: synaptics touchpad doesn't work Rafael J. Wysocki
2010-01-10 22:56 ` [Bug #14748] e1000e NIC not working after reboot Rafael J. Wysocki
2010-01-10 22:56 ` [Bug #14782] Suspend hangs Lenovo SL300 after gdm login Rafael J. Wysocki
2010-01-10 22:56 ` [Bug #14868] flood of "don't try to register things with the same name in the same directory." on upgrade to 2.6.32 Rafael J. Wysocki
2010-01-10 22:56 ` [Bug #14783] Unhandled IRQ on Thinkpad R61i: "irq 16: nobody cared" Rafael J. Wysocki
2010-01-10 22:56 ` [Bug #14841] unable to enumerate USB device on port X after suspend/resume Rafael J. Wysocki
2010-01-10 22:56 ` [Bug #14817] When is system under load, then freeze/HD fail Rafael J. Wysocki
2010-01-10 22:56 ` [Bug #14892] intel, KMS, suspend2ram resume, screen black Rafael J. Wysocki
2010-01-13 6:03 ` Norbert Preining
2010-01-13 21:53 ` Rafael J. Wysocki
2010-01-10 22:56 ` [Bug #14886] Asus P2B-DS not detected as SMP moterboard Rafael J. Wysocki
2010-01-10 22:56 ` [Bug #14891] Deadlock regression related to NFS root Rafael J. Wysocki
2010-01-10 22:56 ` [Bug #14889] System wakeup by time not working anymore Rafael J. Wysocki
2010-01-10 22:56 ` [Bug #14894] pohmelfs: NULL pointer dereference Rafael J. Wysocki
2010-01-10 23:23 ` Evgeniy Polyakov
[not found] ` <20100110232306.GA16962-i6C2adt8DTjR7s880joybQ@public.gmane.org>
2010-01-11 19:50 ` Rafael J. Wysocki
2010-01-10 22:56 ` [Bug #14898] ksoftirqd problem Rafael J. Wysocki
2010-01-10 22:56 ` [Bug #14895] BUG in kernel 2.6.32 when using luks encrypted root and RAID0 Rafael J. Wysocki
2010-01-10 22:56 ` [Bug #14896] REGRESSION for RT2561/RT61 in 2.6.32, related to power saving Rafael J. Wysocki
2010-01-11 14:58 ` Alan Stern
[not found] ` <Pine.LNX.4.44L0.1001110957440.2873-100000-IYeN2dnnYyZXsRXLowluHWD2FQJk+8+b@public.gmane.org>
2010-01-11 19:51 ` Rafael J. Wysocki
2010-01-10 22:56 ` [Bug #14897] i915: Commit 0e442c60 causes flickering Rafael J. Wysocki
2010-01-11 5:22 ` David John
[not found] ` <4B4AB589.7080004-XRr60H37pjdAfugRpC6u6w@public.gmane.org>
2010-01-11 19:52 ` Rafael J. Wysocki
2010-01-12 18:14 ` Jesse Barnes
2010-01-13 8:06 ` David John
2010-01-10 22:56 ` [Bug #14933] OOM killer unexpectedly called Rafael J. Wysocki
2010-01-10 22:56 ` [Bug #14903] Kernel panic - not syncing: Attempted to kill init! Rafael J. Wysocki
2010-01-13 2:55 ` Américo Wang
[not found] ` <2375c9f91001121855j2884e594nd6f9801231c1bb83-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2010-01-13 21:54 ` Rafael J. Wysocki
2010-01-10 22:56 ` [Bug #14922] 2.6.32 seemed to have broken nVidia MCP7A sata controller Rafael J. Wysocki
2010-01-10 23:17 ` Robert Hancock
2010-01-11 19:54 ` Rafael J. Wysocki
2010-01-10 22:56 ` [Bug #15042] socket(PF_INET6 hangs when ipv6 not yet initialized Rafael J. Wysocki
2010-01-10 22:56 ` [Bug #15040] High cpu temperature with 2.6.32 Rafael J. Wysocki
2010-01-10 22:56 ` [Bug #14943] nfs regression? Rafael J. Wysocki
2010-01-10 22:56 ` [Bug #14970] IBM Trackpoint Device changed - Scrolling doesn't work Rafael J. Wysocki
2010-01-10 22:56 ` [Bug #14939] drm: random hang with i915 Rafael J. Wysocki
2010-01-11 12:49 ` 2.6.33-rc3-git3: Reported regressions 2.6.31 -> 2.6.32 Rafał Miłecki
[not found] ` <b170af451001110449w134af1f9we804205a5febcaca-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2010-01-11 19:56 ` Rafael J. Wysocki
2010-01-11 15:15 ` [linux-pm] " Alan Stern
[not found] ` <Pine.LNX.4.44L0.1001111008080.2873-100000-IYeN2dnnYyZXsRXLowluHWD2FQJk+8+b@public.gmane.org>
2010-01-11 16:47 ` Clemens Fruhwirth
2010-01-11 19:58 ` Rafael J. Wysocki
2010-01-12 17:39 ` Johannes Engel
[not found] ` <4B4CB3B5.3060900-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org>
2010-01-12 22:02 ` Rafael J. Wysocki
-- strict thread matches above, loose matches on Subject: below --
2010-02-01 0:38 2.6.33-rc6: " Rafael J. Wysocki
2010-02-01 0:43 ` [Bug #14670] i915: playing video via XVideo extension makes the screen flicker Rafael J. Wysocki
2010-02-05 18:49 ` Jesse Barnes
2010-01-24 22:15 2.6.33-rc5: Reported regressions 2.6.31 -> 2.6.32 Rafael J. Wysocki
2010-01-24 22:22 ` [Bug #14670] i915: playing video via XVideo extension makes the screen flicker Rafael J. Wysocki
2010-01-27 17:59 ` Jesse Barnes
2010-01-27 22:12 ` Thomas Meyer
2009-12-29 15:26 2.6.33-rc2: Reported regressions 2.6.31 -> 2.6.32 Rafael J. Wysocki
2009-12-29 15:28 ` [Bug #14670] i915: playing video via XVideo extension makes the screen flicker Rafael J. Wysocki
2009-12-29 21:02 ` Thomas Meyer
[not found] ` <1262120568.3523.4.camel-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
2009-12-29 22:38 ` Rafael J. Wysocki
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1263416794.17308.6.camel@localhost.localdomain \
--to=thomas@m3y3r.de \
--cc=eric@anholt.net \
--cc=jbarnes@virtuousgeek.org \
--cc=kernel-testers@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=rjw@sisk.pl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).