LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 11-01-2005, 06:58 AM   #1
steffendenize
LQ Newbie
 
Registered: Nov 2005
Location: Odense, Denmark
Distribution: SUSE 10
Posts: 17

Rep: Reputation: 0
Sound problems with Kaffeine (and others)


Hi,

I'm experiencing some rather weird behaviour from my Kaffeine player (and mplayer/totem and others aswell). Some times I have sound and am able to play audio cd's, listen to netradio and have sound on my movies. But all of a sudden the sound disappears. It is rather irritating because I have sound on the desktop, that is all the small beeps and such play normal.

Does anyone have a clue as to why the sound all of a sudden decides to disappear?

/steffen
 
Old 11-01-2005, 10:16 AM   #2
samel_tvom
Member
 
Registered: Aug 2004
Posts: 133

Rep: Reputation: 15
Have you checked if you change your mixers settings? check alsa-mixer or other mixer like aumix. Maybe some script or something is changing the settings?
 
Old 11-02-2005, 02:57 AM   #3
steffendenize
LQ Newbie
 
Registered: Nov 2005
Location: Odense, Denmark
Distribution: SUSE 10
Posts: 17

Original Poster
Rep: Reputation: 0
How exactly do I do that. I'm pretty new to linux, so a walk-through would be appreciated :-)

I've run #/etc/init.d/alsasound stop => /etc/init.d/alsasound start and then alsaconf with which I can hear sound. Then I made a /usr/sbin/alsactl store

After that I made a script which would run the commands in rc_local in the boot file. But that did not help. Quite the contrary, when loading Kaffeine it said that there was no output device. Then I ran the alsa-script again and then I could run video with Kaffeine but no audio.


Edit II:
Ok, I've seem to get it to work but I have not tried to reboot. In SUSE Control Center (SUSE 10) I set the Sound System to ALSA instead of to Default. Then I ran the script as mentioned above and now it appears to work. But I havent tried to reboot so I don't know if it works at startup

Edit III:
Okay, so far so good. But now I tried to play an audio cd in Kaffeine which previously could be done but now it says:

No plugin found to handle this resource (cdda:/1)

xine: couldn't find demux for >cdda:/1<
xine: found input plugin : CD Digital Audio (aka. CDDA)
xine: couldn't find demux for >cdda:/11<
xine: found input plugin : CD Digital Audio (aka. CDDA)
xine: couldn't find demux for >cdda:/10<
xine: found input plugin : CD Digital Audio (aka. CDDA)
xine: couldn't find demux for >cdda:/9<
xine: found input plugin : CD Digital Audio (aka. CDDA)
xine: couldn't find demux for >cdda:/8<
xine: found input plugin : CD Digital Audio (aka. CDDA)
xine: couldn't find demux for >cdda:/7<
xine: found input plugin : CD Digital Audio (aka. CDDA)
xine: couldn't find demux for >cdda:/6<
xine: found input plugin : CD Digital Audio (aka. CDDA)
xine: couldn't find demux for >cdda:/5<
xine: found input plugin : CD Digital Audio (aka. CDDA)
xine: couldn't find demux for >cdda:/4<
xine: found input plugin : CD Digital Audio (aka. CDDA)
xine: couldn't find demux for >cdda:/3<
xine: found input plugin : CD Digital Audio (aka. CDDA)
xine: couldn't find demux for >cdda:/2<
xine: found input plugin : CD Digital Audio (aka. CDDA)
xine: couldn't find demux for >cdda:/1<
xine: found input plugin : CD Digital Audio (aka. CDDA)
demux_avi: invalid avi chunk "demux_avi: invalid avi chunk "demux_avi: invalid avi chunk "demux_avi: invalid avi chunk "demux_avi: invalid avi chunk "demux_avi: invalid avi chunk "demux_avi: invalid avi chunk "demux_avi: invalid avi chunk "demux_avi: invalid avi chunk "demux_avi: invalid avi chunk "demux_avi: invalid avi chunk "demux_avi: invalid avi chunk "demux_avi: invalid avi chunk "demux_avi: invalid avi chunk "demux_avi: invalid avi chunk "demux_avi: invalid avi chunk "xine: found demuxer plugin: AVI/RIFF demux plugin
xine: found input plugin : file input plugin
>>> Check if another program already uses PCM <<<
snd_pcm_open() failed:-13:Permission denied

What is going on here, and more importantly, how do I resolve it?



/Steffen

Last edited by steffendenize; 11-02-2005 at 08:07 AM.
 
Old 11-02-2005, 11:30 AM   #4
samel_tvom
Member
 
Registered: Aug 2004
Posts: 133

Rep: Reputation: 15
Well, when a program says "permissions denied" you should check the permission for the sound devices.
I don't know where they are in SUSE but probably /dev/snd.

But before doing any of that cool stuff, maybe SUSE has a way of dealing with it. Check if there is a special group for audio. (You can do that somehow in the control center) and if there is a group, make the user who wants to listen to audio join it.


If that doesn't work. Do something like
#chmod 777 -R /dev/snd

That is if you have the directory /dev/snd, if you don't then do something like
#cd /dev
#chmod 777 mixer sequencer audio


And do notice that you can't have another app which blocks the soundcard running if you want to run xine or xmms or whatever.

Does this work? Are you able to figuring out how to add users in groups in the control center? If not I can explain it but it's easier if you can fix it there.
 
Old 11-02-2005, 12:40 PM   #5
steffendenize
LQ Newbie
 
