http://bugs.winehq.org/show_bug.cgi?id=20277
Summary: Elder Scrolls: Oblivion slowdown and loss of background music since introduction of mpg123 Product: Wine Version: 1.1.29 Platform: PC URL: http://appdb.winehq.org/objectManager.php?sClass=versi on&iId=7506 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: msacm32 AssignedTo: wine-bugs@winehq.org ReportedBy: vit.hrachovy@sandbox.cz
/*
From application comments/ on behalf of JFM Rivera.
Also - missing winemp3.acm category for the bug, so assigning to msacm32. */
Up to wine 1.1.28 the game works normally, however, testing the newer two versions (1.1.29 and 1.1.30) produces the following:
1. Incredible game slowdown (like a slideshow). The game slows down to the point that it takes several attempts to register a key press.
2. Loss of background music (though ambient sounds come through) using ALSA output (same as the issue noted on the post below)
Using OSS output I get no sound, but the game is at normal speed. Using OSS and launching the game with "padsp wine" results in ambient sounds returning, but the slowdown is back. No setting I've tried so far has resulted in restoring the background music.
Under wine 1.1.28 sound works (ALSA) and the game runs at full speed.
Workaround: Take winemp3.acm.so from /usr/lib/wine on a 1.1.28 install, and put it in /usr/lib/wine on a 1.1.29 install.
http://bugs.winehq.org/show_bug.cgi?id=20277
--- Comment #1 from Vitaliy Margolen vitaliy@kievinfo.com 2009-10-06 08:22:50 --- What distro? How was the Wine installed?
http://bugs.winehq.org/show_bug.cgi?id=20277
--- Comment #2 from Vit Hrachovy vit.hrachovy@sandbox.cz 2009-10-12 16:12:03 --- Sorry, I cannot reproduce this.
I'm using Ubuntu 9.04 32-bit, Wine 1.1.31 and Alsa/Pulseaudio over Creative Labs SB Audigy soundcard. Wine installed from .deb package.
Will ask JFM Rivera for more details and try soundcard which doesn't do HW mixing.
http://bugs.winehq.org/show_bug.cgi?id=20277
--- Comment #3 from Vit Hrachovy vit.hrachovy@sandbox.cz 2009-10-13 07:37:56 --- AppDB user gersen who can see the issue too, reports that the 1.1.29 affected package was Slackware package from Sourceforge.
Following messages can be seen in wine output: fixme:quartz:ACMWrapper_ConnectInput acmStreamOpen returned 512
http://bugs.winehq.org/show_bug.cgi?id=20277
Andy personman_145@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |personman_145@hotmail.com
--- Comment #4 from Andy personman_145@hotmail.com 2009-12-10 15:39:42 --- I'm also experiencing issues I suspect are due to winemp3.acm.so missing in newer packages.
Running Kubuntu 9.10 amd64 here.
http://bugs.winehq.org/show_bug.cgi?id=20277
--- Comment #5 from Andy personman_145@hotmail.com 2009-12-10 15:53:53 --- (In reply to comment #4)
I'm also experiencing issues I suspect are due to winemp3.acm.so missing in newer packages.
Running Kubuntu 9.10 amd64 here.
Manually extracting the file winemp3.acm.so from a 1.1.28 package, and placing it in /usr/lib32/wine fixed the issue.
http://bugs.winehq.org/show_bug.cgi?id=20277
--- Comment #6 from Vitaliy Margolen vitaliy@kievinfo.com 2009-12-10 20:10:57 --- Wine's winemp3.acm.so require libmpg123 installed on your system. Did you do that?
http://bugs.winehq.org/show_bug.cgi?id=20277
--- Comment #7 from Vit Hrachovy vit.hrachovy@sandbox.cz 2009-12-11 00:40:29 --- I'm unable to reproduce the bug on Ubuntu 9.10 both with HW sound mixing (SB Audigy) over ALSA backend and with SW mixing by pulseaudio over simpler soundcard.
Using packages from http://wine.budgetdedicated.com Using both old wineprefix and clean new wineprefix.
Please try to satisfy all Wine dependencies by installing required packages and install the game in clean wineprefix to see if the problem appears again.
http://bugs.winehq.org/show_bug.cgi?id=20277
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|msacm32 |-unknown
--- Comment #8 from Dmitry Timoshkov dmitry@codeweavers.com 2009-12-11 02:46:27 --- Probaly the bug is either caused by a missing libmpg123 library, or by a packager who intentionally removed mp3 support.
In either case it's invalid.
http://bugs.winehq.org/show_bug.cgi?id=20277
--- Comment #9 from Andy personman_145@hotmail.com 2009-12-11 12:47:30 --- You should be able to reproduce the issue by doing the following:
Remove /usr/lib32/wine/winemp3.acm.so
Reinstall your wine package.
Performance will become horrible in oblivion, like 2 fps.
I hadn't considered the possibility that it may have been intentionally removed by the packager. Quite possible I suppose.
http://bugs.winehq.org/show_bug.cgi?id=20277
Klaus Doblmann klaus.doblmann@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |klaus.doblmann@gmail.com
--- Comment #10 from Klaus Doblmann klaus.doblmann@gmail.com 2009-12-13 08:02:55 --- I am on Ubuntu Karmic 32bit (ATI Radeon 2600XT+fglrx) and I'm experiencing the very same issues (music not playing + extreme slowdowns). I tried versions 1.1.31 (from the Ubuntu repos) and the latest 1.1.34 from launchpad with the same results. I then extracted the winemp3.acm.so from an old 1.1.28 Jaunty-Build and put it in /usr/lib/wine which fixed music playback but the extreme slowdowns still make the game unplayble.
http://bugs.winehq.org/show_bug.cgi?id=20277
--- Comment #11 from Klaus Doblmann klaus.doblmann@gmail.com 2009-12-13 08:21:17 --- Oh, I forgot to mention: On 1.1.34 Oblivion is _completely_ unusable for me as it fails to load old savegames (it hangs with the progress bar at about 1/3) and quits to the desktop.
http://bugs.winehq.org/show_bug.cgi?id=20277
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|http://appdb.winehq.org/obj | |ectManager.php?sClass=versi | |on&iId=7506 |
--- Comment #12 from Dmitry Timoshkov dmitry@codeweavers.com 2009-12-14 02:29:26 --- If this is a regression please perform a regression testing: http://wiki.winehq.org/RegressionTesting
http://bugs.winehq.org/show_bug.cgi?id=20277
Evgenij1@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |Evgenij1@hotmail.com
--- Comment #13 from Evgenij1@hotmail.com 2009-12-21 07:26:33 --- I can confirm this. For some reason there is no winemp3.acm.so in v 1.33 and 1.35, that I have installed in playonlinux shell for wine. Manually copying winemp3.acm.so to ~/.PlayOnLinux/WineVersions/1.1.35/usr/lib/wine fixed the issue with slowdown and loss of background music.
http://bugs.winehq.org/show_bug.cgi?id=20277
--- Comment #14 from Loïc Hoguin essen@dev-extend.eu 2009-12-28 11:33:23 --- Created an attachment (id=25426) --> (http://bugs.winehq.org/attachment.cgi?id=25426) Dirty patch to fix the background music and sound in Morrowind, Oblivion and possibly others
Experiencing the same issue with Morrowind, I investigated the cause of the bug in HEAD (31f3fa0773bafe0f495292fd978597f4dbc2d17a). The attached patch should work in any wine version since the introduction of libmpg123 though.
I found that the title music worked when issuing the following command: WINEDEBUG=+mpeg3 wine Morrowind
Upon further investigation I found an extra call to mpg123_getformat done only when TRACE was activated that made the sound work. This patch just run that function even when TRACE isn't activated. This probably isn't the real fix but I'm looking for some feedback before I look further into it.
It fixes the issue with Morrowind, I assume it's the same for Oblivion, though tell me if it doesn't fix Oblivion and I'll fill a separate report. It might also fix bug 21091.
Please apply this patch (or run the above command) and tell me if it works for you.
(Incidentally this patch also fixed my mouse going slow every few seconds.)
http://bugs.winehq.org/show_bug.cgi?id=20277
Loïc Hoguin essen@dev-extend.eu changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |essen@dev-extend.eu
--- Comment #15 from Loïc Hoguin essen@dev-extend.eu 2009-12-28 11:59:17 --- OK reading the documentation for libmpg123 it appears my patch is the correct behavior expected.
"Message: Output format will be different on next call. Note that some libmpg123 versions between 1.4.3 and 1.8.0 insist on you calling mpg123_getformat() after getting this message code. Newer verisons behave like advertised: You have the chance to call mpg123_getformat(), but you can also just continue decoding and get your data."
( http://www.mpg123.de/api/group__mpg123__error.shtml )
People on Ubuntu Karmic have 1.7.3 so that means mpg123_getformat *must* be called for them after getting that message code, otherwise the mp3 simply can't be read.
On newer versions a call to mpg123_getformat is essentially harmless according to the documentation, so there's no reasons not to call it.
http://bugs.winehq.org/show_bug.cgi?id=20277
netz@lytenyn.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1
--- Comment #16 from netz@lytenyn.de 2010-02-03 04:06:56 --- *** This bug has been confirmed by popular vote. ***
http://bugs.winehq.org/show_bug.cgi?id=20277
netz@lytenyn.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |netz@lytenyn.de
--- Comment #17 from netz@lytenyn.de 2010-02-10 01:59:18 --- This bug persists for me with wine 1.1.38. I do not have /usr/lib/winemp3.acm.so. The WINEDEBUG=+mpeg3 trick did not work for me. Oblivion is completely unplayable.
I am using wine on a 64bit Gentoo system, so this might also be a gentoo-specific bug. I will report this on the Gentoo bugtracker later. Perhaps you could tell me whether it is normal that /usr/lib/winemp3.acm.so is missing or not, so I can tell the Gentoo developers?
http://bugs.winehq.org/show_bug.cgi?id=20277
--- Comment #18 from Austin English austinenglish@gmail.com 2010-02-10 10:55:44 --- (In reply to comment #17)
This bug persists for me with wine 1.1.38. I do not have /usr/lib/winemp3.acm.so. The WINEDEBUG=+mpeg3 trick did not work for me. Oblivion is completely unplayable.
I am using wine on a 64bit Gentoo system, so this might also be a gentoo-specific bug. I will report this on the Gentoo bugtracker later. Perhaps you could tell me whether it is normal that /usr/lib/winemp3.acm.so is missing or not, so I can tell the Gentoo developers?
Presumably they're disabling mp3 support, possibly because of patent issues. Check is the '--without-mpg123' configure option is being used.
http://bugs.winehq.org/show_bug.cgi?id=20277
--- Comment #19 from netz@lytenyn.de 2010-02-10 15:45:21 --- Yes, thank you, I should have checked that before. Actually, they are disabling mp3 support on amd64 currently because of bug #20042. Sorry for spamming in this bug report.
http://bugs.winehq.org/show_bug.cgi?id=20277
no one lycanos@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |lycanos@hotmail.com
--- Comment #20 from no one lycanos@hotmail.com 2010-03-10 12:22:01 --- Even when using winemp3.acm.so from an earlier version I still get the following error in the terminal.
ALSA lib ../../../src/pcm/pcm.c:7075:(snd_pcm_recover) underrun occured
Occurs mainly when:
loading a game from the main menu load screen after fast travel load screen after exit to main menu (occurs twice)
This is wine 1.1.36 (Ubuntu 8.04 AMD64) from budgetdedicated All sounds will play but underrun still occurs.
With 1.1.38 from budgetdedicated there is only voices and music, no other sound.
Bug 20118 may be a duplicate.
http://bugs.winehq.org/show_bug.cgi?id=20277
James McKenzie jjmckenzie51@earthlink.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jjmckenzie51@earthlink.net
--- Comment #21 from James McKenzie jjmckenzie51@earthlink.net 2010-07-09 20:24:13 --- Duplicate of 20118. Please consolidate.
http://bugs.winehq.org/show_bug.cgi?id=20277
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |DUPLICATE
--- Comment #22 from Austin English austinenglish@gmail.com 2010-07-09 22:37:44 --- Dupe.
*** This bug has been marked as a duplicate of bug 20118 ***
http://bugs.winehq.org/show_bug.cgi?id=20277
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #23 from Austin English austinenglish@gmail.com 2010-07-09 22:37:50 --- Closing.