Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
What sound server does Gnome 2.10 use?
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
skibbi
Apprentice
Apprentice


Joined: 13 Apr 2004
Posts: 202
Location: Rostock - Germany

PostPosted: Thu Jul 07, 2005 7:20 pm    Post subject: What sound server does Gnome 2.10 use? Reply with quote

Hi,
my new Gentoo system with Gnome 2.10 does not play logon and -off sounds and so on. I read that I have to start the sound server but which does Gnome use?
Back to top
View user's profile Send private message
Sadako
Advocate
Advocate


Joined: 05 Aug 2004
Posts: 3792
Location: sleeping in the bathtub

PostPosted: Thu Jul 07, 2005 7:32 pm    Post subject: Reply with quote

Gnome uses esound (or esd), IIRC.

As root, type "/etc/init.d/esound start" to start it, and you can have it start automatically at boot with "rc-update add esound default".

Gnome should start it itself, though. :?


Edit: or esd, not "or sed" :oops:
_________________
"You have to invite me in"
Back to top
View user's profile Send private message
skibbi
Apprentice
Apprentice


Joined: 13 Apr 2004
Posts: 202
Location: Rostock - Germany

PostPosted: Thu Jul 07, 2005 8:40 pm    Post subject: Reply with quote

Hopeless wrote:
Gnome uses esound (or esd), IIRC.

As root, type "/etc/init.d/esound start" to start it, and you can have it start automatically at boot with "rc-update add esound default".

Gnome should start it itself, though. :?


Edit: or esd, not "or sed" :oops:

Ok thanks and yes gnome start it automatically (I was too stupid the activate it *g*) but I also want to know it for the use flags. :)
Back to top
View user's profile Send private message
Doogman
Apprentice
Apprentice


Joined: 24 Sep 2004
Posts: 244

PostPosted: Fri Jul 08, 2005 8:39 pm    Post subject: Reply with quote

Actually the best sound server is NO sound server. My sound card (SB Live) muliplexes sound streams already so ESD is completely unnecessary and a piece of crap to boot.

Has anyone gotten Gnome sound to work without ESD? Everytime a new version of Gnome is released, I check the sound but everytime that goofy ESD is started in the background. I hate it and therefore don't use Gnome sound.
Back to top
View user's profile Send private message
southsider
Guru
Guru


Joined: 05 Jul 2004
Posts: 358

PostPosted: Fri Jul 08, 2005 9:43 pm    Post subject: Reply with quote

Not quite "completely" I don't think. Ubuntu uses ESD by default, and it works quite nicely. When you log off and shutdown it plays your log off sound but actually carries on shutting down. With ALSA it plays only until Gnome exits so you hear the first half-second of it or so.
Back to top
View user's profile Send private message
Sadako
Advocate
Advocate


Joined: 05 Aug 2004
Posts: 3792
Location: sleeping in the bathtub

PostPosted: Fri Jul 08, 2005 9:49 pm    Post subject: Reply with quote

Doogman wrote:
Actually the best sound server is NO sound server.

I totally agree, but skibbi just asked what system gnome uses, not what was the best system.
Also, if you're unlucky and alsa/oss can't use hardware mixing on your card, esd/arts/whatever can be a lifesaver.
_________________
"You have to invite me in"
Back to top
View user's profile Send private message
GaMMa
l33t
l33t


Joined: 23 Aug 2002
Posts: 684
Location: USA

PostPosted: Fri Jul 08, 2005 11:06 pm    Post subject: Reply with quote

You can always do software mixing via alsa too, that's what I do.
_________________
Ubuntu Linux Dapper Drake running Gnome-2.14.1
[Website | Screenshot | Portage Guide]
Back to top
View user's profile Send private message
EmmEff
Apprentice
Apprentice


Joined: 17 Apr 2004
Posts: 197

PostPosted: Sat Jul 09, 2005 2:28 am    Post subject: Reply with quote

But is it possible to get GNOME system event sounds and not use esd? Through the Sound preferences, the system event sound check box is disabled if the sound server is not selected.
Back to top
View user's profile Send private message
andyfraser33
Apprentice
Apprentice


Joined: 11 Nov 2004
Posts: 166
Location: Oxford, UK

PostPosted: Sun Jul 17, 2005 9:37 pm    Post subject: Reply with quote

EmmEff wrote:
But is it possible to get GNOME system event sounds and not use esd? Through the Sound preferences, the system event sound check box is disabled if the sound server is not selected.


I've been wondering about that too. I've spent all afternoon trying to find out and playing with my sound configuration. Unless I've missed something it seems like it's not doable yet. What's worse is I can't seem to get ESD to play nicely with ALSA and dmix. If an app is set up to use ALSA and ESD is running I don't get any sound from the ALSA enabled app.

Edit: ESD now works perfectly with ALSA/dmix. My asound.conf was wrong but only ESD failed to work with it.
_________________
Andy.
Back to top
View user's profile Send private message
EmmEff
Apprentice
Apprentice


Joined: 17 Apr 2004
Posts: 197

PostPosted: Mon Jul 18, 2005 12:27 am    Post subject: Reply with quote

I've got esd running fine with ALSA/dmix as well, but it just irks me to know that esd is running and it really isn't necessary since ALSA/dmix has the same functionality.
Back to top
View user's profile Send private message
andyfraser33
Apprentice
Apprentice


Joined: 11 Nov 2004
Posts: 166
Location: Oxford, UK

PostPosted: Mon Jul 18, 2005 12:57 am    Post subject: Reply with quote

