http://bugs.winehq.org/show_bug.cgi?id=11519
Summary: All Applications: OSS sound will not function Product: Wine Version: unspecified Platform: Other OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: jason.bogstie@gmail.com
When I launch any application in wine I get the following in my console:
This sound card's driver does not support direct access The (slower) DirectSound HEL mode will be used instead.
There is no sound in my applications and games.
I am using wine-0.9.55 with Fedora Core 8 my sound card is a Sound Blaster Audigy LS
http://bugs.winehq.org/show_bug.cgi?id=11519
Lei Zhang thestig@google.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|unspecified |0.9.55.
--- Comment #1 from Lei Zhang thestig@google.com 2008-02-11 18:44:55 --- please attach the out from the console, if any.
http://bugs.winehq.org/show_bug.cgi?id=11519
--- Comment #2 from Jason Bogstie jason.bogstie@gmail.com 2008-02-11 21:09:51 --- Well that was what was in my console, but here is a little more:
fixme:process:SetProcessShutdownParameters (00000100, 00000000): partial stub. err:dscapture:widDsCreate DirectSoundCapture flag not set This sound card's driver does not support direct access The (slower) DirectSound HEL mode will be used instead. fixme:dbghelp:dump_system_info fill in CPU vendorID and feature set fixme:dbghelp:fetch_thread_info Couldn't open thread 38 (87) fixme:shdocvw:ViewObject_SetAdvise (0xfd49270)->(1 00000002 0x13ce1c8) fixme:shdocvw:PersistStreamInit_InitNew (0xfd49270) fixme:shdocvw:WebBrowser_put_RegisterAsBrowser (0xfd49270)->(ffffffff) fixme:shdocvw:WebBrowser_put_RegisterAsDropTarget (0xfd49270)->(ffffffff) fixme:shdocvw:ViewObject_SetAdvise (0xfd494f0)->(1 00000002 0x13ce230) fixme:shdocvw:PersistStreamInit_InitNew (0xfd494f0) fixme:shdocvw:WebBrowser_put_RegisterAsBrowser (0xfd494f0)->(ffffffff) fixme:shdocvw:WebBrowser_put_RegisterAsDropTarget (0xfd494f0)->(ffffffff) fixme:win:SetLayeredWindowAttributes (0x2002a,0x00000000,0,2): stub!
http://bugs.winehq.org/show_bug.cgi?id=11519
--- Comment #3 from Vitaliy Margolen vitaliy@kievinfo.com 2008-02-11 21:17:29 --- What does the following command say? sudo lsof /dev/snd/pcm* /dev/dsp
http://bugs.winehq.org/show_bug.cgi?id=11519
--- Comment #4 from Jason Bogstie jason.bogstie@gmail.com 2008-02-11 21:20:14 --- I had to run the command as root, here is what it says:
[root@localhost ~]# sudo lsof /dev/snd/pcm* /dev/dsp COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME pulseaudi 2823 jbogstie mem CHR 116,11 3662 /dev/snd/pcmC0D0p pulseaudi 2823 jbogstie 31u CHR 116,11 3662 /dev/snd/pcmC0D0p
http://bugs.winehq.org/show_bug.cgi?id=11519
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID
--- Comment #5 from Vitaliy Margolen vitaliy@kievinfo.com 2008-02-11 21:23:25 --- Invalid. You running program that uses sound. OSS has number of limitations that Wine can't do nothing about. Kill all sound using programs and try again. Reopen if you still having problems with sound.
http://bugs.winehq.org/show_bug.cgi?id=11519
Jason Bogstie jason.bogstie@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |UNCONFIRMED Resolution|INVALID |
--- Comment #6 from Jason Bogstie jason.bogstie@gmail.com 2008-02-11 22:04:14 --- I opened a new terminal and ran sudo lsof /dev/snd/pcm* /dev/dsp Nothing prints in the console now for some reason, so I retested an application in wine to see if sound worked and it does not work, I still get
This sound card's driver does not support direct access The (slower) DirectSound HEL mode will be used instead.
and no sound.
Reopening bug, this is still an issue.
http://bugs.winehq.org/show_bug.cgi?id=11519
Clerc Mathias tlarhices@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |tlarhices@gmail.com
--- Comment #7 from Clerc Mathias tlarhices@gmail.com 2008-02-11 22:07:57 --- Seems like you are using OSS emulation through pulseaudio and not pure OSS.
Try to launch wine with the following command : padsp wine appname.exe
Instead of wine appname.exe
If this solve the problem, then this is a known pulseaudio OSS emulation defect and not a wine bug.
http://bugs.winehq.org/show_bug.cgi?id=11519
--- Comment #8 from Jason Bogstie jason.bogstie@gmail.com 2008-02-11 22:17:25 --- I tried that command and the same thing prints in my console and I now cannot get the programs to run at all. They hang for a period of time then crash.
When I relaunch the program without using that command the program launches and there is still no sound.
http://bugs.winehq.org/show_bug.cgi?id=11519
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |trivial
--- Comment #9 from Vitaliy Margolen vitaliy@kievinfo.com 2008-02-11 22:31:33 --- (In reply to comment #6)
I opened a new terminal and ran sudo lsof /dev/snd/pcm* /dev/dsp Nothing prints in the console now for some reason, so I retested an application in wine to see if sound worked and it does not work, I still get
That's not what I said. You have to _KILL_ pulseaudio. It uses ALSA devices in exclusive mode. That prevents ALSA from giving those devices to any other program. This is not Wine problem - take it to your distro.
The messages printed has nothing to do with not having sound. They just indicate that you do not have direct access to OSS device (as is the case with ALSA->OSS emulation).
Also you should not need to use OSS anyway. It's emulated by ALSA and does not provide full functionality.
http://bugs.winehq.org/show_bug.cgi?id=11519
Jason Bogstie jason.bogstie@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |WORKSFORME
--- Comment #10 from Jason Bogstie jason.bogstie@gmail.com 2008-02-12 02:15:58 --- I switched wine over to ALSA instead of OSS and my sound works now, my only concern will come from programs I have, like CS:S that don't work with ALSA and wine. I tried all kinds of nonsense with Pulseaudio and I got tired of it, I am gonna stick with ALSA for as long as I can.
Resolving Bug.
http://bugs.winehq.org/show_bug.cgi?id=11519
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|WORKSFORME |INVALID
--- Comment #11 from Dmitry Timoshkov dmitry@codeweavers.com 2008-02-12 02:32:45 --- Then this bug is invalid.
http://bugs.winehq.org/show_bug.cgi?id=11519
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #12 from Dmitry Timoshkov dmitry@codeweavers.com 2008-02-12 02:32:57 --- Closing.