View previous topic :: View next topic |
Author |
Message |
bLUEbYTE84 Guru
Joined: 21 Jul 2006 Posts: 566 Location: universe.tar.gz, src/earth.h, struct homo_sapiens_table
|
Posted: Wed Dec 20, 2006 9:39 pm Post subject: Do I really need aRts? |
|
|
Hi,
aRts sound daemon of KDE causes me problems (with Flash player specifically), and when I disable it the problem goes away. It gets in a clash with ALSA I think. I prefer ALSA anyway. I don't care about KDE event sounds, so do I really need aRts at all? I am considering to add -alsa USe flag and emerge -DuN world. |
|
Back to top |
|
|
Kensai Guru
Joined: 09 Mar 2004 Posts: 570 Location: Puerto Rico
|
Posted: Wed Dec 20, 2006 9:45 pm Post subject: |
|
|
I might be wrong but I think you can replace it with the use flag gstreamer, but need to check on this just a quick reply here. _________________ Gentoo: Gigabyte: nFORCE 2: nVIDIA GeForce 6600: AMD Athlon XP 3200+
Leaving the above specs to immortalize the first system I Installed Gentoo on! |
|
Back to top |
|
|
terminal9 Apprentice
Joined: 12 Oct 2006 Posts: 157
|
Posted: Wed Dec 20, 2006 9:58 pm Post subject: |
|
|
I've never enabled aRts, and things work OK so far (amarok, mplayer, kaffeine, etc)
I also get desktop sounds using external player settings (ogg123 as player). |
|
Back to top |
|
|
DtZ Tux's lil' helper
Joined: 09 Sep 2005 Posts: 124
|
Posted: Wed Dec 20, 2006 10:40 pm Post subject: |
|
|
Same here . I disabled arts use flag a long time ago and every application I use works fine. Arts always caused more problems than it should . |
|
Back to top |
|
|
i92guboj Bodhisattva
Joined: 30 Nov 2004 Posts: 10315 Location: Córdoba (Spain)
|
Posted: Wed Dec 20, 2006 11:08 pm Post subject: |
|
|
You dont need it. Use an external player for events if you like them, and alsa for the rest of applications. Arts is never needed and it just has no reason to exist. |
|
Back to top |
|
|
sonicbhoc Veteran
Joined: 24 Oct 2005 Posts: 1805 Location: In front of the computer screen
|
Posted: Fri Dec 22, 2006 2:33 pm Post subject: |
|
|
There was a thread on "kicking out arts the right way", to sum it up:
add -arts to your use flags
add arts flag to kdm, kdelibs and mpeglib to get previews in konqueror and stuff, and because kdm sometimes acts stupid without the arts flag.
now, copy this script into /usr/bin/Ksplay:
Code: |
#! /bin/sh
sox "$@" -v 1.0 -q -t alsa default &
|
emerge sox to get an external sound player for kdm events. Go into the control center, click system notifications and click "player settings" near the bottom. Click "use external player" and then type /usr/bin/Ksplay.
That should do it. _________________ I'm too lazy to keep this stupid signature up to date, so here's something more interesting:
My friend Hetdegon can draw if you ask me.
Now using PClinuxOS on my laptop and Gentoo on my desktop and new laptop. |
|
Back to top |
|
|
engineermdr Guru
Joined: 08 Nov 2003 Posts: 304 Location: Altoona, WI, USA
|
Posted: Fri Dec 22, 2006 3:26 pm Post subject: |
|
|
FWIW, kdelibs is patched now so you don't need to have arts enabled anymore, haven't checked on the others. But I built everything with -arts and haven't noticed any missing sound or unusual behavior. |
|
Back to top |
|
|
bLUEbYTE84 Guru
Joined: 21 Jul 2006 Posts: 566 Location: universe.tar.gz, src/earth.h, struct homo_sapiens_table
|
Posted: Fri Dec 22, 2006 6:55 pm Post subject: |
|
|
Thx all. I added -arts and did emerge -DuN world shortly after creating this thread. Everything seems to be in order. Anything that I should check specifically? I don't need KDE event sounds.
Quote: | Arts is never needed and it just has no reason to exist. |
I think it does have reason to exist... Adding latency to the sound output
Last edited by bLUEbYTE84 on Fri Dec 22, 2006 8:01 pm; edited 1 time in total |
|
Back to top |
|
|
jstead1 Guru
Joined: 01 Aug 2003 Posts: 427 Location: Oswego, NY where the snow is deep
|
Posted: Fri Dec 22, 2006 6:58 pm Post subject: |
|
|
bLUEbYTE84 wrote: | Thx all. I added -alsa and did emerge -DuN world shortly after creating this thread. Everything seems to be in order. Anything that I should check specifically? I don't need KDE event sounds. |
Did you mean -arts, you typed, -alsa. -alsa is an entirely different thing _________________ jim |
|
Back to top |
|
|
jstead1 Guru
Joined: 01 Aug 2003 Posts: 427 Location: Oswego, NY where the snow is deep
|
Posted: Fri Dec 22, 2006 7:04 pm Post subject: |
|
|
BTW, the reason for arts was to enable multiple sounds to be played at once, such as while an mp3 is playing, and new mail comes in and goes ding.
Without arts, the ding wouldn't happen, unless your sound card had the ability to do hardware mixing (common now, didn't used to be so).
Alsa, through dmix, now has this capablity, so as far as I can see, there really isn't a need for arts. _________________ jim |
|
Back to top |
|
|
bLUEbYTE84 Guru
Joined: 21 Jul 2006 Posts: 566 Location: universe.tar.gz, src/earth.h, struct homo_sapiens_table
|
Posted: Fri Dec 22, 2006 8:01 pm Post subject: |
|
|
jstead1 wrote: | bLUEbYTE84 wrote: | Thx all. I added -alsa and did emerge -DuN world shortly after creating this thread. Everything seems to be in order. Anything that I should check specifically? I don't need KDE event sounds. |
Did you mean -arts, you typed, -alsa. -alsa is an entirely different thing |
Sorry, of course I meant -arts |
|
Back to top |
|
|
edux Apprentice
Joined: 15 Nov 2005 Posts: 223 Location: Bologna
|
Posted: Wed Feb 28, 2007 12:27 am Post subject: |
|
|
Without the "arts" use flag, I am unable to emerge kdelibs.
I got the following error:
Code: | svgicons/.libs/libkdesvgicons.a(libkdesvgicons_la.all_cpp.o): In function `KSVGIconPainter::setClippingRect(int, int, int, int)':
libkdesvgicons_la.all_cpp.cpp:(.text+0x4fe): undefined reference to `art_alloc(unsigned int)'
libkdesvgicons_la.all_cpp.cpp:(.text+0x5b2): undefined reference to `art_free(void*)'
svgicons/.libs/libkdesvgicons.a(libkdesvgicons_la.all_cpp.o): In function `KSVGIconPainter::drawEllipse(double, double, double, double)':
libkdesvgicons_la.all_cpp.cpp:(.text+0x686c): undefined reference to `art_alloc(unsigned int)'
libkdesvgicons_la.all_cpp.cpp:(.text+0x6a09): undefined reference to `art_alloc(unsigned int)'
libkdesvgicons_la.all_cpp.cpp:(.text+0x6a76): undefined reference to `art_realloc(void*, unsigned int)'
svgicons/.libs/libkdesvgicons.a(libkdesvgicons_la.all_cpp.o): In function `.L2501':
libkdesvgicons_la.all_cpp.cpp:(.text+0x6b1e): undefined reference to `art_free(void*)'
libkdesvgicons_la.all_cpp.cpp:(.text+0x6b4b): undefined reference to `art_free(void*)'
svgicons/.libs/libkdesvgicons.a(libkdesvgicons_la.all_cpp.o): In function `.L2502':
libkdesvgicons_la.all_cpp.cpp:(.text+0x6d86): undefined reference to `art_alloc(unsigned int)'
svgicons/.libs/libkdesvgicons.a(libkdesvgicons_la.all_cpp.o): In function `.L2578':
libkdesvgicons_la.all_cpp.cpp:(.text+0x799c): undefined reference to `art_alloc(unsigned int)'
libkdesvgicons_la.all_cpp.cpp:(.text+0x7a16): undefined reference to `art_realloc(void*, unsigned int)'
svgicons/.libs/libkdesvgicons.a(libkdesvgicons_la.all_cpp.o): In function `.L3147':
libkdesvgicons_la.all_cpp.cpp:(.text+0x7d55): undefined reference to `art_free(void*)'
svgicons/.libs/libkdesvgicons.a(libkdesvgicons_la.all_cpp.o): In function `.L3151':
libkdesvgicons_la.all_cpp.cpp:(.text+0x9bb7): undefined reference to `art_alloc(unsigned int)'
svgicons/.libs/libkdesvgicons.a(libkdesvgicons_la.all_cpp.o): In function `KSVGIconPainter::drawRectangle(double, double, double, double, double, double)':
libkdesvgicons_la.all_cpp.cpp:(.text+0xb365): undefined reference to `art_alloc(unsigned int)'
libkdesvgicons_la.all_cpp.cpp:(.text+0xb450): undefined reference to `art_free(void*)'
libkdesvgicons_la.all_cpp.cpp:(.text+0xb4a0): undefined reference to `art_alloc(unsigned int)'
libkdesvgicons_la.all_cpp.cpp:(.text+0xb701): undefined reference to `art_alloc(unsigned int)'
libkdesvgicons_la.all_cpp.cpp:(.text+0xb766): undefined reference to `art_realloc(void*, unsigned int)'
svgicons/.libs/libkdesvgicons.a(libkdesvgicons_la.all_cpp.o): In function `.L3418':
libkdesvgicons_la.all_cpp.cpp:(.text+0xb816): undefined reference to `art_free(void*)'
libkdesvgicons_la.all_cpp.cpp:(.text+0xb884): undefined reference to `art_free(void*)'
svgicons/.libs/libkdesvgicons.a(libkdesvgicons_la.all_cpp.o): In function `.L3422':
libkdesvgicons_la.all_cpp.cpp:(.text+0xbdc5): undefined reference to `art_alloc(unsigned int)'
svgicons/.libs/libkdesvgicons.a(libkdesvgicons_la.all_cpp.o): In function `KSVGIconPainter::drawPolygon(QPointArray)':
libkdesvgicons_la.all_cpp.cpp:(.text+0xc12f): undefined reference to `art_alloc(unsigned int)'
libkdesvgicons_la.all_cpp.cpp:(.text+0xc2bb): undefined reference to `art_free(void*)'
svgicons/.libs/libkdesvgicons.a(libkdesvgicons_la.all_cpp.o): In function `KSVGIconPainter::drawPolyline(QPointArray, int)':
libkdesvgicons_la.all_cpp.cpp:(.text+0xc376): undefined reference to `art_alloc(unsigned int)'
libkdesvgicons_la.all_cpp.cpp:(.text+0xc4c0): undefined reference to `art_free(void*)'
svgicons/.libs/libkdesvgicons.a(libkdesvgicons_la.all_cpp.o): In function `KSVGIconPainter::drawLine(double, double, double, double)':
libkdesvgicons_la.all_cpp.cpp:(.text+0xc5d6): undefined reference to `art_alloc(unsigned int)'
libkdesvgicons_la.all_cpp.cpp:(.text+0xc65c): undefined reference to `art_free(void*)'
svgicons/.libs/libkdesvgicons.a(libkdesvgicons_la.all_cpp.o): In function `KSVGIconPainterHelper::KSVGIconPainterHelper(int, int, KSVGIconPainter*)':
libkdesvgicons_la.all_cpp.cpp:(.text._ZN21KSVGIconPainterHelperC1EiiP15KSVGIconPainter[KSVGIconPainterHelper::KSVGIconPainterHelper(int, int, KSVGIconPainter*)]+0x21d): undefined reference to `art_alloc(unsigned int)'
svgicons/.libs/libkdesvgicons.a(libkdesvgicons_la.all_cpp.o): In function `KSVGIconPainterHelper::~KSVGIconPainterHelper()':
libkdesvgicons_la.all_cpp.cpp:(.text._ZN21KSVGIconPainterHelperD1Ev[KSVGIconPainterHelper::~KSVGIconPainterHelper()]+0x2f): undefined reference to `art_free(void*)'
svgicons/.libs/libkdesvgicons.a(libkdesvgicons_la.all_cpp.o): In function `KSVGIconPainterHelper::drawPathInternal(_ArtVpath*, double*)':
libkdesvgicons_la.all_cpp.cpp:(.text._ZN21KSVGIconPainterHelper16drawPathInternalEP9_ArtVpathPd[KSVGIconPainterHelper::drawPathInternal(_ArtVpath*, double*)]+0x6b0): undefined reference to `art_free(void*)'
libkdesvgicons_la.all_cpp.cpp:(.text._ZN21KSVGIconPainterHelper16drawPathInternalEP9_ArtVpathPd[KSVGIconPainterHelper::drawPathInternal(_ArtVpath*, double*)]+0x72d): undefined reference to `art_free(void*)'
libkdesvgicons_la.all_cpp.cpp:(.text._ZN21KSVGIconPainterHelper16drawPathInternalEP9_ArtVpathPd[KSVGIconPainterHelper::drawPathInternal(_ArtVpath*, double*)]+0xac9): undefined reference to `art_free(void*)'
libkdesvgicons_la.all_cpp.cpp:(.text._ZN21KSVGIconPainterHelper16drawPathInternalEP9_ArtVpathPd[KSVGIconPainterHelper::drawPathInternal(_ArtVpath*, double*)]+0xbbf): undefined reference to `art_alloc(unsigned int)'
collect2: ld returned 1 exit status
make[4]: *** [libkdecore.la] Error 1
make[4]: Leaving directory `/var/tmp/portage/kde-base/kdelibs-3.5.6-r2/work/kdelibs-3.5.6/kdecore'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/kde-base/kdelibs-3.5.6-r2/work/kdelibs-3.5.6/kdecore'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/kde-base/kdelibs-3.5.6-r2/work/kdelibs-3.5.6/kdecore'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/kde-base/kdelibs-3.5.6-r2/work/kdelibs-3.5.6'
make: *** [all] Error 2
!!! ERROR: kde-base/kdelibs-3.5.6-r2 failed.
Call stack:
ebuild.sh, line 1614: Called dyn_compile
ebuild.sh, line 971: Called qa_call 'src_compile'
environment, line 4751: Called src_compile
kdelibs-3.5.6-r2.ebuild, line 162: Called kde_src_compile
kde.eclass, line 170: Called kde_src_compile 'all'
kde.eclass, line 340: Called kde_src_compile 'myconf' 'configure' 'make'
kde.eclass, line 336: Called die
!!! died running emake, kde_src_compile:make
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/tmp/portage/kde-base/kdelibs-3.5.6-r2/temp/build.log'.
|
_________________ E' la seconda più grande testa di scimmia che abbia mai visto!
(Guybrush Threepwood) |
|
Back to top |
|
|
Scen Retired Dev
Joined: 29 Jul 2003 Posts: 2470 Location: Padova, Italy
|
Posted: Wed Feb 28, 2007 8:23 am Post subject: |
|
|
@edux: see this bug: it says that the problem is in media-libs/libart_lgpl-2.3.18. Try to downgrade this package to stable version 2.3.17. _________________ I was born in a deep forest/I wish I could live here all my life/I am made from stones and roots/My home, these woods and roads
All my life I loved this sound/Of the woods all around/Eagles flies where the winds blows free
Journey is my destiny |
|
Back to top |
|
|
thesquib n00b
Joined: 08 Sep 2006 Posts: 52
|
Posted: Wed Feb 28, 2007 8:42 am Post subject: |
|
|
I always had -arts in my USE flags and never ran into any problems with amarok or kde |
|
Back to top |
|
|
edux Apprentice
Joined: 15 Nov 2005 Posts: 223 Location: Bologna
|
Posted: Wed Feb 28, 2007 9:32 am Post subject: |
|
|
The problem was the testing version of libart, now with the stable version I'm emerging it without any problem. _________________ E' la seconda più grande testa di scimmia che abbia mai visto!
(Guybrush Threepwood) |
|
Back to top |
|
|
Simius Apprentice
Joined: 26 Oct 2002 Posts: 219 Location: Budapest, Hungary
|
Posted: Wed Feb 28, 2007 1:28 pm Post subject: |
|
|
I wonder why Gnome still depends unconditionally on Esound... It's the same shit as ARTS, something that should have long disappeared along with OSS.
And to top it off, Esound compares to ARTS as a worn-down tricycle compares to a brand new mountain bike. _________________ You kinda have to sneak up on a mac...
- PC vs MAC (http://www.youtube.com/watch?v=iEAGmBRC1dc) |
|
Back to top |
|
|
scawa Apprentice
Joined: 11 Feb 2003 Posts: 178 Location: Villa Rica, Georgia
|
Posted: Wed Feb 28, 2007 1:54 pm Post subject: |
|
|
sonicbhoc wrote: | There was a thread on "kicking out arts the right way", to sum it up:
add -arts to your use flags
add arts flag to kdm, kdelibs and mpeglib to get previews in konqueror and stuff, and because kdm sometimes acts stupid without the arts flag.
now, copy this script into /usr/bin/Ksplay:
Code: |
#! /bin/sh
sox "$@" -v 1.0 -q -t alsa default &
|
emerge sox to get an external sound player for kdm events. Go into the control center, click system notifications and click "player settings" near the bottom. Click "use external player" and then type /usr/bin/Ksplay.
That should do it. |
this did not do it.
As a matter of fact, there was no Ksplay file in /usr/bin
While I love Gentoo, this is really frustrating..... I was able to get sound working easilly on RedHat and SuSE when I used those distributions.... I just recently switched back to Gentoo.... 'cause I know when I get through these few problems, I'll have the best distribution out there. _________________ Boredom is a personal Defect
-- Lamar Stephens |
|
Back to top |
|
|
i92guboj Bodhisattva
Joined: 30 Nov 2004 Posts: 10315 Location: Córdoba (Spain)
|
Posted: Wed Feb 28, 2007 3:30 pm Post subject: |
|
|
scawa wrote: | sonicbhoc wrote: |
now, copy this script into /usr/bin/Ksplay:
Code: |
#! /bin/sh
sox "$@" -v 1.0 -q -t alsa default &
|
emerge sox to get an external sound player for kdm events. Go into the control center, click system notifications and click "player settings" near the bottom. Click "use external player" and then type /usr/bin/Ksplay.
|
this did not do it.
As a matter of fact, there was no Ksplay file in /usr/bin
|
Please, read carefully. There is no Kspaly in /usr/bin, you are supposed to put it there.
Also, read my post above, if you don't want to create your own script you can use "play", which is included in the sox package, that way you don't need to create a Ksplay file. Just use "play" in the kcontrol dialog for a external player.
The rest of distros are another thing, they have all the things enabled, including arts. If you want you can enable all the use flags in gentoo and you will. |
|
Back to top |
|
|
scawa Apprentice
Joined: 11 Feb 2003 Posts: 178 Location: Villa Rica, Georgia
|
Posted: Wed Feb 28, 2007 3:52 pm Post subject: |
|
|
Thanks...
I did create the Ksplay file and put the script into it. As I said, I followed all your instructions... and
it still didn't work.
It really doesn't matter to me how I get sound in my system... just so that I get sound.
I appreciate your help. _________________ Boredom is a personal Defect
-- Lamar Stephens |
|
Back to top |
|
|
i92guboj Bodhisattva
Joined: 30 Nov 2004 Posts: 10315 Location: Córdoba (Spain)
|
Posted: Wed Feb 28, 2007 4:40 pm Post subject: |
|
|
@scawa, is your sound working outside the kde notifications? mplayer and the like? Can you play a sound via the play command at command line? |
|
Back to top |
|
|
fjf3 n00b
Joined: 23 Apr 2003 Posts: 31
|
Posted: Thu Mar 01, 2007 12:55 pm Post subject: Ksplay |
|
|
Not to be pedantic but did you use chmod to make it executable? chmod 755 or a+x ? |
|
Back to top |
|
|
|