LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-16-2004, 11:01 AM   #1
fernashes
LQ Newbie
 
Registered: Feb 2004
Location: The netherlands
Distribution: Gentoo
Posts: 11

Rep: Reputation: 0
Xmms: sound with root, not with user with Alsa


Ok, I admit it, I'm a newbie.... but I'm trying!

Here's the problem: I'm trying to listen to streamingsoundtracks.com - it's a shoutcast MP3 radio stream. I got the sound working on my new Gentoo/Gnome installation last night (alsa) and even managed to watch a DVD. (Yes, I'm proud of myself :-P ).

Now when I try and open the link for the shoutcast with Xmms, it works under root but not under my user. The user is a member of the audio group (before I changed that was giving an error that it couldn't find alsa). It's not giving me any errors, it's just playing way too fast, at least what I can see from the graphics it's giving me.

Anybody have any ideas? I'm stumped!

Thanks,
Fernashes
/me loves Gnome!
 
Old 02-16-2004, 11:03 AM   #2
guygriffiths
Member
 
Registered: Jun 2003
Location: Reading, UK
Distribution: Debian 3.0, LFS
Posts: 524

Rep: Reputation: 37
Quote:
It's not giving me any errors, it's just playing way too fast, at least what I can see from the graphics it's giving me
What do you mean by "the graphic's it's giving me"? Do you mean that the song position bar is whizzing through very quickly and you aren't getting any sound? If so, check your output plugin for xmms. It may well be set on "disk writer" which writes to the disk (surprisingly), and gives this exact effect.
 
Old 02-16-2004, 11:17 AM   #3
fernashes
LQ Newbie
 
Registered: Feb 2004
Location: The netherlands
Distribution: Gentoo
Posts: 11

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by guygriffiths
What do you mean by "the graphic's it's giving me"? Do you mean that the song position bar is whizzing through very quickly and you aren't getting any sound?
Yes, that's exactly what I mean.

Quote:
Originally posted by guygriffiths
If so, check your output plugin for xmms. It may well be set on "disk writer" which writes to the disk (surprisingly), and gives this exact effect.
The output is set to alsa. That seemed the most logical, since I haven't installed oss.

The weird thing is, with exactly the same settings, it only works if I log into X as root... if I try and start up Xmms from the console, as root, I get the same problem.
 
Old 02-16-2004, 11:20 AM   #4
fernashes
LQ Newbie
 
Registered: Feb 2004
Location: The netherlands
Distribution: Gentoo
Posts: 11

Original Poster
Rep: Reputation: 0
This is the output that I got when I ran Xmms from the console just now, to test if it worked with root:

aphrodite root # xmms

** CRITICAL **: file configfile.c: line 266 (xmms_cfg_write_string): assertion `value != NULL' failed.

** CRITICAL **: file configfile.c: line 266 (xmms_cfg_write_string): assertion `value != NULL' failed.

** CRITICAL **: file configfile.c: line 266 (xmms_cfg_write_string): assertion `value != NULL' failed.

** CRITICAL **: file configfile.c: line 266 (xmms_cfg_write_string): assertion `value != NULL' failed.
aphrodite root # exit
logout
fernashes@aphrodite fernashes $ xmms

** WARNING **: Buffer time reduced from 500 ms to 341 ms

** WARNING **: Buffer time reduced from 500 ms to 341 ms
fernashes@aphrodite fernashes $


Maybe it helps?
 
Old 02-16-2004, 12:54 PM   #5
fernashes
LQ Newbie
 
Registered: Feb 2004
Location: The netherlands
Distribution: Gentoo
Posts: 11

Original Poster
Rep: Reputation: 0
/me is an idiot!!!!!

MUTE!
 
Old 02-16-2004, 01:17 PM   #6
vinay_s_s
Member
 
Registered: Jul 2003
Posts: 658

Rep: Reputation: 30
lol. The whole thread is a waste for such a STUPID REASON!!!
PEOPLE CHECK YOUR SOUND VOLUME BEFORE ANYTHING ELSE!!!
 
Old 02-16-2004, 01:21 PM   #7
fernashes
LQ Newbie
 
Registered: Feb 2004
Location: The netherlands
Distribution: Gentoo
Posts: 11

Original Poster
Rep: Reputation: 0
The stupid thing is, I could have sworn I checked it, because I was even playing around with it...

Oh, well. Live and learn. =) Maybe some other newbie'll not have to fight with it for so long before figuring out that it was something simple.
 
Old 02-16-2004, 01:51 PM   #8
rockvoyager
LQ Newbie
 
Registered: Feb 2004
Posts: 1

Rep: Reputation: 0
Quote:
Originally posted by fernashes
/me is an idiot!!!!!

MUTE!
Thx for sharing the fix mate. I also am a linux newbie and it's ALL a learning experience for me. It's always easy when you know the answer but when you're in the hole sometimes even the question isn't obvious. I expect to jump in a lot of deep holes in the next several months, hopefully I can ask questions (assuming I read the FAQ's) without getting flamed.

Brad
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 5.1 Sound in XMMS using ALSA extremebfn Linux - General 0 01-19-2005 09:19 AM
xmms (alsa) sound problem feetyouwell Linux - Software 2 01-14-2005 01:58 PM
Using ALSA Sound Driver with XMMS? JockVSJock Slackware 18 01-04-2005 04:00 PM
xmms, using alsa as user Bluenoser Slackware 4 09-20-2004 11:51 PM
Alsa Drivers No sound for non root user ElementNine Linux - Hardware 4 10-01-2003 04:06 AM


All times are GMT -5. The time now is 12:06 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration