[PATCH 1/2] drm/i915: re-enable semaphores by default

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 at ffwll.ch>
Gesendet: Nov 17, 2011 10:22:07 AM
An: "Nicolas Kalkhof" <nkalkhof at web.de>
Betreff: Re: [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 at 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 at ffwll.ch>
>> Gesendet: Nov 16, 2011 10:14:18 PM
>> An: "Nicolas Kalkhof" <nkalkhof at web.de>
>> Betreff: Re: [PATCH 1/2] drm/i915: re-enable semaphores by default
>>
>>>On Wed, Nov 16, 2011 at 21:56, Nicolas Kalkhof <nkalkhof at 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 at 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 at 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


[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux