[ltp] suspend works with i915 module, but without, it fails!

axp linux-thinkpad@linux-thinkpad.org
Fri, 23 Jan 2009 13:57:09 +0100


Volker Krueger wrote:
> Hi Ferdinand,
>
> that sounds actually like you have found a good setting.
>
> I just tried the same (normal wiring on battery with thunderbird and
> firefox) and I have a long-term consumption (according to poiwertop) of
> 9.8W, the short term is presently at around 8.9 W.
>
> Did you do anything special to get the consumption down or was it like
> that out of the box?
>
> best,
> Volker
>
>
> axp wrote:
>   
>> Volker Krueger wrote:
>>   
>>     
>>> Hi,
>>>
>>> when I use powertop, I can see that i915 generates a lot of interrupts.
>>> Apparently, this is a bug that is corrected in 2.6.28. Perhaps in your
>>> ubuntu kernel this is already fixed.
>>>
>>> I am using opensuse and here, the bug with the i915 sending a lot of
>>> interrupts is not yet fixed.
>>>
>>> If you say that there is no difference in power consumtion for you when
>>> working with or without the i915/dri, then I suppose it is sufficient to
>>> simply wait for the corrected kernel.
>>>
>>> Presently, at least, it still is a difference of about 1-1.5 W.
>>>
>>> best,
>>> Volker
>>>
>>>
>>>
>>> axp wrote:
>>>   
>>>     
>>>       
>>>> Volker Krueger wrote:
>>>>   
>>>>     
>>>>       
>>>>         
>>>>> dear all,
>>>>>
>>>>> two small corrections: of course it is kernel 2.6(!).27.7
>>>>>
>>>>> and in case of the wakeup after the standby: the screen does not stay
>>>>> blank as described below. My memory was wrong: the wakeup end where the
>>>>> screen is black with the mouse pointer visible, i.e., the x-server
>>>>> starts but then something freezes. I have not tried a remote login. In
>>>>> case a remote login would work: which log file would be the one to look at?
>>>>>
>>>>> does anyone have an idea how to debug that in general?
>>>>>
>>>>> best,
>>>>> Volker
>>>>>
>>>>>
>>>>> Volker Krueger wrote:
>>>>>   
>>>>>     
>>>>>       
>>>>>         
>>>>>           
>>>>>> Hi,
>>>>>>
>>>>>> has someone observed this, too?
>>>>>>
>>>>>> my laptop happily suspends when the i915/dri  modules are loaded.
>>>>>> However, it fails when I start the x-server without the i915/dri !!
>>>>>>
>>>>>> To be precise: I use suse11.1, with the std-kernel (kernel 2.7.27.7).
>>>>>> The laptop: X200s
>>>>>> Graphicscard:Intel Graphics Media Accelerator 4500MHD
>>>>>>
>>>>>> I compare the two x-server  settings, where one has the additional line 
>>>>>>
>>>>>> 'Option       "NoDRI"'
>>>>>>
>>>>>> in the Device-section.
>>>>>>
>>>>>> Without the NoDRI option, the suspend works perfecty. With this option,
>>>>>> however, the laptop shuts down, but hangs somewhere after the wake-up,
>>>>>> while the screen is still dark.
>>>>>>
>>>>>> The whole point for using NoDRI is that the X200s saves about 20%(!!)
>>>>>> energy when on battery.
>>>>>>
>>>>>> any ideas?
>>>>>>
>>>>>> best,
>>>>>> Volker
>>>>>>
>>>>>>   
>>>>>>     
>>>>>>       
>>>>>>         
>>>>>>           
>>>>>>             
>>>> Hi,
>>>>
>>>> i can confirm this bug, although having a x301, but we have the same GPU.
>>>>
>>>> what i cant confirm is that you can save 20%(!!) of power drain with
>>>> setting the NoDRI option.
>>>>
>>>> mine is using 8.7W while writing this email and have a lot of
>>>> applications open which are known to wake the system a lot:
>>>>
>>>> pidgin
>>>> opera (20+ tabs open, currently doing some research)
>>>> thunderbird
>>>> and some terminals
>>>> 2.6.27-11-generic  x86_64
>>>>
>>>> using ubuntu 8.10
>>>> with some additional sources:
>>>> deb http://ppa.launchpad.net/intel-gfx-testing/ubuntu intrepid main
>>>> deb http://ppa.launchpad.net/surban/ubuntu intrepid main
>>>>
>>>> and intrepid-proposed
>>>>
>>>>
>>>>
>>>> i would recommend using the intel-gfx-testing maybe it helps
>>>>
>>>>
>>>>
>>>> HTH,
>>>> Ferdinand
>>>>
>>>>
>>>>
>>>>   
>>>>     
>>>>       
>>>>         
>> Iam working here on my x301, and have a power consumption of an average
>> of: 8.4Watts
>>
>> with a usable configuration: wlan on, display brightness high, ondemand
>> governor  and a lot of applications
>>
>>
>> so far,
>> Ferdinand
>>   
>>     
I did some twaeks,

iwconfig wlan0 power on
echo 1 > /sys/devices/system/cpu/sched_mc_power_savings
echo min_power > /sys/class/scsi_host/host0/link_power_management_policy


laptop_mode

and snd_hda_intel powersave, and options usbcore autosuspend=5


BTW: I had also a high interrupt frequency with the older kernel, but
since the update from intrepid-proposed the interrupts are gone


HTH,
Ferdinand