From: Brad Douglas <brad@neruo.com>
To: Albert "D." Cahalan <acahalan@cs.uml.edu>
Cc: Louis Garcia <louisg00@bellsouth.net>, linux-kernel@vger.kernel.org
Subject: Re: Video drivers and the kernel
Date: 14 Feb 2001 12:46:21 -0800 [thread overview]
Message-ID: <20010214204811Z131500-513+6393@vger.kernel.org> (raw)
In-Reply-To: <200102140609.f1E69Bc346946@saturn.cs.uml.edu>
On 14 Feb 2001 01:09:10 -0500, Albert D. Cahalan wrote:
> > I was wondering why video drivers are not part of the kernel like every
> > other piece of hardware. I would think if video drivers were part of the
> > kernel and had a nice API for X or any other windowing system, would not
> > only improve performance but would allow competing windowing systems
> > without having to develop drivers for each. Has anyone thought or
> > rejected this idea.
>
> Yes.
>
> So then what, split X, with only the hardware access in the kernel?
> This can actually reduce performance, by a small or great amount
> depending on how it is done. Stability would improve a bit, assuming
> the new drivers have Linux quality rather than XFree86 quality.
> The gain is tiny, while the difficulty is large. At least we'd get
> a safe and reliable way to print an oops though.
This isn't an x86 world. For most other architectures, there *must* be
a kernel driver. Check out linux/drivers/video. But what X is doing at
this point is taking over access to the video card and using it's own
driver. So see, there needs to be no split of X. I could also argue
that if video was moved into the kernel in that manner, stability would
decrease, but performance could be dramatically increased.
> Both options cause political troubles. Currently the X server is
> shared with OS/2 and other crummy systems. If the Linux kernel had
> serious video drivers for PC hardware, then driver support for the
> other operating systems would mostly go away. Linux would become
> a better desktop OS, at the expense of various crummy systems.
I find this to be a flawed argument.
> Both options cause more work for Linus. This totally kills the idea.
> See his past postings flaming the GGI/KGI developers.
I think GGI/KGI were overkill -- especially at the time. But with the
advent of embedded systems, you simply just can't say "use X" anymore.
I believe that there needs to be basic 2D acceleration available in
kernel space. They already have to be there for non-BIOS architectures,
so why not take advantage of them?
> If you ever write this, go ahead and throw in the rest. I mean the
> window manager, xterm, and a GDK system call even. My hardware can
> spare the memory, but CPU cycles are way too scarce. Clean design
> can go screw itself when it eats CPU time. Don't worry about being
> accepted into the main kernel, because that won't happen no matter
> what you do. Have fun hacking, and whip XFree86's ass.
Check out GTKFb and Embedded QT. Whip XFree86's ass? But the author
was talking about writing kernel drivers *for* Xfree86... You are
correct in the fact that this will never happen. But as far as video in
the kernel, you are wrong.
Brad Douglas
brad@neruo.com
http://www.linux-fbdev.org
next prev parent reply other threads:[~2001-02-14 20:48 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-02-14 2:47 Louis Garcia
2001-02-14 4:02 ` [Xpert]Video " Mark Vojkovich
2001-02-14 18:58 ` Jeremy Jackson
2000-01-01 1:11 ` Pavel Machek
2001-02-14 6:04 ` Video " Jeff Garzik
2001-02-14 6:09 ` Albert D. Cahalan
2001-02-14 20:46 ` Brad Douglas [this message]
2001-02-14 16:55 ` Timur Tabi
2001-02-16 18:26 James Simmons
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=20010214204811Z131500-513+6393@vger.kernel.org \
--to=brad@neruo.com \
--cc=acahalan@cs.uml.edu \
--cc=linux-kernel@vger.kernel.org \
--cc=louisg00@bellsouth.net \
/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
all inboxes | Powered by JetHome®