Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Alsa problem [SOLVED]

Linux Kernel, Network, and Services configuration.
Post Reply
Message
Author
User avatar
Mr James
Posts: 1258
Joined: 2010-09-10 13:02

Alsa problem [SOLVED]

#1 Post by Mr James »

I'm using alsa after ditching pulseaudio from my KDE installation. Alsa has always been reliable. However, I suffer from the inability to have two audio streams play at the same time. If I'm watching a movie, and the system gives a notification beep (like download complete or something), sound stops from smplayer or whatever else is playing audio and I have to close the player and reopen it again. This is ridiculous, to say the least.
Is this a known issue? Is there a fix? Happens in any WM/DE. Rig in sig.
Last edited by Mr James on 2011-05-03 23:16, edited 1 time in total.
asus S551L laptop :: debian stable :: dwm

vbrummond
Posts: 4432
Joined: 2010-03-02 01:42

Re: Alsa problem

#2 Post by vbrummond »

It is a known issue I have posted on the bug report:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=556578

No answer so far.

The issue only seems to be with phonon no matter what backend I use. I have alleviated by the problem a little by disabling kde system sounds and etc. I am not sure if using pulse would help or not as I try not to use PA when possible.
Always on Debian Testing

User avatar
Mr James
Posts: 1258
Joined: 2010-09-10 13:02

Re: Alsa problem

#3 Post by Mr James »

I've only run into one bug in pulse, but it's a hell of an annoying bug: I stick my headphone jack in and the sound mutes. No matter how you fiddle with kmix, you can't unmute sound until I remove the jack. Using pavucontrol, I can switch to use the headphone jack and reenable sound, but it is way too much work for something that should be automatic.
asus S551L laptop :: debian stable :: dwm

vbrummond
Posts: 4432
Joined: 2010-03-02 01:42

Re: Alsa problem

#4 Post by vbrummond »

I have the issue with pulse where if I plug speakers/headphones in my sound mutes, but I can unmute it. However it also unmutes my built in speakers which makes having headphones pointless. :(

I deal with it because Pulse sounds louder and the sound only dies when I use Wine. (alsa dies with skype and a few other apps as well, and its a hassle to set the right levels for my mic without pulseaudio).
Always on Debian Testing

User avatar
mvdan
Posts: 237
Joined: 2010-12-17 17:52
Location: Barcelona, Spain

Re: Alsa problem

#5 Post by mvdan »

Though alsa has always worked perfecty for me, I had that problem when using Alsa with nvidia's propietary drivers. Are you using any kind of them?

I discovered that if I was playing music, I couldn't watch or listen anything else with volume even if I paused the music player. I had to restart it. Uninstalling nvidia didn't make the trick, I guess it left all its closed-source crap all over my box. I had to install a new Debian.

Also, it *may* be kmix. Have you tried taking it out of the "startup applications" menu or something?

Hope this helps!
Unstable 'Sid' amd64 - Awesome WM - https://gitorious.org/~mvdan
Richard M. Stallman wrote:We can't take the future of freedom for granted. Don't take it for granted! If you want to keep your freedom, you must be prepared for it.

User avatar
Mr James
Posts: 1258
Joined: 2010-09-10 13:02

Re: Alsa problem

#6 Post by Mr James »

Same problem be it with an nVidia or AMD card - though I use the proprietary crap with both and have not tested the issue with FOSS drivers. Kmix is not the problem far as I can tell.
Perhaps it is a kernel issue...
asus S551L laptop :: debian stable :: dwm

User avatar
TheExplorer
Posts: 254
Joined: 2010-05-31 15:04

Re: Alsa problem

#7 Post by TheExplorer »

Try different kernel version then. Obvious if you like experimenting.

I'm using GNOME (ASUS mainboard, nForce chipset, NVIDIA drivers and an external Creative SB Live sound card) and I've encountered this just once when I was playing with Liquorix kernel (tons of patches put together which are known to break the kernel's back sometimes). I was watching youtube and tried to play some mp3... suddenly the sound stopped and the audio device became busy, only rebooting could solve the problem.

After that I tried different kernel versions (distro default, self-compiled, vanilla) and the issue has gone. I can always watch youtube (or play some movie) and listen to some mp3. Everything is OK.

Maybe a KDE issue?..
Money is the evil of all root. Be free. Use Linux.

vbrummond
Posts: 4432
Joined: 2010-03-02 01:42

Re: Alsa problem

#8 Post by vbrummond »

It is certainly an issue with Phonon as programs that do not use it work.
Always on Debian Testing

User avatar
Mr James
Posts: 1258
Joined: 2010-09-10 13:02

Re: Alsa problem

#9 Post by Mr James »

Or it could be a phonon backend problem, in other words, xine. Gonna try the gstreamer backend before I go messing with the kernel.
asus S551L laptop :: debian stable :: dwm

vbrummond
Posts: 4432
Joined: 2010-03-02 01:42

Re: Alsa problem

#10 Post by vbrummond »

I remember vlc backend did not work either, but I hope it is merely the xine backend that is the problem. Please keep us posted, I would be very very happy with Debian's KDE if we can figure this out! :)
Always on Debian Testing

User avatar
Mr James
Posts: 1258
Joined: 2010-09-10 13:02

Re: Alsa problem

#11 Post by Mr James »

Well, the vlc backend allowed me to play audio from several sources simultaniously. Only problem is, is that if one of the sources happens to be a notification from a program, that program then crashes upon exit.
Hey, at least there's progress...
asus S551L laptop :: debian stable :: dwm

vbrummond
Posts: 4432
Joined: 2010-03-02 01:42

Re: Alsa problem

#12 Post by vbrummond »

Interesting. I might install KDE in a vm to do some testing.
Always on Debian Testing

User avatar
Mr James
Posts: 1258
Joined: 2010-09-10 13:02

Re: Alsa problem

#13 Post by Mr James »

The KDE in Debian Squeeze is very stable - not one crash. Ever.
Just one or two kinks to work out...
asus S551L laptop :: debian stable :: dwm

Sergio
Posts: 91
Joined: 2010-11-11 12:27

Re: Alsa problem

#14 Post by Sergio »

I have AMD processor and NVidia graphic card (installed driver from nvidia.com in not debian way - cannot understand debian way).

OSS
Every single application works perfectly. If I dare to use more than one at a time, sound server seems to crash. I have to turn everything off and sometimes even logout and login. Then sound server runs again.

ALSA
I installed it more or less without problems. Several applications not a problem, but I cannot configure it. Microphone never worked and fourth channel did not want to activate.

Reinstalled debian again (OSS as default) and try to live using only one sound application at time.

By the way what is phonon? Some part of KDE? If I switch to GNOME my sound experience may become better?

vbrummond
Posts: 4432
Joined: 2010-03-02 01:42

Re: Alsa problem

#15 Post by vbrummond »

In a virtual machine the Gstreamer phonon engine can play system sounds and music on Dragon at the same time. I will do more testing later.
Always on Debian Testing

User avatar
Mr James
Posts: 1258
Joined: 2010-09-10 13:02

Re: Alsa problem

#16 Post by Mr James »

Well, I done it. Simultanious playback of multiple streams. How? By switching to AC97 in my bios of all things. Now I got pulse (if wonderful if it works) running on an xine phonon backend. :mrgreen:
asus S551L laptop :: debian stable :: dwm

vbrummond
Posts: 4432
Joined: 2010-03-02 01:42

Re: Alsa problem [SOLVED]

#17 Post by vbrummond »

Excellent. Glad it works for you.
Always on Debian Testing

Post Reply