View previous topic :: View next topic |
Author |
Message |
MRussell n00b
Joined: 25 Apr 2003 Posts: 10
|
Posted: Fri Apr 25, 2003 6:43 pm Post subject: XMMS - OSS usable by root only. Alsa plugin also dont work |
|
|
Currently on my box only the root user can use XMMS with the OSS output plugin selected. All other users can not. The following is the behavior that I get for regular users as well as the root user when the alsa output plugin is selected.
Steps:
1. Check the output plugin. I've tried both OSS & ALSA with the same result.
2. Load a file or stream into the play list.
3. Click play.
At this point nothing happens. No sound nothing. Also XMMS doesn't thinks its playing either because the time count doesn't increment.
4. Click on any button (stop, play, another file in the playlist) etc, and XMMS locks up completely and has to be killed.
A few things. I have the alsa driver installed and working as I can play sound with noatun, and zinf. My user is part of the audio group, so I doubt its related to that. Gentoo was just installed on this box early this week as a replacement for RedHat 9. Also, I don't know how much it matters but I am running inside kde.
My system was compiled with the following CFLAGS: -mcpu=i686 -O2 -pipe -funroll-loops -frerun-loop-opt -frerun-cse-after-loop"
I don't really think it's the CFLAGS since root can use XMMS, though only with the OSS output plugin selected.
Anyone have any ideas to try as I'm fresh out and haven't found anything in the forums that has helped.
Mark Russell |
|
Back to top |
|
|
gamera2_00 n00b
Joined: 05 Mar 2003 Posts: 47
|
Posted: Fri Apr 25, 2003 8:39 pm Post subject: |
|
|
This might sound like a silly question, but is the user that you want to use audio in the "audio" group?
This is what alot of distros use to prevent remote users/misbehaving users/etc. from abusing the soundcard.
To add people to groups, see;
man usermod
To get a list of groups (from a terminal);
groups
Hope this helps you. _________________ "Please be aware, that while this message is being broadcast today, you may recive it tommorow, possibly yesterday." |
|
Back to top |
|
|
MRussell n00b
Joined: 25 Apr 2003 Posts: 10
|
Posted: Sat Apr 26, 2003 9:48 pm Post subject: |
|
|
My primary login that I want to be able to use sound does indeed belong to the "audio" group. That's why I'm confused that it's not working.
Mark Russell |
|
Back to top |
|
|
MRussell n00b
Joined: 25 Apr 2003 Posts: 10
|
Posted: Thu May 01, 2003 2:19 pm Post subject: |
|
|
bump for answer |
|
Back to top |
|
|
gamera2_00 n00b
Joined: 05 Mar 2003 Posts: 47
|
Posted: Thu May 01, 2003 7:22 pm Post subject: |
|
|
(Sorry about the REALLY long delay)
It sounds like an alsa configuration problem. What kind of card do you have? Some cards won't work properly without manual configuration.
Do you have multiple cards?
What's the ouput from XMMS look like? (started from a terminal window)
Are the sound drivers compiled as modules and are they loaded at boot?
Is alsa starting in the boot runlevel and not default? _________________ "Please be aware, that while this message is being broadcast today, you may recive it tommorow, possibly yesterday." |
|
Back to top |
|
|
Roptaty Apprentice
Joined: 12 May 2002 Posts: 184 Location: Norway
|
Posted: Thu May 01, 2003 11:23 pm Post subject: Re: XMMS - OSS usable by root only. Alsa plugin also dont wo |
|
|
MRussell wrote: | The following is the behavior that I get for regular users as well as the root user when the alsa output plugin is selected.
Steps:
1. Check the output plugin. I've tried both OSS & ALSA with the same result.
2. Load a file or stream into the play list.
3. Click play.
At this point nothing happens. No sound nothing. Also XMMS doesn't thinks its playing either because the time count doesn't increment.
4. Click on any button (stop, play, another file in the playlist) etc, and XMMS locks up completely and has to be killed.
Also, I don't know how much it matters but I am running inside kde.
|
Is ARTs running in the background?
My xmms locks up when I'm trying to play files, and artsdsp xmms solved this.
Try running xmms from a terminal. If it outputs device busy or something similar, another application is using this device. _________________ This signature will selfdestruct in ten seconds...
ten - nine - eight - seven - six - five - four - three - two - one - BSOD (System crashed, please restart the self-destruct sequence) |
|
Back to top |
|
|
gamera2_00 n00b
Joined: 05 Mar 2003 Posts: 47
|
Posted: Fri May 02, 2003 12:13 am Post subject: |
|
|
Oohhhhh yeaah, that's right, I forgot all about that.
Xmms doesn't have an ARTS sound output plugin by default.
If you want arts support in XMMS, try;
ACCEPT_KEYWORDS="~x86" emerge xmms-arts
Then you can use xmms under arts.
Note: Visualization plugins will lag quite a bit, but you'll be able to use xmms and have kde sounds. If you want to use visualization plugins, don't allow arts to start up with kde and use the OSS output plugin. Method below doesn't lag as much. _________________ "Please be aware, that while this message is being broadcast today, you may recive it tommorow, possibly yesterday."
Last edited by gamera2_00 on Fri May 02, 2003 6:10 pm; edited 1 time in total |
|
Back to top |
|
|
Roptaty Apprentice
Joined: 12 May 2002 Posts: 184 Location: Norway
|
Posted: Fri May 02, 2003 12:28 am Post subject: |
|
|
gamera2_00 wrote: |
If you want arts support in XMMS, try;
ACCEPT_KEYWORDS="~x86" emerge xmms-arts
Then you can use xmms under arts.
|
You may also run xmms with the following command: artsdsp xmms
Development of the plugin XMMS-arts has been suspended, I think...
If you want to use xmms without arts in KDE,
do an artsshell suspend. (Please note that sounds outputted to arts during xmms is playing, will be suspended until the dsp device is ready again). _________________ This signature will selfdestruct in ten seconds...
ten - nine - eight - seven - six - five - four - three - two - one - BSOD (System crashed, please restart the self-destruct sequence) |
|
Back to top |
|
|
Assgier Tux's lil' helper
Joined: 28 May 2003 Posts: 127 Location: Europe -> Netherlands -> Utrecht -> Amersfoort
|
Posted: Tue Jun 03, 2003 6:39 pm Post subject: |
|
|
yo i'm having the same problem, but instead of using ARTS-hacks to play normally, i really would like to use it with ALSA...
also, nice to know is, that when you wait a while, XMMS wil start playing just fine... it's just that annoying delay every time you start XMMS
Anyone who had this problem and maybe solved it?
I'm using a SiS7012 soundcard (AC'97 i believe...), it's a laptop _________________
|
|
Back to top |
|
|
sklettke Guru
Joined: 05 Nov 2002 Posts: 352 Location: Madison, WI
|
Posted: Wed Jun 04, 2003 1:28 am Post subject: |
|
|
I had this same problem. In order to get xmms to play through alsa, arts needs to be closed. To do this manually run
You can also set kde so that it doesn't automatically load the arts dameon on startup through the control center.
Some programs automatically restart the arts dameon so you might neen to run killall artsd occasionally. _________________ Jab.ID: scottk@jabber.org
Kernel: 2.6.11-rc3-nitro0
KDE 3.3.2 with Xorg
MythBox: 2.6.5-gentoo-dev-r2 (LVMed 360GB in XFS; Athlon 2500+) |
|
Back to top |
|
|
|