Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Do I really need aRts?
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
bLUEbYTE84
Guru
Guru


Joined: 21 Jul 2006
Posts: 566
Location: universe.tar.gz, src/earth.h, struct homo_sapiens_table

PostPosted: Wed Dec 20, 2006 9:39 pm    Post subject: Do I really need aRts? Reply with quote

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
View user's profile Send private message
Kensai
Guru
Guru


Joined: 09 Mar 2004
Posts: 570
Location: Puerto Rico

PostPosted: Wed Dec 20, 2006 9:45 pm    Post subject: Reply with quote

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. :wink:
_________________
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
View user's profile Send private message
terminal9
Apprentice
Apprentice


Joined: 12 Oct 2006
Posts: 157

PostPosted: Wed Dec 20, 2006 9:58 pm    Post subject: Reply with quote

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
View user's profile Send private message
DtZ
Tux's lil' helper
Tux's lil' helper


Joined: 09 Sep 2005
Posts: 124

PostPosted: Wed Dec 20, 2006 10:40 pm    Post subject: Reply with quote

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 :x .
Back to top
View user's profile Send private message
i92guboj
Bodhisattva
Bodhisattva


Joined: 30 Nov 2004
Posts: 10315
Location: Córdoba (Spain)

PostPosted: Wed Dec 20, 2006 11:08 pm    Post subject: Reply with quote

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
View user's profile Send private message
sonicbhoc
Veteran
Veteran


Joined: 24 Oct 2005
Posts: 1805
Location: In front of the computer screen

PostPosted: Fri Dec 22, 2006 2:33 pm    Post subject: Reply with quote

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
View user's profile Send private message
engineermdr
Guru
Guru


Joined: 08 Nov 2003
Posts: 304
Location: Altoona, WI, USA

PostPosted: Fri Dec 22, 2006 3:26 pm    Post subject: Reply with quote

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
View user's profile Send private message
bLUEbYTE84
Guru
Guru


Joined: 21 Jul 2006
Posts: 566
Location: universe.tar.gz, src/earth.h, struct homo_sapiens_table

PostPosted: Fri Dec 22, 2006 6:55 pm    Post subject: Reply with quote

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 :lol:


Last edited by bLUEbYTE84 on Fri Dec 22, 2006 8:01 pm; edited 1 time in total
Back to top
View user's profile Send private message
jstead1
Guru
Guru


Joined: 01 Aug 2003
Posts: 427
Location: Oswego, NY where the snow is deep

PostPosted: Fri Dec 22, 2006 6:58 pm    Post subject: Reply with quote

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
View user's profile Send private message
jstead1
Guru
Guru


Joined: 01 Aug 2003
Posts: 427
Location: Oswego, NY where the snow is deep

PostPosted: Fri Dec 22, 2006 7:04 pm    Post subject: Reply with quote

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
View user's profile Send private message
bLUEbYTE84
Guru
Guru


Joined: 21 Jul 2006
Posts: 566
Location: universe.tar.gz, src/earth.h, struct homo_sapiens_table

PostPosted: Fri Dec 22, 2006 8:01 pm    Post subject: Reply with quote

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
View user's profile Send private message
edux
Apprentice
Apprentice


Joined: 15 Nov 2005
Posts: 223
Location: Bologna

PostPosted: Wed Feb 28, 2007 12:27 am    Post subject: Reply with quote

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
View user's profile Send private message
Scen
Retired Dev
Retired Dev


Joined: 29 Jul 2003
Posts: 2470
Location: Padova, Italy

PostPosted: Wed Feb 28, 2007 8:23 am    Post subject: Reply with quote

@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
View user's profile Send private message
thesquib
n00b
n00b


Joined: 08 Sep 2006
Posts: 52

PostPosted: Wed Feb 28, 2007 8:42 am    Post subject: Reply with quote

I always had -arts in my USE flags and never ran into any problems with amarok or kde
Back to top
View user's profile Send private message
edux
Apprentice
Apprentice


Joined: 15 Nov 2005
Posts: 223
Location: Bologna

PostPosted: Wed Feb 28, 2007 9:32 am    Post subject: Reply with quote

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
View user's profile Send private message
Simius
Apprentice
Apprentice


Joined: 26 Oct 2002
Posts: 219
Location: Budapest, Hungary

PostPosted: Wed Feb 28, 2007 1:28 pm    Post subject: Reply with quote

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
View user's profile Send private message
scawa
Apprentice
Apprentice


Joined: 11 Feb 2003
Posts: 178
Location: Villa Rica, Georgia

PostPosted: Wed Feb 28, 2007 1:54 pm    Post subject: Reply with quote

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
View user's profile Send private message
i92guboj
Bodhisattva
Bodhisattva


Joined: 30 Nov 2004
Posts: 10315
Location: Córdoba (Spain)

PostPosted: Wed Feb 28, 2007 3:30 pm    Post subject: Reply with quote

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
View user's profile Send private message
scawa
Apprentice
Apprentice


Joined: 11 Feb 2003
Posts: 178
Location: Villa Rica, Georgia

PostPosted: Wed Feb 28, 2007 3:52 pm    Post subject: Reply with quote

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
View user's profile Send private message
i92guboj
Bodhisattva
Bodhisattva


Joined: 30 Nov 2004
Posts: 10315
Location: Córdoba (Spain)

PostPosted: Wed Feb 28, 2007 4:40 pm    Post subject: Reply with quote

@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
View user's profile Send private message
fjf3
n00b
n00b


Joined: 23 Apr 2003
Posts: 31

PostPosted: Thu Mar 01, 2007 12:55 pm    Post subject: Ksplay Reply with quote

Not to be pedantic but did you use chmod to make it executable? chmod 755 or a+x ?
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