[ltp] (T41p) Radeon+more interrupts (powertop) after console or resume - vblank patch problem?!?
Nils
linux-thinkpad@linux-thinkpad.org
Tue, 8 Jan 2008 12:07:28 +0100
Hi there,
I've a strange problem with Xorg. After a fresh system restart and login into
X everything works fine.
Powertop shows: (always without WLAN !!)
< 20 Wakeups-from-idle per second.
C4 (97,3%)
600 MHz (100,0%)
Then I switch to console-screen and back to X (or sleep/resume with the same
result) and now the powertop application shows:
~ 80 Wakeups-from-idle per second.
C2 (87,3%)
C4 (0,0 %)
600 MHz (100,0%)
and I see this new line:
72,6% ( 96,8) <interrupt> :Intel 82801DB-ICH4, radeon@pci:0000:01:00.0
It seems that the vblank-patch or everything else has to be reinitialize the
radeon card. I use the following really ugly patch:
1.) After system reboot I save the radeon state in the working state at low
power consumption with: "vbetool vbestate save > /tmp/vbestate"
2.) After changing to the console-screen or resuming I reinitialize the card
with: "vbetool post && vbetool restore < /tmp/vbestate"
-> The screen looks a little bit corrupt after the second command, but it's
working.
Does anybody know a better solution or how to modify the vblank patch? Or is
this another problem?
Thanks,
Nils