Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
xmms audio problem
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
vxspiritxv
n00b
n00b


Joined: 07 Apr 2003
Posts: 60

PostPosted: Fri Jan 23, 2004 11:40 pm    Post subject: xmms audio problem Reply with quote

Just did a clean install of gentoo on a new machine I just built:
ASUS A7N266, everything is onboard + added a 2nd nick Dlink 530tx+
Everything is compiled into the kernel except for nforce-net and nvidia-kernel modules.

Just a side note, I had a problem with jack requiring alsa, and alsa requiring jack in the emerge. A developer might want to look into that. Had to use `USE="-jack" emerge alsa-lib` to emerge alsa, then jack, then alsa again to continue.

Anyways in XMMS im getting popping (small pop every second er so) using the alsa plugin in both 1.2.7-r23 and 1.2.8-r3, and using the oss plugin, audio is fine for like 5 seconds, then it gets slightly garbled for one second then its good for like 15 seconds garbled for another second, good for 15, bad for 1sec, ect. I tryed playing with buffer settings (didn't know what I was doing), but didn't change anything.

mplayer plays audio fine from mp3s, it seems to be using oss.
gmplayer plays audio from movies fine.

gxine works fine.

Anyways could use a little help with xmms.
Back to top
View user's profile Send private message
sklettke
Guru
Guru


Joined: 05 Nov 2002
Posts: 352
Location: Madison, WI

PostPosted: Sat Jan 24, 2004 11:45 pm    Post subject: Reply with quote

Sounds like I had the exact same sound problems as you did. ALSA would make popping sounds and oss would work great, but get very scratchy after a little while.

First, you might want to check your ALSA settings by running alsamixer. You can put the Master volume all the way up, but you don't want to go to high on the PCM volume.

Second, this was my problem: "It was pointed out to be the "sse" in my USE profile. For some reason, when xmms, libvorbis, mpg123/321, and vorbis-tools were compiled with that command, oggenc failed to compress WAV files and xmms had the sounds described above."

I just had to re-emerge xmms (and for me libvorbis, mpg123, and vorbis-tools) without the sse in my USE section of /etc/make.conf.

See if that works for you...

Scott
_________________
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
View user's profile Send private message
vxspiritxv
n00b
n00b


Joined: 07 Apr 2003
Posts: 60

PostPosted: Sun Jan 25, 2004 10:44 pm    Post subject: Reply with quote

Drat, didn't seem to help me :(
beep-media-player has the same oss problem as xmms does.
Reminds me of the nforce2 (a7n8x) problem on my windows box when in games it would make the sound all nasty but unlike the windows problem this one fixes itself after a second, where windows you have to restart the game.
Back to top
View user's profile Send private message
sklettke
Guru
Guru


Joined: 05 Nov 2002
Posts: 352
Location: Madison, WI

PostPosted: Sun Jan 25, 2004 10:59 pm    Post subject: Reply with quote

I'm not quite sure what you mean, did you try the USE thing I mentioned? Also, remember to re-emerge mpg123 after removing "sse" as well since that is what xmms uses (unless you have chosen the MAD xmms plugin)

Scott
_________________
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
View user's profile Send private message
vxspiritxv
n00b
n00b


Joined: 07 Apr 2003
Posts: 60

PostPosted: Sun Jan 25, 2004 11:10 pm    Post subject: Reply with quote

zinf audio player works for me!
Tho I don't like the interface (playlist)

I don't have mpg123/321 installed at all.
Tryed `USE="-sse" emerge xmms` as well as editing the make.conf no change ether way.

Code:
Calculating dependencies ...done!
[ebuild  N    ] media-sound/madplay-0.15.0b-r1 
[ebuild  N    ] media-sound/mad-0.15.0b 

bash-2.05b# emerge -p mpg123

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild  N    ] media-sound/mpg123-0.59r-r3 

