Post New Topic  Post A Reply
my profile | register | search | faq | forum home
  next oldest topic   next newest topic
» MacOSX - forked.net   » Ported Packages   » Using xmms

UBBFriend: Email this page to someone!    
Author Topic: Using xmms
apex
Administrator
Member # 1

posted August 23, 2001 09:38 AM      Profile for apex   Email apex   Send New Private Message      Edit/Delete Post  Reply With Quote 
Once you have installed all the required packages for xmms you must start the esound daemon (esd).
code:
esd -port 16001

Now that esd is running, start xmms and open the preferences. Select eSound as your audio output plugin and make sure it is using port 16001.


Posts: 307 | From: Alaska | Registered: Aug 2001  |  IP: Logged
Colddiver
Junior Member
Member # 40

posted August 24, 2001 09:35 AM      Profile for Colddiver     Send New Private Message      Edit/Delete Post  Reply With Quote 
First, let me start by saying thank you all for porting so many apps to Darwin. It is really cool to learn unix on the Mac without having to repartition, reboot and pray (my previous experiences with linuxppc were not so great).

Regarding XMMS, I tried the trick you mention but it does not seem to be working here... I always get the "Please chack that your output plugin is correct, no other program is blocking the soundcard and soundcard is properly configured" alert...

What other program would block the soundcard?

When I start esd, I do get the init tones so that seems to be fine...

Thanks,

Colddiver


Posts: 5 | From: Canada | Registered: Aug 2001  |  IP: Logged
Colddiver
Junior Member
Member # 40

posted August 24, 2001 11:41 AM      Profile for Colddiver     Send New Private Message      Edit/Delete Post  Reply With Quote 
Things are worse now... I did many install for darwin recently and I was careless enough to delete the content of /usr/bin (yeah... I know). I reinstalled OS X and everything else but now, when I want to run XMMS, this is what I get:

** CRITICAL **: setup_ctrlsocket(): Failed to assign /var/tmp/xmms_username.0 to a socket (Error: Permission denied)

I have never had that problem before I reinstalled X so I must assume that before that, the tmp directory that was used was not the /var/tmp...

Other apps complain about that too... How can I fix this?


Posts: 5 | From: Canada | Registered: Aug 2001  |  IP: Logged
Colddiver
Junior Member
Member # 40

posted August 24, 2001 12:06 PM      Profile for Colddiver     Send New Private Message      Edit/Delete Post  Reply With Quote 
Well... I reinstalled esound and it now works... I have to run it as root though because of the above problem...

Colddiver


Posts: 5 | From: Canada | Registered: Aug 2001  |  IP: Logged
apex
Administrator
Member # 1

posted August 25, 2001 08:26 AM      Profile for apex   Email apex   Send New Private Message      Edit/Delete Post  Reply With Quote 
yes, running a daemon as root is standard operating procedure in unix.
Posts: 307 | From: Alaska | Registered: Aug 2001  |  IP: Logged
Colddiver
Junior Member
Member # 40

posted August 27, 2001 12:33 PM      Profile for Colddiver     Send New Private Message      Edit/Delete Post  Reply With Quote 
Well... It didn't work for long... I now get this each time I try to run esd (either as root or normal user) and XMMS just hang badly if I try to play anything:

- accepting connections on port 16001
Audio device open for 44.1Khz, stereo, 16bit failed
Trying 44.1Khz, 8bit stereo.
Audio device open for 44.1Khz, stereo, 8bit failed
Trying 48Khz, 16bit stereo.
Audio device open for 44.1Khz, stereo, 8bit failed
Trying 22.05Khz, 8bit stereo.
Audio device open for 22.05Khz, stereo, 8bit failed
Trying 44.1Khz, 16bit mono.
Audio device open for 44.1Khz, mono, 8bit failed
Trying 22.05Khz, 8bit mono.
Audio device open for 22.05Khz, mono, 8bit failed
Trying 11.025Khz, 8bit stereo.
Audio device open for 11.025Khz, stereo, 8bit failed
Trying 11.025Khz, 8bit mono.
Audio device open for 11.025Khz, mono, 8bit failed
Trying 8.192Khz, 8bit mono.
Audio device open for 8.192Khz, mono, 8bit failed
Trying 8Khz, 8bit mono.
Sound device inadequate for Esound. Fatal.

It did work but very briefly... Briefly enough to give me a taste of it and to make me want it to work again!

Colddiver


Posts: 5 | From: Canada | Registered: Aug 2001  |  IP: Logged
Boris Mann
Junior Member
Member # 70

posted September 03, 2001 06:46 PM      Profile for Boris Mann   Author's Homepage   Email Boris Mann   Send New Private Message      Edit/Delete Post  Reply With Quote 
Works fine for me. Could be down to which model of Mac/motherboard you're running....

I've got a Yikes/PCI G4 400Mhz, and here' the response from running esd:

code:

using device Built-in audio controller for output:
with sample rate 44100.000000, 2 channels and 32-bit sample
using device Built-in audio controller for input:
with sample rate 44100.000000, 2 channels and 32-bit sample

Of course, I still don't have xmms running ( http://macosx.forked.net/cgi-bin/ultimatebb.cgi?ubb=get_topic&f=2&t=000018 ), but that's due to other problems

-- Boris

[ September 03, 2001: Message edited by: Boris Mann ]


Posts: 4 | From: Ottawa, ON, Canada | Registered: Sep 2001  |  IP: Logged
Obscurian
Junior Member
Member # 90

posted September 12, 2001 03:00 PM      Profile for Obscurian     Send New Private Message      Edit/Delete Post  Reply With Quote 
I'm having problems with XMMS as well. ESD works properly and gives the test tones when run as root. XMMS fires up properly, but is unable to open the sound device (it's configured to use ESD, I've tried running "sudo esd -port 16001 &" but no dice! It can't interface with ESD for some reason... Any ideas?

