From: "Nicolas Kalkhof" <nkalkhof@web.de>
To: Daniel Vetter <daniel.vetter@ffwll.ch>
Cc: intel-gfx@lists.freedesktop.org,
Eugeni Dodonov <eugeni.dodonov@intel.com>
Subject: Re: [PATCH 1/2] drm/i915: re-enable semaphores by default
Date: Thu, 17 Nov 2011 19:31:37 +0100 (CET) [thread overview]
Message-ID: <2052565824.168596.1321554697933.JavaMail.fmail@mwmweb018> (raw)
Hi Daniel,
no problem :). Your patches look good! No hangs or stalls so far with semaphores and rc6 switched on. However I had to disable intel_iommu since it freezes my box shortly after firing up X :(.
One other thing still remains: Since the merges for kernel 3.2 came in late october, my cpu/gpu seems to run hotter (approx 10 °C) when idling and after some minutes the cpu load goes up on all cores but the cpu frequency stays low (800 MHz) as well as the gpu (650MHz) and the system is responding well. Yet still additional 5-8 watts are drained from the power supply. Something has to throttle up :(. Oprofile shows that the kernel somewhere hogs the cpu (see dump below). This happens with every kernel from 3.1 up to latest linux-next. I wasn't able to track the bug down yet so I guess I'll better file a bug report on lkml to get someone to verify this.
Regards
Nic
CPU: Intel Sandy Bridge microarchitecture, speed 2.701e+06 MHz (estimated)
Counted CPU_CLK_UNHALTED events (Clock cycles when not halted) with a unit mask of 0x00 (No unit mask) count 100000
CPU_CLK_UNHALT...|
samples| %|
------------------
2195235 99.7680 vmlinux
3485 0.1584 oprofiled
478 0.0217 libc-2.13.so
393 0.0179 cfbimgblt
221 0.0100 libcrypt-2.13.so
123 0.0056 libncursesw.so.5.9
99 0.0045 iwlwifi
63 0.0029 bash
57 0.0026 cfbfillrect
39 0.0018 bitblit
37 0.0017 ld-2.13.so
27 0.0012 fbcon
25 0.0011 htop
18 8.2e-04 e1000e
10 4.5e-04 acpid
5 2.3e-04 softcursor
4 1.8e-04 fb
4 1.8e-04 i915
3 1.4e-04 libncurses.so.5.9
2 9.1e-05 grep
2 9.1e-05 login
2 9.1e-05 libpam.so.0.83.1
2 9.1e-05 wpa_supplicant
1 4.5e-05 libnss_compat-2.13.so
1 4.5e-05 pam_access.so
1 4.5e-05 wpa_cli
1 4.5e-05 libglib-2.0.so.0.3000.2
1 4.5e-05 libsyslog-ng.so.0.0.0
-----Ursprüngliche Nachricht-----
Von: "Daniel Vetter" <daniel.vetter@ffwll.ch>
Gesendet: Nov 17, 2011 10:22:07 AM
An: "Nicolas Kalkhof" <nkalkhof@web.de>
Betreff: Re: [Intel-gfx] [PATCH 1/2] drm/i915: re-enable semaphores by default
>Oops, sorry for wasting your time, wrong branch. Can you try the
>for-poland one? And also please try what happens when enabling the
>iommu.
>
>Thanks, Daniel
>
>On Thu, Nov 17, 2011 at 09:57, Nicolas Kalkhof <nkalkhof@web.de> wrote:
>> Daniel,
>>
>> your ppgtt branch commit hardlocks my machine (SNB Mobile GT2+) as soon as I fire up X with a black screen. No crashdumps/syslogs :( Kernel params are: intel_iommu=off pcie_aspm=force i915.i915_enable_rc6=1. neither i915.semaphores=1 changes that nor does dmesg yield anything fancy.
>>
>> Regards,
>> Nic
>>
>>
>> -----Ursprüngliche Nachricht-----
>> Von: "Daniel Vetter" <daniel.vetter@ffwll.ch>
>> Gesendet: Nov 16, 2011 10:14:18 PM
>> An: "Nicolas Kalkhof" <nkalkhof@web.de>
>> Betreff: Re: [Intel-gfx] [PATCH 1/2] drm/i915: re-enable semaphores by default
>>
>>>On Wed, Nov 16, 2011 at 21:56, Nicolas Kalkhof <nkalkhof@web.de> wrote:
>>>> Not quite. On my i7 2620M (Lenovo T420) the gpu frequently hangs when decoding videos (vaapi) and running OpenGL apps/games at the same time. Disabling iommu makes my system relatively stable even with rc6 enabled. I haven't played with the semaphores however.
>>>
>>>Can you please try my ppgtt branch from my fdo repo at
>>>http://cgit.freedesktop.org/~danvet/drm/ ? Note thought that it'll
>>>only work on snb/ivb and that suspend/resume is broken. Also, it won't
>>>properly re-enable ppgtt when resetting the gpu after a hang.
>>>But testing feedback highly appreciated.
>>>
>>>Thanks, Daniel
>>>--
>>>Daniel Vetter
>>>daniel.vetter@ffwll.ch - +41 (0) 79 365 57 48 - http://blog.ffwll.ch
>>
>>
>> ___________________________________________________________
>> SMS schreiben mit WEB.DE FreeMail - einfach, schnell und
>> kostenguenstig. Jetzt gleich testen! http://f.web.de/?mc=021192
>>
>
>
>
>--
>Daniel Vetter
>daniel.vetter@ffwll.ch - +41 (0) 79 365 57 48 - http://blog.ffwll.ch
___________________________________________________________
SMS schreiben mit WEB.DE FreeMail - einfach, schnell und
kostenguenstig. Jetzt gleich testen! http://f.web.de/?mc=021192
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx
next reply other threads:[~2011-11-17 18:31 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-11-17 18:31 Nicolas Kalkhof [this message]
2011-11-18 15:26 ` [PATCH 1/2] drm/i915: re-enable semaphores by default Daniel Vetter
-- strict thread matches above, loose matches on Subject: below --
2011-11-18 18:36 Nicolas Kalkhof
2011-11-17 8:57 Nicolas Kalkhof
2011-11-17 9:22 ` Daniel Vetter
2011-11-22 5:41 ` Andrew Lutomirski
2011-11-22 11:23 ` Daniel Vetter
2011-11-29 16:39 ` Daniel Vetter
2011-11-16 20:56 Nicolas Kalkhof
2011-11-16 21:14 ` Daniel Vetter
2011-11-16 22:15 ` Keith Packard
2011-11-14 20:39 Eugeni Dodonov
2011-11-14 21:23 ` Jesse Barnes
2011-11-16 15:49 ` Daniel Vetter
2011-11-16 17:16 ` Keith Packard
2011-11-16 17:24 ` Andrew Lutomirski
2011-11-16 19:05 ` Eugeni Dodonov
2011-11-16 19:23 ` Jesse Barnes
2011-11-16 20:18 ` Daniel Vetter
2011-11-16 21:37 ` Keith Packard
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=2052565824.168596.1321554697933.JavaMail.fmail@mwmweb018 \
--to=nkalkhof@web.de \
--cc=daniel.vetter@ffwll.ch \
--cc=eugeni.dodonov@intel.com \
--cc=intel-gfx@lists.freedesktop.org \
/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