Most movies in browsers is via Flash, which browsers don't get a lot of
insight into.  I think we can tell that Flash is iterating its main loop
but not whether it's painting or just running a timer; full-screened
Flash creates its own window out of our control.  I think this means we
can't control power management for this primary use case.  (HTML5 video
could definitely be fixed, and I'd be happy to review a patch to do it,
but realistically HTML5 video isn't very common yet.)

A coworker proposed a hack that, after reflection, I think is actually
pretty good: the compositing manager has ultimate knowledge of what's
getting dirtied on your screen.  A heuristic like "if something in a
region at least X by Y is repainting regularly don't sleep" would
probably get you pretty far without needing to change every app.

-- 
[Maverick] Have default settings be energy star 5.0 compliant
https://bugs.launchpad.net/bugs/604635
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to