Registered: Nov 2005
Location: Odense, Denmark
Distribution: SUSE 10
Posts: 17

Original Poster
Rep: Reputation: 0
Ok, I found the sound group and I was not a member of that group. So I added myself. However, the problem persists, I still get the same msg. I checked to see whether an app was using PCM (using ctrl esc to get me to the "task manager"), but I could see none. Then I ran the chmod command but the problem is still there

/steffen
 
Old 11-02-2005, 12:49 PM   #6
samel_tvom
Member
 
Registered: Aug 2004
Posts: 133

Rep: Reputation: 15
Did you install the alsa-utils package? Do you have the alsamixer program? (or alsa-mixer, remember what name it is).

type "alsamixer" (or alsa-mixer) in a terminal and if the programs opens, you have it. Then boost up master/volume and pcm.

Can you choose alsa as "output plugin" in xmms?
If you can, choose it and try to see if it works, did it?
If you can't, install xmms-alsa and try again.
Does it works now when you have chosen alsa in xmms and
have opened alsamixer (or alsa-mixer) and boosted master/volume
and pcm?

Answer all this questions please or else it's hard to help
 
Old 11-02-2005, 01:13 PM   #7
steffendenize
LQ Newbie
 
Registered: Nov 2005
Location: Odense, Denmark
Distribution: SUSE 10
Posts: 17

Original Poster
Rep: Reputation: 0
First of all, thank for helping. I really appreciate it.

I've rebooted. Shouldn't have done that because now the problem is right back to where I started. No sound at startup. No sound at all before I run alsaconf.


>>Did you install the alsa-utils package? Do you have the alsamixer program? (or alsa-mixer, remember what name it is).
>>type "alsamixer" (or alsa-mixer) in a terminal and if the programs opens, you have it. Then boost up master/volume and pcm.

Yeah, I got that. I've boosted the volume from approx. 96 to 100

>>Can you choose alsa as "output plugin" in xmms?
Yes
>>If you can, choose it and try to see if it works, did it?
No, but, if I copy the .wav file from the cd to the desktop I can play the file. And the cd-drive is audio connected to the mainboard and I've played audio-cds the day before yesterday


>>If you can't, install xmms-alsa and try again.
Does it works now when you have chosen alsa in xmms and
have opened alsamixer (or alsa-mixer) and boosted master/volume
and pcm?

Not really on the playing audio-cd

/steffen
 
Old 11-02-2005, 03:09 PM   #8
samel_tvom
Member
 
Registered: Aug 2004
Posts: 133

Rep: Reputation: 15
Ahh, I've had that problem as well. First of all, you need a plugin to read the cd. I use xmms-cdaudio (I also tried xmms-cdread but didn't get it to work).

You can use bot digital and analog extraction. For me, both works but usually only digital works or that's what you should choose anyways.

And now you might think that it should be enough to be a member in the audio group, but for some reason it's not enough (at least not in gentoo) so you have to change permissions on your cd device (if it's not goodd now).

So find out where your device is. It's usually /dev/cdrom or /dev/hdc or something like that.
When you have done that (let's say that it's /dev/cdrom) you type
#chmod 755 /dev/cdrom

Does that work? And does everything else work?
 
Old 11-03-2005, 01:19 AM   #9
steffendenize
LQ Newbie
 
Registered: Nov 2005
Location: Odense, Denmark
Distribution: SUSE 10
Posts: 17

Original Poster
Rep: Reputation: 0
I couldn't find any of the packages that you mention either from packman-repository or the ordinary SUSE 10.

I tried to find the cdrom drive which is called dev/hdd and write the command $cdmod 755 /dev/hdd but nothing happend.

However, everything else is working. I can listen to netradio, listen to mp3's using xmms, watch movies with sound, the desktop has sound. But all of this has be run from console after startup $alsaconf.

So where does this leave me? With a system which is fully functional, almost. I can live with the difficiency but it would be nice to get it to work, esp. as it worked before.

Thanks for all the help samel_tvom I really appreciate it but the problem seems to want not to be solved.


EDIT:
I resolved it by switching to amaroK FUT: http://www.linuxquestions.org/questi...83#post1933683


EDIT II:
Resolved it with Kaffeine by changing the engine to gstreamer instead of Kaffeine. jubii
/steffen

Last edited by steffendenize; 11-03-2005 at 03:56 AM.
 
Old 11-06-2005, 10:32 AM   #10
samel_tvom
Member
 
Registered: Aug 2004
Posts: 133

Rep: Reputation: 15
Well, glad if I was of help. =)
 
Old 07-22-2009, 08:43 AM   #11
oscsaba
LQ Newbie
 
Registered: Jul 2009
Posts: 1

Rep: Reputation: 0
gstreamer-properties

I had a similar problem on opensuse. I solved it by typing in:

gstreamer-properties

and setting Plugin to ALSA and selecting the correct device from the list.
 
  


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
No sound in Kaffeine ! djib SUSE / openSUSE 3 10-13-2005 08:27 AM
Problems with Kaffeine ChemBot Debian 1 07-22-2005 05:03 AM
sound static on kaffeine absalon Linux - Software 2 06-30-2005 10:24 PM
kaffeine.. sound and a blue screen AnimaSola Linux - Software 3 10-17-2004 04:05 AM
bad sound with Kaffeine or Totem while playing video mentallysilent Mandriva 0 06-20-2004 05:22 PM

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

All times are GMT -5. The time now is 09:31 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