bash-2.05b# emerge -p mpg321

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild  N    ] media-libs/libao-0.8.3-r1 
[ebuild  N    ] media-sound/madplay-0.15.0b-r1 
[ebuild  N    ] media-sound/mad-0.15.0b 
[ebuild  N    ] media-sound/mpg321-0.2.10-r1 



Maybe I can try re-doing the xmms mad plugin, what is its package name?
Back to top
View user's profile Send private message
sklettke
Guru
Guru


Joined: 05 Nov 2002
Posts: 352
Location: Madison, WI

PostPosted: Sun Jan 25, 2004 11:44 pm    Post subject: Reply with quote

media-plugins/xmms-mad

After emerging it you have to enable it under the Audio I/O Plugins tab in xmms. (Remember to disable the other mp3 plugin). Speaking of that, are you able to play Ogg Vorbis without the scratchy sounds in xmms?

Scott
_________________
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
View user's profile Send private message
vxspiritxv
n00b
n00b


Joined: 07 Apr 2003
Posts: 60

PostPosted: Mon Jan 26, 2004 12:00 am    Post subject: Reply with quote

Does it with ogg as well.
Installed the mad plugin, still does it.
I have esound installed, know how I go about using that?

Code:
bash-2.05b# esd
Segmentation fault
Back to top
View user's profile Send private message
sklettke
Guru
Guru


Joined: 05 Nov 2002
Posts: 352
Location: Madison, WI

PostPosted: Mon Jan 26, 2004 2:15 am    Post subject: Reply with quote

I've never used esound. But if you have arts (for kde), then you can emerge xmms-arts (make sure to emerge latest 0.6.0 version by actually going into xmms-arts directory in the /usr/portage/media-plugins/xmms-arts directory). And then, after making sure arts is running via the kde control panel's sound system settings you can pipe xmms audio through arts. Arts and esound allow for software mixing (two sounds at same time). ALSA can supposedly do software mixing transparently by itself, but I have not had the success with this that others have had.

Once artsd is running, you can then get *almost* any program to pipe its audio through arts by running, for example, artsdsp MozillaFirebird.

I also have mp3 and oggvorbis as USE flags so maybe check to see if you have that.

Good luck!

Scott
_________________
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
View user's profile Send private message
vxspiritxv
n00b
n00b


Joined: 07 Apr 2003
Posts: 60

PostPosted: Mon Jan 26, 2004 11:55 am    Post subject: Reply with quote

arts works great!
installed that plugin.
chmod u+s artswrapper
artsd -a alsa
selcted to use arts in xmms
flawless audio now
~7% cpu usage
thanks for all your help.
Back to top
View user's profile Send private message
independence
n00b
n00b


Joined: 06 Dec 2003
Posts: 21
Location: Sweden

PostPosted: Mon Jan 26, 2004 8:34 pm    Post subject: Reply with quote

I have the exact same problem and have tried all the solutions you came up with exept the one with arts because I don't use KDE, the one that seemed to make it work... What should I do? Can I use arts without KDE? I have a nForce2 A7N8X Deluxe motherboard and am using the 2.6.1 kernel.
_________________
http://www.blinkenlights.se/ - En webbsida om programmering och spelutveckling
http://blinkenshell.org/ - Free UNIX shell service
Back to top
View user's profile Send private message
vxspiritxv
n00b
n00b


Joined: 07 Apr 2003
Posts: 60

PostPosted: Mon Jan 26, 2004 10:54 pm    Post subject: Reply with quote

I'm using arts without kde, but I think you still need the kdelibs.
emerge -p arts and find out. I have the libs installed anyways, but im using windowmaker as my desktop manager.
Back to top
View user's profile Send private message
wahkim
n00b
n00b


Joined: 02 Oct 2003
Posts: 41
Location: Edmonton, Canada

PostPosted: Thu Jun 17, 2004 4:07 pm    Post subject: Reply with quote

in xmms's alsa plugin configuration, do you have mmap enabled? turn it off.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum