http://bugs.winehq.org/show_bug.cgi?id=13486
Summary: Having CPU switch frequency dynamically (powersave daemon), Prince of Persia (potentially more apps?) runs way too fast Product: Wine Version: 1.0-rc2 Platform: PC-x86-64 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: Nico.Laus.2001@gmx.de
I normally let my CPU change frequencies dynamically as required by the current load. Starting Prince of Persia The Sands of Time, this game runs too fast. When I change CPU frequency policy in powersaved to performance, everything runs fine.
http://bugs.winehq.org/show_bug.cgi?id=13486
Nico Kruber Nico.Laus.2001@gmx.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |Nico.Laus.2001@gmx.de
http://bugs.winehq.org/show_bug.cgi?id=13486
--- Comment #1 from Vitaliy Margolen vitaliy@kievinfo.com 2008-05-27 21:42:14 --- Have you tried that on windows using same hardware?
http://bugs.winehq.org/show_bug.cgi?id=13486
--- Comment #2 from Nico Kruber Nico.Laus.2001@gmx.de 2008-05-28 04:09:17 --- I forgot to mention that it's "Prince of Persia - The Sands of Time".
Yes, I run this game successfully on Windows Vista x64. My linux distribution is openSUSE x86_64 (if this is important).
http://bugs.winehq.org/show_bug.cgi?id=13486
--- Comment #3 from Nico Kruber Nico.Laus.2001@gmx.de 2008-05-28 04:10:46 --- (In reply to comment #2)
I forgot to mention that it's "Prince of Persia - The Sands of Time".
ok, I did mention it in the text :P
http://bugs.winehq.org/show_bug.cgi?id=13486
--- Comment #4 from Lei Zhang thestig@google.com 2008-05-28 16:58:06 --- On Windows, is your cpu also running at a lower frequency?
http://bugs.winehq.org/show_bug.cgi?id=13486
--- Comment #5 from Nico Kruber Nico.Laus.2001@gmx.de 2008-06-01 05:47:45 --- (In reply to comment #4)
On Windows, is your cpu also running at a lower frequency?
yes, power saving is active and adjusting core speed continuously (between 1000 and 2400 MHz)
http://bugs.winehq.org/show_bug.cgi?id=13486
--- Comment #6 from Nico Kruber Nico.Laus.2001@gmx.de 2008-06-03 11:56:14 --- Created an attachment (id=13634) --> (http://bugs.winehq.org/attachment.cgi?id=13634) Log running the game
attached is the log I took when I ran the game starting with "Powersave" CPU frequency policy and switching to "Performance" once a new game was started. (Leaving to dynamic sometimes shows correct timings - this is a save way to reproduce it, although I have not tested a similar behaviour on Windows)
I'm guessing it depends on the difference of frequency when the game (application) started and the in-game cpu frequency.
http://bugs.winehq.org/show_bug.cgi?id=13486
Nico Kruber Nico.Laus.2001@gmx.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|1.0-rc2 |1.0-rc3
http://bugs.winehq.org/show_bug.cgi?id=13486
--- Comment #7 from Nico Kruber Nico.Laus.2001@gmx.de 2008-06-04 02:46:12 --- maybe I should also mention, that the only thing running at normal speed when this happens is the game's music and sound effects
http://bugs.winehq.org/show_bug.cgi?id=13486
--- Comment #8 from Austin English austinenglish@gmail.com 2008-12-02 07:00:53 --- Please retest in 1.1.9.
http://bugs.winehq.org/show_bug.cgi?id=13486
Nico Kruber Nico.Laus.2001@gmx.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|1.0-rc3 |1.1.10
--- Comment #9 from Nico Kruber Nico.Laus.2001@gmx.de 2008-12-08 17:54:45 --- retested with wine 1.1.10 - bug is still present :(
I'd like to add some more comments about the details of this bug though:
- game started with CPU@Powersave -> game runs at normal speed - game started with CPU@Powersave, changed to "Performance" in the game -> game runs too quickly
- game started with CPU@Performance -> game runs at normal speed - game started with CPU@Performance, changed to "Powersave" in the game -> game runs too slowly
- game started with CPU@Dynamic -> game runs too quickly
http://bugs.winehq.org/show_bug.cgi?id=13486
Lei Zhang thestig@google.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|1.1.10 |1.0-rc3
--- Comment #10 from Lei Zhang thestig@google.com 2008-12-08 18:20:06 --- Please don't change the original reported version.
http://bugs.winehq.org/show_bug.cgi?id=13486
--- Comment #11 from M.Kiesel winehq.org@continuity.cjb.net 2008-12-26 16:50:45 --- On the net you will find reports of similar issues for Sands of Time on Windows. Seems that the game has problems with c'n'q and/or multi core machines. However, I wasn't able to reproduce the same error in Windows. Perhaps recent Windows c'n'q drivers come with workarounds for this.
http://bugs.winehq.org/show_bug.cgi?id=13486
Florian mcflow-forum@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |mcflow-forum@gmx.net
--- Comment #12 from Florian mcflow-forum@gmx.net 2009-02-14 07:36:23 --- I just started playing The Sand of Time with wine-1.1.14 and did not discover that problem so far. I use an AMD Athlon 64 X2 4200+ and the governor is set to "ondemand" and the game runs pretty fine.
http://bugs.winehq.org/show_bug.cgi?id=13486
--- Comment #13 from Florian mcflow-forum@gmx.net 2009-02-15 04:49:25 --- (In reply to comment #12)
I just started playing The Sand of Time with wine-1.1.14 and did not discover that problem so far. I use an AMD Athlon 64 X2 4200+ and the governor is set to "ondemand" and the game runs pretty fine.
Forget that. I played the game again today and discovered the same behaviour as stated in comment #9
http://bugs.winehq.org/show_bug.cgi?id=13486
jyaan jyaanb@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jyaanb@gmail.com
--- Comment #14 from jyaan jyaanb@gmail.com 2009-08-14 05:59:21 --- I can confirm. When the ondemand daemon is running, the game runs far too fast. Stopping the daemon with 'sudo /etc/init.d/ondemand stop' before running the game allows it to run at the correct speed (and making the game playable).
http://bugs.winehq.org/show_bug.cgi?id=13486
GyB gyebro69@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |gyebro69@gmail.com
--- Comment #15 from GyB gyebro69@gmail.com 2010-01-31 05:38:03 --- Another game which is affected is Beyond Good & Evil. Audio and video are out-of-sync when cpu frequency scaling is enabled.
http://bugs.winehq.org/show_bug.cgi?id=13486
Ozan ozaan@yahoo.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |ozaan@yahoo.co.uk
--- Comment #16 from Ozan ozaan@yahoo.co.uk 2010-06-22 06:16:04 --- i had same problem at windows xp pro 64 bit with AMD Authon 64 X2 Dual Core 4400+ 2.3 GHz. at that time i checked gaming forms and i found this solution: make the game use only one core. it's probably programmers didn't really think of multi core systems.
http://bugs.winehq.org/show_bug.cgi?id=13486
Matthias funny.hangman@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |funny.hangman@gmx.net
--- Comment #17 from Matthias funny.hangman@gmx.net 2010-07-05 04:32:47 --- Same Problem like comment #9 im DeusEx 1 (wine 1.2 rc 6)
Maybe it´s not an wine Bug. There is a workaround in the DeusEx howto. I hope in some day there is an switch to disable the dynamic clock speed while playing.
http://bugs.winehq.org/show_bug.cgi?id=13486
--- Comment #18 from Nico Kruber Nico.Laus.2001@gmx.de 2010-07-07 17:18:40 --- (In reply to comment #17)
Same Problem like comment #9 im DeusEx 1 (wine 1.2 rc 6)
Maybe it´s not an wine Bug.
then why does it work on Windows (same machine?) - although cnq driver workaround mentioned in Comment #11 seem reasonable...
There is a workaround in the DeusEx howto. I hope in some day there is an switch to disable the dynamic clock speed while playing.
this might not be the desired behaviour - imagine old games not using all the power modern machines got - they don't need to waste energy then...
I'll however test with the newest wine version soon - also with the program attached to a single CPU core...
http://bugs.winehq.org/show_bug.cgi?id=13486
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |richard.boustead@gmail.com
--- Comment #19 from Austin English austinenglish@gmail.com 2010-12-23 17:50:30 CST --- *** Bug 16327 has been marked as a duplicate of this bug. ***
http://bugs.winehq.org/show_bug.cgi?id=13486
Ronny Schmatzler schmatzler@googlemail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |schmatzler@googlemail.com
--- Comment #20 from Ronny Schmatzler schmatzler@googlemail.com 2011-04-10 21:29:38 CDT --- I don't think that this is a wine bug - its a fault of the Prince of Persia engine. Beyond Good and Evil also uses this engine and has the same problems on Windows (XP or 7, doesn't make much difference).
http://bugs.winehq.org/show_bug.cgi?id=13486
--- Comment #21 from butraxz@gmail.com 2013-10-18 13:20:51 CDT --- This ticket has not been updated for over 900 days. Development recommends to check the status on your bug every release or two and let to be known if the bug is still present. If not, mark it fixed. If you are no longer able to put effort to this ticket, you can abandon it.
Is this still an issue with 1.7.4 or higher ?
http://bugs.winehq.org/show_bug.cgi?id=13486
--- Comment #22 from Ronny Schmatzler schmatzler@googlemail.com --- Tested Beyond Good and Evil on Wine 1.7.11 - audio and video are always in sync, even when the CPU is throttled.
I tested it with running my CPU throttled:
echo "ondemand" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
and afterwards with the full power:
echo "performance" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
(I noticed that the game is not playing some of the menu sounds when the CPU is throttled, but there is another bug for this already opened. This bug can be closed)
http://bugs.winehq.org/show_bug.cgi?id=13486
jyaan jyaanb@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC|jyaanb@gmail.com |
http://bugs.winehq.org/show_bug.cgi?id=13486
Jerome Leclanche adys.wh@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED
--- Comment #23 from Jerome Leclanche adys.wh@gmail.com --- Reported fixed.
https://bugs.winehq.org/show_bug.cgi?id=13486
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #24 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 1.7.12.