On Sat, Dec 05, 1998 at 10:03:24AM -0600, [EMAIL PROTECTED] wrote:
> > I'm using 2.1.129 (from cvs) on sparc station 5. All is fine and even sound works,
> > but when something is output to console with scrolling, sound almost stops, even if
> > mpg123 is started with high priority. BTW, 'mpg123 -2m' eats only 25% cpu
> > and if I start normal cpu eating application, sound does not interrupt.
> > 
> > Is it possible that scrolling routine does not allow scheduling? Can it be fixed?
> 
> I would imagine that this is due to the copying being done in the frame
> buffer.  Perhaps you could rewrite the code of the part to do so more
> optimally.  Maybe the Sun framebuffers have registers that allow a wrap
> around "sliding window" mode that could be exploited.

I beleave cg3 does not have such capability.

> Otherwise the scroll copying operation needs to be made a lower priority
> and/or interruptable.  The scrolls will be more "choppy" but that's what
> you'd want to live with, with sound at higher priority.

Yes, that's what I want. Will the following code work in the long copying
cycle in fbcon_redraw?

        if(current->need_resched)
                schedule();

I'll try it, but kernel compilation is not fast here :(  And besides, advise
will help a lot.

   Alexander.
-
To unsubscribe from this list: send the line "unsubscribe sparclinux" in
the body of the message to [EMAIL PROTECTED]

Reply via email to