Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

FBUI

Name: Anonymous 2009-03-24 13:09

Framebuffer UI (FBUI) is an in-kernel windowing system for Linux (kernel version 2.6.9 only, currently outdated) that sits on top of the framebuffer subsystem. Unlike the X Window System, FBUI consumes very little memory: the entire subsystem is about 50 kilobytes. FBUI supports features expected of modern windowing systems, such as moveable overlapping windows, multiple windows per application, events and common drawing functions, as well as windows on every virtual console. Graphics operations are executed on a first-come, first-served basis inside the kernel, and there is no server that queues requests.

Included with FBUI is libfbui, which provides abstractions for windows, events, images, fonts, etc., as well as quite a few sample programs such as load monitor, clock, calculator, scribble pad, image viewer, window managers, and a simple MPEG2 player.

FBUI, being only 50 kilobytes, offers solid proof that a windowing system need not be several megabytes in size, as is the case with X Window System.

FBUI is primarily intended to be a 2D graphics system, although it does include a triangle-fill routine.

Name: Anonymous 2009-03-24 13:10

Benefits to putting a windowing system inside the kernel include:

    * It prevents the windowing system (GUI) from becoming bloatware because kernel resources are supposed to be limited.
    * It simplifies the interface to the graphics subsystem for applications to a small number of ioctl calls, whereas under X it involves pipes and/or shared memory.
    * In-kernel graphics can be used for a non-passive graphical startup, to alleviate the awkward switch from text mode to graphics mode under Linux.
    * In-kernel graphics could permit moving the current Linux console code out of the kernel.
    * FBUI could in future provide access to the whole graphics-card memory, which normally cannot be accessed from userspace.

Name: Anonymous 2009-03-24 13:10

FBUI currently does not support:

    * The concept of nested windows
    * Unlimited event queues
    * Kernels other than 2.6.9

Regarding that last point: After 2.6.9, bugs appeared in the frame buffer device (fbdev) that prevented the use of FBUI. The 2.6.23 frame buffer device layer or virtual terminal also have significant problems.

Name: Anonymous 2009-03-24 13:38

import FBUI

Name: Anonymous 2009-03-24 14:09

Unix fanatics discover what Microsoft and Apple realized a decade ago.

Jesus Fucking Christ. That X bullshit need to be erradicad, and fast. And I'm not talking just about the implementations either. If drawing a fucking pixel or processing a mouse move event requires 4 context switches and a pair of data serializations your architecture is bad and you should feel bad.

Name: Anonymous 2009-03-24 15:18

>>5
Protip: OS X is a Unix, and Aqua is not part of its kernel. Windows did indeed make the GUI part of the kernel up until Vista, and that decision single-handedly created its reputation as an extremely unstable OS. There's a good reason Vista divorced the GUI from the kernel.
X may be a mess, but this is would only make things worse. And also you're an ignorant buffoon.

Name: Anonymous 2009-03-24 16:26

>>5
Everybody hates X already. Quit acting like there's some cult of X. You're also wrong in every other possible way.

Name: Anonymous 2009-03-24 17:26

>>7 has read the Unix Haters Guide.

Name: Anonymous 2009-03-24 17:34

>>5
well then write something better. the problem with x is that it works well enough, and no one has written a replacement for it that works as well as it does.

Name: Anonymous 2009-03-24 17:41

I've been using x for 5 years; should I be seeing problems with it that I don't?
Other than driver problems with cards that appear here and there (which aren't really X's problem), what's all the hubbub about, bub?

Name: Anonymous 2009-03-24 19:13

>>6
OS X
Nobody cares.

Name: Anonymous 2009-03-24 19:43

>>11
I care

Name: Anonymous 2009-03-24 19:45

>>12
I came

Name: Anonymous 2009-03-24 19:45

>>12
You're a nobody.

Name: Anonymous 2009-03-24 19:47

>>14
No, I use a Mac.

Name: Anonymous 2009-03-24 21:28

>>10
It's big and slow. And the API sucks, so people write even bigger and slower libraries to interact with it.
But you probably have incredibly overpowered hardware so you don't notice that.

