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.