[Y-devel] OpenGL and the drawing API

Ulrik Mikaelsson rawler at rsn.bth.se
Sun Mar 21 18:29:22 GMT 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Sunday 21 March 2004 19.02 skrev John Ilves:
> My apologies if this is a stupid question, but shouldn't drivers be
> handled by the operating system (Linux) not the user-space program
> (Y-Windows)? Everyone seems to take it for granted that a windowing
> system (X and now Y) should provide it's own video card drivers yet no
> one would suggest it provide it's own (for instance) mouse drivers. If
> all the driver work was done in the kernel (as I would think it should
> be) then Y would be able to use existing drivers without difficulty,
> instead it now has to reinvent the wheel.
My oppinion exactly. Why is it up to the windowing system to provide drivers 
for hardware? Isn't such drivers typically very platform and operation-system 
dependant? Why not just write backends for the various existing 
graphics-driver architectures, such as SDL, GGI, Cairo, etc?

One other thing I'm sceptical about is having a login-manager running on the 
display-server. I don't know about everyone else, but myself, I'd prefer 
using the virtual-terminal system a lot more than it is used today. What if, 
for instance, my Linux kernel booted up on vt1, along with all the services 
that needs to be initalised. When bootup is finished, or at least ready for 
login, a graphical login-manager not depending on any particular display 
server would show up. (Let it be based on fbdev, or whatever.)
It would then allow the user to provide a username, a password, and choose a 
session to run. A session could be one of, FD-XServer+KDE, Xfree+Fluxbox, 
plain old terminal, Y, FB-based vnc-client or something else. The login 
manager would then spawn a new terminal (vt2) with the chosen session. If I 
later on want to run another session in parallel, switch back to vt1, login 
using a new session and keep working on vt3. If my sister then asks me to use 
the family-computer, she can get her own terminal to work at, while my two 
terminals stay running.

I think letting more users than the average geek utilize the power of virtual 
desktops is something that could boost the Unix Desktop a lot. The concept of 
virtual terminals were to my knowledge invented by the Unix-world, but today 
it seems like the ones really using the idea is Apple with their new versions 
of MacOSX and Microsoft in their upcoming Longhorn.

Just a couple of my many ideas for an improved Unix-desktop.

Regards
/ Ulrik

- -- 
Fascinating, a totally parochial attitude.
                -- Spock, "Metamorphosis", stardate 3219.8
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFAXd8G069SELtZwIkRAmHWAKCESoFIS+TkemS6z+lf7qYgAlu8ewCglSzL
cGZSiJAUTWAsEbHL4Hy7ZEk=
=+Vto
-----END PGP SIGNATURE-----



More information about the Y-devel mailing list









2026 © www.Y-Windows.Org - All Rights Reserved