From: Roger Larsson <roger.larsson@norran.net>
To: "ismail (cartman) donmez" <kde@myrealbox.com>,
Andrew Morton <akpm@osdl.org>,
linux-kernel@vger.kernel.org
Cc: Davide Libenzi <davidel@xmailserver.org>
Subject: Re: 2.6.0-test2-mm1
Date: Tue, 29 Jul 2003 21:59:16 +0200 [thread overview]
Message-ID: <200307292159.17137.roger.larsson@norran.net> (raw)
In-Reply-To: <200307290833.02848.kde@myrealbox.com>
On Tuesday 29 July 2003 07.33, ismail (cartman) donmez wrote:
> Hi,
>
> Some things I noticed:
>
> -- snip --
>
> 2- Con's patch makes KDE's sound daemon skip ( aRts ) when using Juk ( KDE
> JukeBox ) [ to skip just minimize/maximize any window fast ] . Seems like
> problem is at aRts decoding as mplayer -ao arts works fine without skips.
>
Is mplayer suid root? (allow SCHED_FIFO/RR usage)
To get the equivalent function you need artswrapper to be suid root,
and "Run soundserver with realtime priority" feature enabled in aRTs config.
[Dangerous with multiuser setups - user can add a plug in that loops forever
with higher priority than all other processes -> dead system.
The SCHED_SOFTRR patch would be a very welcome addition.
a) No need for suid root, artswrapper tries to use SCHED_FIFO
Davide - SCHED_FIFO should also be handled as a SCHED_SOFTRR request!
Not only SCHED_RR (SCHED_FIFO is more frequently used!)
b) Automatic prevention of overuse
]
If this is not the case - my mplayer is not suid root.
aRTs adds some overhead to allow mixing audio from several applications.
(even if this is not necessary on some audio boards like SB Live!)
To get the same kind of overhead you should run mplayer with output through
arts...
artsdsp mplayer ...
The final thing to check is KDE Audio Buffer Size (if this is small then it
won't matter if mplayer uses a big buffer...)
/RogerL
--
Roger Larsson
Skellefteå
Sweden
next prev parent reply other threads:[~2003-07-29 19:57 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-07-28 6:37 2.6.0-test2-mm1 Andrew Morton
2003-07-29 0:38 ` 2.6.0-test2-mm1 Diego Calleja García
2003-07-29 0:47 ` 2.6.0-test2-mm1 Con Kolivas
2003-07-29 5:33 ` 2.6.0-test2-mm1 ismail (cartman) donmez
2003-07-29 19:59 ` Roger Larsson [this message]
2003-07-29 21:01 ` 2.6.0-test2-mm1 ismail (cartman) donmez
2003-08-09 0:28 ` 2.6.0-test2-mm1 Mike Fedyk
2003-08-09 1:03 ` 2.6.0-test2-mm1 Mike Fedyk
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200307292159.17137.roger.larsson@norran.net \
--to=roger.larsson@norran.net \
--cc=akpm@osdl.org \
--cc=davidel@xmailserver.org \
--cc=kde@myrealbox.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox