http://bugs.winehq.org/show_bug.cgi?id=20915
Summary: Trackmania is extremely choppy with OpenAL Product: Wine Version: 1.1.34 Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: wylda@volny.cz
Hi, the free game TrackMania Nations Forever is extremly choppy when running with enabled OpenAL. You can see it on first map in first 90° left turn. The problem disappears when running wine compiled with option --without-openal.
http://bugs.winehq.org/show_bug.cgi?id=20915
Wylda wylda@volny.cz changed:
What |Removed |Added ---------------------------------------------------------------------------- URL| |http://www.focus-files.com/ | |game/
http://bugs.winehq.org/show_bug.cgi?id=20915
--- Comment #1 from Jeff Zaroyko jeffz@jeffz.name 2009-12-04 23:01:18 --- the sound is choppy or the video?
http://bugs.winehq.org/show_bug.cgi?id=20915
--- Comment #2 from Wylda wylda@volny.cz 2009-12-04 23:10:21 --- (In reply to comment #1)
the sound is choppy or the video?
The whole game, i.e. sound and video also (did not measured, but really low FPS- just a few).
http://bugs.winehq.org/show_bug.cgi?id=20915
--- Comment #3 from Vitaliy Margolen vitaliy@kievinfo.com 2009-12-05 14:06:34 --- Your system OpenAL is running through what sound system? What version of your system OpenAL?
http://bugs.winehq.org/show_bug.cgi?id=20915
--- Comment #4 from Wylda wylda@volny.cz 2009-12-08 15:52:12 --- (In reply to comment #3)
Your system OpenAL is running through what sound system? What version of your system OpenAL?
lspci -v Audio device:Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 02)
OpenAL v1.10.622
http://bugs.winehq.org/show_bug.cgi?id=20915
Jan Kalab pitel@nomi.cz changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |pitel@nomi.cz
--- Comment #5 from Jan Kalab pitel@nomi.cz 2009-12-19 03:20:10 --- (In reply to comment #3)
Your system OpenAL is running through what sound system? What version of your system OpenAL?
ALSA, OpenAL 1.8.466
It happens only when using stereo output. Using 5.1 surround, I got bug 20823.
http://bugs.winehq.org/show_bug.cgi?id=20915
Wylda wylda@volny.cz changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |chris.kcat@gmail.com
--- Comment #6 from Wylda wylda@volny.cz 2009-12-19 16:09:45 ---
Confirming, still not fixed in 1.1.35. Chris, i added you to CC --maybe be, you already know what is going on ;) (sorry if you don't want to be on CC).
http://bugs.winehq.org/show_bug.cgi?id=20915
--- Comment #7 from Chris chris.kcat@gmail.com 2009-12-19 20:33:48 --- I've seen this issue with some other OpenAL apps in Linux. It's just really odd behavior, though, and can't see why it happens or what could possibly trigger it (I've seen the issue come and go where OpenAL's processing remains 100% identical).
I've just narrowed it down to something in the ALSA backend, or perhaps ALSA itself.. having OpenAL Soft use OSS or Pulse fixes it for me (unfortunately disabling mmap on ALSA doesn't help). It's something to try and dig into for OpenAL 1.11...
http://bugs.winehq.org/show_bug.cgi?id=20915
--- Comment #8 from Wylda wylda@volny.cz 2009-12-22 13:49:55 ---
Still not fixed in wine-1.1.35-105-gd4a7a9d.
So Chris, you say/think this is not a Wine problem, but OpenAL libraries?
http://bugs.winehq.org/show_bug.cgi?id=20915
--- Comment #9 from Chris chris.kcat@gmail.com 2009-12-22 14:51:29 ---
From the testing I've been able to do, it appears to be an issue in ALSA, its
drivers, or hardware. Switching backends around shows vastly different times to do the actual mixing (measured in real-time; Pulse stays under 10ms, while OSS gets up to 20 to 30 and ALSA spikes to 130, on occasion).. and this is completely backend-independent code, handling the same scene. The spikes are not related to the audio processing being done.
If I had to make a guess at the cause, I would say something OpenGL (not AL) does in these scenes is causing spurious wake-ups with ALSA, stalling the thread that's mixing. The mixing is done while the lib is locked, which causes the main app to be blocked when it tries to make an OpenAL call.
That's only a guess though, and I could be wrong. But I don't see anything wrong on OpenAL's side.
http://bugs.winehq.org/show_bug.cgi?id=20915
Luke Bratch l_bratch@yahoo.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |l_bratch@yahoo.co.uk
--- Comment #10 from Luke Bratch l_bratch@yahoo.co.uk 2010-02-20 14:00:54 --- Still present in 1.1.39.
http://bugs.winehq.org/show_bug.cgi?id=20915
--- Comment #11 from Wylda wylda@volny.cz 2010-02-28 06:21:49 ---
Still not fixed in wine-1.1.39-163-g583f0f0. For the record:
OpenAL v1.11.753 Alsa v1.0.22-2 kernel v2.6.31.9 (Intel HD Audio Controller - 82801I ICH9 Family) nvidia v190.53
http://bugs.winehq.org/show_bug.cgi?id=20915
--- Comment #12 from Wylda wylda@volny.cz 2010-03-06 08:29:06 ---
Still not fixed in wine-1.1.40. For the record:
OpenAL v1.11.753 Alsa v1.0.22-2 kernel v2.6.33 (Intel HD Audio Controller - 82801I ICH9 Family) nvidia v195.36.08
http://bugs.winehq.org/show_bug.cgi?id=20915
--- Comment #13 from Wylda wylda@volny.cz 2010-03-19 15:26:12 ---
Still not fixed in wine-1.1.41.
http://bugs.winehq.org/show_bug.cgi?id=20915
--- Comment #14 from Wylda wylda@volny.cz 2010-04-09 05:53:32 ---
Still not fixed in wine-1.1.42-146-g1c02a90.
http://bugs.winehq.org/show_bug.cgi?id=20915
--- Comment #15 from Wylda wylda@volny.cz 2010-06-12 11:47:28 ---
Still present in wine-1.2-rc3 even with trick from bug 20799#c77
http://bugs.winehq.org/show_bug.cgi?id=20915
--- Comment #16 from Chris chris.kcat@gmail.com 2010-06-12 22:13:48 --- Unfortunately, I have yet to find the actual cause for this. I did find that turning off desktop OpenGL compositing (KDE4's particularly) helped noticeably though, which also just reinforces my belief that it is some problem between the low-level ALSA stuff and OpenGL.
http://bugs.winehq.org/show_bug.cgi?id=20915
--- Comment #17 from Wylda wylda@volny.cz 2010-06-13 00:59:26 --- (In reply to comment #16)
... I did find that turning off desktop OpenGL compositing ...
If this is meant as "Desktop Effects aka KWIN" i don't use them at all (disabled).
http://bugs.winehq.org/show_bug.cgi?id=20915
--- Comment #18 from Jan Kalab pitlicek@gmail.com 2010-06-13 01:25:32 --- I don't even use KDE, but Gnome, and with desktop effects disabled and I still has this bug.
http://bugs.winehq.org/show_bug.cgi?id=20915
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dank@kegel.com
--- Comment #19 from Dan Kegel dank@kegel.com 2010-10-21 09:56:13 CDT --- I'm seeing this now.
http://bugs.winehq.org/show_bug.cgi?id=20915
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1
--- Comment #20 from Dan Kegel dank@kegel.com 2011-02-19 18:25:05 CST --- Workaround: select Portaudio in game's advanced audio settings before it starts.
http://bugs.winehq.org/show_bug.cgi?id=20915
Wylda wylda@volny.cz changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |INVALID
--- Comment #21 from Wylda wylda@volny.cz 2012-05-19 07:15:41 CDT ---
Can't reproduce even with the same wine versions like i originally reported. Everything changed since that time compared to comment #12 thanks to Debian Lenny -> Squeeze. Now:
OpenAL v1.12.854-2 Alsa v1.0.23+dfsg-2 kernel v2.6.35.14 (Intel HD Audio Controller - 5 Series/3400 Series Chipset) nvidia v275.09.07
http://bugs.winehq.org/show_bug.cgi?id=20915
Wylda wylda@volny.cz changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #22 from Wylda wylda@volny.cz 2012-05-19 07:16:44 CDT ---
Closing.