Hi!
Not sure why others (for instance the author of the patch) reported success,
then. But maybe it behaves different on different hardware.
Anyway, the assert you are seeing fail is that artsd makes a query for
available output space (with SNDCTL_DSP_GETOSPACE), and then calculates
data according to that size, and writes the data. This should always
succeed (as it will write less or equal bytes than there is space, so it
should always work). Using strace or adding printfs might be able to help
you to examine the problem more closely, if you want to debug it.
Cu... Stefan
On Mon, Mar 19, 2001 at 07:47:08AM -0500, Allen Barnett wrote:
> I applied this patch and it seems to have fixed the choppiness. However,
> artsd still exits with the Assertion given below after working for some
> short period of time (<10 s). What is artsd trying to do when this
> Assersion fails?
>
> Thanks,
> Allen
>
> Stefan Westerfeld wrote:
> >
> > Hi!
> >
> > On Fri, Mar 16, 2001 at 01:35:16PM -0500, Allen Barnett wrote:
> > > I've installed KDE 2.1 and have not been able to make aRts work
> > > reliably. It starts and runs long enough to play the KDE opening theme,
> > > but the sound is very choppy (plays ~1/4 second of sound, pauses ~1/4
> > > sec, plays another 1/4 second). After this, the artsd server dies. Once,
> > > after starting it at a console and playing a short while, it produced an
> > > error message:
> > >
> > > [allen@guanaco soundserver]$ /usr/local/bin/artswrapper
> > > >> running as realtime process now (priority 50)
> > > artsd: audiosubsys.cc:458: void Arts::AudioSubSystem::handleIO(int):
> > > Assertion `len == can_write' failed.
> > > Aborted
> > >
> > > I tried checking out the latest snapshot and the results are similar to
> > > the prepackaged KDE 2.1 RPMs.
> >
> > This is a well-known problem, and the fault of the Aureal driver code. Luckily,
> > there is a patch available against the driver source at
> >
> > http://sourceforge.net/projects/aureal
> >
> > in the patches section.
> >
> > Cu... Stefan
> > --
> > -* Stefan Westerfeld, [EMAIL PROTECTED] (PGP!), Hamburg/Germany
> > KDE Developer, project infos at http://space.twc.de/~stefan/kde *-
--
-* Stefan Westerfeld, [EMAIL PROTECTED] (PGP!), Hamburg/Germany
KDE Developer, project infos at http://space.twc.de/~stefan/kde *-