Can't play sound from multiple programs
So I have this new shiny box running Arch64 with a ASRock N68-S motherboard. I installed alsa and I am able to play music just fine using amarok or mpd. However, when I try playing two sounds at once, there is a short pause and the first program becomes silent, and then the second kicks in.
According to the wiki, dmix should work automatically with this version of alsa. I tried seting up dmix "the old way" using /etc/asound.conf (hey, you never know) but no luck either.
Lspci lists my card as
00:05.0 Audio device: nVidia Corporation MCP61 High Definition Audio (rev a2)
I figured this was a bit vague and went to the manufacturer's site and found out the actual name is
5.1 CH Windows® Vista™ Premium Level HD Audio (Realtek ALC662 / VIA® VT1708S / VT1705 Audio Codec)
The Alsa wiki suggests to test dmix using these instructions but this simple test fails miserably, alsaplayer windows show up and complain "no stream found". So it seems and one of the unlucky few for which dmix doesn't just work.
However, OSS4 works with hardly no setup. But I just don't want to use it since most applications aren't OSS-aware, there is no KDE integration and so on.
What sould I do? I'd happy to report a bug upstream if necessary but I realised audio in Linux is way more complicated than previously thought and I'd rather make sure I haven't over looked something. I'm so confused I can't tell what my actual soundcard vendor is: nVidia, Realtek or Via?
edit: oh and of course, nothing of interest in /var/log/everything.log
Thanks!
Last edited by eldalion (2010-02-21 17:28:53)
eldalion wrote:I tried seting up dmix "the old way" using /etc/asound.conf (hey, you never know) but no luck either.
Not necessary. ALSA supports dmix by default. Don't edit that file.
Let me explain what's happening. mpd has a stupid default config, of using OSS rather than ALSA. And OSS screws up dmix.
For example, my ~/.mpdconf is:
music_directory "~/gnutella/downloads/Cool"
playlist_directory "~/.mpd/playlists"
db_file "~/.mpd/mpd.db"
log_file "~/.mpd/mpd.log"
error_file "~/.mpd/mpd.error"
audio_output {
type "alsa"
name "Sound Card"
options "dev=dmixer"
device "plug:dmix"
Try that, to prove to yourself that I'm right Also use this good debugging command, from the same ALSA wiki entry (because I put it there):
fuser -v /dev/snd/* /dev/dsp*
eldalion wrote:What should I do?
Step 1: File a bug with your distro, for the app (mpd) to default to ALSA instead of OSS. Defaulting to OSS these days is ridiculous - ALSA is the standard sound system in Linux, and that's not gonna change.
Please do this. I'm not doing this, because I don't use Arch or mpd any more.
Step 2: File a bug upstream, to default to ALSA instead of OSS.
Edit: I notice that Ubuntu has the right idea:
* Update mpd.conf from upstream
- Configure an ALSA output by default
Last edited by brebs (2010-02-23 07:56:16)
Similar Messages
-
Satellite L50-A-19N can't play audio from multiple sources
I can't play audio from multiple sources. This is very annoying when I have 2 youtube videos playing, if I start playing something on the media player, there is no sound on media player, it's the same when I have 2 media players open and 1 youtube video playing, youtube video doesn't have sound..
It goes away when I plug out my headphones..
I already have all the latest drivers, last DTS driver update was in 2014, sound update this year's february..
25/02/14
DTS Studio Sound
DTS Inc.
Windows 8.1 - 64 Bit
1.01.2700
I don't know if this makes sense, but I got newer DTS sound driver which I found, It's not my laptop model, but they all seem to be the same - v1.1.88.0
I uninstalled DTS software and still had the same problem, so it's not affecting sound driver in any way..
10/02/15
Sound Driver
Integrated Device Technology Inc.
Windows 8.1 - 64 Bit
6.10.6491.0
IDT audio driver has newer release date, but the driver version is the same as the 2013 one..
Why are toshiba releaseing old driver as 'NEW' ?
2nd is my speakers advanced settings, nothing changed when I disabled "Allow applications to take exclusive control of this device"I see that the option called “give exclusive mode applications priority” has been checked.
Usually different applications and programs can access the sound card simultaneously.
For example: you can hear the sound in game, while you can run your own music via an external player.
This is prevented with these options “give exclusive mode applications priority”.
Maybe you should disable (uncheck) this option to prevent the different applications for using this exclusive mode stream.
I did it for my DAC. I set the DAC for exclusive mode. Once my audio playback software starts to play music, no other software is able to share the DAC.
However, I use Win 7 and Realtek sound driver… It’s another configuration.
So it’s not known to me if your issue is related Win 8.1 system or maybe limitation of sound driver… it could be also possible that one of your sound applications don’t allow multiple sound streaming. -
Satellite L-50 can't play audio from multiple sources
I can't play audio from multiple sources. This is very annoying when I have 2 youtube videos playing, if I start playing something on the media player, there is no sound on media player, it's the same when I have 2 media players open and 1 youtube video playing, youtube video doesn't have sound..
I already have all the latest drivers, last DTS driver update was in 2014, sound update this year's february..
25/02/14
DTS Studio Sound
DTS Inc.
Windows 8.1 - 64 Bit
1.01.2700
I don't know if this makes sense, but I got newer DTS sound driver which I found, It's not my laptop model, but they all seem to be the same - v1.1.88.0
I uninstalled DTS software and still had the same problem, so it's not affecting sound driver in any way..
10/02/15
Sound Driver
Integrated Device Technology Inc.
Windows 8.1 - 64 Bit
6.10.6491.0
IDT audio driver has newer release date, but the driver version is the same as the 2013 one..
Why are toshiba releaseing old driver as 'NEW' ?
2nd is my speakers advanced settings, nothing changed when I disabled "Allow applications to take exclusive control of this device"
Attachments:
audio.png 6 KB
test2.png 7 KB
specs.png 16 KBCan you check the full model and part number from the laptop?
- Peter -
Playing sound from multiple applications?
Hi, I recently started using Arch and I'm loving it but I have one problem. My ALSA can only play sound from one application at a time, so I have to use pulseaudio for the others. But pulseaudio doesn't recognize my mic so I can't remove ALSA. ALSA just says "device busy" or something. And yes I tried to search before posting but didn't find an answer.
ThanksThis is what I found from the logs:
Jul 18 21:38:34 arch pulseaudio[946]: alsa-sink.c: ALSA woke us up to write new data to the device, but there was actually nothing to write!
Jul 18 21:38:34 arch pulseaudio[946]: alsa-sink.c: Most likely this is a bug in the ALSA driver 'snd_hda_intel'. Please report this issue to the ALSA developers.
Jul 18 21:38:34 arch pulseaudio[946]: alsa-sink.c: We were woken up with POLLOUT set -- however a subsequent snd_pcm_avail() returned 0 or another value < min_avail.
Jul 19 00:53:54 arch pulseaudio[946]: alsa-sink.c: Error opening PCM device front:0: Device or resource busy
Jul 19 00:53:54 arch pulseaudio[946]: alsa-sink.c: Error opening PCM device front:0: Device or resource busy
Jul 19 21:59:22 arch pulseaudio[963]: alsa-sink.c: ALSA woke us up to write new data to the device, but there was actually nothing to write!
Jul 19 21:59:22 arch pulseaudio[963]: alsa-sink.c: Most likely this is a bug in the ALSA driver 'snd_hda_intel'. Please report this issue to the ALSA developers.
Jul 19 21:59:22 arch pulseaudio[963]: alsa-sink.c: We were woken up with POLLOUT set -- however a subsequent snd_pcm_avail() returned 0 or another value < min_avail.
Jul 20 02:35:47 arch pulseaudio[963]: alsa-sink.c: Error opening PCM device front:0: Device or resource busy
Jul 20 02:35:47 arch pulseaudio[963]: alsa-sink.c: Error opening PCM device front:0: Device or resource busy
Jul 20 12:22:05 arch pulseaudio[981]: alsa-sink.c: Error opening PCM device front:0: Device or resource busy
Jul 20 12:22:05 arch pulseaudio[981]: alsa-sink.c: Error opening PCM device front:0: Device or resource busy
Jul 20 12:22:05 arch pulseaudio[981]: alsa-sink.c: Error opening PCM device front:0: Device or resource busy
Jul 21 01:25:49 arch pulseaudio[953]: alsa-sink.c: ALSA woke us up to write new data to the device, but there was actually nothing to write!
Jul 21 01:25:49 arch pulseaudio[953]: alsa-sink.c: Most likely this is a bug in the ALSA driver 'snd_hda_intel'. Please report this issue to the ALSA developers.
Jul 21 01:25:49 arch pulseaudio[953]: alsa-sink.c: We were woken up with POLLOUT set -- however a subsequent snd_pcm_avail() returned 0 or another value < min_avail.
Jul 21 14:33:44 arch pulseaudio[973]: alsa-sink.c: Error opening PCM device front:0: Device or resource busy
Jul 21 14:33:44 arch pulseaudio[973]: alsa-sink.c: Error opening PCM device front:0: Device or resource busy
Jul 21 14:33:44 arch pulseaudio[973]: alsa-sink.c: Error opening PCM device front:0: Device or resource busy
Jul 22 01:58:04 arch pulseaudio[973]: alsa-sink.c: Error opening PCM device front:0: Device or resource busy
Jul 22 01:58:04 arch pulseaudio[973]: alsa-sink.c: Error opening PCM device front:0: Device or resource busy
Jul 22 02:20:11 arch pulseaudio[973]: alsa-sink.c: Error opening PCM device front:0: Device or resource busy
Jul 22 02:20:11 arch pulseaudio[973]: alsa-sink.c: Error opening PCM device front:0: Device or resource busy
Jul 22 02:48:30 arch pulseaudio[973]: alsa-sink.c: Error opening PCM device front:0: Device or resource busy
Jul 23 00:21:44 arch pulseaudio[973]: alsa-sink.c: ALSA woke us up to write new data to the device, but there was actually nothing to write!
Jul 23 00:21:44 arch pulseaudio[973]: alsa-sink.c: Most likely this is a bug in the ALSA driver 'snd_hda_intel'. Please report this issue to the ALSA developers.
Jul 23 00:21:44 arch pulseaudio[973]: alsa-sink.c: We were woken up with POLLOUT set -- however a subsequent snd_pcm_avail() returned 0 or another value < min_avail.
Jul 23 11:43:46 arch pulseaudio[973]: alsa-sink.c: Error opening PCM device front:0: Device or resource busy
Jul 23 11:43:46 arch pulseaudio[973]: alsa-sink.c: Error opening PCM device front:0: Device or resource busy
Jul 23 11:43:56 arch pulseaudio[973]: alsa-sink.c: Error opening PCM device front:0: Device or resource busy
Jul 24 03:05:32 arch pulseaudio[954]: alsa-sink.c: ALSA woke us up to write new data to the device, but there was actually nothing to write!
Jul 24 03:05:32 arch pulseaudio[954]: alsa-sink.c: Most likely this is a bug in the ALSA driver 'snd_hda_intel'. Please report this issue to the ALSA developers.
Jul 24 03:05:32 arch pulseaudio[954]: alsa-sink.c: We were woken up with POLLOUT set -- however a subsequent snd_pcm_avail() returned 0 or another value < min_avail.
And yes I have gstreamer.
Last edited by nerdster (2011-07-26 00:35:45) -
How can I play sound from my MacBook Pro through my iMac?
I have a MacBook pro which I am looking to use for only iTunes or Spotify for the time being but the iMac built in speakers are better.
I am internet sharing from an ethernet on my iMac and the Macbook pro is connected to the shared network.
Can I play music from Spotify on my macbook pro but out of my iMac speakers?
Thanks
JamesFor sound, try the audio output port and connecting to the RCA audio input ports on your Pioneer receiver. Use something like this:
http://eshop.macsales.com/item/OWC/PODCONNECTOR/
Ciao. -
i have an i pad 2 and apple componet av cables. can i play movies from itunes? i cant seem to get sound or video.......thanks
Update your Quicktime to v7.1.6.
MJ -
Can somebody help me get rid of these exclamation points so that I can download all my songs to my iPod? Please? I don't know why they appeared, as I did have the songs working before and they were on my iPod. But, I didn't want ALL of them on there and I didn't know I could "select" which songs to send to the iPod. However, it's been a few months since I messed with it. But, yesterday, when I went to select my songs, I noticed all these excalamation points on everything that was there. Help, please! Again, I can't play them from my computer AND they won't download to my iPod!
Thanks,This happens if the file is no longer where iTunes expects to find it. Possible causes are that you or some third party tool has moved, renamed or deleted the file, or that the drive it lives on has had a change of drive letter. It is also possible that iTunes has changed from expecting the files to be in the pre-iTunes 9 layout to post-iTunes 9 layout,or vice-versa, and so is looking in slightly the wrong place.
Select a track with an exclamation mark, use Ctrl-I to get info, then cancel when asked to try to locate the track. Look on the summary tab for the location that iTunes thinks the file should be. Now take a look around your hard drive(s). Hopefully you can locate the track in question. If a section of your library has simply been moved, or a drive letter has changed, it should be possible to reverse the actions.
Alternatively, as long as you can find a location holding the missing files, then you should be able to use my FindTracks script to reconnect them to iTunes.
tt2 -
How to produce beep sound from sap program?
Hello all,
Can anybody help me to produce beep sound from sap program.
I dont want to play a WAV file.
I just want to produce a BEEP sound.
Your help is highly appreciated.
Thanks n Regards
chanduHi
Thanks for the quick response.
I tried the code in ur reply.
Its not producing any beep sound.
type-pools: ole2.
data: return type i,
sapinfo type ole2_object.
data: begin of command,
command(12) type c value 'cmd /c echo ',
hex07(1) type x value '07',
end of command.
create object sapinfo 'SAPINFO' no flush.
call method of sapinfo 'EXEC' = return
exporting
#1 = command
#2 = 0.
free sapinfo.
Is there anyother way??
Thanks -
Can't get sound from my midi channels
Hello. I've been using Logic 8 for a while. 2 days ago I updated to the newest version 8.0.1 and after I did it, I can't get sound from my midi channels. Before the update I could use my Ivory pianos perfectly, but after the update I can't. I've tried every setup I can imagine. I've been here sitting for hours trying to fix it but I can't .
Logic recognizes my keyboard, since I play...all the notes appear on the transport bar, but i can't get sound from any sampler (Ivory, EXS, EVP88, etc).
I've checked my outputs, etc...but nothing.
Please help me!!! I'm desperate!
ThanksDo you hear the Audio tracks and only Software Instruments are not working od don't you get any output at all? I was just assuming that through the update your Apogee has been removed as your Audio device in Preferences->Audio->devices.
-
When i'm doing airplay ther is no video only audio! and from my iphone its say this device can only play sound to airplay!!!
what video are you trying to stream via airplay?
currently only video from youtube app or ipod app is supported.
any other app will only stream the audio. -
Can't play music from my music list?
I just bought an iPhone 4S. I set it up, restored backup and synced it (used to own a 3GS) everything is fine but for some reason I can't play music from it. It says Now Playing and there's a little icon in the corner but its not playing. Even the little bar at the top that has that little dot that moves along when a song is played isn't even moving. I know I have sound because I've played videos for my little guy and I've previewed songs from iTunes. Could I have done something wrong when I was syncing? Thanks!
Hello pantero2000
The article below will assist with troubleshooting Home Sharing issues with the two computers.
Troubleshooting Home Sharing
http://support.apple.com/kb/TS2972
Thanks for using Apple Support Communities.
Regards,
-Norm G. -
Help I Can only hear sound from my juke b
can anyone help me i think i screwed up my computers sound and i dont know how. I can only hear sound from musicmatch jukebox when i play a song. i cannot hear sounds from any of my games or othe applications. please help me!
Verify that the volume is set to a level you would normally be able to hear.
Ensure that there is nothing plugged in to the headset jack or the dock connector.
If the iPhone is in a protective case, make sure that the speaker port isn't blocked by the case.
Make sure that the speaker and dock port aren't clogged with debris. If necessary, clean it with a clean, small, dry, soft-bristled brush. Carefully and gently brush away any debris.
If an audio issue occurs when using a specific application, try testing other applications to see if the issue persists.
If the iPhone is paired with a Bluetooth headset or car kit:
Try turning off Bluetooth.
If you experience difficulties with the Bluetooth feature, follow these troubleshooting steps.
Restart the iPhone.
If restarting doesn't fix the issue, ensure that your iPhone is updated to the latest version of iOS.
If the issue is not resolved, please contact Apple Support. -
How can I play music through safari specifically youtube on my Mac book pro over soundlink to my bose wireless speaker I can only play audio from itunes at present? HELP PLEASE!
Should be able to go into your sound preferences and choose your output device, you can also try downloading Airfoil and try that, it's a pretty cool app.
-
Can we merge data from multiple sources in Hyperion Interactive Reporting ?
Hi Experts,
Can we merge data from multiple sources in Hyperion Interactive Reporting ?Example can we have a report based on DB2
Oracle,
Informix and Multidiemnsional Databases like DB2,MSOLAP,ESSBASE?
Thanks,
VYes, Each have their own Query and have some common dimension for the Results Sections to be joined together in a final query.
look in help for Creating Local Joins -
When I connect my iPhone 5 to my laptop and iTunes, I can't play movies from the iPhone on my computer.Why is that? Can I do this or it's not possible with iPhone5? With my iPod it's no problem.
Reinstall iTunes. Make sure you follow the instructions in this support document to the letter. http://support.apple.com/kb/HT1923.
You may have some problems because Apple has not certified that everything works with Windows 8 yet.
Maybe you are looking for
-
Airport express printing problem with Snow Leopard
I am no longer able to print to my shared printer after upgrading to Snow Leopard. I get a message that starts with "communication failure the computer is no longer able to communicate with your printer". My network consists of a dual-band Airport ex
-
InDesign CS6 PDF Issue: Unsearchable PDF document
Hello all, I have an issue that I've exhausted with days of Google searches. I have a text catalog created with ID CS6. Sections were PDF documents given to me from our engineering department. The book was created, exported and all went well until I
-
F-04 - Post with clearing : Process open items
Hi everyone, I encountered issues in T-code : F-04 - Post with clearing : Process open items. The document header text data is not display in F-04. It is blank. However, when i check in FBL3N the document header text data was there. Pls assist on how
-
Does location services continue to drain battery power if the phone is in standby? Does it also drain power if you're using an app that does not use location services? Thanks.
-
When importing a CD to iTunes which will then be downloaded onto a ipod, which is the best setting for audio quality? Also once CD is downloaded do i need to change the setting to sync with my ipod?