From: Matti Aarnio <matti.aarnio@zmailer.org>
To: kartikey bhatt <kartik_me@hotmail.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Can't X be elemenated?
Date: Tue, 30 Sep 2003 12:25:42 +0300 [thread overview]
Message-ID: <20030930092542.GI1058@mea-ext.zmailer.org> (raw)
In-Reply-To: <Law11-F60EhrkMNYwoy0001cb7a@hotmail.com>
On Tue, Sep 30, 2003 at 01:39:22PM +0530, kartikey bhatt wrote:
> your graphics card (hw) is resource that needs to be managed by OS.
> leaving it to 3rd party developers is an *adhoc* solution, *a stark immoral
> choice*.
But there is an API to manage cards, that is called Kernel-DRM.
> my friend gotta new AMD athlon with nvidia gforce 32mb shared memory,
> but he is on the mercy of X people to get full support for it.
> for now he has to do with generic i810 driver?
> any answer for that.
> my question is can't X be eleminated by providing support for
> graphics drivers and other routines at kernel level?
In the X 4.2+ there is ABI to support BINARY drivers for cards without
vendors needing to provide sources for those drivers. Those drivers
are presumably binary compatible at least upwards, e.g. driver done
for 4.2.1 should work at 4.3.0. That is XFree86's chosen way.
In Linux kernel there is really no "guaranteed to work" way to have
binary driver modules even in between two vendors with same source.
Vendors do tend to add patches, which may (or may not) modify critical
datastructures. A driver for 2.4.21 may or may not work on 2.4.22
kernel. A driver for non-SMP configured kernel is very nearly guaranteed
not to work on SMP configured kernel.
Often I could care less of receiving a binary-only driver for e.g. some
hardware driver, if it only would work at all of my kernels, and not only
at some year old version.
Presumably this should be possible in stable series of kernels
( the second value in kernel version number being even: 2.4.* )
but practice hasn't always been so.
Kartik, I presume you haven't been following linux lists for very long ?
Folks using hotmail and Yahoo do tend to drop their subscriptions rather
quickly mainly because of the very high volume of things at linux-kernel
list.
Look into archives about NVidian kernel drivers, and the troubles
around those. The issues being in essence that that particular
binary only driver is munging kernel memory map data thru manipulating
link chains, and what not, for which there is no internal API, and
doing all that in binary-only driver. (I have to admit my ignorance
about all details, but in essence it has scared me away from things
with NVidia cards.)
I am quite sure, that there would be a lot less furor about the issue,
if only things manipulating card were binary only, and things working
on kernel data structures were available in source. Possibly with
driver internal API and definitely stable datastructures.
Consider it like some card with binary only firmware for its internal
processor, which does have known interface data-structures. To activate
the firmware about some aspects of the new entry data, instead of poking
some IO or MMIO location, system main processor does execute that
"firmware".
The sad part, of course, is that it in essence does lock the driver
for i386, and Linux at other processors can't use the card.
On the other hand, 99%+ of Linuxes does run at i386.
/Matti Aarnio
next prev parent reply other threads:[~2003-09-30 9:25 UTC|newest]
Thread overview: 44+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-09-30 8:09 kartikey bhatt
2003-09-30 9:25 ` Matti Aarnio [this message]
2003-09-30 9:54 ` Paul Rolland
2003-09-30 13:34 ` Jesse Pollard
[not found] <BGWr.3eL.7@gated-at.bofh.it>
2003-10-01 8:19 ` Ihar 'Philips' Filipau
-- strict thread matches above, loose matches on Subject: below --
2003-10-01 4:32 kartikey bhatt
2003-10-01 5:00 ` Tupshin Harper
2003-10-01 15:12 ` Jesse Pollard
2003-10-01 18:27 ` Tomasz Rola
2003-10-02 8:57 ` Helge Hafting
2003-10-02 18:18 ` Herbert Poetzl
2003-10-03 14:30 ` Jesse Pollard
2003-10-02 18:37 ` Erik Steffl
2003-09-30 17:50 kartikey bhatt
2003-09-29 19:45 kartikey bhatt
2003-09-29 14:44 kartikey bhatt
2003-09-29 14:51 ` Leonard Milcin Jr.
2003-09-29 15:05 ` Gábor Lénárt
2003-09-29 15:10 ` Erik Hensema
2003-09-29 15:11 ` Valdis.Kletnieks
2003-09-29 20:56 ` George France
2003-09-29 21:04 ` Erik Bourget
2003-09-29 21:16 ` Erik Steffl
2003-09-29 21:11 ` Diego Calleja García
2003-09-29 22:30 ` bill davidsen
2003-09-30 18:48 ` Paul Jakma
2003-09-30 19:30 ` Krishna Akella
2003-09-30 20:21 ` David Lang
2003-09-30 20:46 ` Krishna Akella
2003-09-30 20:45 ` David Lang
2003-10-07 4:04 ` Pavel Machek
2003-10-07 8:23 ` Giacomo A. Catenazzi
2003-10-07 12:18 ` Pavel Machek
2003-10-07 12:52 ` Måns Rullgård
2003-10-07 14:34 ` Valdis.Kletnieks
2003-10-07 14:47 ` Jesse Pollard
2003-10-07 15:37 ` Pavel Machek
2003-10-07 19:07 ` David Lang
2003-10-07 19:16 ` Pavel Machek
2003-10-07 20:09 ` jlnance
2003-10-07 18:52 ` David Lang
2003-09-30 21:51 ` J.A. Magallon
2003-10-01 14:54 ` Jesse Pollard
2003-10-01 8:27 ` John Bradford
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=20030930092542.GI1058@mea-ext.zmailer.org \
--to=matti.aarnio@zmailer.org \
--cc=kartik_me@hotmail.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
all inboxes | Powered by JetHome®