* sleepy linux 2.6.23-rc9
@ 2007-10-08 22:05 Pavel Machek
2007-10-08 23:46 ` Clemens Koller
2007-10-09 4:33 ` Antonino A. Daplas
0 siblings, 2 replies; 4+ messages in thread
From: Pavel Machek @ 2007-10-08 22:05 UTC (permalink / raw)
To: tglx, kernel list
[-- Attachment #1: Type: text/plain, Size: 790 bytes --]
Hi!
I played with powertop a bit, and found a fairly interesting failure
mode. If I boot init=/bin/bash vga=1, I get ~2 wakeups a second, nice.
When I boot init=/bin/bash vga=791 (vesa framebuffer), most wakeups
are caused by cursor painting (I should fix that some day, I
guess). But... the cursor blinking does not even work properly!
It blinks at normal speed, then (randomly) it blinks slowly, then gets
back to normal speed, then inserts longer delay.
The effect is so nice that I thought about youtube ;-). Thinkpad
x60.. question is, how to debug it?
(config attached, I did all the stuff powertop told me to, and then some.)
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
[-- Attachment #2: config.gz --]
[-- Type: application/octet-stream, Size: 12028 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: sleepy linux 2.6.23-rc9
2007-10-08 22:05 sleepy linux 2.6.23-rc9 Pavel Machek
@ 2007-10-08 23:46 ` Clemens Koller
2007-10-09 0:52 ` H. Peter Anvin
2007-10-09 4:33 ` Antonino A. Daplas
1 sibling, 1 reply; 4+ messages in thread
From: Clemens Koller @ 2007-10-08 23:46 UTC (permalink / raw)
To: Pavel Machek; +Cc: tglx, kernel list
Pavel Machek schrieb:
> I played with powertop a bit, and found a fairly interesting failure
> mode. If I boot init=/bin/bash vga=1, I get ~2 wakeups a second, nice.
>
> When I boot init=/bin/bash vga=791 (vesa framebuffer), most wakeups
> are caused by cursor painting (I should fix that some day, I
> guess). But... the cursor blinking does not even work properly!
>
> It blinks at normal speed, then (randomly) it blinks slowly, then gets
> back to normal speed, then inserts longer delay.
Is the effect a beat that it has roughly the frequency of your Notebooks
screen refresh rate (60Hz)? (in german: Schwebung)
> The effect is so nice that I thought about youtube ;-). Thinkpad
> x60.. question is, how to debug it?
No idea... check where the register of the HW cursor blink rate
gets written? But as it seems to be so nice, please submit a patch
which enables this for all platforms. ;-)
Regards,
--
Clemens Koller
_______________________________
R&D Imaging Devices
Anagramm GmbH
Rupert-Mayer-Str. 45/1
81379 Muenchen
Germany
http://www.anagramm-technology.com
Phone: +49-89-741518-50
Fax: +49-89-741518-19
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: sleepy linux 2.6.23-rc9
2007-10-08 23:46 ` Clemens Koller
@ 2007-10-09 0:52 ` H. Peter Anvin
0 siblings, 0 replies; 4+ messages in thread
From: H. Peter Anvin @ 2007-10-09 0:52 UTC (permalink / raw)
To: Clemens Koller; +Cc: Pavel Machek, tglx, kernel list
Clemens Koller wrote:
>>
>> When I boot init=/bin/bash vga=791 (vesa framebuffer), most wakeups
>> are caused by cursor painting (I should fix that some day, I
>> guess). But... the cursor blinking does not even work properly!
>>
>> It blinks at normal speed, then (randomly) it blinks slowly, then gets
>> back to normal speed, then inserts longer delay.
>
> Is the effect a beat that it has roughly the frequency of your Notebooks
> screen refresh rate (60Hz)? (in german: Schwebung)
>
>> The effect is so nice that I thought about youtube ;-). Thinkpad
>> x60.. question is, how to debug it?
>
> No idea... check where the register of the HW cursor blink rate
> gets written? But as it seems to be so nice, please submit a patch
> which enables this for all platforms. ;-)
>
For the VESA framebuffer I would assume the cursor blinking is done in
software (if done at all.)
-hpa
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: sleepy linux 2.6.23-rc9
2007-10-08 22:05 sleepy linux 2.6.23-rc9 Pavel Machek
2007-10-08 23:46 ` Clemens Koller
@ 2007-10-09 4:33 ` Antonino A. Daplas
1 sibling, 0 replies; 4+ messages in thread
From: Antonino A. Daplas @ 2007-10-09 4:33 UTC (permalink / raw)
To: Pavel Machek; +Cc: tglx, kernel list
On Tue, 2007-10-09 at 00:05 +0200, Pavel Machek wrote:
> Hi!
>
> I played with powertop a bit, and found a fairly interesting failure
> mode. If I boot init=/bin/bash vga=1, I get ~2 wakeups a second, nice.
>
> When I boot init=/bin/bash vga=791 (vesa framebuffer), most wakeups
> are caused by cursor painting (I should fix that some day, I
> guess). But... the cursor blinking does not even work properly!
>
> It blinks at normal speed, then (randomly) it blinks slowly, then gets
> back to normal speed, then inserts longer delay.
>
> The effect is so nice that I thought about youtube ;-). Thinkpad
> x60.. question is, how to debug it?
The cursor blinking is done by software via a timer. It's in
drivers/video/console/fbcon.c.
With the latest -rc kernel you can turn off the blinking with
echo 0 > /sys/class/graphics/fbcon/cursor_blink
Tony
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2007-10-09 4:33 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-08 22:05 sleepy linux 2.6.23-rc9 Pavel Machek
2007-10-08 23:46 ` Clemens Koller
2007-10-09 0:52 ` H. Peter Anvin
2007-10-09 4:33 ` Antonino A. Daplas
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox