Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
kde sound problem
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
mathfeel
l33t
l33t


Joined: 03 Aug 2004
Posts: 700

PostPosted: Thu Mar 23, 2006 7:48 am    Post subject: kde sound problem Reply with quote

First of all, alsa is working as I can verify that xmms plays music just fine.

But kde has no sound, because the sound server wouldn't start with the following error:
Code:
Sound server informational message:
Error while initializing the sound driver:
device: default can't be opened for capture (Invalid argument)
The sound server will continue, using the null output device.


I suspect that this is some problem with arts, but I have compile the whole 3.5.1 with -arts in USE...any hints?
_________________
-----------------------------------------------------------
"In heaven all the interesting people are missing"
-- Friedrich Nietzsche
Back to top
View user's profile Send private message
shazam75
Guru
Guru


Joined: 18 Mar 2006
Posts: 563
Location: Brisbane, Australia

PostPosted: Thu Mar 23, 2006 8:19 am    Post subject: Reply with quote

In KDE, go to the Control Centre, then "Sound and Multiliedia", then "Sound System" and make sure there is a check against "Enable the sound System"

Cheers
Shelton.
Back to top
View user's profile Send private message
mathfeel
l33t
l33t


Joined: 03 Aug 2004
Posts: 700

PostPosted: Thu Mar 23, 2006 8:53 am    Post subject: Reply with quote

shazam75 wrote:
In KDE, go to the Control Centre, then "Sound and Multiliedia", then "Sound System" and make sure there is a check against "Enable the sound System"

Cheers
Shelton.


It is enabled. This message is repeatable if i change any of the sound system setting and apply. It seems like it trying to start artsd because the msg. is titled "Informational - artsmessage".
_________________
-----------------------------------------------------------
"In heaven all the interesting people are missing"
-- Friedrich Nietzsche
Back to top
View user's profile Send private message
Vulpes_Vulpes
Apprentice
Apprentice


Joined: 10 Dec 2003
Posts: 264
Location: Amsterdam

PostPosted: Thu Mar 23, 2006 8:58 am    Post subject: Reply with quote

Just make sure the soundsystem is not enabled. I also use ALSA with -arts in my USE for KDE. Non the less I will get an error message when I go to the "Sound System" tab in Control Center. Also check if you have OSS emulation with ALSA.

Good luck! :)
Back to top
View user's profile Send private message
shazam75
Guru
Guru


Joined: 18 Mar 2006
Posts: 563
Location: Brisbane, Australia

PostPosted: Thu Mar 23, 2006 9:00 am    Post subject: Reply with quote

I posted this on another thread - may help u ?

artsd
Access to the sound hardware resources is controlled by artsd, the aRts daemon. This allows different applications to simultaneously send requests to the server, where they can be mixed together and played. Without a centralized sound server a single application using a sound device would prevent other applications from using it.
To use aRts there should be one and only one copy of artsd running. It is typically run when KDE starts up if it is enabled in the KControl Sound Server panel.
The program accepts the following arguments:
artsd [-n-p-N-W n] [-a audiomethod-r sampling rate-b bits-d-D devicename-F fragments-S size-s seconds-m appName] [-h-A-v-l level]
-r sampling rate
Set sampling rate to use.
-h
Display command usage.
-n
Enable network transparency.
-p port
Set TCP port to use (implies -n).
-u
Public, no authentication (dangerous).
-d
Enable full duplex operation.
-D device name
Specify audio device (usually /dev/dsp).
-F fragments
Set number of fragments.
-S size
Set fragment size, in bytes.
-s seconds
Set server auto-suspend time, in seconds. A value of zero disables auto-suspend.
-m appName
Specify the name of an application to be used to display error, warning, and informational messages. If you are running KDE you can use the artsmessage utility for this.
-N
Increase the size of network buffers to a value suitable for running over a 10 mbps LAN. This is equivalent to using the -w 5 option (see below).
-w n
When running artsd over a network connection to another host you typically want to use a larger buffer size to avoid dropouts. ARts provides applications with a suggested minimum buffer size. Without this option the default size is based on the fragment size * fragment count. Using this option you can increase the size from the default by a factor of n.
-l level
Set information level - 3 (quiet), 2 (warnings), 1 (info), 0 (debug).
-v
Display version level.
In most cases simply running artsd will suffice.
Back to top
View user's profile Send private message
shazam75
Guru
Guru


Joined: 18 Mar 2006
Posts: 563
Location: Brisbane, Australia

PostPosted: Thu Mar 23, 2006 9:10 am    Post subject: Reply with quote

you may also want to try and run

Code:
 alsamixer


if u have it installed? U will need alsa-utils.
Back to top
View user's profile Send private message
mathfeel
l33t
l33t


Joined: 03 Aug 2004
Posts: 700

PostPosted: Thu Mar 23, 2006 9:33 am    Post subject: Reply with quote

Vulpes_Vulpes wrote:
Just make sure the soundsystem is not enabled. I also use ALSA with -arts in my USE for KDE. Non the less I will get an error message when I go to the "Sound System" tab in Control Center. Also check if you have OSS emulation with ALSA.

Good luck! :)


So now that I have UNCHECKED "Enable the sound system", I still have no sound in KDE. Again, I don't think it's problem with alsa, because xmms and gaim both has sound.

And I want a solution without artsd if possible.
_________________
-----------------------------------------------------------
"In heaven all the interesting people are missing"
-- Friedrich Nietzsche
Back to top
View user's profile Send private message
shazam75
Guru
Guru


Joined: 18 Mar 2006
Posts: 563
Location: Brisbane, Australia

PostPosted: Thu Mar 23, 2006 9:38 am    Post subject: Reply with quote

mathfeel wrote:
And I want a solution without artsd if possible.


KDE works on the artsd as far as i am aware - so I think u will need artsd.

ALso check to see if you choice the correct driver. To determine ur soundcard:

Code:
lspci | grep -i audio
Back to top
View user's profile Send private message
mathfeel
l33t
l33t


Joined: 03 Aug 2004
Posts: 700

PostPosted: Fri Mar 24, 2006 3:19 am    Post subject: Reply with quote

Vulpes_Vulpes wrote:
Just make sure the soundsystem is not enabled. I also use ALSA with -arts in my USE for KDE. Non the less I will get an error message when I go to the "Sound System" tab in Control Center. Also check if you have OSS emulation with ALSA.

Good luck! :)


Turning it off works. Then for KDE system notification, you'd have to select an external player. What are the choices?
_________________
-----------------------------------------------------------
"In heaven all the interesting people are missing"
-- Friedrich Nietzsche
Back to top
View user's profile Send private message
wegrzyn
n00b
n00b


Joined: 27 Nov 2003
Posts: 22
Location: Boston, MA

PostPosted: Tue Apr 04, 2006 9:14 pm    Post subject: Arts not working? Reply with quote

I believe you need to have 'arts' enabled when you build kde to get it to work. You said that you used -ARTS; that means you don't want to have arts.

You can quickly find out by doing:

equery uses kdelibs

If you see a line like this:

+ + arts : Adds support for aRts: the KDE sound daemon

It is the "rightmost" + sign that is important - if it is there you have arts compiled in. If you see '-', you don't. Just beware there are a number of kde modules that have arts flags. Another import one is 'arts'...check it out by entering

equery uses arts

If you want to see all the packages that use the 'arts' flag enter

equery hasuse arts

(If you don't have equery on your computer do a: emerge gentoolkit).

Good luck...
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum