View previous topic :: View next topic |
Author |
Message |
vxspiritxv n00b
Joined: 07 Apr 2003 Posts: 60
|
Posted: Fri Jan 23, 2004 11:40 pm Post subject: xmms audio problem |
|
|
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 |
|
|
sklettke Guru
Joined: 05 Nov 2002 Posts: 352 Location: Madison, WI
|
Posted: Sat Jan 24, 2004 11:45 pm Post subject: |
|
|
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 |
|
|
vxspiritxv n00b
Joined: 07 Apr 2003 Posts: 60
|
Posted: Sun Jan 25, 2004 10:44 pm Post subject: |
|
|
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 |
|
|
sklettke Guru
Joined: 05 Nov 2002 Posts: 352 Location: Madison, WI
|
Posted: Sun Jan 25, 2004 10:59 pm Post subject: |
|
|
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 |
|
|
vxspiritxv n00b
Joined: 07 Apr 2003 Posts: 60
|
Posted: Sun Jan 25, 2004 11:10 pm Post subject: |
|
|
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 |
|
|
sklettke Guru
Joined: 05 Nov 2002 Posts: 352 Location: Madison, WI
|
Posted: Sun Jan 25, 2004 11:44 pm Post subject: |
|
|
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 |
|
|
vxspiritxv n00b
Joined: 07 Apr 2003 Posts: 60
|
Posted: Mon Jan 26, 2004 12:00 am Post subject: |
|
|
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 |
|
|
sklettke Guru
Joined: 05 Nov 2002 Posts: 352 Location: Madison, WI
|
Posted: Mon Jan 26, 2004 2:15 am Post subject: |
|
|
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 |
|
|
vxspiritxv n00b
Joined: 07 Apr 2003 Posts: 60
|
Posted: Mon Jan 26, 2004 11:55 am Post subject: |
|
|
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 |
|
|
independence n00b
Joined: 06 Dec 2003 Posts: 21 Location: Sweden
|
Posted: Mon Jan 26, 2004 8:34 pm Post subject: |
|
|
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 |
|
|
vxspiritxv n00b
Joined: 07 Apr 2003 Posts: 60
|
Posted: Mon Jan 26, 2004 10:54 pm Post subject: |
|
|
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 |
|
|
wahkim n00b
Joined: 02 Oct 2003 Posts: 41 Location: Edmonton, Canada
|
Posted: Thu Jun 17, 2004 4:07 pm Post subject: |
|
|
in xmms's alsa plugin configuration, do you have mmap enabled? turn it off. |
|
Back to top |
|
|
|