-Obscurian


Posts: 10 | Registered: Sep 2001  |  IP: Logged
cutter
Junior Member
Member # 113

posted September 22, 2001 04:27 PM      Profile for cutter   Email cutter   Send New Private Message      Edit/Delete Post  Reply With Quote 
poor apex...seems like he's the only one here who has any solutions. I'm also having the same problem as colddiver is trying to get eSound to work...
Posts: 2 | Registered: Sep 2001  |  IP: Logged
cutter
Junior Member
Member # 113

posted September 22, 2001 04:28 PM      Profile for cutter   Email cutter   Send New Private Message      Edit/Delete Post  Reply With Quote 
poor apex...seems like he's the only one here who has any solutions. I'm also having the same problem as colddiver is trying to get eSound to work...
Posts: 2 | Registered: Sep 2001  |  IP: Logged
Obscurian
Junior Member
Member # 90

posted September 23, 2001 11:59 AM      Profile for Obscurian     Send New Private Message      Edit/Delete Post  Reply With Quote 
So I've had a little (limited) luck running XMMS and ESD. I've had to specify tcp ports by running
esd -tcp &
and then starting xmms. I get sound output but it's choppy and doesn't play correctly. I am wondering if this is because of the tcp bit. I read somewhere that esd is normally supposed to interface through the socket at /tmp/.esd/socket
Try out the -tcp flag and see if it helps. Anybody have an idea why playback would be so choppy?

-Obscurian


Posts: 10 | Registered: Sep 2001  |  IP: Logged
apex
Administrator
Member # 1

posted September 24, 2001 11:44 AM      Profile for apex   Email apex   Send New Private Message      Edit/Delete Post  Reply With Quote 
Obscurion-
Did you configure xmms to use esound as its output plugin, and is it also using port 16001? (this is when you are not using the -tcp option)

Posts: 307 | From: Alaska | Registered: Aug 2001  |  IP: Logged
hypoflux
Junior Member
Member # 176

posted October 20, 2001 07:14 AM      Profile for hypoflux   Email hypoflux   Send New Private Message      Edit/Delete Post  Reply With Quote 
here's some tips that SHOULD get XMMS and esd working properly, since I saw no one posted this in regards to this problem.

Run 'esdcat /usr/libexec/config.guess' or any other big file (a big tar ball maybe ) if you hear grating white noise really quick, esd SHOULD work right for you. If you get no out from that. run 'esd &' and watch the output - if all looks normal you should something in regards to using outputdevice etc

Also, check in the preferences of xmms that the output plugin is set for esd (by default, that i've seen, it starts with some diskwriter plugin)

if you're still getting long pauses, or no sound output. check the permissions on /tmp/.esd and /tmp/.esd/socket they should be owned your normal user account. If they are not owned by you, kill ESD if it's running (check by doing a 'ps aux | grep esd', then remove the directory as the root user (sudo rm -fr /tmp/.esd) then start esd again (run esd as your normal user, not the superuser, esd was meant to be run on a per user, per need basis, not as root)

also, you do not need to run esd with the -port and -tcp switches if you want to run esd clients on another computer on your network. etc.

~Eric


Posts: 4 | From: Florida | Registered: Oct 2001  |  IP: Logged
v0id7
Junior Member
Member # 209

posted November 07, 2001 04:01 AM      Profile for v0id7   Email v0id7   Send New Private Message      Edit/Delete Post  Reply With Quote 
when i start esd it makes a cool sound that makes me think its working but i still get no sound in xmms even though the esound output plugin is selected...when i start esd i type "esd &" i do this as a normal user and xmms gives me a dilog saying "please check that:
1) you have the correct sound output plugin selected

2) you have no other programs blocking the sound card

3) your sound card is configured correctly"

if it matters i have a new g4
please help, thanks in advance!


Posts: 1 | From: Everywhere | Registered: Nov 2001  |  IP: Logged
ThanatosX
Junior Member
Member # 247

posted December 05, 2001 06:19 AM      Profile for ThanatosX   Email ThanatosX   Send New Private Message      Edit/Delete Post  Reply With Quote 
I have gotten it all to work fine... with some messing about. The bigger prob I have is that the sound is so jumpy it is unusable. I put this down to my computer being to slow. But still I can run MP3 in mpg123 and they play okay. I know this is a different thing but are there any ways to optimise the way my comp plays in XMMS?

I have a Blue and White G3 350Mhz, 192Megs RAM running OSX 10.1.1.... suggestions?


Posts: 5 | From: Scotland | Registered: Dec 2001  |  IP: Logged
<MaxiQ>
unregistered

posted October 21, 2003 05:30 AM           Edit/Delete Post  Reply With Quote 
I had similar problems with it workin, but xmms not being able to output (error msg). what i did was killed off ALL sound daemons, which was the artsd and esd
$ killall esd; killall artsd
Then it worked like a charm....as for the quality, tis good, no probs, could have just been the network u guys were on, who knows, i have a 100mbps personal switch for my two machines......

give it a go and also cheers to those for the help for me to get this to work

Maxi. =)


IP: Logged
<anonymous_coward>
unregistered

posted January 12, 2004 04:48 AM           Edit/Delete Post  Reply With Quote 
Thanks! this helped me a lot. :-)
IP: Logged

All times are Pacific Time  

Post New Topic  Post A Reply Close Topic    Move Topic    Delete Topic next oldest topic   next newest topic
Hop To:

Contact Us | macosx.forked.net

Powered by Infopop Corporation
Ultimate Bulletin BoardTM 6.1.0.2