[Bug 31258] New: Could not initialize DirectSound...
http://bugs.winehq.org/show_bug.cgi?id=31258 Bug #: 31258 Summary: Could not initialize DirectSound... Product: Wine Version: 1.5.9 Platform: x86-64 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs(a)winehq.org ReportedBy: shuebnerfun01(a)gmx.org Classification: Unclassified Created attachment 41059 --> http://bugs.winehq.org/attachment.cgi?id=41059 log created with +tid,+mmdevapi,+winmm,+driver,+midi,+dsound,+dsound3d,+dmusic,+mci,+oss,+alsa,+coreaudio Starting with V1.5.8 I receive this error when starting a certain game via Steam: "Could not initialize DirectSound. Please be sure a sound card is installed and all drivers are up to date." The game had worked just a few days before (with 1.5.7). I have attached a logfile. I am on Ubuntu 12.04 x64. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=31258 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |regression CC| |aeikum(a)codeweavers.com --- Comment #1 from Austin English <austinenglish(a)gmail.com> 2012-07-19 16:49:39 CDT --- A regression test would be helpful: http://wiki.winehq.org/RegressionTesting -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=31258 --- Comment #2 from Stephan Huebner <shuebnerfun01(a)gmx.org> 2012-07-20 10:53:40 CDT --- Tried that regression test thing but didn't get it to work (due to the different steps needed for 64-bit systems), sorry. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=31258 --- Comment #3 from Rosanne DiMesio <dimesio(a)earthlink.net> 2012-07-20 11:34:25 CDT --- Are you using the Ubuntu 12.04 wine1.5 package? AFAIK, those are only available with the winepulse patch, and that would make this bug invalid. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=31258 --- Comment #4 from Stephan Huebner <shuebnerfun01(a)gmx.org> 2012-07-21 02:34:25 CDT --- (In reply to comment #3)
Are you using the Ubuntu 12.04 wine1.5 package? AFAIK, those are only available with the winepulse patch, and that would make this bug invalid.
Yes, I do. But the thing is that the bug didn't appear until Version 1.5.8. The game was working without problems with 1.5.7. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=31258 Rosanne DiMesio <dimesio(a)earthlink.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID --- Comment #5 from Rosanne DiMesio <dimesio(a)earthlink.net> 2012-07-21 05:34:24 CDT --- Marking invalid. Reopen if you can reproduce the problem with plain Wine. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=31258 --- Comment #6 from Andrew Eikum <aeikum(a)codeweavers.com> 2012-07-23 08:35:51 CDT --- This might still be invalid, but Stephan's log doesn't contain anything about the pulseaudio driver. In fact, he has his Wine set to only load the OSS driver. Stephan, are you intentionally using the OSS driver? Is that the audio system you are using on your operating system? What game are you trying to play? It seems to be trying to open an OSS device with a floating point format, but your OSS installation doesn't support that. What confuses me is how this worked in the past. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=31258 --- Comment #7 from Stephan Huebner <shuebnerfun01(a)gmx.org> 2012-07-23 15:30:39 CDT --- (In reply to comment #6)
This might still be invalid, but Stephan's log doesn't contain anything about the pulseaudio driver. In fact, he has his Wine set to only load the OSS driver.
Stephan, are you intentionally using the OSS driver? Is that the audio system you are using on your operating system?
What game are you trying to play? It seems to be trying to open an OSS device with a floating point format, but your OSS installation doesn't support that. What confuses me is how this worked in the past.
Yes, I'm intentionally using the OSS driver, which is what I have installed on Ubuntu. But I also have PulseAudio installed (it was needed for some native software to work). The game I was trying to play (via Steam) is "Nancy Drew: The Haunting of Castle Malloy". And I know for sure that it had worked just a few days ago (also, I'm pretty sure it was with V1.5.7 where I still got sound working correctly. It must have been one of the V1.5.x-series as I have had that installed for quite some time.) -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=31258 --- Comment #8 from Andrew Eikum <aeikum(a)codeweavers.com> 2012-07-24 09:37:38 CDT --- Could you try downgrading to whichever 1.5.x version that worked and attaching another log? Then we can find what changed to make it break. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=31258 Andrew Eikum <aeikum(a)codeweavers.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |UNCONFIRMED Resolution|INVALID | --- Comment #9 from Andrew Eikum <aeikum(a)codeweavers.com> 2012-07-24 10:18:14 CDT --- Reopening for now because the PA driver doesn't appear to be involved. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=31258 --- Comment #10 from Stephan Huebner <shuebnerfun01(a)gmx.org> 2012-07-24 14:11:41 CDT --- (In reply to comment #8)
Could you try downgrading to whichever 1.5.x version that worked and attaching another log? Then we can find what changed to make it break.
That is what I have tried, but the only package I can install via the PPA is 1.5.9 and I don't know how to compile the source so that it uses my regular .wine-folder with the installed game. The instructions found at the link posted above only describe a procude involving chroot for 64 bit systems (I am using Ubunut 64 bit). -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=31258 --- Comment #11 from Stephan Huebner <shuebnerfun01(a)gmx.org> 2012-08-06 10:17:46 CDT --- Seems as if this is an issue for other games as well, so something seems definitely broken in 1.5.x (probably starting, as I said before, with 1.5.8). I tried out the game "Syberia" via Steam as well. And while V1.4.1 of Wine produces sound and a black screen only (game unplayable), with Wine V1.5.10, I get these error messages: "DirectX Sound Engine Initialization Failed" and "Your sound card is not available or it is nonexistent. Make sure your sound card is not in use by another application before running Syberia." Also, I get a Windows-style message about the app encountering a serious problem and needing to close after those two messages. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=31258 --- Comment #12 from Stephan Huebner <shuebnerfun01(a)gmx.org> 2012-08-06 10:22:18 CDT --- Created attachment 41296 --> http://bugs.winehq.org/attachment.cgi?id=41296 Bash-Output, running game Syberia via Steam and Wine 1.5.10 -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=31258 --- Comment #13 from Andrew Eikum <aeikum(a)codeweavers.com> 2012-08-06 10:26:09 CDT --- Can you get a log with the channels from <http://wiki.winehq.org/Sound> with any Wine version that produces sound? -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=31258 --- Comment #14 from Stephan Huebner <shuebnerfun01(a)gmx.org> 2012-08-06 11:00:38 CDT --- Created attachment 41297 --> http://bugs.winehq.org/attachment.cgi?id=41297 Output with channels as described on http://wiki.winehq.org/Sound log created with channels: +dmime,+dmloader,+dmfile,+dmfileraw,+dmdump,+dmband,+dmusic,+dmcompos,+dmscript,+dmstyle,+dmsynth,+dmusic32,+dswave -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=31258 --- Comment #15 from Andrew Eikum <aeikum(a)codeweavers.com> 2012-08-06 11:10:59 CDT --- Not those channels :) You want the ones in the bullet point. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=31258 --- Comment #16 from Stephan Huebner <shuebnerfun01(a)gmx.org> 2012-08-06 12:17:30 CDT --- The log with channels: +tid,+mmdevapi,+winmm,+driver,+midi,+dsound,+dsound3d,+dmusic,+mci,+oss,+alsa,+coreaudio Running game Syberia via Steam on Wine V1.4.1 As the log got very big I couldn't include it as an attachment but have to use a link: https://www.dropbox.com/s/aipw9ctf3z97erl/output.txt -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=31258 --- Comment #17 from Andrew Eikum <aeikum(a)codeweavers.com> 2012-08-06 12:42:32 CDT --- Created attachment 41299 --> http://bugs.winehq.org/attachment.cgi?id=41299 Wine 1.4.1 log Perfect, thanks. I'm attaching it here gzipped. I'll take a close look as soon as I can and let you know if I need anything else. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=31258 Andrew Eikum <aeikum(a)codeweavers.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID --- Comment #18 from Andrew Eikum <aeikum(a)codeweavers.com> 2012-08-28 09:17:04 CDT --- Okay, turns out this is invalid after all, but not because of the PulseAudio driver directly. Your distro's Wine package also makes modifications to dsound, which are causing this bug. Please use unmodified Wine or take up the issue with your package maintainer. (The issue in your modified dsound is that DSOUND_ReopenDevice() relies on IAC_IsFormatSupported() returning a valid "preferred" format, which it doesn't always.) -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=31258 --- Comment #19 from Stephan Huebner <shuebnerfun01(a)gmx.org> 2012-08-29 08:27:14 CDT --- (In reply to comment #18)
Okay, turns out this is invalid after all, but not because of the PulseAudio driver directly. Your distro's Wine package also makes modifications to dsound, which are causing this bug. Please use unmodified Wine or take up the issue with your package maintainer.
(The issue in your modified dsound is that DSOUND_ReopenDevice() relies on IAC_IsFormatSupported() returning a valid "preferred" format, which it doesn't always.)
Thanks for the help, but I don't quite understand how I can solve this or what causes the problem. Is this something that could *only* be caused by the package maintainer or possibly by something I did (via some kind of preferences-setting)? Or does "unmodiefid wine" mean to do a clean wine-install, getting rid of all preferences? -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=31258 --- Comment #20 from Andrew Eikum <aeikum(a)codeweavers.com> 2012-08-29 08:50:21 CDT --- "Unmodified Wine" means the version of Wine that we distribute from winehq.org. Your distribution's package maintainer has taken the Wine source code, made modifications to it, and released it to you through your distribution's package manager. The modifications that have been made to Wine by your package manager are causing this problem. It's not a settings or end-user configuration problem. You should open a bug with your distribution, or somehow contact your Wine package maintainer and let them know about this bug. I described the problem in comment 18, so it shouldn't be too difficult for them to track it down and fix it. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=31258 Maarten Lankhorst <m.b.lankhorst(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED CC| |m.b.lankhorst(a)gmail.com --- Comment #21 from Maarten Lankhorst <m.b.lankhorst(a)gmail.com> 2012-09-07 06:22:21 CDT --- Thanks, sorry for the bug, my dsound modifications attempt to aggressively use float to reduce mixing overhead, the patch below tests if float is actually available before using it and should be incorporated in the next ubuntu wine ppa release. diff --git a/dlls/dsound/primary.c b/dlls/dsound/primary.c index ddd41ae..1869c8e 100644 --- a/dlls/dsound/primary.c +++ b/dlls/dsound/primary.c @@ -91,10 +91,18 @@ HRESULT DSOUND_ReopenDevice(DirectSoundDevice *device, BOOL forcewave) } if (!IsEqualGUID(&wfe->SubFormat, &KSDATAFORMAT_SUBTYPE_IEEE_FLOAT)) { + WAVEFORMATEXTENSIBLE wfe3 = *wfe; + wfe->SubFormat = KSDATAFORMAT_SUBTYPE_IEEE_FLOAT; w->wBitsPerSample = 32; wfe->Samples.wValidBitsPerSample = 0; + if (FAILED(IAudioClient_IsFormatSupported(device->client, AUDCLNT_SHAREMODE_SHARED, &wfe->Format, (WAVEFORMATEX**)&wfe2))) + *wfe = wfe3; + else if (wfe2) + *wfe = *wfe2; + CoTaskMemFree(wfe2); + wfe2 = NULL; } w->nBlockAlign = w->nChannels * w->wBitsPerSample / 8; w->nAvgBytesPerSec = w->nBlockAlign * w->nSamplesPerSec; -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=31258 Sylvain Petreolle <spetreolle(a)yahoo.fr> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |spetreolle(a)yahoo.fr -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
participants (1)
-
wine-bugs@winehq.org