Help - Search - Members - Calendar
Full Version: MPC in Linux 64bit (help!)
Hydrogenaudio Forums > Lossy Audio Compression > MPC
TURBO
Hi friends from now and then. I just converted myself to linux. I installed all distros your mind can imagine. Always looking for something (the never ending story). At the end of the jurney I keep Mandrake (Amd64)10 rc1. From here, looks like I have the best seat in hell.
First, I cant use my Revolution 7.1 for music (no drivers). I am using the Ac97 from the board. Now I tried to install the mpc plugin for xmms and no luck. I even downloaded mpc plugins from websites that I cant even understand. At the end no mpc sound from xmms. In other words, hell all around my new system and me.
Before I go to Germany and personally look for Frank, would someone tell me how to make xmms to play mpc files in a AMD64 system using Mandrake 10. Thank you very much in advance. mad.gif
xmixahlx
i don't have an amd64 system, so i'm just speculating... but...

i would assume the problem lies in the sound system/hardware drivers itself, because amd64 should be able to mix 64bit/32bit software perfectly

what works? what doesn't?


later
rjamorim
QUOTE(TURBO @ May 11 2004, 06:39 PM)
Now I tried to install the mpc plugin for xmms and no luck.

What problem are you experiencing? No sound? Error messages? Plugin refuses to load?

Does mppdec work?

Can you play other formats on XMMS normally?

Please do a better description of the issue when posting about a problem.
QuantumKnot
Have you tried playing an mp3? If you can't even play an mp3 in xmms, then it is more to do with the sound system than the mpc plugin.
TURBO
QUOTE(rjamorim @ May 11 2004, 06:43 PM)
QUOTE(TURBO @ May 11 2004, 06:39 PM)
Now I tried to install the mpc plugin for xmms and no luck.

What problem are you experiencing? No sound? Error messages? Plugin refuses to load?

Does mppdec work?

Can you play other formats on XMMS normally?

Please do a better description of the issue when posting about a problem.

Thanks guys. Roberto. I can play the xmms default formats. The main problem is compiling the xmms mpc plugin source. It complains about a bunch of libraries. I am unable to find one distribution for amd64. I found one for x686. But no luck. Later I found this rpm for Athlon : xmms-input-musepack-0.94-3.athlon.rpm and start complaining about the libraries. So I found: xmms-libs-1.2.10-2.athlon.rpm and installed it. Now says that is installed but I dont see it in the properties of xmms. Thanks god this is not Gentoo, that take days to re-install. After I get this distro to play mpc, I will unnistall and install it again from scratch. I would like to find a procedure to install mpc in a Amd 64 linux system. I am using mandrake 10 adm64 rc1. Thanks to all for replying.
xmixahlx
hrm, i think you're trying to piece this together from different puzzles, eheh smile.gif

really, tho...
* you don't need a binary built for athlon or amd64
* you only need an xmms & xmms-musepack rpm for mandrake
* to build from source you need much more:
xmms, xmms-dev, gtk1.2 gtk1.2-dev libc6-dev glib1.2 xlibs-dev (that come to mind atm...)

i'd say just convert the rarewares debian packages, but redhat builds xmms completely differently (i.e. illogically...) - so i'd assume mandrake does too... you could give alien a try, probably your best bet for audio-related packages around here, anyways...


later
Lefungus
Grab latest xmms plugin at www.musepack.net
Unpack the archive somewhere
try to do this in root "make & make install"
If it doesn't work, try to use the included lib in the package, copy it in your input plugins folder for xmms, don't forget to give it executable rights like this "chmod a+x libname.so"


Btw, revolution 7.1 DOES have drivers under linux (ALSA drivers), the module name is snd-ice1724. I have the same chip, envy24ht, and it works fine now that alsa is fairly well supoorted under most apps. Check here when you look for sound cards drivers under *nix
TURBO
QUOTE(Lefungus @ May 12 2004, 05:48 AM)
Grab latest xmms plugin at www.musepack.net
Unpack the archive somewhere
try to do this in root "make & make install"
If it doesn't work, try to use the included lib in the package, copy it in your input plugins folder for xmms, don't forget to give it executable rights like this "chmod a+x libname.so"