Name: Anonymous 2009-03-24 21:34

>>15
Aaaannnd nobody cares. You should kill yourself.

Name: Anonymous 2009-03-24 21:38

>>17
I care.

Name: FUBU 2009-03-24 21:40

FUBU is a clothing company. It includes casual wear, sports wear, a suit collection, eyewear, belts, and shoes. The name is a backronym for "For Us, By Us", indicating that the product line was produced by black Americans for a primarily black American market.

Name: Anonymous 2009-03-24 22:05

BRB FBUI

Name: Anonymous 2009-03-24 22:08

>>18
You're a nobody.

Name: Anonymous 2009-03-24 22:32

The problem with X is performance, but it's no surprise that its Internet white knights can't see it. And no, Vista didn't move to an "X model". Drawing something or getting a mouse move item still requires just a user-kernel context switch (whether the drawing occurs in userland or kernel is not important), and all the data is passed in the most efficient format possible (not some network-like protocol).

If you think this is untrue, then please explain to me why things that draw stuff to the screen (say, web browsers for example) manage to run 10 times as fast in Windows as they do in Linux*, even though OpenGL applications or direct overlay video run at similar performance in both.

At 2GHz it's mostly bearable, but with the CPU downclocked to 600MHz, I can SEE how it draws the stuff. The last time I saw that in Windows was in a 386.

* I actually benchmarked this on a nightmare page (think MySpace-like). Plugins were disabled on both platforms; actual speed difference factor was 4.8.

Name: Anonymous 2009-03-24 23:10

>>6
You're wrong.  I just thought you should know that.

Name: Anonymous 2009-03-24 23:36

>>23
What about my being wrong?

Name: Anonymous 2009-03-25 0:31

>>24
You're wrong.  You are wrong.

Name: Anonymous 2009-03-25 0:33

>>25
What about his your're wrong?

Name: Anonymous 2009-03-25 1:24

>>26
Yowr urong.

Name: Anonymous 2009-03-25 3:11

PLEASE, DON'T MAKE IOCTL POSTS.

But the idea to have a graphical interface in kernel is nice.  You can have kernel consoles, teletype COM ports, modems, why not have graphics too?  With some thinking it can be made a character device.

>>8
But it didn't get much better since the times of Unix Haters Handbook.

>>22
You are right, Firefox and Openoffice on Windows are noticeably faster.  X also lacks consistent keyboard input configuration.  But it doesn't mean that kernel graphics will be better.

Name: Anonymous 2009-03-25 4:50

Sounds sort of like Anonix wmfs.

Name: Anonymous 2009-03-25 6:37

>>28
Eye-oh-cottle

Name: Anonymous 2009-03-25 8:02

>>30
aye-ock-tull

Name: Anonymous 2009-03-25 8:53

If you put the graphics into the kernel, doesn't that mean that you can no longer run the applications on a different system than the display? You know, the one thing that X11 can do quite easily that is a pain in the fucking ass on any other system.

Name: Anonymous 2009-03-25 10:13

>>22
Why Firefox is a lot faster under Windows than under Linux has been discussed to death, and doesn't have shit to do with X.

>>28
When was the last time you saw a graphics driver stable enough to incorporate it into a kernel?

>>32
This, also. Though to be fair, nowadays that's probably a minority use case, and you could still have both systems running side by side.

Name: Anonymous 2009-03-25 10:59

>>33
last time you saw a graphics driver stable enough to incorporate it into a kernel?
Windows.

Name: Anonymous 2009-03-25 11:15

>>34
The grown-ups are talking, kid. Go play with your blue screens.

Name: Anonymous 2009-03-25 11:18

>>35
MacOSX

Name: Anonymous 2009-03-25 11:18

>>35
BeOS

Name: Anonymous 2009-03-25 11:21

>>35
AmigaOS

Name: Anonymous 2009-03-25 11:24

>>36-38
Are you just pulling names out of your ass now? None of those operating systems have GUIs running as part of the kernel.

Name: Anonymous 2009-03-25 11:54

>>39
Kernel Graphics Driver!=GUI

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List