View previous topic :: View next topic |
Author |
Message |
wilburpan l33t
Joined: 21 Jan 2003 Posts: 977
|
Posted: Fri Mar 05, 2004 12:14 am Post subject: JuK skips, XMMS (and other audio) doesn't |
|
|
I've been playing around with JuK, but I'm finding that I hear a lot of very brief skips in mp3's I'm playing through JuK. This does not happen with XMMS or with other programs that play audio (mplayer, for example).
One other annoying think with JuK is that for some mp3's there is a brief sound of gibberish audio at the beginning of the track, as if someone was listening to a tape played at a very high speed. Again, this does not seem to happen with XMMS.
Any ideas why this might be happening? _________________ I'm only hanging out in OTW until I get rid of this stupid l33t ranking.....Crap. That didn't work. |
|
Back to top |
|
|
kai n00b
Joined: 12 Jun 2002 Posts: 53 Location: Oakland, CA
|
Posted: Fri Mar 05, 2004 4:42 am Post subject: |
|
|
are you using kernel 2.6? juk skipped sometimes for me before I upgraded to 2.6
If you are using 2.6, try the cfq scheduler. |
|
Back to top |
|
|
riggagoogoo Tux's lil' helper
Joined: 06 Apr 2003 Posts: 108
|
Posted: Fri Mar 05, 2004 8:39 am Post subject: |
|
|
I had a problem similar to this however it also affected kaboodle and noatun, I am using 2.6 and found the problem to be with my IDE drivers(dma was not enabled and I was unable to turn it on using hdparm), I had compiled them as modules so went back and built them in to the kernel and all my problems have now gone, sound is rock steady in any audio app I use.
Hope this helps
RiGGa |
|
Back to top |
|
|
wilburpan l33t
Joined: 21 Jan 2003 Posts: 977
|
Posted: Fri Mar 05, 2004 11:56 am Post subject: |
|
|
I am running a 2.6 kernel with cfq, and dma is set correctly on my machine. My IDE drivers are built into my kernel.
I did check out kaboodle and noatun, and I do get similar problems with these two programs as well. _________________ I'm only hanging out in OTW until I get rid of this stupid l33t ranking.....Crap. That didn't work. |
|
Back to top |
|
|
BeFalou n00b
Joined: 26 May 2003 Posts: 45 Location: Madrid
|
Posted: Thu Mar 25, 2004 6:49 pm Post subject: |
|
|
Same here. I think it's arts related, however, this post have been around for a while, did you get a solution? |
|
Back to top |
|
|
soNNe n00b
Joined: 26 May 2003 Posts: 64 Location: Odense, Denmark
|
Posted: Thu Mar 25, 2004 7:59 pm Post subject: |
|
|
try to recompile kdelibs, kdemultimedia and arts with +alsa set in you USE flag. the go to kde control panel -> sound and multimedia -> sound system and set audio device to Advanced linux sound architechture.
that worked for me.
if your speakers starts to make noise after that. just open your kde mixer (kmix) and disable the Surround down mix |
|
Back to top |
|
|
wilburpan l33t
Joined: 21 Jan 2003 Posts: 977
|
Posted: Thu Mar 25, 2004 8:23 pm Post subject: |
|
|
BeFalou wrote: | Same here. I think it's arts related, however, this post have been around for a while, did you get a solution? |
No -- never got a solution.
I do have alsa enabled in my USE flags, and my KDE control panel is set up identically to soNNe's. My audio card does not have a surround mode, so I couldn't disable that. I did disable the 3D, mono, and phase inversion modes (whatever the last one is), but that didn't improve JuK's performance, either. _________________ I'm only hanging out in OTW until I get rid of this stupid l33t ranking.....Crap. That didn't work. |
|
Back to top |
|
|
jkocur26 n00b
Joined: 01 Apr 2004 Posts: 2
|
Posted: Thu Apr 01, 2004 4:05 am Post subject: |
|
|
I found a workaround for me at least. I changed artsd to use OSS instead of alsa and this got rid of the sound cut-outs in kaboodle. By the way I do use alsa with oss-emulation. |
|
Back to top |
|
|
jimmybfan Tux's lil' helper
Joined: 03 Jul 2002 Posts: 100 Location: P-town
|
Posted: Thu Apr 01, 2004 7:54 am Post subject: |
|
|
you could try using gstreamer instead of arts. put gstreamer in your USE and remerge kdemultimedia. the in Juk go to Settings->Output to->gstreamer. I've never ahd any skips with it and you can search in flac files too. |
|
Back to top |
|
|
alshain Apprentice
Joined: 02 Aug 2002 Posts: 202 Location: London, UK
|
Posted: Thu Apr 01, 2004 8:32 am Post subject: |
|
|
jimmybfan wrote: | you could try using gstreamer instead of arts. put gstreamer in your USE and remerge kdemultimedia. the in Juk go to Settings->Output to->gstreamer. I've never ahd any skips with it and you can search in flac files too. |
Hmm... I've tried recompiling kdemultimedia and it complains it can't find gstreamer. It says:
checking kde/gst/gstreamer.h usability... no
checking kde/gst/gstreamer.h presence... no
checking for kde/gst/gstreamer.h... no
So it seems it's looking in the kde directory for the gstreamer headers, which are in the /usr/include/gstreamer-0.6/ directory. Did you have to recompile gstreamer as well, or is it simply a matter of making a symlink from the kde directory to the actual location?
Andrew |
|
Back to top |
|
|
jimmybfan Tux's lil' helper
Joined: 03 Jul 2002 Posts: 100 Location: P-town
|
Posted: Thu Apr 01, 2004 4:22 pm Post subject: |
|
|
oops, i forgot you have to have the kde gstreamer bindings installed first. go to https://bugs.gentoo.org/show_bug.cgi?id=43417 and use that ebuild (kgst-0.6.1.ebuild) to merge the kde gstreamer bindings and then remerge kdemultimedia and it should work. |
|
Back to top |
|
|
wilburpan l33t
Joined: 21 Jan 2003 Posts: 977
|
Posted: Thu Apr 01, 2004 5:36 pm Post subject: |
|
|
jkocur26 wrote: | I found a workaround for me at least. I changed artsd to use OSS instead of alsa and this got rid of the sound cut-outs in kaboodle. By the way I do use alsa with oss-emulation. |
This works for me too. Thanks!
It is a little annoying since I was trying to have an all-ALSA no OSS sound system -- all in the name of progress, of course. _________________ I'm only hanging out in OTW until I get rid of this stupid l33t ranking.....Crap. That didn't work. |
|
Back to top |
|
|
Merlin-TC l33t
Joined: 16 May 2003 Posts: 603 Location: Germany
|
Posted: Thu Apr 01, 2004 6:14 pm Post subject: |
|
|
I don't know if you tried that yet but just lower the ARTS buffer to the lowest possible and try it again.
Control Center -> Sound System -> General -> Skip Prevention
I know that it would be logical to increase the buffer to get better skipping protection (as the name states) but this just worked for me.
Just give it a try. |
|
Back to top |
|
|
dizzogg Tux's lil' helper
Joined: 03 May 2002 Posts: 131 Location: Virginia, USA
|
Posted: Thu Apr 01, 2004 8:40 pm Post subject: |
|
|
this is one of the reasons why i don't like using kde. arts really does suck. I've tried everything, and while I can make it better, I still get skips, which annoy the hell out of me. |
|
Back to top |
|
|
PowerFactor Veteran
Joined: 30 Jan 2003 Posts: 1693 Location: out of it
|
Posted: Fri May 28, 2004 7:53 am Post subject: |
|
|
jimmybfan wrote: | oops, i forgot you have to have the kde gstreamer bindings installed first. go to https://bugs.gentoo.org/show_bug.cgi?id=43417 and use that ebuild (kgst-0.6.1.ebuild) to merge the kde gstreamer bindings and then remerge kdemultimedia and it should work. |
Thanks for the link, it was a struggle but I finally got it working. It's nice to have proper flac support in juk. |
|
Back to top |
|
|
ScubaStreb Tux's lil' helper
Joined: 01 Jul 2002 Posts: 118
|
Posted: Wed Jun 02, 2004 7:06 am Post subject: |
|
|
PowerFactor,
Mind if I asked how you got this working? I've emerged the kgst package from bugs.gentoo.org, I have Gstreamer-0.8.1 installed, and gst-plugins-flac. I compiled everything with flac as one of my use flags. However, I get this error when I start to re-compile kdemultimedia...
Code: | **************************************************
*
* You do not seem to have GStreamer and the
* KDE GStreamer bindings installed. Without these
* aRts output will be used exclusively.
*
* You can get these bindings from kdenonbeta/gst
* or from the JuK homepage.
*
* JuK supports GStreamer output but will also
* work with aRts.
*
**************************************************
You are missing the FLAC++ headers and libraries
The FLAC plugin won't be compiled.
|
I'm going to let it compile through the night anyway. Hopefully this error message was an error . _________________ "Without question, the greatest invention in the history of mankind is beer. Oh, I grant you that the wheel was also a fine invention, but the wheel does not go nearly as well with pizza." --Dave Barry |
|
Back to top |
|
|
PowerFactor Veteran
Joined: 30 Jan 2003 Posts: 1693 Location: out of it
|
Posted: Wed Jun 02, 2004 8:45 am Post subject: |
|
|
kgst will not currently build against gstreamer-0.8. I used gstreamer-0.6.4 since that's the only pre-0.8 version in portage. |
|
Back to top |
|
|
ScubaStreb Tux's lil' helper
Joined: 01 Jul 2002 Posts: 118
|
Posted: Wed Jun 02, 2004 9:32 am Post subject: |
|
|
Hey Powerfactor,
Thanks for the very quick reply! I unmerged kgst, gstreamer-plugins, and gstreamer then installed gstreamer-0.6.4, gst-plugins-flac-0.6.4, and kgst-0.6.1. Kgst didn't want to compile this time and exited with an error,
[code]!!! ERROR: media-libs/kgst-0.6.1 failed.
!!! Function kde_src_compile, Line 129, Exitcode 2
!!! died running emake, kde_src_compile:make
[quote]
I've spent about 5 hours too long on this tonight and will have to pick up on it later. Gotta sleep sometime! Hopefully, the ebuild maintainers get the bugs worked out soon. It appears that there are already bug reports out there so I don't have to submit a new one.
Cheers! _________________ "Without question, the greatest invention in the history of mankind is beer. Oh, I grant you that the wheel was also a fine invention, but the wheel does not go nearly as well with pizza." --Dave Barry |
|
Back to top |
|
|
PowerFactor Veteran
Joined: 30 Jan 2003 Posts: 1693 Location: out of it
|
Posted: Wed Jun 02, 2004 6:04 pm Post subject: |
|
|
Sorry, momentarily forgot about that. There is some syntax in a couple of the gstreamer headers that g++ doesn't like. I did file a bug about it. But here's what you have to do
Remove the comma from the end of line 53 in /usr/include/gstreamer-0.6/gst/control/dparammanager.h and remove the comma from the end of line 62 in /usr/include/gstreamer-0.6/gst/control/dparam.h.
Then kgst should compile cleanly. |
|
Back to top |
|
|
ScubaStreb Tux's lil' helper
Joined: 01 Jul 2002 Posts: 118
|
Posted: Wed Jun 02, 2004 10:23 pm Post subject: |
|
|
Thanks PowerFactor! I'll give it a try tonight! _________________ "Without question, the greatest invention in the history of mankind is beer. Oh, I grant you that the wheel was also a fine invention, but the wheel does not go nearly as well with pizza." --Dave Barry |
|
Back to top |
|
|
|