Btw, revolution 7.1 DOES have drivers under linux (ALSA drivers), the module name is snd-ice1724. I have the same chip, envy24ht, and it works fine now that alsa is fairly well supoorted under most apps. Check here when you look for sound cards drivers under *nix

Hi. Didnt work. I did "make" and I got this: Nothing to be done for `all'.
I did make install and I got:
./xmms-musepack-`echo 0.99`.so \ `xmms-config --input-plugin-dir`/xmms-musepack-`echo 0.99`.so
I check xmms preferences and nothing.

Then I copied xmms-musepack-0.99.so to : /usr/lib/xmms/input and /usr/lib64/xmms/input. The xmms libraries are in /usr/lib64/xmms/input. I put it in both places, just in case. So What I do now?. TIA
Lefungus
You must add executable rights to the lib or xmms will never see the plugin
Chun-Yu
QUOTE(Lefungus @ May 13 2004, 12:37 AM)
You must add executable rights to the lib or xmms will never see the plugin

Actually, you don't smile.gif
ManK
On my gentoo 2004 system, the rarewares mpc plugin for xmms just freezes xmms. I haven't been able to find an mpc ebuild or a working binary. I wish there was more support for mpc on linux...


Edit:

I got this (http://corecodec.org/download.php/195/xmms-musepack-0.99.tar.bz2) version from codecodec.org and its working fine now! Elsewhere in this forum, there is a thread on a new update of the plugin that will fix time display issues.

-ManK
NumLOCK
QUOTE(ManK @ May 13 2004, 07:52 AM)
On my gentoo 2004 system, the rarewares mpc plugin for xmms just freezes xmms. I haven't  been able to find an mpc ebuild or a working binary. I wish there was more support for mpc on linux...


Edit:

I got this (http://corecodec.org/download.php/195/xmms-musepack-0.99.tar.bz2) version from codecodec.org and its working fine now! Elsewhere in this forum, there is a thread on a new update of the plugin that will fix time display issues.

-ManK

Hi,

That's good news for 64 bit !! :-)

Still, the last package you mention does exist as standard in gentoo..

Try a emerge search musepack.. wink.gif

CODE

Searching...
[ Results for search key : musepack ]
[ Applications found : 2 ]

*  media-plugins/xmms-musepack
     Latest version available: 0.99
     Latest version installed: 0.99
     Size of downloaded files: 195 kB
     Homepage:    http://www.uni-jena.de/~pfk/mpp/ http://corecodec.org/projects/mpc/
     Description: XMMS plugin to play audio files encoded with Andree Buschmann's encoder Musepack (mpc, mp+, mpp)
     License:     GPL-2

*  media-sound/musepack-tools
     Latest version available: 1.15r
     Latest version installed: 1.15r
     Size of downloaded files: 525 kB
     Homepage:    http://www.uni-jena.de/~pfk/mpp/ http://corecodec.org/projects/mpc/
     Description: Musepack audio compression tools
     License:     GPL-2 LGPL-2.1
Tuna
the tarball from musepack.org contains an allready compiled version of the plugin. when you issue a make it wont do anything because it is allready there. try:
CODE
$ make clean
$ make

and you should get your own compiled version. (you may need the esound headers)
TURBO
QUOTE(Tuna @ May 13 2004, 09:44 AM)
the tarball from musepack.org contains an allready compiled version of the plugin. when you issue a make it wont do anything because it is allready there. try:
CODE
$ make clean
$ make

and you should get your own compiled version. (you may need the esound headers)

Hi. this is what I get:

[root@amd64 turbo]# cd /home/turbo/Documents/xmms-musepack-0.99
[root@amd64 xmms-musepack-0.99]# make clean
rm -f *.o xmms-musepack-`echo 0.99`.so
[root@amd64 xmms-musepack-0.99]# make


gcc -s -DVERSION=\"0.99\" -Wall -shared -O3 -march=pentium --fast-math -DPOSIX -D_REENTRANT -DREENTRANT -I.. -DMPP_ENCODER `xmms-config --cflags --libs` `gtk-config --cflags --libs` -o xmms-musepack-`echo 0.99`.so in_mpc.c bitstream.c huffsv46.c huffsv7.c requant.c synth_filter.c mpc_dec.c equalizer.c equal.c tags.c 2>&1 | grep -v '/usr/'
/bin/sh: line 1: gtk-config: command not found
cc1: error: CPU you selected does not support x86-64 instruction set
cc1: error: CPU you selected does not support x86-64 instruction set
cc1: error: CPU you selected does not support x86-64 instruction set
cc1: error: CPU you selected does not support x86-64 instruction set
cc1: error: CPU you selected does not support x86-64 instruction set
cc1: error: CPU you selected does not support x86-64 instruction set
cc1: error: CPU you selected does not support x86-64 instruction set
cc1: error: CPU you selected does not support x86-64 instruction set
cc1: error: CPU you selected does not support x86-64 instruction set
cc1: error: CPU you selected does not support x86-64 instruction set
cc1: error: CPU you selected does not support x86-64 instruction set
cc1: error: CPU you selected does not support x86-64 instruction set
cc1: error: CPU you selected does not support x86-64 instruction set
cc1: error: CPU you selected does not support x86-64 instruction set
cc1: error: CPU you selected does not support x86-64 instruction set
cc1: error: CPU you selected does not support x86-64 instruction set
cc1: error: CPU you selected does not support x86-64 instruction set
cc1: error: CPU you selected does not support x86-64 instruction set
cc1: error: CPU you selected does not support x86-64 instruction set
cc1: error: CPU you selected does not support x86-64 instruction set
[root@amd64 xmms-musepack-0.99]#
dev0
Have you bothered actually looking into the makefile and fixing the line:

CODE
OPTIONS = -Wall -shared -O3 -march=pentium --fast-math -DPOSIX -D_REENTRANT -DREENTRANT -I.. -DMPP_ENCODER


to -march=athlon64 (described in more detail in the GCC manual)?

Reading and interpreting make error messages is something that should be done before spamming them into a forum.
robUx4
QUOTE(TURBO @ May 13 2004, 04:15 PM)
/bin/sh: line 1: gtk-config: command not found

Where the hell does it come from ?
dev0
A broken/incomplete installation/package of GTK1.2?
Maybe Mandrake provides an extra libgtk1.2-devel package or similiar.
Tuna
try editing 'Makefile', on line 3 where OPTIONS=... try to substitute -march=pentium with:
CODE
-march=k8
and maybe add
CODE
-m64
see if that works. personally i never worked with a 64bit machine myself.. so i cant forsee anything.

EDIT: ok dev0 was faster and more clever than i was ;-p
TURBO
Thanks guys. I gave up. I went back to windows. Sad. Apparently, there is no amd64 mpc support yet. I managed to have stereo sound using my revo 7.1. But every time I rebooted, it went backto mono sound. So I had to run alsamixer to adjust the frequency rate and then it switch to stereo. Aparently another bug. I dont hear mp3s, so mpc is more important than my OS. ja, ja. Yes it is. Seriously, mm. I am going to wait until drivers and new distros emerge. Thanks.
wing
I really doubt that it was impossible to get mpc to play, to me the problem just stemed from not having the right packages (gtk-config isn't found?) and the makefile assumed --march=pentium when pentium is a 32-bit architecture, the compiler was spewing errors because it wants to compile something that will run.
psycho8me
What are you doing that needs 64bit?? I mean if you are running windows which is only 32bits, why not just install regular x86 mandrake and have mpc and everything you want?
TURBO
QUOTE(psycho8me @ Jul 14 2004, 04:55 PM)
What are you doing that needs 64bit?? I mean if you are running windows which is only 32bits, why not just install regular x86 mandrake and have mpc and everything you want?
*




Yes, that is what I did. I installed Fedora Core2 with kernel 2.6.8 rc1 (32bit) and now everything works fine except my Revo. Alsa Drivers for Revo are not mature. I just wanted to have my amd64 3200, my M-audio Revolution, my Ipod 3G, Xmms (mpc) and my FujiFilm Finepix 700 working in a 64bit platform. That's all. sad.gif
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.