http://bugs.winehq.org/show_bug.cgi?id=15809
Summary: wine should not wake the cpu when idle Product: Wine Version: 1.1.7 Platform: Other OS/Version: other Status: UNCONFIRMED Severity: enhancement Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: madewokherd@gmail.com
Wine should not wake the cpu when it's not doing anything, at least when only builtin programs are running. Current obvious offenders are the system tray (a 2-second timer that runs no matter what) and blinking cursors. Once these are addressed, we should try to run some builtin programs with strace and see if we get any output when the programs are idle.
http://bugs.winehq.org/show_bug.cgi?id=15809
Vincent Povirk madewokherd@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Depends on| |15808
http://bugs.winehq.org/show_bug.cgi?id=15809
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Depends on|15808 | Status|UNCONFIRMED |RESOLVED Resolution| |INVALID
--- Comment #1 from Dmitry Timoshkov dmitry@codeweavers.com 2008-10-27 10:33:54 --- (In reply to comment #0)
Current obvious offenders are the system tray (a 2-second timer that runs no matter what)
That's the bug 15808.
and blinking cursors.
That request is invalid, the cursor doesn't stop blinking in either Windows or Linux even if user does nothing.
http://bugs.winehq.org/show_bug.cgi?id=15809
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #2 from Dmitry Timoshkov dmitry@codeweavers.com 2008-10-27 10:34:08 --- Closing.
http://bugs.winehq.org/show_bug.cgi?id=15809
John Gilmore gnu@winehq-bugzilla.toad.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |gnu@winehq-bugzilla.toad.com
--- Comment #3 from John Gilmore gnu@winehq-bugzilla.toad.com 2008-10-31 13:54:40 --- This bug report was inappropriately closed. (Just because it's the usual sin among people responsible for triaging bugs, doesn't mean it's forgivable. At least he didn't close it saying "CAN'T REPRODUCE HERE, CLOSING".)
SOME people care about how much power computer systems use.
SOME people build battery-operated embedded systems whose lifetime depends on how little power the CPU sucks when idle.
SOME peoples' kernels power-off their CPU chip when nothing is happening.
SOME people write code that wakes up every half a second to blink the cursor, and never stops.
SOME people make their cursors blink forever until their battery dies.
Wine does not have to cater to those people.
SOME other people have already fixed their GUIs and their applications so that they don't blindly blink forever:
http://dev.laptop.org/ticket/823 http://lwn.net/Articles/249545/ http://lwn.net/Articles/234816/ http://shallowsky.com/blog/linux/powertop-bof.html http://shallowsky.com/blog/linux/xchat-noblinkee.html http://www.jurta.org/en/prog/noblink
Wine should stop blinking its cursor after a while -- like Gnome and other environments that care about reducing useless power consumption.
This *%&*$ bugzilla interface won't let me reopen the bug, so I'll merely leave this note and hope that somebody else will reopen it.
http://bugs.winehq.org/show_bug.cgi?id=15809
--- Comment #4 from Vincent Povirk madewokherd@gmail.com 2008-10-31 14:49:07 --- John, you can't reopen it because you didn't report the bug.
I really intended this bug as a reminder that there's more work to be done after bug 15808 is closed, in making sure that Wine can be configured so that its builtin programs don't wake the cpu when they are idle. It wasn't meant to be about cursors. I'd prefer to keep it open for that reason. However, that's not a specific defect in Wine, and I can understand why this kind of bug might be closed. Bugzilla admins, if it's ok to have this sort of thing open, please reopen it.
Windows XP can be configured to not blink the cursor (through the Keyboard control panel). Wine should be able to do this as well, even if it's not the default. As far as I can tell, the delay can be adjusted but not to infinity.
I'll investigate the blinking cursor and file a new bug for it if necessary.
http://bugs.winehq.org/show_bug.cgi?id=15809
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|CLOSED |UNCONFIRMED Resolution|INVALID |
--- Comment #5 from Austin English austinenglish@gmail.com 2008-10-31 15:38:47 --- Reopening.
http://bugs.winehq.org/show_bug.cgi?id=15809
--- Comment #6 from Dmitry Timoshkov dmitry@codeweavers.com 2008-11-01 01:04:45 --- I don't see that the cursor in gedit stops blinking before gnome runs a screensaver or goes to sleep.
Not displaying a blinking cursor doesn't mean that the timer and other code responsible for that doesn't run anymore, so I don't see what you would buy from that. If the power saving is a priority that should be done at the system/kernel level.
http://bugs.winehq.org/show_bug.cgi?id=15809
--- Comment #7 from Lei Zhang thestig@google.com 2008-11-05 13:38:11 --- Have you used powertop to look at how many extra wakeups running Wine causes? Given Wine causes N wakeups - how much extra energy do you use?
Remember, the cpu only account for a percentage of the system's power usage. Even if it's idle - a) it still uses a small amount of power, it's not "shut off". b) video cards/ laptop displays / hard drives / etc still draw power.
From my experiments with powertop, I'd estimate you'll save a couple watts at
most on a laptop if you manage to eliminate all the extra wakeups in Wine, which is just enough power to idling your laptop a wee bit longer.
http://bugs.winehq.org/show_bug.cgi?id=15809
--- Comment #8 from Austin English austinenglish@gmail.com 2009-05-06 05:39:50 --- Is this still an issue in current (1.1.20 or newer) wine?
http://bugs.winehq.org/show_bug.cgi?id=15809
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |Abandoned?
--- Comment #9 from Dmitry Timoshkov dmitry@codeweavers.com 2009-08-24 00:35:37 --- Abandoned?
http://bugs.winehq.org/show_bug.cgi?id=15809
--- Comment #10 from Stefan Dösinger stefandoesinger@gmx.at 2009-12-10 15:09:09 --- Regarding the blinking cursor, shouldn't we simply read the system settings for the cursor blink rate and use it? And if its set to "Do not blink", not run the blink loop that wakes up the CPU?
http://bugs.winehq.org/show_bug.cgi?id=15809
--- Comment #11 from Dmitry Timoshkov dmitry@codeweavers.com 2009-12-11 02:39:37 --- (In reply to comment #10)
Regarding the blinking cursor, shouldn't we simply read the system settings for the cursor blink rate and use it? And if its set to "Do not blink", not run the blink loop that wakes up the CPU?
The problem is different, it's not about using the system cursor blink rate.
http://bugs.winehq.org/show_bug.cgi?id=15809
Vincent Povirk madewokherd@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Depends on| |15808
http://bugs.winehq.org/show_bug.cgi?id=15809
butraxz@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |butraxz@gmail.com
--- Comment #12 from butraxz@gmail.com 2012-05-20 10:44:16 CDT --- This bug has not been updated for three years. Is this still an issue in current (1.5.4 or newer) wine?
http://bugs.winehq.org/show_bug.cgi?id=15809
Ken Sharp kennybobs@o2.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords|Abandoned? |
http://bugs.winehq.org/show_bug.cgi?id=15809
Bug 15809 depends on bug 15808, which changed state.
Bug 15808 Summary: wine's system tray should not wake the cpu when idle http://bugs.winehq.org/show_bug.cgi?id=15808
What |Old Value |New Value ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |FIXED
https://bugs.winehq.org/show_bug.cgi?id=15809
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |ABANDONED
--- Comment #13 from Austin English austinenglish@gmail.com --- (In reply to butraxz from comment #12)
This bug has not been updated for three years. Is this still an issue in current (1.5.4 or newer) wine?
Abandoned.
https://bugs.winehq.org/show_bug.cgi?id=15809
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #14 from Austin English austinenglish@gmail.com --- Closing.