http://bugs.winehq.org/show_bug.cgi?id=21774
Summary: Perfect World International: sometimes audio is missing Product: Wine Version: 1.1.38 Platform: x86 URL: http://pwi.perfectworld.com/download OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: pq@iki.fi
Created an attachment (id=26330) --> (http://bugs.winehq.org/attachment.cgi?id=26330) debug output when sound fails
Perfect World International client.
The game is started by running the launcher. A window is shown, where the game checks the client version and updates it if needed. Then click "start", at which point I always hear the clicking sound just fine. The actual game loads and presents a dialog of game information. Click "Confirm" and you should hear another clicking sound. Sometimes I hear nothing, and the whole game will be completely silent.
It seems fairly random, if I get sound or not. If sound is missing, it is unlikely that restarting the game fixes it. A reboot seems to have a better chance to get it working. I am guessing this a race between the patcher and the game, and disk caches affect it. Dropping disk caches improves the probability to get sound.
I've attached a debug log of a case where sound is missing: pwi-debug.txt. The command was: LC_ALL="C" WINEDEBUG="+alsa,+dsalsa,+ds,+dsa,+dsound,+sound,+dsound3d,+dswave,+exec,+winmm" wine 'C:\pelit\pwi\launcher\Launcher.exe' &> pwi-debug.txt
The relevant part seems to be:
ALSA lib pcm_dmix.c:1008:(snd_pcm_dmix_open) unable to open slave fixme:dsalsa:IDsDriverImpl_Open Failed to open device: Device or resource busy warn:dsalsa:IDsDriverImpl_Open --> 80004005 warn:dsound:DirectSoundDevice_Initialize DSOUND_ReopenDevice failed: 80004005
When that happens, there will be no sound in the game. Note, that the launcher (patcher?) always succeeds in playing the click sound just fine. I have no other audio applications running. I have not used winetricks.
More of my PWI experiences are in AppDB: http://appdb.winehq.org/objectManager.php?sClass=version&iId=9923 written by Pekka Paalanen.
This bug has been present from at least 1.1.34.
http://bugs.winehq.org/show_bug.cgi?id=21774
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download
http://bugs.winehq.org/show_bug.cgi?id=21774
--- Comment #1 from Pekka Paalanen pq@iki.fi 2010-02-27 10:20:53 --- Changing the Wine sound driver from ALSA to OSS seems to work around this specific problem. Sounds play, but there are completely different sound problems (off-topic).
Wine ALSA has dmix:0 as the device, and the hardware sound driver is snd-hda-intel (ICH9) family).
Btw., currently PWI (version 283) has a bug, which crashes the game, when it tries to play certain sound effects and the sound init has failed. It is a regression in PWI and reported here: http://pwi-forum.perfectworld.com/showthread.php?t=628262
http://bugs.winehq.org/show_bug.cgi?id=21774
Pekka Paalanen pq@iki.fi changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|1.1.38 |1.1.40
--- Comment #2 from Pekka Paalanen pq@iki.fi 2010-03-12 03:11:43 --- The problem persists in Wine 1.1.40, and not only with the Wine ALSA driver.
Today's tests: 1. fresh boot 2. set Wine to use ALSA audio 3. The problem exists in PWI. 4. set Wine to use OSS audio. 5. The problem exists in PWI. 6. clear caches: echo 2 > /proc/sys/vm/drop_caches 7. No problem in PWI (for this run).
Quite bizarre.
The definition of the problem still is: sound works in the launcher, but does not work in the actual game.
The "completely different sound problems" mentioned in my previous comment were due to settings in game, therefore irrelevant. OSS audio, when it happens to work, works well. OSS audio is provided by the ALSA emulation layer in kernel.
http://bugs.winehq.org/show_bug.cgi?id=21774
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|1.1.40 |1.1.38
--- Comment #3 from Vitaliy Margolen vitaliy@kievinfo.com 2010-03-12 08:29:15 --- Please don't change original reported Wine version.
http://bugs.winehq.org/show_bug.cgi?id=21774
Ian iyeru42@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |iyeru42@gmail.com
--- Comment #4 from Ian iyeru42@gmail.com 2010-05-11 03:36:15 --- Just to let you know, it also happens on Windows, VERY, VERY rarely. One time in Orchid Temple, the music just cut out, and I had to go to another area to restart it. (Sound effects still worked.)
http://bugs.winehq.org/show_bug.cgi?id=21774
--- Comment #5 from Pekka Paalanen pq@iki.fi 2010-05-12 14:09:54 --- (In reply to comment #4)
Just to let you know, it also happens on Windows, VERY, VERY rarely. One time in Orchid Temple, the music just cut out, and I had to go to another area to restart it. (Sound effects still worked.)
No, that sounds a completely different issue: - I never listen to the game music, I have it turned to zero, so I would not know if it was missing. - I am referring to all sounds, particularly the effects. - If sound works in the beginning, it will not fail during game play. - If sound does not work in the beginning, it will not come back while being in the game.
Btw. in the 300-series of game versions the "crash when no audio" bug has been resolved. If audio is missing, the game still works (again).
http://bugs.winehq.org/show_bug.cgi?id=21774
Raymond superquad.vortex2@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |superquad.vortex2@gmail.com
--- Comment #6 from Raymond superquad.vortex2@gmail.com 2010-09-16 02:02:45 CDT --- (In reply to comment #1)
Changing the Wine sound driver from ALSA to OSS seems to work around this specific problem. Sounds play, but there are completely different sound problems (off-topic).
Wine ALSA has dmix:0 as the device, and the hardware sound driver is snd-hda-intel (ICH9) family).
Btw., currently PWI (version 283) has a bug, which crashes the game, when it tries to play certain sound effects and the sound init has failed. It is a regression in PWI and reported here: http://pwi-forum.perfectworld.com/showthread.php?t=628262
unlike intel8x0 only support S16_LE , if you use dmix with hda-intel, it select S32_LE instead of S16_LE
you will need to use plug:dmix:0
http://bugs.winehq.org/show_bug.cgi?id=21774
--- Comment #7 from butraxz@gmail.com 2013-06-09 11:19:52 CDT --- This has not been updated for over 900 days.
Is this still an issue in 1.6-rc1 or higher or is this abandoned ?
http://bugs.winehq.org/show_bug.cgi?id=21774
--- Comment #8 from Pekka Paalanen pq@iki.fi 2013-06-09 14:13:40 CDT --- This is not an issue for me anymore, the report can be closed.
I am using wine 1.2.3 to play PWI, and wine 1.5.30 to run PWI's updater, and I have not seen the sound problems for years. Although, I have not had the machine I filed this bug from for years, either.
http://bugs.winehq.org/show_bug.cgi?id=21774
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |FIXED
--- Comment #9 from Austin English austinenglish@gmail.com 2013-06-09 20:51:18 CDT --- Assuming fixed.
http://bugs.winehq.org/show_bug.cgi?id=21774
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #10 from Alexandre Julliard julliard@winehq.org 2013-06-14 13:25:14 CDT --- Closing bugs fixed in 1.6-rc2.