View previous topic :: View next topic |
Author |
Message |
joeljkp Guru
Joined: 06 Mar 2004 Posts: 316 Location: Starkville, MS, USA
|
Posted: Sun Apr 04, 2004 8:51 pm Post subject: ALSA + Gnome Volume Control? |
|
|
I just installed development-sources-2.6.4 with the ALSA drivers, but now my Gnome Volume Control says it can't find /dev/mixer. Is there a way to get the volume control to work directly with ALSA? Or do I need to enable OSS emulation for it? |
|
Back to top |
|
|
herbo Tux's lil' helper
Joined: 13 Feb 2004 Posts: 145 Location: Land Of Oz
|
Posted: Mon Apr 05, 2004 7:31 am Post subject: |
|
|
Nah, no oss emulation need, but you do need to install :
--> media-plugins/gst-plugins-oss
dont worry about the name, this will make the gnome volume control work. |
|
Back to top |
|
|
joem Retired Dev
Joined: 20 Dec 2002 Posts: 508 Location: Bloomington, In
|
Posted: Mon Apr 05, 2004 9:19 am Post subject: |
|
|
Actually there is now a gst-plugins-alsa ebuild. That should take care of your problem. |
|
Back to top |
|
|
Falling_Icaro n00b
Joined: 28 Sep 2003 Posts: 18
|
Posted: Fri Apr 09, 2004 12:28 am Post subject: |
|
|
hello
dst wrote: | Actually there is now a gst-plugins-alsa ebuild. That should take care of your problem. |
im with the same problem and i have the gst-plugins-alsa instaled.
I compiled the kernel (2.6) without oss emulation support (i just tought that gnome would depend on it), i builded the sound support and driver in kernel as modules, and emerge alsa-utils.
I had also unmuted either Master an PCM channels and added alsa support to boot with rc-update.
I also activated esd in gnome Desktop Preferences -> Sound -> Enable Sound Server at Startup
I dont just know what more i will have to do!!! . Maybe activate oss emulation in the kernel? it just dont make sense.
Thanks in advance
[EDIT]
Well i just found out that ALSA is working. Just downloaded a Nirvanna mp3, mpg123 it to wav a played via "aplay".
yet it seems gnome mixer cant find it: "Couldn't open mixer device /dev/sound/mixer". and yes, this file does not exist, maybe is related to oss? must i build oss support for alsa? will try it tomorrow if i have no answers...
[/EDIT] |
|
Back to top |
|
|
Pythagoras1 Guru
Joined: 29 Jul 2002 Posts: 352 Location: Burgas, Bulgaria
|
Posted: Tue Apr 13, 2004 8:20 pm Post subject: |
|
|
same problem here and i installed both gst-plugins-alsa and gst-plugins-oss.
/dev/sound/mixer doesn't exist. I have compiled the alsa drivers into the kernel image and use a Sound Blaster Live. |
|
Back to top |
|
|
Falling_Icaro n00b
Joined: 28 Sep 2003 Posts: 18
|
Posted: Tue Apr 13, 2004 9:09 pm Post subject: |
|
|
hey!
I allready fix it. you must build alsa oss emulation in the kernel, for 2.6.x it'll be:
Device Drivers -> Sound -> ALSA -> OSS Mixer API and OSS PCM API
-
Hoppe this help! |
|
Back to top |
|
|
Pythagoras1 Guru
Joined: 29 Jul 2002 Posts: 352 Location: Burgas, Bulgaria
|
Posted: Tue Apr 13, 2004 11:13 pm Post subject: |
|
|
Falling_Icaro wrote: | you must build alsa oss emulation in the kernel |
sounds like a messy solution i heard that gnome entirely supports alsa, so there must be a way to avoid oss stuff. |
|
Back to top |
|
|
joem Retired Dev
Joined: 20 Dec 2002 Posts: 508 Location: Bloomington, In
|
Posted: Tue Apr 13, 2004 11:31 pm Post subject: |
|
|
Pythagoras1 wrote: | Falling_Icaro wrote: | you must build alsa oss emulation in the kernel |
sounds like a messy solution i heard that gnome entirely supports alsa, so there must be a way to avoid oss stuff. |
Did you edit the gstreamer gconf settings to use alsasink instead of osssink? |
|
Back to top |
|
|
Pythagoras1 Guru
Joined: 29 Jul 2002 Posts: 352 Location: Burgas, Bulgaria
|
Posted: Wed Apr 14, 2004 12:30 am Post subject: |
|
|
dst wrote: | Did you edit the gstreamer gconf settings to use alsasink instead of osssink? |
I already changed the settings with "gstreamer-properties" and it set /system/gstreamer/0.8/default/audiosink to alsasink.
Sound does work inside GNOME, just the volume control doesn't. |
|
Back to top |
|
|
Phk Guru
Joined: 02 Feb 2004 Posts: 428 Location: [undef], Lisbon, Portugal, Europe, Earth, SolarSystem, MilkyWay, 23Q Radius, Forward Time
|
Posted: Wed Apr 14, 2004 12:45 am Post subject: Hi |
|
|
Hi there.
I also have the same problem, but since i managed to change gconfs settings to alsasink instead of osssink, the volume meter can now be changed.
However, nothing supposed to make noise, makes it.
Alsa is working properly, in mp3blaster, and other appz (like KDE), but when, for example, i run gnome-alsamixer, it displays Code: | Darkness root # gnome-alsamixer
audio_alsa: no cards found!
| And it shows a blank form!!
What can this be? This is a bit annoying ;( _________________ "# cat /dev/urandom >> /tmp/life" |
|
Back to top |
|
|
Falling_Icaro n00b
Joined: 28 Sep 2003 Posts: 18
|
Posted: Wed Apr 14, 2004 9:58 pm Post subject: |
|
|
there is one thing that i can't understand..
if i have explicit USE="alsa -oss", why does portage enables oss by default on gnome2.6?
The stuppid thing is that it enables oss but doesnt install gst-plugins-oss which results in a gnome new instalation without sound.
and why doesnt gnome Sound configuration tool as the option to choose between oss and alsa? if it can, why not to show it to the users? Honest, it feels a hugly hack to mess with gnomes internal files!
Well these had to be said, :p
- José M. Fernandes |
|
Back to top |
|
|
theturner Tux's lil' helper
Joined: 12 Mar 2004 Posts: 111 Location: United Socialist Republic of Europe
|
Posted: Wed Apr 14, 2004 10:05 pm Post subject: |
|
|
gnome-mixer just does not support alsa very well because of the feature freeze for gnome 2.6, which apparently came way too early..
just use gnome-alsamixer |
|
Back to top |
|
|
Phk Guru
Joined: 02 Feb 2004 Posts: 428 Location: [undef], Lisbon, Portugal, Europe, Earth, SolarSystem, MilkyWay, 23Q Radius, Forward Time
|
Posted: Sat Apr 17, 2004 8:39 pm Post subject: |
|
|
I used gnome-alsamixer.. However, it doesn't find any soundcards... Is it REALLY NEEDED to compile the kernel with OSS support ? _________________ "# cat /dev/urandom >> /tmp/life" |
|
Back to top |
|
|
Phk Guru
Joined: 02 Feb 2004 Posts: 428 Location: [undef], Lisbon, Portugal, Europe, Earth, SolarSystem, MilkyWay, 23Q Radius, Forward Time
|
Posted: Wed Apr 28, 2004 12:32 am Post subject: |
|
|
Building kernel completely without OSS (only in ALSA's emulation), and carefully configuring gconf-editor for alsasink and alsasrc, instead of osssink and osssrc,
Fixes this... _________________ "# cat /dev/urandom >> /tmp/life" |
|
Back to top |
|
|
eniac Apprentice
Joined: 11 Aug 2003 Posts: 233 Location: Belgium, Brussels
|
Posted: Sat May 22, 2004 1:09 pm Post subject: |
|
|
I did the same installed gst-plugins-alsa changed my settings with gconfi-editor and removed all OSS options from my kernel. But then my applet doesn't work anymore (red cross true it) |
|
Back to top |
|
|
Phk Guru
Joined: 02 Feb 2004 Posts: 428 Location: [undef], Lisbon, Portugal, Europe, Earth, SolarSystem, MilkyWay, 23Q Radius, Forward Time
|
Posted: Sat May 22, 2004 1:33 pm Post subject: |
|
|
There are two possibilities:
1) You haven't done everything like we've explained during the post
2) This is a gnome 2.6 problem... Gnome 2.6 is EXCELLENT, however, it is a very very very unstable release....
So, take a deep breath and wait..... or downgrade your little gnome
[]'s _________________ "# cat /dev/urandom >> /tmp/life" |
|
Back to top |
|
|
Pythagoras1 Guru
Joined: 29 Jul 2002 Posts: 352 Location: Burgas, Bulgaria
|
Posted: Sun May 23, 2004 10:06 pm Post subject: |
|
|
eniac wrote: | I did the same installed gst-plugins-alsa changed my settings with gconfi-editor and removed all OSS options from my kernel. But then my applet doesn't work anymore (red cross true it) |
Did you enable OSS emulation in your kernel?
It just bypasses apps without native ALSA support to use the OSS API for access to ALSA. This is just a redirect to ALSA and no OSS any more.
It seems that the GNOME volume control needs the OSS mixer API. |
|
Back to top |
|
|
Phk Guru
Joined: 02 Feb 2004 Posts: 428 Location: [undef], Lisbon, Portugal, Europe, Earth, SolarSystem, MilkyWay, 23Q Radius, Forward Time
|
Posted: Sun May 23, 2004 10:52 pm Post subject: |
|
|
Another problem with the GNOME volume control, is that it never saves the information of which channel to control (I have to select PCM each time i log in) and the main volume (i have to set it up too).....
Any ideas? _________________ "# cat /dev/urandom >> /tmp/life" |
|
Back to top |
|
|
m1ll3 n00b
Joined: 07 May 2004 Posts: 11
|
Posted: Wed May 26, 2004 3:43 pm Post subject: |
|
|
Same problem here.
Since I emerged Gnome 2.6.1-rc1, the Mixer-Applet can't open the mixer-device /dev/sound/mixer because there is none, although sound works fine and "Open Volume Control", too.
I've got sound support as a module and ALSA is completely disabled in the kernel because I'm using the latest alsa-driver-1.0.4-r1. Also changed the "osssink" and "osssrc"-settings to the alsa-values - but it didn't help.
Any suggestions or is can this be considered as a bug? |
|
Back to top |
|
|
slano n00b
Joined: 07 Dec 2003 Posts: 41
|
Posted: Fri May 28, 2004 9:45 am Post subject: |
|
|
Try re-emerging gnome-applets without gstreamer in your USE flags. It helped me with the volume applet. |
|
Back to top |
|
|
EricHsu Bodhisattva
Joined: 03 May 2004 Posts: 591 Location: Aragon Consulting Group, Beijing, China
|
Posted: Sat May 29, 2004 12:46 am Post subject: |
|
|
try:
shell$ gst-register-0.8
it helped me find back my gnome-volumn-control twice |
|
Back to top |
|
|
m1ll3 n00b
Joined: 07 May 2004 Posts: 11
|
Posted: Mon May 31, 2004 3:38 pm Post subject: |
|
|
Just found out that somehow my ALSA-OSS-Emulation was kicked out after the Gnome 2.6.1-rc1 update.
I emerged the latest alsa-oss and now the volume control works again because the missing dev's have been created.
Quake 3 also has its sound back now. |
|
Back to top |
|
|
tecknojunky Veteran
Joined: 19 Oct 2002 Posts: 1937 Location: Montréal
|
Posted: Wed Jun 16, 2004 6:16 am Post subject: |
|
|
EricHsu wrote: | try:
shell$ gst-register-0.8
it helped me find back my gnome-volumn-control twice | Thanks, it kind of worked, altough I'm now with a mixer for both OSS and ALSA. Further, in the ALSA mixer, lots of knobs are in double (two PCM, ...). _________________ (7 of 9) Installing star-trek/species-8.4.7.2::talax. |
|
Back to top |
|
|
LostControl l33t
Joined: 02 Mar 2004 Posts: 885 Location: La Glane, Suisse
|
Posted: Sun Aug 29, 2004 6:31 pm Post subject: |
|
|
EricHsu wrote: | try:
shell$ gst-register-0.8
it helped me find back my gnome-volumn-control twice |
That's also solved my problem with the mixer applet
Thanks |
|
Back to top |
|
|
pjv Guru
Joined: 02 Jul 2003 Posts: 353 Location: Belgium
|
Posted: Sun Aug 29, 2004 10:21 pm Post subject: |
|
|
What is happening to alsa+gnome??
These last emerge updates (the last week or so), I've seen the gnome mixer applet slowly degenerate. First my one perfect mixer changed to 3 different mixers with lots of channels. Now the applet is dead. It says it can't find a mixer though everywhere else sound is perfect. Though I can't control the applet's volume, I can still control it with my keys in gnome (osd).
[edit]Now I have the mixers in behind the applet back, but the applet control is still dead. |
|
Back to top |
|
|
|