Re: sleepy linux 2.6.23-rc9

2007-10-08 Thread Antonino A. Daplas
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


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: sleepy linux 2.6.23-rc9

2007-10-08 Thread H. Peter Anvin

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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: sleepy linux 2.6.23-rc9

2007-10-08 Thread Clemens Koller

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 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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


sleepy linux 2.6.23-rc9

2007-10-08 Thread Pavel Machek
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


config.gz
Description: Binary data


sleepy linux 2.6.23-rc9

2007-10-08 Thread Pavel Machek
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


config.gz
Description: Binary data


Re: sleepy linux 2.6.23-rc9

2007-10-08 Thread Clemens Koller

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
___
RD 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
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: sleepy linux 2.6.23-rc9

2007-10-08 Thread H. Peter Anvin

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
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: sleepy linux 2.6.23-rc9

2007-10-08 Thread Antonino A. Daplas
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


-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/