Re: [Desktop_architects] Re: Linux desktop, the fun thread

2005-12-17 Thread Jim Gettys
On Fri, 2005-12-16 at 08:00 -0800, Linus Torvalds wrote: > I _think_ some drivers effectively already do this when they enable direct > rendering. The DRI layer does have the capability, and with many (most?) > cards the X server actually needs to use the kernel interfaces for 2D too, > just be

Re: [Desktop_architects] Re: Linux desktop, the fun thread

2005-12-16 Thread Linus Torvalds
On Fri, 16 Dec 2005, Martin Konold wrote: > > Am Freitag, 16. Dezember 2005 05:07 schrieb Jim Gettys: > > What's needed is a bit of help in a kernel driver, so when the graphics > > hardware is busy, we can be kind enough to give you the CPU back (along > > with what to do when the hardware is ne

Re: [Desktop_architects] Re: Linux desktop, the fun thread

2005-12-16 Thread Martin Konold
Am Freitag, 16. Dezember 2005 05:07 schrieb Jim Gettys: Linus, > What's needed is a bit of help in a kernel driver, so when the graphics > hardware is busy, we can be kind enough to give you the CPU back (along > with what to do when the hardware is next free so we can keep the > hardware busy ra

Re: [Desktop_architects] Re: Linux desktop, the fun thread

2005-12-15 Thread Jim Gettys
Linus, I think there may be other things going on here. X behavior is, at the moment, in its current incarnation, completely, totally braindead. It doesn't have to be this way. X is busywaiting on registers in *user* space; so the kernel thinks it is a hoggish process, so its priority gets dump

Re: [Desktop_architects] Re: Linux desktop, the fun thread

2005-12-14 Thread Linus Torvalds
On Wed, 14 Dec 2005, Keith Packard wrote: > > > Quite frankly, the simplest solution by far would be that X used a real > > thread for mouse handling (and possibly other things, but mouse screen > > updates really do tend to be special. I don't think X uses signals for > > anything else than

Re: [Desktop_architects] Re: Linux desktop, the fun thread

2005-12-14 Thread Keith Packard
On Tue, 2005-12-13 at 22:38 -0800, Linus Torvalds wrote: > > Now it's not idle any more. The "select()" will have exited, but X now has > an agenda: it needs to inform all the clients that the mouse has moved. > That basically ends up looping over the internal X client list, and for > each cli

[Desktop_architects] Re: Linux desktop, the fun thread

2005-12-13 Thread Linus Torvalds
On Tue, 13 Dec 2005, Nat Friedman wrote: > > I'll happily wear the "feature slut" t-shirts with pride now. And > Linus, once my mouse button stops jerking when I copy big files, I'll > add a GUI for you. ;-) Ok, I can tell you why I think it jerks around, you can make suggestions.. S