* Re: [gentoo-user] aRts sound server on KDE 3.5.2?
2006-04-19 20:12 [gentoo-user] aRts sound server on KDE 3.5.2? Michael B. Trausch
@ 2006-04-19 18:45 ` Glenn Enright
2006-04-19 20:31 ` Michael Schreckenbauer
1 sibling, 0 replies; 4+ messages in thread
From: Glenn Enright @ 2006-04-19 18:45 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1290 bytes --]
On Thursday 20 April 2006 8:12 am, Michael B. Trausch wrote:
I got this all the time with ac97 chipset with older versions of arts. Maybee
you are running a similar chipset? or an old driver or something? what kernel
version do you run?
From google with search on 'arts cpu overload'
http://www.arts-project.org/doc/handbook/faq.html#id2805932
>
>13.3 What is wrong in the driver if I get the cpu overload problem?
>
>Usually, artsd uses select() to find out when to write new data. Then, it
>uses an ioctl(...GETOSPACE...) to find out how much data to write. Finally,
>it writes this data.
>
>A problem occurs if artsd is woken up either always or if there are minimal
>amounts of data to write. The OSS documentation specifies that select() only
>wakes up a process if there is at least one fragment to write. However, if
>artsd is woken up if there isn't data to write, or very little, for instance
>one sample, then it will keep writing little pieces of audio data, which can
>be very costly, and eventually overload the cpu.
>
>To fix this, the driver should wake up artsd only if there is a full fragment
>to write.
>
That page is a little old but it sould give you an idea of where to start.
--
It's not easy, being green.
-- Kermit the Frog
[-- Attachment #2: Type: application/pgp-signature, Size: 191 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* [gentoo-user] aRts sound server on KDE 3.5.2?
@ 2006-04-19 20:12 Michael B. Trausch
2006-04-19 18:45 ` Glenn Enright
2006-04-19 20:31 ` Michael Schreckenbauer
0 siblings, 2 replies; 4+ messages in thread
From: Michael B. Trausch @ 2006-04-19 20:12 UTC (permalink / raw
To: Gentoo-User Mailing List
I am wondering if anybody here has run into a problem using aRts 3.5.2
with KDE 3.5.2 on ~x86. I know that ~x86 is technically unsupported, so
I'm just looking to see if anybody else might be experencing problems
with this setup or would know how to go about attempting to troubleshoot
it. It dies claiming CPU overload after anywhere from fifteen seconds
to thirty minutes of trying to grab all of the CPU's attention, and does
not output any sound.
Unlike information I've found from Google wherein it would only affect a
single particular user account or non-privileged users, this affects all
users on the system, including root, and the problem persists across
reboots. This has me believing that it is a problem somewhere in the
configuration, as I've re-emerged both arts and kdemultimedia-arts, to
no avail. And I know next to nothing about aRts, so I can't determine
how to track the bug down to file a report.
The only thing I do know is that it has something to do with a broken
pipe. strace shows this, over and over again (about 20-30 times per
second, until artsd dies):
ioctl(9, 0x4140, 0) = 0
ioctl(9, 0x4142, 0) = -1 EPIPE (Broken pipe)
The best I can do is know that this is trying to work with file
descriptor 9 and the IOCTL for 0x4142, whatever that is, is failing.
But I'm not sure how to map that open fd to a filename so that I can try
to determine if it is something I introduced as an error in my
configuration, or if there is a problem with the program somewhere,
wherein a bug needs to be reported.
Thanks in advance for any help,
Mike
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-user] aRts sound server on KDE 3.5.2?
2006-04-19 20:12 [gentoo-user] aRts sound server on KDE 3.5.2? Michael B. Trausch
2006-04-19 18:45 ` Glenn Enright
@ 2006-04-19 20:31 ` Michael Schreckenbauer
2006-06-20 23:31 ` Claudinei Matos
1 sibling, 1 reply; 4+ messages in thread
From: Michael Schreckenbauer @ 2006-04-19 20:31 UTC (permalink / raw
To: gentoo-user
Am Mittwoch, 19. April 2006 22:12 schrieb Michael B. Trausch:
> I am wondering if anybody here has run into a problem using aRts 3.5.2
> with KDE 3.5.2 on ~x86. I know that ~x86 is technically unsupported, so
> I'm just looking to see if anybody else might be experencing problems
> with this setup or would know how to go about attempting to troubleshoot
> it. It dies claiming CPU overload after anywhere from fifteen seconds
> to thirty minutes of trying to grab all of the CPU's attention, and does
> not output any sound.
I have this and similar issues with arts every now and then. Some versions
work quite well for me using the alsa-backend, other versions only work, when
I use the oss backend via the oss-emulation of alsa. So I would try the
different backends, maybe that helps. I don't use arts anymore, amarok works
fine with the xine-backend and xine works pretty good with alsa.
> Thanks in advance for any help,
> Mike
Regards,
Michael
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-user] aRts sound server on KDE 3.5.2?
2006-04-19 20:31 ` Michael Schreckenbauer
@ 2006-06-20 23:31 ` Claudinei Matos
0 siblings, 0 replies; 4+ messages in thread
From: Claudinei Matos @ 2006-06-20 23:31 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1780 bytes --]
Hi Michael,
I give oss-emulation backend a try in arts configuration and it really works
for me (now I can run noatun again), but you said u're using xine-backend as
amarok engine without arts. Well, I did tried to use gstreammer with amarok
but there's a problem with the gst mad library (a friend using ubuntu has
the same problem) so I give a try to xine but anytime when I try to choose
xine as the engine amarok give me the follow message: "xine was unable to
initialize any audio-drivers".
Could you please give me a advice about this setup? I can't wait to get back
using amarok :)
tks,
On 4/19/06, Michael Schreckenbauer <grimlog@gmx.de> wrote:
>
> Am Mittwoch, 19. April 2006 22:12 schrieb Michael B. Trausch:
> > I am wondering if anybody here has run into a problem using aRts 3.5.2
> > with KDE 3.5.2 on ~x86. I know that ~x86 is technically unsupported, so
> > I'm just looking to see if anybody else might be experencing problems
> > with this setup or would know how to go about attempting to troubleshoot
> > it. It dies claiming CPU overload after anywhere from fifteen seconds
> > to thirty minutes of trying to grab all of the CPU's attention, and does
> > not output any sound.
>
> I have this and similar issues with arts every now and then. Some versions
> work quite well for me using the alsa-backend, other versions only work,
> when
> I use the oss backend via the oss-emulation of alsa. So I would try the
> different backends, maybe that helps. I don't use arts anymore, amarok
> works
> fine with the xine-backend and xine works pretty good with alsa.
>
> > Thanks in advance for any help,
> > Mike
>
> Regards,
> Michael
> --
> gentoo-user@gentoo.org mailing list
>
>
--
Claudinei Matos
<claudineimatos@gmail.com>
55-21-81980605
[-- Attachment #2: Type: text/html, Size: 2336 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2006-06-20 23:37 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-04-19 20:12 [gentoo-user] aRts sound server on KDE 3.5.2? Michael B. Trausch
2006-04-19 18:45 ` Glenn Enright
2006-04-19 20:31 ` Michael Schreckenbauer
2006-06-20 23:31 ` Claudinei Matos
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox