Skip to contentSkip to conversation

Can't X be elemenated?

DISCUSSION kartikey bhatt 4 participants 4 messages Sep 30, 2003

lore
Share & tools
lore
#0 lore raw

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*. 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?

Quoted 38 lines

From: Diego Calleja Garc�a <[email protected]>
To: "kartikey bhatt" <[email protected]>
CC: [email protected]
Subject: Re: Can't X be elemenated?
Date: Mon, 29 Sep 2003 23:11:01 +0200

El Mon, 29 Sep 2003 20:14:56 +0530 "kartikey bhatt" <[email protected]> escribi�:

Quoted 1 line

1st. X is bloat. Though it's good for server environments. For desktop

pcs

Quoted 1 line

it's too heavy. On my machine (PIII500 with 128MB RAM) I have to choose

from

Quoted 3 lines

either to run X or compile 2.6.0-test6.

2nd. It's process based client/server architecture is a bottleneck. It's

not

Quoted 1 line

as interactive as is supposed to be.

You might want to discuss that with X people. It's been demonstrated that the client/server model is noy a bottleneck...in fact there're benchmarks which show X being almost as fast as the windows GDI... (using the shared memory extension)

Quoted 2 lines

3rd. Most important. I can't impress or convince my window(crash)(TM)

user

Quoted 1 line

friends, relatives (who saw X running on my pc) to use Linux.

I can impress them quite well running the X server in a different machine :)

Quoted 2 lines

4th. I want to see desktop being ruled by Linux.

It's already ruling my desktop 8)

But you might want to talk with X developers. Linus it's just the kernel maintainer.

Quoted 5 lines

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

_________________________________________________________________
MSN Hotmail now on your Mobile phone. http://server1.msn.co.in/sp03/mobilesms/ Click here.

#1 lore raw
Quoted 3 lines · kartikey bhatt

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.

Quoted 6 lines

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

#2 lore raw
In reply to kartikey bhatt

Hello,

Quoted 2 lines

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.

He is on the mercy of NVidia people !!!!

Let NVidia have documentation available, and you'll have quickly drivers floating around !

Regards,
Paul

#3 lore raw
In reply to kartikey bhatt
Quoted 4 lines · kartikey bhatt

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*.
my friend gotta new AMD athlon with nvidia gforce 32mb shared memory,

Nvidia doesn't support Linux.

Quoted 1 line

but he is on the mercy of X people to get full support for it.

Nvidia doesn't support X either.

Quoted 2 lines

for now he has to do with generic i810 driver?
any answer for that.

The problem with nvidia is that they will NOT release information on programming their graphics board.

Without the information, no code.
No code, no driver.
No driver, no support.

Want a fix? talk to nvidia.

Quoted 2 lines

my question is can't X be eleminated by providing support for graphics drivers and other routines at kernel level?

Sure - Already has been done.

There IS a framebuffer implementation of graphics display. And X already supports it.

If you are talking about nvidia support.... talk to nvidia.