I know what you mean. At the moment, while I'm playing with Gnome 2.10.0, I'm using arts, esd and ALSA/dmix depending on what I'm doing. It's a real PITA trying to get everything set up so I don't have to reconfigure stuff depending on whether I'm in Gnome, KDE or Fluxbox. Sound has been a major bugbear for me for the last six years that I've been using Linux and I look forward to a future where sound just works everywhere with everything. Or am I dreaming?
_________________
Andy.
Back to top
View user's profile Send private message
EmmEff
Apprentice
Apprentice


Joined: 17 Apr 2004
Posts: 197

PostPosted: Mon Jul 18, 2005 1:27 am    Post subject: Reply with quote

Sound has traditionally been pretty awkward under Linux. Thankfully ALSA did make things much better, however there's still a long way to go before it approaches the ease of Windows or OS X. It'd be nice to know that if your sound card is detected, GNOME/KDE/etc will just work.
Back to top
View user's profile Send private message
spectatorion
n00b
n00b


Joined: 12 Jul 2003
Posts: 35

PostPosted: Mon Aug 29, 2005 7:07 pm    Post subject: not using esound Reply with quote

has anyone had any success using gnome and other sound apps (mpg123, xmms, mplayer, xine) without esound? i have not tried it, but i have recently become obsessed (for better or for worse) with clearing out unnecessary junk from my system. most gnome apps have gotten the boot, although i am still using gnome-light, i may switch to fluxbox or xfce. for now i kind of like gnome, but i want to get rid of esound if i don't need it (i am using alsa on 2.6.12-gentoo-r9). i just purged all the oss stuff i could find from my system. i tried to get rid of gstreamer, but it broke a bunch of stuff (like gnome-volume-control), so i just reinstalled it. oh well.

is esound really necessary? is getting rid of it as simple as removing it from my use flags and then recompiling my packages with --newuse --deep ?
Back to top
View user's profile Send private message
Sadako
Advocate
Advocate


Joined: 05 Aug 2004
Posts: 3792
Location: sleeping in the bathtub

PostPosted: Mon Aug 29, 2005 7:25 pm    Post subject: Re: not using esound Reply with quote

spectatorion wrote:
is esound really necessary? is getting rid of it as simple as removing it from my use flags and then recompiling my packages with --newuse --deep ?

You will still need to have it installed (gnome-light pulled it in for me, but I never start it), but you could work around it, for example find and use another volume control program.
Also, I highly recommend beep-media-player over xmms, specially for gtk+ 2.* desktops like gnome, and works fine without esd if compiled without the flag set.

You could put together a gnome-like session without certain components, or use other (possible lighter components).
See fbpanel for one such example.

Or just try xfce4, which is light but somewhat gnome-like.

Here is a list of apps that depend on esd.
_________________
"You have to invite me in"
Back to top
View user's profile Send private message
chunderbunny
Veteran
Veteran


Joined: 31 May 2004
Posts: 1281
Location: 51°24'27" N, 0°57'15" W

PostPosted: Mon Aug 29, 2005 7:32 pm    Post subject: Reply with quote

Almost everything works without esound, most programs just have a config option to set the sound output to oss/alsa/esd etc. As far as I know the only thing which won't work is gnome system sounds, but I have them disabled anyway. Even the default gnome volume control works with just ALSA.

Having used Ubuntu (which uses esound by default) for a ew months I can testify that it most certainly does NOT work flawlessly. Things like mplayerplug-in and netscape flash have no sound at all under esd. Thankfully you can automatically kill it just after gnome starts so it's not a big problem. ALSA takes over the sound management nicely.
Back to top
View user's profile Send private message
spectatorion
n00b
n00b


Joined: 12 Jul 2003
Posts: 35

PostPosted: Mon Aug 29, 2005 8:48 pm    Post subject: Reply with quote

thanks for the speedy responses. i will try to transition to an esound-free existence when i get home later. and i will look into beep-media-player. xmms isn't playing nicely with my itouch keyboard anymore, so i am more than happy to ditch it.
Back to top
View user's profile Send private message
spectatorion
n00b
n00b


Joined: 12 Jul 2003
Posts: 35

PostPosted: Thu Sep 01, 2005 5:34 am    Post subject: gnome-media Reply with quote

gnome-volume-control is part of gnome-media, which depends on esound :(. i guess i don't really need that program, but the volume icon in the panel seems to require it (or at least it is integrated with it, launching it when I click "Open Volume Control"). Anyway, when I removed esd from my useflags, then emerged with --newuse. all my media apps work fine (the esound daemon was diabled. then i unmerged esound itself and (for an unrelated reason) restarted my panel (which has the sound control icon in it). usually killall -1 just restarts it, but it didn't work. when i tried to manually restart it, i got an error that it could not find some file that was part of esound. this is kind of annoying. i guess i can get rid of the icon, but i did kind of like having easy access to volume control. i have a multimedia keyboard that can control the master volume, but sometimes i have to tweak the PCM or CD/DVD volume, which requires something more than just a volume switch on the keyboard. at least it doesn't require the daemon to be running...

is there any way to have an integrated volume controller in gnome without using esound? THANKS!
Back to top
View user's profile Send private message
chunderbunny
Veteran
Veteran


Joined: 31 May 2004
Posts: 1281
Location: 51°24'27" N, 0°57'15" W

PostPosted: Fri Sep 02, 2005 4:24 pm    Post subject: Reply with quote

Like you said, it works if you have esound installed but not running. Looking at the configs this is the default behaviour anyway.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments 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