I can always tell when my screen is blanked because my CPU fan is roaring. I on an HP elitebook with Radeon HD 6470M graphics and am running the fglrx driver.
I found that it takes about a minute for the CPU to start spiking after the screen blanks. From running top, compiz goes from 0 (for about the first 20 seconds) to 30 to 100.
I ran your script in a loop every 5 seconds, there are approx 26 runs in that file The last stack in there may show it starting to wake-up as I bumped the mouse during the last trace.
I can always tell when my screen is blanked because my CPU fan is roaring. I on an HP elitebook with Radeon HD 6470M graphics and am running the fglrx driver.
I found that it takes about a minute for the CPU to start spiking after the screen blanks. From running top, compiz goes from 0 (for about the first 20 seconds) to 30 to 100.
I ran your script in a loop every 5 seconds, there are approx 26 runs in that file The last stack in there may show it starting to wake-up as I bumped the mouse during the last trace.
If I can gather more info, please let me know.