LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-15-2007, 10:02 PM   #1
kryptobs2000
Member
 
Registered: Dec 2003
Distribution: Slackware
Posts: 306

Rep: Reputation: 30
wine sound problems


Hey guys, wine works fine except for this one problem. I'm using alsa which I have no problems with other than in wine. Whenever I run something that uses sound I get this output:

Code:
convertConfigAttrib: no WSI_CONFIG_ATTRIB_AUX_BUFFERS
fixme:wave:ALSA_ComputeCaps Device has a minimum of 2 channels
err:alsa:ALSA_CheckSetVolume Could not find 'PCM Playback Volume' element
fixme:wave:ALSA_ComputeCaps Device has a minimum of 2 channels
err:alsa:ALSA_CheckSetVolume Could not find 'PCM Playback Volume' element
ALSA lib seq_hw.c:457:(snd_seq_hw_open) open /dev/snd/seq failed: No such file or directory
fixme:mixer:ALSA_MixerInit No master control found on CA0106, disabling mixer

Last edited by kryptobs2000; 10-15-2007 at 10:03 PM.
 
Old 10-15-2007, 10:17 PM   #2
matthewg42
Senior Member
 
Registered: Oct 2003
Location: UK
Distribution: Kubuntu 12.10 (using awesome wm though)
Posts: 3,530

Rep: Reputation: 65
Do you have some program which has "grabbed" the soundcard? Typically this means older applications which use the OSS driver. Often if you run a sound server like esd, this can prevent some applications using the soundcard.
 
Old 10-15-2007, 11:17 PM   #3
kryptobs2000
Member
 
Registered: Dec 2003
Distribution: Slackware
Posts: 306

Original Poster
Rep: Reputation: 30
I don't think any program is grabbing the sound, how do could I find out? Sound used to work fine and then I tried running counter-strike source and it stopped working. I've since recompiled wine, and I know wine is working ok, except for this problem. The only think I have tried running that uses sound is cs:s however. I've also gotten cs:s working before so I don't need help doing that, I'm just trying to focus on fixing this sound issue.
 
Old 10-15-2007, 11:56 PM   #4
matthewg42
Senior Member
 
Registered: Oct 2003
Location: UK
Distribution: Kubuntu 12.10 (using awesome wm though)
Posts: 3,530

Rep: Reputation: 65
A common culprit is esd (the enlightenment sounds daemon), which is sometimes started by apps without asking, and if your soundcard is not already in use, it will grab it and get in the way of the programs.

To see if esd is running, open a terminal and enter this command:

Code:
ps aux |grep esd |grep -v grep
This will list esd processes (and anything else which is running and has the letters "esd" in the name).
 
Old 10-16-2007, 03:12 PM   #5
kryptobs2000
Member
 
Registered: Dec 2003
Distribution: Slackware
Posts: 306

Original Poster
Rep: Reputation: 30
Nope esd is not running. Esd is a part of kde right? I'm just using slackware with only xfce installed. No gnome or kde, so most likely I have none of the associated packages either, unless I needed them at some point as a dependency for something else I may have installed them.
 
Old 10-16-2007, 04:02 PM   #6
matthewg42
Senior Member
 
Registered: Oct 2003
Location: UK
Distribution: Kubuntu 12.10 (using awesome wm though)
Posts: 3,530

Rep: Reputation: 65
esd was originally written for use with the Enlightenment desktop - the name is formed from the initials of "Enlightenment Sound Daemon". Several other projects use it. Personally I think all sound daemons are more trouble than they are worth, and I prefer to not use any of them.

Another way to check if some process has the OSS sound driver opened (and potentially blocking other apps) is to use lsof like this:
Code:
sudo lsof |grep /dsp
For example, when I run Real Player it grabs the sound card device /dev/dsp:
Code:
sudo lsof |grep dsp 
realplay. 6041 matthew 5w CHR 14,3 13491 /dev/dsp
Here you can see that the realplay process with PID 6041 is using the OSS driver via the special device file /dev/dsp. See if you get any results this way. If not then it is probably not the OSS/blocking problem.
 
Old 10-16-2007, 04:17 PM   #7
kryptobs2000
Member
 
Registered: Dec 2003
Distribution: Slackware
Posts: 306

Original Poster
Rep: Reputation: 30
well nope, nothing seems to be grabbing the soundcard. You don't have any other ideas do you? I'll try recompiling wine and alsa after I get home from class tonight, maybe that will fix something, or at least better help me track down any errors.
 
Old 10-16-2007, 04:28 PM   #8
matthewg42
Senior Member
 
Registered: Oct 2003
Location: UK
Distribution: Kubuntu 12.10 (using awesome wm though)
Posts: 3,530

Rep: Reputation: 65
My only idea is rather vague, and that is that maybe you don't have the right driver for your sound card (loaded). If you can identify the sound card and/or it's chip set, google may help to identify the driver. Maybe it's just a matter of loading the right module with modprobe. lspci might help here.
 
Old 10-16-2007, 09:57 PM   #9
kryptobs2000
Member
 
Registered: Dec 2003
Distribution: Slackware
Posts: 306

Original Poster
Rep: Reputation: 30
no, my soundcard definitely has the right driver loaded I know. Like I said it works flawlessly other than in wine, and it even used to work with wine but got broken somehow. I just got home, I gotta do some reading, but afterwards I'm going to try and start over and see if I can figure out what the problem is. Thanks again for the help though man.
 
Old 10-16-2007, 10:04 PM   #10
matthewg42
Senior Member
 
Registered: Oct 2003
Location: UK
Distribution: Kubuntu 12.10 (using awesome wm though)
Posts: 3,530

Rep: Reputation: 65
Ah yes of course. Well, I'm stumped. Sorry I couldn't be more help. Good luck!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
(Wine 0.9.20) No sound - incorrect sound card in winecfg Zaulden Linux - Games 1 09-03-2006 09:31 PM
Link targets - problems with Wine (Though not Wine specific - Wine site doesn't help) Kevjml Linux - Newbie 1 01-13-2006 07:53 AM
Sound problems Starcraft/Wine on FC4 yeela Linux - Games 6 11-05-2005 09:08 AM
sound problems and wine sound problems derfaust Linux - Software 1 07-23-2004 03:45 AM
wine sound playback speed, (slow motion sound) qwijibow Linux - Software 2 06-04-2004 09:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:02 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration