Slashdot Mirror


DirectFB: A New Linux Graphics Standard?

Spy Hunter writes: "Some people really dislike the X Window System. DirectFB seems to be the answer to their prayers. Building on the framebuffer support available in recent Linux kernels, DirectFB adds hardware acceleration, input devices, and window management. It has been made (and LGPL'd) by Digital Convergence as a Linux video/television solution, but it is much more than that. It has the potential to replace X for Linux desktops. You want a transparent terminal? How about a transparent video player? Development is proceeding rapidly, with a GTK port and even an X server for legacy apps in progress. Could this be the future of the Linux desktop?"

437 comments

  1. AHHH by Xzzy · · Score: 2, Interesting

    Who else felt their heart race when they saw that 'digital convergence' piece? phew it's just some dudes in Europe borrowing the name.

    I wonder if the Texas guys with the colon in their name are gonna try to sue..

    1. Re:AHHH by andreas · · Score: 2, Informative

      The company's name is "convergence integrated media GmbH", and we actually own the trademark in Europe.

      So there's no risk that they sue us...

    2. Re:AHHH by cruelworld · · Score: 2, Funny


      RE:So there's no risk that they sue us...

      Man, you really don't know Americans do you?

    3. Re:AHHH by Anonymous Coward · · Score: 0


      Hey, we guys from Europe don't use that name.
      Read it on out web server --- the name is
      "convergence integrated media". Nothing to sue.
      Enver

    4. Re:AHHH by andreas · · Score: 1

      I am holding in my hands a document from the European patent office on the registration of the mark "convergence".

      Since we're not the 52nd state of the US (yet, see http://www.cptech.org/ecom/jurisdiction/hague.html ), they can sue as all day long, it won't help :).

    5. Re:AHHH by Frank+T.+Lofaro+Jr. · · Score: 1

      Umm, who would be the 51st?

      --
      Just because it CAN be done, doesn't mean it should!
    6. Re:AHHH by GarryOwen · · Score: 1

      Canada, duh...

    7. Re:AHHH by Aztech · · Score: 2

      Britain actually.

    8. Re:AHHH by Anonymous Coward · · Score: 0

      Yeah ... america is soooooo universaly great and soooooooooo cooooooool. People there have invented everything and they can sue whoever on earth they want for whatever reason they think is good. Give me a break ! Stop posting that kind of rubbish.

  2. Supported in ClanLib IIRC by Anonymous Coward · · Score: 2, Interesting

    The ClanLib Game SDK even supports DirectFB directly, so some cool games will be available under full speed.

  3. No, I don't want a tranparent video player. by Anonymous Coward · · Score: 1, Interesting

    Seriously. What possible use would a transparent video player have? While ditching X is a great idea, I think a more useful demonstration of their technology is necessary rather than just a screenshot were everyone says "Ohhh Ahhh Isn't that pretty"

    1. Re:No, I don't want a tranparent video player. by seann · · Score: 0

      Trasnparent Video player?
      A controled multimedia enviroment for presentations, exportation of movies unto projection units, killer features for gaming.

      Hardware level transparency wouldn't be to bad either.

      --
      I'm a big retard who forgot to log out of Slashdot on Mike's computer! LOOK AT ME.
    2. Re:No, I don't want a tranparent video player. by Anonymous Coward · · Score: 1, Informative

      This was originally designed for their DVB/Tivo apps I believe, they needed an on screen graphics package that included alpha channels so it wouldn't obscure the MPEG2 stream underneath.

      If you have a Sony TV you should know how pretty alpha channels are :)

    3. Re:No, I don't want a tranparent video player. by Anonymous Coward · · Score: 0

      Great. Now tell me again why I need to see my desktop backdrop through my transparent XTerm again?

      Oh thats right, I don't!

    4. Re:No, I don't want a tranparent video player. by Anonymous Coward · · Score: 0

      You most probably don't, but remember transparency is only one function of the package, so the /. crew choose the illustrative alpha channel screenshot, this isn't the sole purpose of the library for heavens sake, they obviously choose it because it looked smart, showing the true power of a graphics library with static screenshots isn't the easiest thing to do.

      Your logic is flawed, it's like saying I don't need Linux's SCSI support therefore why do I need the Linux Kernel at all.

    5. Re:No, I don't want a tranparent video player. by Jetson · · Score: 1
      Seriously. What possible use would a transparent video player have? While ditching X is a great idea, I think a more useful demonstration of their technology is necessary rather than just a screenshot were everyone says "Ohhh Ahhh Isn't that pretty"

      I do most of my work in maximized windows. XTerm and/or MP3 players may work fine in small windows, but serious text editing simply works better when you can see lots at once. The biggest limitation with the conventional TV-on-PC "solutions" is that you have to choose between a postage stamp "always on top" image that gets in the way of your work or turn your display into an expensive TV substitute.

      Having a translucent desktop would allow a person to work full-screen on an application while monitoring a full-screen TV image in the background. When something comes onto the TV that can't be missed then you just minimize or roll up your foreground app.

      I would expect the window managers to eventually support a "translucence" widget for each window's title bar so that some can be made more transparent than others.

  4. Name typo? by A+Commentor · · Score: 1
    I thought the Digital Convergence was the bankrupt 'cue cat' people....

    These guy's website says 'convergence integrated media'...

    --

    Looking for any old 8-bit Heathkit/Zenith software/hardware - http://heathkit.garlanger.com

    1. Re:Name typo? by Kartoffel · · Score: 1
      Digital Convergence *is* the Cue Cat company that went out of business. The convergence.de website seems to be something else entirely.

      Michael said: It has been made (and LGPL'd) by Digital Convergence

      Hah. I'd be very surprised if Digital Convergence ever released any open source software. At least they gave away free hardware. That's pretty cool.

    2. Re:Name typo? by Anonymous Coward · · Score: 0

      ok, this is the last time i explain this. look. michael POSTED this article write up, he DID NOT write it. SPY HUNTER wrote it! SPY HUNTER submitted it. michael just looked at what SPY HUNTER submitted and decided to post it. what you quoted is from SPY HUNTER, not michael! Geez!!! idiots!

  5. They're nothing like each other! by CaptainAlbert · · Score: 5, Informative

    (a) DirectFB is a thin abstraction layer over graphics hardware; ideal for blindingly fast games, video rendering, etc. Sure, that could be useful.

    (b) The X window system is a network-transparent graphical desktop environment based around the client-server paradigm. Sure, that could be useful.

    You can't really have it both ways. It would probably be true to say, though, that the need for (b) is dying out, and the need for (a) is growing. But that's not what the headline was saying.

    --
    These sigs are more interesting tha
    1. Re:They're nothing like each other! by Obsequious · · Score: 5, Insightful

      I think that's a bit too simplistic a notion.

      All X is really about is adding network transparency to GUI apps. To accomplish this, the protocol has a notion of windows, window managers, decorations, etc. There's nothing about X, however, that really has anything to do with hardware. X has no provisions for hardware acceleration or transparent windows, for example.

      You're confusing X the protocol with 90% of all implementations of X, which themselves include a framebuffer, hardware acceleration, etc. For example, XFree86 is really just a GUI system that happens to implement the X protocol.

      The main reason that implementations tend to be both a hardware driver and an X server is that the protocol can be a bit hairy to try and "map" into an alien GUI system. (And more than that, Unix systems typically don't even have anything else to map to, anyway, so if the X server isn't providing the hardware driver, there's nothing there.)

      Anyway, the core issue is that there isn't (theoretically) anything that says that an X server has to be a hardware driver. Just look at Hummingbird's Exceed program, which implements an X server on Windows. Writing an X server that would run on a "native" framebuffer isn't such an exotic idea; Exceed actually works extremely well.

      Granted, you can almost always tell that a particular program is an X program, because in practice X does dictate a certain look and feel (since a legacy X app would be running with a widget set that might or might not look like the native set.) But that's why they're porting GTK, and why the X server is for legacy apps.

    2. Re:They're nothing like each other! by rknop · · Score: 4, Insightful

      (b) The X window system is a network-transparent graphical desktop environment based around the client-server paradigm. Sure, that could be useful.

      You can't really have it both ways. It would probably be true to say, though, that the need for (b) is dying out,

      My need for (b) is most definitely not dying out! I would find it sad if support for X under Linux started to seriously wane as people put all of their emphasis in having everything work blindingly fast when rendering directly to the hardware on which the application is running. I do play games occasionally, but most of the time I'm using my Linux boxen to do work. Remote shell sessions are the most common, but it's not infrequent for me to use a number of other remote X sessions, which are made possible, easy, and transparent by the client/server architecture of X. I do not forsee any time in the near future where I could hope to run the things I need to run entirely on whichever machine I happen to be working locally on.

      Hopefully, there are enough other people out there like me to keep XFree86 going, so that even if "most people" start using something like DirectFB, X will still be an option. (Much as Gnome will still be an option if everybody starts using KDE, or vice versa; this is the beauty of free software.)

      -Rob

    3. Re:They're nothing like each other! by Chanc_Gorkon · · Score: 2, Informative

      I don't know. X works fine on every machine I tried. The only thing about X is it's chattyness on a network. The dang thing is so chatty that you need a good/great network connection to run anything remotely. The need for DirectFB is becoming greater? The only thing I see the speeds that a DirectFB woulde be very useful for is a desktop that is playing games, or watching videos.

      Now, for my spiel on Transparant terminals....I never liked em. I like to run color Xterms and transparant terminals don't do much for me there. No matter what kind of background you use, the colors of the background always kind of blend with the text making it much harder to read. I would not mind things like transparant, attatched dialog boxes ala OSX, but so far as transparant Xterms, I have no use for them. I also don't think a transparant video player would be very useful either. Yeah, it looks cool, but usually when I am playing video, I want to WATCH it not work through or on top of it.

      Personally, I think everyone's major beef about X has been is is being resolved. That would be crappy looking fonts. Anti-aliasing is fixing this gradually. You can now have an anti aliased KDE or Gnome desktop. That's nice. The only other complaint I can see is not so much as a complaint about Xwindows as it is about video card manufacturers. No matter what they do, they have to make money. If that means they withhold source or their spec so we can make good drivers, then, well, it doesn't matter whether you use X or DirectFB. You still have the same problem. X is a good thing. Network transparant applications is a good thing when it's security is implemented well (and we KNOW X has problems there). Let's fix X windows. I know, it's code is arcane and boring, but I can't help but feel that DirectFB feels more like the way Windows does things then Linux and we all know how well THAT works!

      --

      Gorkman

    4. Re:They're nothing like each other! by Pogue+Mahone · · Score: 3, Insightful
      The only thing about X is it's chattyness on a network.

      It isn't X that's chatty - it's the apps that use it. Some years ago I developed a couple of simple applications to display some statistics graphically in (pseudo) real-time. Over a SLIP connection on a 14400 modem, one of them worked but the other one didn't. The one that didn't had a little bug that I'd never noticed on a local machine or even over ethernet. The bug was that it redrew the graph elements even when it didn't need to.

      So don't go blaming X for things over which it has no control. OK, so maybe its network model isn't suitable for video players or arcade games - but don't write it off because of that.

      --
      Every bloody emperor has his hand up history's skirt [Peter Hammill/VdGG]
    5. Re:They're nothing like each other! by pmz · · Score: 2, Interesting

      It would probably be true to say, though, that the need for (b) is dying out, and the need for (a) is growing.

      The network transparency of X is immensely useful (and brilliant). I'd rather take the superior, albeit slower, architecture of X over any super-fast, yet functionally neutered, architecture.

      Sometimes I wish all of those "web standards" were thrown out in favor of a newer better version of X. Imagine: web applications could be the real thing, and all that (MS)HTML/(MS)XHTML/(MS)XML/(MS)JavaScript cacaphony could be tossed.

    6. Re:They're nothing like each other! by Anonymous Coward · · Score: 0

      When you say "Lets fix X Windows" do you mean your actually gonna help?

    7. Re:They're nothing like each other! by bkhl · · Score: 1

      If DirectFB catches on, I'm sure someone will make an X server for it, so you can still use run remote X clients in it.

    8. Re:They're nothing like each other! by ShavenYak · · Score: 1

      Shouldn't it be possible to run the DirectFB GUI on your box, and then have a slim X server which runs on top of DirectFB for running legacy X client apps on a remote machine (or the local machine)? Best of both worlds, so to speak.

      The only catch is, anything you might want to run from another box, you'd need an X client version of it. So, you'd have to have both a DirectFB version if you wanted it to be fast locally, and an X client version accesible remotely.

      --

      Hey kids, there's only 5 days left 'til Yak Shaving Day!
    9. Re:They're nothing like each other! by Anonymous Coward · · Score: 0

      little OT, but I guess this could become ngFlamewar :-)

    10. Re:They're nothing like each other! by Nerant · · Score: 1

      I'm not completely familiar with the whole architecture of X in general, but a couple of points to bring up.

      The main thing we're all talking about here is not X, but an implementation of X Windows, Xfree86, vs some .
      I believe that until someone can point at more than one implementation of X and say confidently that it's the architecture (ie. design) rather than the code (ie. implementation) that's the bottleneck.
      While we're talking about speed : won't brute hardware acceleration negate any percieved speed issues with X? I'm pretty happy with Xfree86 4 right now. Any one got any opinions on this?
      (a ELSA GeForce 2 MX over here)

      --
      Be kind. There are too many mean people out there already.
    11. Re:They're nothing like each other! by Mike+Hicks · · Score: 2

      Yep.. As computers become ever more connected, remote access becomes even more important. I don't think a graphics environment could survive too long on Linux without at least some form of network transparency.

      Certainly, the X model can be improved upon. The main problem with using X over the Net is that it is very sensitive to latency. It doesn't matter if you have a Gigabit connection -- if you have significant lag (like the ~250ms in satellite connections), X will run like a dog.

      Fortunately, someone came up with mlview-dxpc.. I just hope it can be integrated into XFree86, ssh, or both.

    12. Re:They're nothing like each other! by Anonymous Coward · · Score: 0

      Let's fix X windows.

      No ta, I'll use AtheOS instead, with a well thought out design and integrated GUI library.

      Not that I'm saying X is bad per se. but people need to realise that it's only good for a few certain tasks, namely providing remote GUI's. Given that most computers these days tend to sit on your desktop, isn't it time we moved on to something thats been redisgned from the ground up to provide the sorts of features that modern hardware prvides? I'm talking accelerated drawing, anti-aliasing, massive resolutions, alpha blending etc. Keep X about for when you need a network transparent GUI, sure, but don't use it as a general, everyday, GUI.

    13. Re:They're nothing like each other! by Nicopa · · Score: 1

      Try LBX (lbxproxy), it really helps. It's dxpc improved, turned into a standard and included in the core X specification. It was part of the X Consortium "Broadway" project that would put X into our browsers (!).

    14. Re:They're nothing like each other! by abell · · Score: 1
      There's nothing about X, however, that really has anything to do with hardware.
      In fact, a couple of funny X-servers come to my mind.

      One (xvfb) does not display anything at all. It has some use to run X-apps without having to fire up a "real" X-server and without need for a display.

      The other, of course, is VNC.

    15. Re:They're nothing like each other! by Anonymous Coward · · Score: 0

      Oh you don't say, silly boy. I think that anyone who administrates a bunch of headless servers might just realise that X is the right tool for that job much of the time. Why would anyone pay for a bunch of monitors for a room full of servers when you can run X over the network for those times you need to hack about on them with graphic tools and the like. Yes, silly boy, for the real busines world, there are many reasons to run X everyday.

      Now then, don't you feel silly...

    16. Re:They're nothing like each other! by jovlinger · · Score: 2

      stupid question re: xvfb (or vnc for that matter)

      Can these be used as a "screen" for X (a-la the FSF text mode program of the same name)? I want that

    17. Re:They're nothing like each other! by Webmonger · · Score: 2

      Yes, VNC functions handily as a graphical "screen".

      Actually, I thought "screen" was like VNC for the commandline.

    18. Re:They're nothing like each other! by morcego · · Score: 1

      Lets not forget to mention XStations. I know, dedicated XStations are really dying out, but we have a lot of 486 (with 16Mb of RAM) running as XStations. Expecialy here in BRazil, this is a great plus, and one of the reasons lots of companies are moving for Linux, so they can reuse some old hardware.
      Another good effect of these XStations is that they don't need movable hardware (CDRoms, Floppy, HD's), which are the parts that demand most maintance.
      That said, I don't think that this project will kill XFree86. I think it will only be an option, and a good one at that.

      --
      morcego
    19. Re:They're nothing like each other! by hattig · · Score: 1
      Imagine: web applications could be the real thing, and all that (MS)HTML/(MS)XHTML/(MS)XML/(MS)JavaScript cacaphony could be tossed.

      Have you ever heard of REBOL? It does all of this. http://www.rebol.com/

      You can download their demo stuff, and run applications directly from their web site, etc. The language is amazingly simple to use, and it just works.

      There is an interview with the creator of REBOL on OSNews, which is interesting. REBOL is the world's best chance at beating .NET... well, in the creator's opinion anyway.

    20. Re:They're nothing like each other! by Anonymous Coward · · Score: 0

      So you think that X is the right tool for the job when you're using a desktop machine?

      What about VNC for your remote display needs?

    21. Re:They're nothing like each other! by Mad+Marlin · · Score: 1
      From article: ... and even an X server for legacy apps ..

      Post: If DirectFB catches on, I'm sure someone will make an X server for it, so you can still use run remote X clients in it.

      I know most people do not read the articles linked to here at Slashdot, but you could at least read the one-paragraph snippet at the top.

    22. Re:They're nothing like each other! by jovlinger · · Score: 1

      screen has been around since 1987, according to its splashscreen (c).

    23. Re:They're nothing like each other! by rknop · · Score: 2

      Certainly, the X model can be improved upon. The main problem with using X over the Net is that it is very sensitive to latency. It doesn't matter if you have a Gigabit connection -- if you have significant lag (like the ~250ms in satellite connections), X will run like a dog.

      Tell me about it. Especially for those of us who use terminal sessions-- latency is a killer when there's a 1/4-1/2 second delay between typing and seeing what you type.

      I would love to see an "X Replacement," but if it driven by what games need, it probably won't really do what we need X to do very well...

      -Rob

    24. Re:They're nothing like each other! by t · · Score: 1
      Cool. I'm thinking now is there a way to insert a delay loop under an X app? It'd allow you to do some high latency profiling w.r.t user interactivity.

      I know for sure that one of my programs needs it. I haven't been able to nail it down, but under certain conditions it forces full screen redraws continuously, slowing sawmill to a damn crawl.

      t.

    25. Re:They're nothing like each other! by lukel · · Score: 1
      I don't think a graphics environment could survive too long on Linux without at least some form of network transparency.



      Forgive me for asking what may be a silly question: but why? Network transparency for the fileaystems makes sense, but for GUI seems silly becuause of the latency problems. Why must a program be running on a remote computer rather than running on the local computer but using the remote computers filesystem where necessary?

      For things like stopping/starting webservers etc on remote computers, isn't telnet fine?

    26. Re:They're nothing like each other! by Anonymous Coward · · Score: 0

      Why does everyone think that you can't have one without the other?

      It's perfectly possible (and in my opinion, preferable) to have all your graphics locally framebuffered but intercept those graphics for remote display if needed.

      This means that apps that run locally are fast, and *IF* you need remote, you take the performance hit (which is there anyways because of the network latency).

      This means you can have blazingly fast local apps without sacrificing your remote connectivity, and at the same time not forcing the local apps to support an extension.

      This also has the side-effect that apps that would otherwise need to use a local-only extension on X could be remoted (without the speed benefits of course). So, you could edit your videos at a reduced performance remotely, or blazingly fast locally, without a single line of code changing in the application.

    27. Re:They're nothing like each other! by John+Allsup · · Score: 1

      I've read things about bandwidth shaping, but this is not whats required here. What would be an idea for someone to write (if no-one has already done so) is a Linux kernel module that adds an aliased ip address with a configurable delay (i.e. take the ip-alias module and make a few modifications).

      --
      John_Chalisque
    28. Re:They're nothing like each other! by Anonymous Coward · · Score: 0

      Try this scenario. At my company, most people don't have PCs - we use dumb X terminals (NCDs, in our case).

      From those, we login to a mixture of SGI O2 workstations and Linux-Intel servers - this is where window managers, web browsers, email etc are run.

      However, we don't necessarily do our work on those either. We use either a big SGI O2000 server, or one of a large number of linux servers (possibly but not necessarily the same one as we're logged in to). We also have a few other boxes from Sun and HP.

      Because X can be distributed, I have nearly perfect transparency. I rlogin to the machine I want to use, and run any program I want - graphical or text - from it, without worrying about what kind of machine I'm on.

      File transparency is all very well, but it's not enough. If a program isn't available for a given platform, what can you do? I just run it from a machine that has it, and open whatever file I want over the network. Without distributed windows, I'd be stuck with console apps, which aren't especially useful for my job.

    29. Re:They're nothing like each other! by Bert64 · · Score: 1

      VNC concentrates on an entire "screen" at a time, whereas X concentrates on applications.. with VNC i couldn`t have a configuration program from one machine at the bottom of the screen, and a browser running from another machine displaying a manual page, at the top. All managed by my locally installed window manager of choice configured to my own personal tastes.

      --
      http://spamdecoy.net - free throwaway anonymous email - avoid spam!
    30. Re:They're nothing like each other! by Mr.+Shiny+And+New · · Score: 1

      I use X's remoteness often. For example, I have Licq installed on two computers: my local one (it was installed there first), and my server. My server is accessible from the net, so I can use ssh to launch licq no matter where I am. In this case, it means that I don't need to install Licq or share my filesystem to have access to my contact list or my history. Furthermore, if I do file transfer from icq, I usually want it to be to and from my home computer, not whatever terminal I happen to be using.

      Also, I have often used X + ssh to run software on the computers at my school, from home. This means I can complete an assignment from the comfort of my home computer, yet I can access the power of the school computers and the software installed on them. I don't have hspice or awaves or matlab installed on my linux box, but the school has it on their solaris boxes. Without X's network transparency, I wouldn't be able to do my 'homework' at home.

      Finally, I think it's ironic that just as Windows gets the ability to serve clients like X (Winframe, MetaFrame, Terminal Server), people in the Linux world are talking about how no one needs network transparency. Microsoft wouldn't have 'stolen' Winframe from Citrix if they didn't think it was valuable.

    31. Re:They're nothing like each other! by Anonymous Coward · · Score: 0

      Remember the story about the city of Largo`s use of Linux? that`s one reason way

    32. Re:They're nothing like each other! by pschachte · · Score: 1
      I would find it sad if support for X under Linux started to seriously wane as people put all of their emphasis in having everything work blindingly fast when rendering directly to the hardware on which the application is running©

      There are alternatives to the X approach, at least in principle©

      Under X, the application runs on one machine, and the display can happen on a different machine© This means that the intellegence is in a different place than the display, so every single graphical operation has to be transmitted from one to the other© Even at broadband speeds, this rules out serious graphics, and at modem speeds, almost everything is pretty painful©

      A better approach would be to run the application locally, using remote procedure call for only the parts of the application that require real grunt work© This is a much more flexible model than the X model© At one end of the spectrum, you can run the program mostly locally, only occasionally doing something remotely; at the other end, you could do an X sort of thing where the program offloads everything but the actual display onto the remote machine© Where an application lies on this spectrum can be decided to minimize data communication or latency or just to simplify the code©

      The catch, of course, is the need for two programs instead of one: the display and the compute server© And each of these has to be compiled for the appropriate CPU/OS combination© So some sort of architecture-independent executable file would be pretty much essential© Ideally, code would migrate transparently from the local display machine to the compute server© This is certainly a research topic, but it has been implemented in the Mozart system ¥see http://www©mozart-oz©org/ ¥Sorry, can't seem to create a hyperlink from the silly form interface©

    33. Re:They're nothing like each other! by Webmonger · · Score: 2

      I know. But I started with VNC on Windows. Then when I was using Linux, I went looking for something similar for the commandline. . .

  6. This is great! by djhankb · · Score: 0

    The X Window system was/is nice...
    My only problem with it is that it's pretty slow.
    DirectFB could be a nice way to "integrate" everything together kinda like the MacOS for much Faster Performance...

    -h

    --
    --- #@$DF@#2%@^%3^&*$%FRHG%%[NO CARRIER]
  7. network by flok · · Score: 1

    I want something which also works trough a network-connection. Like X.

    --

    www.vanheusden.com - home of Multitail, HTTPing, CoffeeSaint, EntropyBroker, rsstail, bsod, listener, nagcon, nagi
    1. Re:network by Crowbar · · Score: 1

      maybe make the X-server use DirectFB?
      that way you can use the client-server stuff from X and the fast graphics of DirectFB...
      best of both worlds?

      (sounds a bit like OpenGL)

    2. Re:network by baxissimo · · Score: 1

      It sounds to me like the way that X-Servers on Windows work. (Like eXceed and XWin-32). Probably works that way on Mac OSX too.

      That lets you open a remote X program on your DirectFB desktop, but I don't think that solves the problem in the other direction.

      Seems to me like a reasonable solution would be to still ship all the non-whizbang apps linked against X so they can be run over the net, and just use DirectFB for games and video apps that don't really need to be run remotely.

    3. Re:network by Crowbar · · Score: 1

      I was more thinking like the drawing primitives used in OpenGL.
      there you can specify points and vertices and surfaces and the board calculates the image..
      you could do the same using X..
      specify the location of the window, and all the texturing, and here you go...
      i believe it allready works that way, you just need to avoid the really heavy stuff like patterns..
      al the drawing is done in the X-server, and is accelerated by the directFB stuff.
      It would work just like the X-extensions you could load on X-terminals to speed up the rendering of vector-graphics...

    4. Re:network by Anonymous Coward · · Score: 0
      Congratulations, you have just described Berlin :)

      (which can run on DirectFB).

  8. hardware acceleration by mr100percent · · Score: 2, Interesting

    If you use hardware acceleration for your GUI, like people want for OS X, how will apps like VNC display this, if it goes straight to the graphics card?

    1. Re:hardware acceleration by dbretton · · Score: 1

      more than likely, they'll do it the same way that VNC does it for Windows boxen.

      -D

    2. Re:hardware acceleration by Skuggan · · Score: 1
      If you use hardware acceleration for your GUI, like people want for OS X, how will apps like VNC display this, if it goes straight to the graphics card?

      Maybe the apps can read from the video-memory.
      Can't be to hard to figure that out...
      --
      http://www.millnet.se/ GO/U d- s+:+ a C++ UL++++ P- L+++ E W+++ N+ w++ M-- PE+ t+ X++
    3. Re:hardware acceleration by RaptorX · · Score: 1

      VNC already does this under windows. I've used VNC to connect to my box at home on a couple of occasions to see my SO playing Diablo 2, or other directX applications. In fact, I have played D2 over VNC on the campus WAN a couple times.

      However, apps which use overlays, like Media Player, do not work properly, as VNC can't see the contents of the overlay.

    4. Re:hardware acceleration by Anonymous Coward · · Score: 0

      Maybe something like fbvnc? "fbvnc is a framebuffer based viewer for the Virtual Network Computing (VNC) protocol."

      This was developed for the iPAQ, but should be usable elsewhere.

      Cpt_Kirks

    5. Re:hardware acceleration by Anonymous Coward · · Score: 0

      In Windows it bypasses the framebuffer and writes directly to hardware so you can't take a screen capture (for speed purposes, throwing around huge ammounts of data is a uncessesary burden in most uses of video watching). This is optional however, and if you turn hardware acceleration off in your Media Player settings you will be able to watch your videos through VNC (with a speed hit, that Windows can't be held responsible for).

  9. New Standard Maybe but not for now by jjr · · Score: 2

    There are many apps that will need to be ported over in order for this thing to fly. I do see that they do have a gtk port so that will help in getting some application ported over. I would like to see the best of both worlds here. They can even port Xfree86 to DirectFB but that will only defeat the purpose. What I will really like to see next is the Troll Tech libray port of directfb which will really another good portion of apps to directfb. if we can do that the mayabe in a few years we can see this as the next new standard.

    1. Re:New Standard Maybe but not for now by ksteddom · · Score: 1

      The troll's have had FB support for some time now in their QT embeded. This looks like it is the same thing. Anyone played with both who can comment?

    2. Re:New Standard Maybe but not for now by agdv · · Score: 1

      The troll's have had FB support for some time now

      No, what the trolls have had for a while is FP support.

    3. Re:New Standard Maybe but not for now by Anonymous Coward · · Score: 0

      *Groan*. That was lame.

  10. Multihead? by fader · · Score: 1

    This thing looks pretty sweet... I want to download it and play with it once I'm no longer stuck on the Win2k boxes at work. :)

    But does anybody know if they support any sort of multihead? They list the Matrox G400 (which is dual-head) as a supported card... anybody played with this?

    --
    - fader
  11. Goodbye Platform Interoperability... by LeftHanded · · Score: 3, Insightful

    which is the whole point of X. You can have an X server running on Windows (ptui), Linux, *BSD, Solaris, Tru64, AIX, HP-UX, Max OS X, etc, etc, etc and display clients that are actually running on one of the other bazillion X supported platforms. The DirectFB solution works only for the Linux framebuffer. If you hate X, great, then this might be a place for you to develop tools and applications. For the rest of us old hand UNIX folks who have worked with X for years and years who love the network aspects of it, we'll stick with what we got. Even if developing software for it is way hard without several layers of software abstraction (toolkits).

    --
    I think...I think it's in my basement. Let me go upstairs and check. -M.C. Escher (1898-1972)
    1. Re:Goodbye Platform Interoperability... by dok666 · · Score: 3, Interesting

      And you can have an X server running on DirectFB!
      The current XDirectFB uses DirectFB in fullscreen mode, it does its own window management. Just think of a rootless X on DirectFB, like on MacOS X. You could have X applications going through the server and DirectFB applications or games running directly at full speed. When the X server has been enhanced to use DirectFB's window management it would be easily possible to set the window opacity (ranging from 0-255) of any legacy application.

      X is a great technology and I think DirectFB is rather a good base than a replacement of this technology.

    2. Re:Goodbye Platform Interoperability... by DickBreath · · Score: 3, Interesting

      Many modern apps, the ones I care about anyway, are coded to either Qt or GTK. Why would I be saying goodbye to platform interoperability? This makes no sense?

      On Linux I would benefit from an efficient Qt or GTK implementation on DirectFB without running any X. I wouldn't ever have to see any ugly primitive X applications either.

      On non-Linux platforms, Qt and/or GTK can be implemented in the traditional X fashion, or in any other fashion if that platform also has something more efficient.

      Modern apps will still compile and run.

      And if you like X apps (i.e. non-GTK and non-Qt), there is nothing here saying that you can no longer use X. X isn't going to disappear. Individual apps that use GTK or Qt can still use a Qt or GTK lib that supports X to draw on a remote display.

      On Linux, on the X server end of things, you could use only one single X server. Yea! No more xf86config and all that crap. You could still see traditional ugly X applications or you could see remote GTK or Qt applications. Local GTK/Qt apps could be more efficient, going to DirectFB. The local X server could be iimplemented in a manner much like on some other platforms, where the X windows are integrated into a local window system -- or could use a traditional X root window.

      Anyway, just my opinion. But since it makes things simpler and cleaner, I'm sure many old school people will be against it. Just my opinion, but I think this is a step forward. I'm sure it will encounter lots of resistance.

      --

      I'll see your senator, and I'll raise you two judges.
    3. Re:Goodbye Platform Interoperability... by garcia · · Score: 2

      honestly, over a 10mbit LAN X isn't fast enough to run the applications I use everyday. GAIM, WordPerfect, and Netscape all run too slow over 10mbit to be worth even bothering.

      I switched to 100mbit recently and it is better but not exactly what I would call some sort of godsend that would make me say that X is worth using just for network application.

      X is a standard across many platforms and I believe that is to singling Linux out a little more on its own but I do think it is a good option for those that want to use it.

      Hope it all works out for ya :)

    4. Re:Goodbye Platform Interoperability... by Doke · · Score: 1

      I think it's silly to ask the Qt and GTK people to support two different abstraction layers in two different versions of their libraries. They have enough to do already.

      Also, an X server that used directFB would still need a config file, in addition to the directFB file. So you would have two ugly config files to deal with.

      I've seen X add-on systems like Exceed. They don't work nearly as well as a real X desktop. They're never integrated into the local window system. They're duct taped onto the side.

      What you propose would be more complicated, and uglier, than the current archetecture. The directFB clients would loose the network transparency and interclient communications of X. They would gain a relatively small amount of display speed (which they could have gotten with the direct draw X extention from vmware).

    5. Re:Goodbye Platform Interoperability... by Tet · · Score: 2
      And you can have an X server running on DirectFB!


      Which completely misses the point. Yes, it means that you can display remote applications on your directfb machine. But you can't do the reverse -- display your directfb application on a remote machine. At least, not without kludging multiple display targets into gtk, something akin to what the libggi folks did long ago.

      --
      "The invisible and the non-existent look very much alike." -- Delos B. McKown
    6. Re:Goodbye Platform Interoperability... by ceswiedler · · Score: 4, Insightful

      If I were writing an application which had a hope of running remotely (a standard windowed word processor for example) I would write it to X. But if I were writing a new flight simulator, I would know up front that there is no hope of running it remotely, because it needs direct hardware acceleration, and I would write it for the DirectFB layer.

      This is more like DirectX than anything; a way to bypass the high-level windowing system to write directly to hardware. As people have said, it doesn't replace X completely. But I would rather have a X server layer on top of a direct-hardware layer, than a direct hardware piece hacked into an old X server.

    7. Re:Goodbye Platform Interoperability... by Grishnakh · · Score: 2

      That's odd. I have a 100Mbps home network and I've even played older arcade games in xmame across it with no noticeable slowdown. Once I played Space Quest V across the network using DOSEMU, and that was a little slow at times, but not bad.

      The only time I had speed problems with X was when I visited a friend in New York and ran my KDE desktop from my computer at home (in Phoenix, AZ). Probably because my DSL upstream rate was only 128kbps.

      I've used email and news applications across my 100Mbps network and couldn't even tell they were remote.

    8. Re:Goodbye Platform Interoperability... by _typo · · Score: 2, Insightful
      You could have X applications going through the server and DirectFB applications or games running directly at full speed.

      So why don't we put the hooks in X so that full speed/direct to hardware access is possible? O whait? That's DRI...! XFree86 has bugs, sure, but it isn't the monster people think it is. Most of the memory the server uses are apps storing images and stuff server side.

      --

      Pedro Côrte-Real.

    9. Re:Goodbye Platform Interoperability... by MichaelKVance · · Score: 2
      [ deleted comments about the obsolescence of X ]
      ...
      Those who fail to learn from history are doomed to re-implement it.
      The juxtaposition of your .sig and the content of your post is amusing.

      m.

      --
      "Sebastian you're in a mess. They called you King of all the Hipsters, is it true or are you still the Queen?" -- B
    10. Re:Goodbye Platform Interoperability... by markaa · · Score: 1

      > I wouldn't ever have to see any ugly primitive X applications either.

      What!!! Some of the best games are written using just Xlib. Xevil is the best example. And what about all the 1337 programs that just use a raw socket to connect to the X-server? Do we just push them aside?

    11. Re:Goodbye Platform Interoperability... by Cato+the+Elder · · Score: 1

      A 10mbps LAN is plenty to run most of the applications I use over that network, and that's even with it tunneling through SSH. xv and Netscape are both pretty pokey, but one is nothing but graphics and the other is a bloated monstrosity. I can even run StarOffice across machines once it starts up, I just can't move or resize the main window without waiting for several seconds. Oh, I'll be glad to be able to do faster direct rendering, but I'll be running some kind of Xserver on my machines for a long time.

    12. Re:Goodbye Platform Interoperability... by Anonymous Coward · · Score: 0
      I think it's silly to ask the Qt and GTK people to support two different abstraction layers in two different versions of their libraries. They have enough to do already.
      Aww... how kind of you to think of them.

      You're a real sweety... *smooch*

    13. Re:Goodbye Platform Interoperability... by jonabbey · · Score: 2

      Hm.. direct hardware acceleration.. you mean, like with OpenGL/GLX?

      I don't get people militating to ditch X11 for mainstream desktops. The performance is fine, the technology is extensible, and you can run software written 15 years ago without any hassles.

    14. Re:Goodbye Platform Interoperability... by DickBreath · · Score: 2

      Some of the best games are written using just Xlib.....1337 programs that just use a raw socket to connect to the X-server.....Do we just push them aside?

      Who said we had to get rid of anything?

      The entire point of my post was that we weren't giving up interoperability or compatibility by using something better. I did suggest that X servers might be implemented in terms of DirectFB, but what has this to do with no longer running old X apps?

      --

      I'll see your senator, and I'll raise you two judges.
    15. Re:Goodbye Platform Interoperability... by DickBreath · · Score: 2

      I think it's silly to ask the Qt and GTK people to support two different abstraction layers in two different versions of their libraries.

      IIRC, both GTK and Qt have already been ported to several different non-X drawing mechanisms. From reading lots of other posts here, it seems there are performance advantages to be gained by avoiding X and going more directly to the hardware, avoiding so many in-between layers.

      What happened to all the people who say Open Source is all about choice?


      Also, an X server that used directFB would still need a config file, in addition to the directFB file. So you would have two ugly config files to deal with.

      Please explain more fully. I don't understand why? It seems like part of the complexity of X, and it's monsterously difficult configuration, is due to the X server's direct support of so much hardware. If X drew only to DirectFB, it seems intuitive to me that X could have very little configuration at all. The X server end would suddenly know nothing about video hardware, timing, modes, etc. The X server would extremely resemble the Xnest server, but drawing into DirectFB instead of into an X client. Therefore, no config. Now DirectFB might have some config. But it's hard to imagine it being worse than X. Why can other systems have such a simple, or even non-existant config, yet not lack features? (i.e. I'm thinking Mac here.)


      I've seen X add-on systems like Exceed. They don't work nearly as well as a real X desktop. They're never integrated into the local window system. They're duct taped onto the side.

      Since I don't know better, I'll conceed that you probably have a point. It certianly seems plausible to me.


      What you propose would be more complicated, and uglier, than the current archetecture. The directFB clients would loose the network transparency and interclient communications of X.

      Why? It seems simpler and cleaner to me. First and foremost, it doesn't use X. The kernel offers a primitive way to manipulate pixels on the display -- but without all the bloat of X. And keeping stability by not offering complex features. Then you directly layer widget toolkits onto the graphics layer, as many other systems do. You get performance. You avoid complexity. I'm not suggesting that we take X away from people who use it. (i.e. search people's homes and get rid of X wherever we find it.) X is great for network transparency. But lots of people don't need that. Perhaps I could have been more clear.


      They would gain a relatively small amount of display speed (which they could have gotten with the direct draw X extention from vmware).

      I'm not familiar with this vmware extension. But wouldn't it have something to do with getting Windows programs under vmware to draw efficiently on a local X display? And therefore, have nothing to do with the subject at hand?

      --

      I'll see your senator, and I'll raise you two judges.
    16. Re:Goodbye Platform Interoperability... by scrytch · · Score: 2

      I see no inconsistency with the sigs. X has taught us a lot of lessons of how and how not to do things. Claiming that X is good enough now because it has been before is failing to learn from its history.

      Think about it this way: I have gtk on my machine. I'm using a gtk app on the remote machine. Why in hell should it have to blit every widget over as if I had a dumb terminal? That's just one of the problems with X..

      --
      I've finally had it: until slashdot gets article moderation, I am not coming back.
    17. Re:Goodbye Platform Interoperability... by he-sk · · Score: 1

      I take it that most of the QT apps you use are actually KDE apps. Well, I hate to break it to you, but KDE apps simply won't work. KDE needs DCOP and DCOP needs interclient communication provided by X.

      So, your DirectFB running QT apps would need a communication interface integrated. Well, you could copy the mechanism used by X, but why not use the original thing, then?

      To all those people screaming "X is old" and "X is bloated": Please note that X has been around since 1985, IIRC. It's a proven system (almost like Unix) and it has adapted very well to new needs (like DRI -- the Direct Rendering Interface). Yes, it can be complicated in setup[1], but it's also extremely powerful -- which should not be confused with bloated.

      BTW, do you realize the irony in your sig?

      [1] Last time I had to setup XFree86, a simple XFree86 -configure actually sufficed. Only the pointer setup was screwed. Ah well.

      --
      Free Manning, jail Obama.
    18. Re:Goodbye Platform Interoperability... by cathryn · · Score: 1

      Exactly. If we could get the Xfree guys fixing bugs in the Xserver rather than supporting all the oddball features of all the oddball cards on the planet, we'd be ahead in this game. Then, it'd be much easier for video card companies to come out and support Linux. And, we'd get fast games as a plus.

      Does the interface export a super-set of the most common 2D acceleration features. A thin interface, would be the best for this.

      --
      http://junglevision.com -- Shamus for Gameboy
    19. Re:Goodbye Platform Interoperability... by Cyno · · Score: 1


      I always thought the point of open source software and linux and the GPL was to have options with variety and purpose and individuality. Linux is capable of running both a DirectFB and XFree86 server on your computer at the same time. X still offers older systems the portability and compatibility with modern hardware while DirectFB seems to be a more simplified way of doing accelerated graphics. This is awesome! Apps will be ported, you will have more choices and perhaps better performance, stability, security, portability and compatibility because of it. I love freedom :)

  12. New Standard?? by Trollmastah · · Score: 0
    DirectFB adds graphical power to embedded systems and sets a new standard for graphics under Linux


    A new standard? No, that's a stretch. It will allow for a wider footprint because it could play to a wider audience, but X will not be replaced IMO.

    --

    .

    Take all good things in moderation, including moderation.

  13. How about client/server? by andykuan · · Score: 1

    A replacement for X is long long overdue but DirectFB doesn't seem to support a client/server model that allows a remotely running app to address your local display over the network. That capability is what brought us cheap X terminals.

    The writer of the anti-X page got 50% of what he/she wanted: DEC has long since been wiped off the face of the earth. DEC->Digital->Compaq->HP. Anyone know when that piece was written?

    1. Re:How about client/server? by dannyspanner · · Score: 2

      Have none of the "time to replace X" posters heard of Berlin?

    2. Re:How about client/server? by andykuan · · Score: 1

      No I haven't, but it sounds like a great project. Too bad it's not ready to replace X (by their own admission).

      The problem with these great projects is that until they appear in some distribution and a number of apps are ported over, it's really a moot point.

      And how does one herd the open source community to a new standard? Maybe if Microsoft came up with a graphics platform that truly puts X to shame it'll rally everyone around a competing standard. As it is, it's too easy to emulate the capabilities of the Windows' UI with X. Nothing like a shared enemy to push things forward.

    3. Re:How about client/server? by pkesel · · Score: 2, Interesting

      An alternative to X at the Linux console is overdue, but not a replacement for X.

      X is a messaging and event handling system. There's nothing about it that says you ever have to open a window. You can use it for all sorts of local and remote event handling and messaging. The graphical aspect of it is what it's most used for. When you're writing a native X application, your last step is to start a loop that waits for events. Those events can be local or remote, and it's that capability that X should have been adapted. That it's had a great windowing system, X-Windows, built around it is perhaps even unfortunate. X is a marvelous technology that has never seen its full potential.

      --
      - Sig this!
    4. Re:How about client/server? by dannyspanner · · Score: 1

      As has been commented before, what Berlin needs is an X compatability layer, in the same way MacOS X has Cocoa and.... erm.... whatever it's called to support both backward and forward compatability.

      That way, all of a sudden your existing apps (X, GTK, KDE....) work on the new platform and new apps (and rewrites) get to take advantage of the funky new architecture.

      The trouble is, this is a very unglamourous project to take on. Who would want to do that when they could be playing with their transparent terminals?

    5. Re:How about client/server? by Anonymous Coward · · Score: 0

      Cocoa == NeXTish ObjC. Carbon == OS9 compatibility. HTH. HAND. Etc. :)

    6. Re:How about client/server? by Anonymous Coward · · Score: 3, Informative

      I just don't get it. Why do people hate X? It's a fairly powerful system. There are implementations with excellent 2d and 3d hardware acceleration.

      It does *not* use up "tons of RAM", as some people who don't understand the X architecture like to claim. If you see the X server using lots of RAM in top or the like, there are two very good reasons. (a) device mappings. Top counts this towards the total, but it isn't "real" physical memory being eaten. Have a 32MB video card? Guess why X looks 32MB bigger than it should?

      (b) X stores pixmaps locally. This is why X *client* programs use less RAM than their Windows counterparts. One of the two (client or server) *has* to store any pixmap that's going on the screen. For speed over a network, it's much more intelligent for the X server to do so, since the pixmap will probably be drawn many times. So the client doesn't have to store its own copy...but it makes X look "bloated" because it's using some RAM itself to take load off the client programs. The overwhelming majority of RAM that X uses goes to this. If you're using Enlightenment with a pixmap GTK theme, the reason X is taking up more memory is because the client programs *aren't*.

      The only real issue people have with X performance is that between the time an application wants to draw to the screen and the time the drawing happens, a context switch needs to occur. This is why the XFree folks came up with DGA, which avoids exactly this -- if you're just playing a game on the local computer, X imposes no overhead.

      X does some damn cool things that Windows and friends will never do. Obviously, you can run programs over a network (without incredibly inefficient hacks like vnc). However, on a copy of XFree, hitting control-meta-kp or control-meta-kp- will let you switch resolutions, zooming in on something and letting you show stuff to people across the room (I use this a lot in my dorm room)

      There are a few things that I don't like about X. X has a very sophisticated color management scheme, allowing you to output to just about any type of X server, but which can get complicated if you just want to draw something to the screen on your x86 box on XFree. That's why almost no one uses raw Xlib (X's own interface) and uses stuff like SDL or GTK, which handles the nasty details for you, and just lets you do your work.

      XFree supports multiple monitors, desktops larger than your monitor, hardware alpha blending, shaped windows...

      It's true that existing GUI "E-Z X configuration tools" haven't impressed me much, so you do have to maybe do a bit of poking to tweak out your configuration exactly the way you want it...but that's also true with most operating systems.

      Oh, and Xlib doesn't natively support detatching windows from one X server and reattaching to another. I suppose this could be an issue, but since proposed replacements to X mostly don't do this *either* and since toolkits built on top of Xlib *can* do this...

      Of course, you don't *have* to run an X server if you just want a console box...this guy doesn't run X.

      For GUI systems, though, X is where it's at.

    7. Re:How about client/server? by Listen+Up · · Score: 1


      Actually, Windows *can* do everything X can do. At my company, I am the Network Administrator. We recently built a very nice rack mounted server for our entire organization. On this server we have installed Windows 2000 Advanced Server Terminal Server. WTS can do *everything* X can do, plus some very nice things X *cannot* do, such as multiple terminal cut and paste, the ability to run everything from our Interbase DB for our data entry to AutoCad for our engineers. Plus, it is *entirely* GUI. Not one single command line anywhere. And the hardware requirements for the clients doesn't have to be anything more than a simple 386 (although all of our are Celeron's) because *all* of the processing is done on our servers. Plus, WTS is an ultra-thin client. The network 'chatter' is very, very minimal. There are clients available for everything hardware platform out there (Windows 2000 comes with a built in license, all other versions of Windows needs a license, and Unix/Mac/Linux/etc. need an OEM client and license). Plus, unlike many X applications, all Windows programs can be run in WTS without a single rewrite/recode or any special "hacks" (although AutoCAD was a tad bit of a trick at first...for you AutoCAD fans :-). Plus, you can run WTS on multiple open terminal windows if you prefer to not run each session FullScreen. As a matter of fact, most of work is done this way. You can login as yourself in an unlimited number of terminals. Want to sort a DB? Open a remote window, login, start the job. You can then close this session completely, leaving your job running and return to that session at a later time from anywhere on the network. While it is running, you can log into another terminal, again as yourself, and do something else. This also completely discredits another previous post about not being able to have a GUI that is hardware accelerated with a remote terminal type connection available. That is completely incorrect. You can run local programs with hardware acceleration on WTS and still have ~80 clients connected at all times. So, you can have both.
      Instead of pounding your chests and praising X, you should look at what the competition is doing and see that they are actually do it *better* than you. Plus, Remote Administration? WTS is *awesome* with remote administration. Security? Not a problem at all. Try 128-bit secure login. Plus, We firewalled the entire system before it even gets to our servers, then subnetted the entire organization with no way in our out for the clients to the outside. The only port open to the world? The WTS Remote Admin Port. That port is heavily monitored and only specific IP's can address/access it. Email viruses/worms? Nope, we have our mail servers at AT&T. They scan them before we receive them, then we scan them after we receive them, then we disabled all Java/JavaScript/Macros on the client Terminals. Simple. Effective. Efficient.
      Honestly, if these people can give Linux a GUI straight from Kernel load, plus somehow allow an ultra-thin client/server version of X on top of that, then this world would be a better place. A BeOS with a Remote Display Extension/Protocol. That would be perfect.
      PS-This is not your dorm room
      PPS-Why are we switching our servers to Linux in the possibly forseeable/late future? Microsoft Licensing.

    8. Re:How about client/server? by diamondc · · Score: 1

      have you heard of X port forwarded thru ssh?

      --
      "I keep looking in the want-ads under 'revolutionary' but there don't seem to be any listings.. "
    9. Re:How about client/server? by ikekrull · · Score: 2

      Actually, using Windows Terminal Server is a bit of an eye-opener.

      X-Windows is extremely sluggish compared to Windows Terminal Server. You can't do a lot with X over a 56k dialup link, even using ssh-compression or TightVNC, though a WTS session is quite usable.

      Obviously, this is because client-side native widgets are used with WTS, keeping the network traffic to a minimum, but it strikes me that it couldn't be that hard to make X-Windows use a similar scenario.

      i.e. If I am on a Linux machine, talking to another Linux machine, using UI libs that exist on both machines, why not have the server invoke the client UI libraries directly using some type of RPC, instead of using the uber-verbose X protocol?

      Falling back to the X protocol would be good in the case of not having compatible libraries on both ends of the connection, but as Motif/GTK/Qt become available on Sun, Apple, Linux and other UNIX-like OSes, surely this approach becomes very viable?

      There may be huge problems with this approach I haven't thought of, can anyone provide any insight into why this would be unviable?

      --
      I gots ta ding a ding dang my dang a long ling long
    10. Re:How about client/server? by Mr.+Shiny+And+New · · Score: 1

      Gee, it doesn't sound like you know X very well. You didn't name a single thing that X can't do; with X I can run any application on the machine I connect to; it merely displays on my local system. This means I can run the DB admin client on my DB server if that's where it's installed. And since X servers (remember, the X server is the part that draws X programs, not the box you run the program from) are available on pretty much all OSes, I can run my server's X application on any terminal I have. The only catch is that the other computer needs X on it... which it does, unless it's Windows. Let's say I want to run a 3D accelerated game... looks like I can do that on my local box. It doesn't make sense to run a hardware accellerated program remotely, so you can't do that. But then, neither can WTS. At best, it would have to be software rendered. Not very snappy. Let's say my workstation is running an OpenGL program on it (hardware accelerated). Let's say I walk across the room (or go somewhere else with internet access) and I realize I have to run some program on my workstation. I can simply use ssh to connect, and then run the program. Bingo, it just works. The program displays remotely, and I'm happy. In fact, I can use ssh to automatically log in, and launch a program without even showing me a password prompt or a command line. Encryption keys take care of it. Simple, eh? My username/password doesn't even need to be the same on the remote system. Bet that's hard to do in windows. WTS is a nice product. But let's not forget that all it does is bring to Windows some functionality that Unix has had for years. It doesn't do anything new or exciting... the fact that clients are available for 386s doesn't impress me; There are X terminals that don't do ANYTHING except draw X programs on their screen. They're certainly not more powerfull than a 386. And you can certainly run X on a 386, especially if the clients are remote.

    11. Re:How about client/server? by Fnkmaster · · Score: 2
      You are technically correct that WTS and X are very similar in capabilities. The major difference is that WTS relies on the client to render the UI widgets and is thus MUCH less chatty than the X protocol (I assume it's less bandwidth intensive, but I know for a fact there's less latency). I encourage you to give it a try sometime.


      I am NOT a MicroSerf, and I don't like a lot of Windows cruft nor am I terribly fond of trusting Microsoft for pretty much anything. But we could learn something from their approach - it works better BECAUSE they have a standardized widget toolkit. As another poster suggested, X is a good fallback option, but where possible all the rendering of widgets should be done on the client side for GTK/QT/whatever apps, assuming the libraries are there.


      Furthermore, I am unwilling to accept, as are most users, that we should bend over and take the performance hit on local operations (80-90% of the time for non-server machines) for the 10-20% of the time we want to run something remotely. No, I don't want to give up the capability to run remotely, but I don't like the X performance hit for it (though some here seem to claim X performance problems are due to bad drivers - who knows?).

  14. Comment removed by account_deleted · · Score: 1, Troll

    Comment removed based on user account deletion

  15. A way to reduce software costs .... by LL · · Score: 4, Interesting

    ... is to refactor VNC to multicast directly to a bunch of Linux frame-buffers (a la SunRay). If companies are insisting on per CPU licensing and refusing to offer floating licenses (think legacy apps) then by running it on a half-decent back-end server (with fast storage) you can amortise the cost of the software over a wider geographical region, as well as support multiple legacy versions. Of course, you better have a decent network first.

    BTE, whatever has happened to embedding X into the web browser (X11R7? Broadway?) How come that's not being used to port some of the older X utilities across to work over the internet?

    LL

  16. Kudos to the LinuxTV.org guys by Anonymous Coward · · Score: 3, Informative

    These are the guys who run the Linux DVB (Digital Video Broadcasting) aka Digital TV projects, if you get a DVB-s (satellite) board from Hauppauge their package does amazing things, you can save the MPEG2 transport stream directly to disk and have a TiVo like system without any A/D conversions in the process. They have even garnered support from Nokia for their DVB API, Nokia want to use Linux in their STB's, the Media Terminal has been well publicised on /.

    I believe the DirectFB package was originally designed to do onscreen graphics for a TV link up so you could have alpha channels overlaying the MPEG stream.

    Very clever guys... my hat goes off to them!

  17. I wonder... by Pseudonym · · Score: 4, Funny

    Does it come with an open sourced barcode reader driver?


    --
    sub f{($f)=@_;print"$f(q{$f});";}f(q{sub f{($f)=@_;print"$f(q{$f});";}f});
  18. Well, I think.... by the_2nd_coming · · Score: 2

    I think that this has some potential. It said that it has X compatability, so there is not legecy issues. and porting the KDE/GTK+ applications is as easy as porting the tool kit

    --



    I am the Alpha and the Omega-3
  19. Pure /dev/fd0 access vs directfb by heroine · · Score: 2

    I found that the abstraction functionality has gotten so minimal in the newer display libraries that it's easier just to access /dev/fb0 directly.
    If you're doing all your graphics in OpenGL there's no reason to abstract /dev/fb0. FBDRI does all the /dev/fb0 calls.

    Since no-one's writing desktop software anymore the framebuffer device is ideal for the new one-device one-purpose market.

    1. Re:Pure /dev/fd0 access vs directfb by andreas · · Score: 1

      This is mostly true, except for acceleration functions, and input driver abstraction.

      Framebuffer acceleration under Linux still means mmapping the chipset registers and massaging them. DirectFB does this for you.

    2. Re:Pure /dev/fd0 access vs directfb by Anonymous Coward · · Score: 0

      I don't think you've ever done any framebuffer coding, son. Because that involves mmap()-ing a 1024x768 or whatever array of packed pixels.



      Esay? No. Sure, it's not terribly hard, but even so, and even with a lot of pointer arithmetic hacks, most of what you'd end up coding would turn out slow.
  20. New Tools by dropdead · · Score: 1

    The idea of staying at command line and bringing up a GUI tool as needed is very appealing.

    --


    By definition, a government has no conscience. Sometimes it has a policy, but nothing more. - Albert Camus
    1. Re:New Tools by Anonymous Coward · · Score: 0

      > The idea of staying at command line and
      > bringing up a GUI tool as needed is very
      > appealing.

      xterm?

  21. Convergence, and the great thing about standards.. by Anonymous Coward · · Score: 0

    ...yes, that there are so many to choose from.

    Look, Linux zealots, while there's nothing wrong with inventing something new, can you stop re-inventing the wheel just to look l33t, please?

    Especially since the whole graphics-in-the-kernel was Microsoft's pheersome move in NT 4, yes, what a great move for stability that was...

    And one step up, there's OpenGL under X.. oh look, it does exactly what you want already...

    P.S. www.convergence.org coined the term "Convergence" over 5 years ago, i.e. before any of the above. Its meaning being, the idea that alternative platform developers work TOGETHER rather than create more disparate standards and geeky schisms. It's such a pity we didn't servicemark the name... (the site's all but dead now, BTW, because geeks like fighting over stupid little things rather than uniting to a strong common front)

  22. Innovation outside the USA by pubjames · · Score: 2, Insightful

    Why is so much of the innovation in the Open Source field taking place outside the USA?

    Why is it that it is European governments that are considering moving to Open Source, and not USA governments?

    Why is it that it is big companies in the UK that are grouping together to fight Microsoft's restrictive licensing, and not the USA?

    Is the USA in danger of losing its lead in the technology sector?

    1. Re:Innovation outside the USA by rknop · · Score: 2

      Is the USA in danger of losing its lead in the technology sector?

      Yes. A combination of a monopoly in part of that sector, which incidentally uses its huge financial power to great effect on the government, and the stranglehold of the huge powerful USA entertainment industry on our (eminently purchasable) government, threatens to choke of technical innovation altogether (while meanwhile outlawing open source and free software). It hasn't happened yet, and it doesn't have to happen, but if you deny that there are serious threats that it's happening, you're either a not-paying-attention optimist, or an apologist.

      -Rob

    2. Re:Innovation outside the USA by Anonymous Coward · · Score: 0
      Goddamn!

      I just ate two kebabs and a pizza and now my stomach hurts!

    3. Re:Innovation outside the USA by tie_guy_matt · · Score: 1

      why do you care? Sooner or later you need to realize
      that we are all human, and that is more important
      than what country we come from.

    4. Re:Innovation outside the USA by pubjames · · Score: 2

      One of each of the complete set!

      Moderation Totals: Offtopic=1, Flamebait=1, Troll=1, Insightful=1, Underrated=1, Total=5.

      Do I win a prize?

    5. Re:Innovation outside the USA by damiam · · Score: 1
      No, you're missing:

      Informative
      Interesting
      Overrated
      Redundant

      --
      It's hard to be religious when certain people are never incinerated by bolts of lightning.
    6. Re:Innovation outside the USA by Anonymous Coward · · Score: 0

      Genuine innovations threaten the status quo, ie, profits. There are large corporations / industries with vested interests in the way things are; they are actively working at stifling any "innovations" they didn't originate and profit from. Including OpenSource ones.

  23. Re:Great! by PygmySurfer · · Score: 1

    Great, this will be the 106,102th standard graphics system for Linux!

    OK, I'm familliar with X, and with DirectFB now. Care to list the other 106,100 please?

  24. To the Naysayers by Outlyer · · Score: 3, Insightful
    A couple of small points:

    While main of you correctly point out the lack of network support in this, let's be honest here, the majority of users want a fast, pretty desktop. This would be the way to do it.

    Applications are not a problem; both GTK and QT have abstracted the window drawing from the widget set (GDK for GTK) so someone could potentially relink (not necessarily rebuild, if the symbol tables stay the same) their apps and have a wealth of stuff to choose from.

    I like the network transparancy in X, but what is to keep you from running X for remote applications, and using DirectFB for your desktop? X is nice, but it's filled with lowest-common denominator decisions, and the majority of people polled (cough) want to run with things like alpha blending, anti-aliasing, and windowed 3D. X supports them, but not without a lot of pain.

    So, if you want to use X, you could potentially keep it; if you want DirectFB, you can use all your GTK/QT apps (theoretically) Why rain on someones parade when both crowds could potentially win here?

    --
    ----------------- "I have a bone to pick, and a few to break." - Refused -------------------
    1. Re:To the Naysayers by the_2nd_coming · · Score: 2

      good point, an remote Xsession could be displayed in a window drawn by Directfb....all you need is to have the server installed on the machine, you don't actualy need to have your apps render from it.

      --



      I am the Alpha and the Omega-3
    2. Re:To the Naysayers by Stiletto · · Score: 1


      I'd like to see a few sources to your polls... I don't know many people who work with *nix systems (rather than just sitting there taking screenshots of their desktop all day) who care in the slightest about alpha-blending, anti-aliasing, or "windowed 3D"--whatever that is. A couple of the guys I know are hung up on smooth fonts, but it's usually considered a "would be nice" feature, rather than a "must-have".

    3. Re:To the Naysayers by Anonymous Coward · · Score: 0

      That's not really the point. Ok, sure, you and the average UNIX user don't care about all the cool features, but that's not to say that Linux-for-the-desktop can't benefit from it. End-users are swayed by prettiness. If Linux can offer that to Joe Smith who uses a Windows box, it's a point it its favor.

    4. Re:To the Naysayers by Znork · · Score: 4, Insightful

      The fast pretty desktop is best achieved elsewhere. The problem isnt X, the problem is insufficient use of hardware acceleration in X device drivers and/or software bloat.

      Yes, X supports these things. And, heck, OpenGL/GLX is even a network transparent protocol that too, so you can even run your hardware accelerated remote-displayed 3d programs over the net. And networks get faster all the time. So, please, concentrate on making these things less painful in X.

      Any attempt to replace X will only end up going back in time half a decade, reimlementing X and eventually being back where we started.

      DirectFB sounds great. For what it's used for. But X will never be replaced as the basic GUI layer for Linux/UNIX operating systems. No such attempt has ever caught on (and there have been a number of them), and none ever will simply because the only reason to is when you have absolutely no use for network transparency and you have far too little resources to support X. Today that means calculators and lowpower PDA's, and the occasional non-networkable consumer product, and with the way things are going, within a decade or two those cases will probably involve the device in question being a museum exhibit.

    5. Re:To the Naysayers by Mnemia · · Score: 1

      Well, even though traditional uses of Unix systems don't really require these features, they are necessary for all the new and exciting things going on with Linux. Take games, for instance. 3D games on Linux should not be as painful to install as X causes them to be...not to mention the fact that until the whole DRI thing they were even worse.

      I'm not saying that you have a need for these new things, but other people do and these are the things that help move people over to the platform. That's the exciting part about Linux to me; the combination of traditional Unix uses and new and exciting technologies.

    6. Re:To the Naysayers by iabervon · · Score: 2

      I'd certainly like to have transparent windows, so that I can tell when things in windows other than the front ones change. Being able to get more information out of a particular screen arrangement is always a benefit.

    7. Re:To the Naysayers by userunknown · · Score: 1

      It is exactly this kind of thinking that has held Linux back and is why Linux is constantly loosing ground to other platforms.

      Get with the times already.

      -Mark

    8. Re:To the Naysayers by Z4rd0Z · · Score: 2
      ...X will never be replaced as the basic GUI layer for Linux/UNIX operating systems. No such attempt has ever caught on (and there have been a number of them), and none ever will...

      That's a pretty narrow and short sighted statement if you ask me. As if X were the only networking protocol out there. Not to mention, there is already an X server running on top of this thing.

      My only worry about DirectFB is that it runs on Linux only. I've played with it on Linux before and I thought it was pretty cool, although quite immature yet, but I normally run FreeBSD. If this can't be ported to FreeBSD and other non-Linux platforms such as Solaris, then it may not stand much chance of being widely used.

      --
      You had me at "dicks fuck assholes".
    9. Re:To the Naysayers by Anonymous Coward · · Score: 0

      You mean "losing" ground?

    10. Re:To the Naysayers by Unknown+Lamer · · Score: 2

      Easy solution: X-render. Aren't there true-transparancy and alpha-blending parts in there? Sure, the Xft part gets all the attention (I believe it is the most stable and easiest to access from a user point of view). All it would take is a rewrite of the most common toolkits (Gtk, Qt, and Athena/Xt?) to use it. Maybe use some display resources to turn on transparancy (i.e. [Xt|Qt|Gdk]*render_trans = 80)? That would cover most applications. For Gtk, they could make GDK use this value to make all of its drawing operations use less opacity. Maybe just have xlib do this--every drawing operation could be done with less opacity (is this possible?). Just an idea.

      --

      HAL 7000, fewer features than the HAL 9000, but just as homicidal!
    11. Re:To the Naysayers by drinkypoo · · Score: 1
      Any attempt to replace X will only end up going back in time half a decade, reimlementing X and eventually being back where we started.

      I'll agree with you as long as we're essentially talking about reinventing the two-dimensional desktop. If we're going to go ahead and replace X with a three-dimensional interface, we're best off starting over. You could always add a layer for virtual X desktops via XFree's virtual framebuffer server, with relatively little modification.

      --
      "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
    12. Re:To the Naysayers by Anonymous Coward · · Score: 0
      Yeah, X-Render is OK module.

      Last night I was thinking about software like X that tries to build in future compatibility. I hadn't thought before that it's a terribly dangerous mindset to have; not realising the natural lifetime of software. For technical reasons X should be dead but it has social and software interia. You can't make software future compatible without being there in the future and developing the next version. Allowing future compatibility in a basic way is damaging.

      Good software, I think, should know it's limitations and plan its obsolesence or damage future generations.

    13. Re:To the Naysayers by DunbarTheInept · · Score: 2
      but what is to keep you from running X for remote applications, and using DirectFB for your desktop?
      The fact that if DirectFB becomes the standard, the X clients will no longer be ubiquitous, and DirectFB has no provision for remote usability itself. This notion that remote usability is "legacy" is bullshit. I don't want to be forced to walk to the server room (which night not even be in the same building or even the same city) in order to have full use of the programs on it. This very real-world problem, of how to put graphical ability on a multiuser system, was addressed by Unix ages ago, thus X was born. Now it has become quite dated, but people, please if you want to replace it, then replace it with something that doesn't *reduce* the functionality. One of the reasons I don't want to admin Windows servers is that I like knowing that *everything* I might ever want to run on the server is remote-usable, all the time. Most of our servers don't even have monitors on them.
      --

      Don't label something "offtopic" unless you know the topic well enough to tell what's on topic.

    14. Re:To the Naysayers by DunbarTheInept · · Score: 2

      What universe do you live in, where Linux is "constantly losing ground to other platforms"?

      --

      Don't label something "offtopic" unless you know the topic well enough to tell what's on topic.

    15. Re:To the Naysayers by iabervon · · Score: 2

      As far as I can tell, only the Xft parts are actually implemented at all. Also, using extensions is somewhat inconvenient, since it doesn't really integrate nicely with the core code; it would be much nicer if you could use all of the standard X functions with transparency features.

      Admittedly, I'm likely one of the few people around these days who doesn't want to use a widget toolkit, so I care more about the library organization than just about anyone, but still.

    16. Re:To the Naysayers by Anonymous Coward · · Score: 0

      "The fast pretty desktop is best achieved elsewhere."

      "DirectFB sounds great. For what it's used for."

      Didn't World Domination 101 ask how to take over the desktop and de-throne MacroShit?
      DirectFB sounds like what is needed (IMHO). Sometimes you can't have both your cake and eat it too (but free software has place for many cakes?).

    17. Re:To the Naysayers by zangdesign · · Score: 1

      Why would a home user ever need a network layer for their GUI? It might make sense for the office, but with reasonably fast machines becoming cheaper and cheaper, it seems like quite a qood idea to cut out some of the deadweight. Plus it removes one potential security risk from the system, and that should be considered a good thing, right?

      --
      To celebrate the occasion of my 1000th post, I will post no more forever on Slashdot. Goodbye.
    18. Re:To the Naysayers by Znork · · Score: 2

      Running applications from their application service providers? Running apps on their own home computer when they're away from home? Being able to buy a cheap device to add another terminal at home for the kids instead of a whole new computer?

      There are many reasons it makes sense for the average home user too.

    19. Re:To the Naysayers by Znork · · Score: 2

      Why do it? There isnt any reason. There are various complaints about X, but I havent ever heard a complaint about X that actually has any factual base. Slow over network? Use LBX. Large memory footprint? Uuuuhm, well, subtract your card framebuffer and stored pixmaps from what X reports as memory footprint... Always uses the TCP/IP stack? Dont think so... it uses unix domain sockets and SHM locally, and even beyond that there's DGA. Etc etc etc etc ad infinitum. All complaints about X seem to come from people who dont have a clue about how X actually works.

      It will never catch on because there isnt any reason to use it. The only situation where you have a use for something like DirectFB is when you have a situation like the guys at convergence did. Framebuffer driver for set top boxes? Sure, great idea (altho in 10 years when you may want to program your video remotely from the desktop they may think that coding the apps without outgoing network support wasnt such a good idea). But it's useless as a replacement for X, nor was it meant to ever replace X, nor have I heard a credible argument for replacing X (with the possible exception of if we ever make a transition to true 3d displays).

    20. Re:To the Naysayers by zangdesign · · Score: 1

      Personally, the idea of allowing any outside access to my home computer gives me the willies. And there are no cheap X devices. You might as well just buy another computer and put the OS of your choice on it. As for ASPs, I'm not holding my breath.

      Besides, as I understand, that's what VNC is for.

      --
      To celebrate the occasion of my 1000th post, I will post no more forever on Slashdot. Goodbye.
  25. KDE or I won't care by forgoil · · Score: 1

    It's all fine and dandy, but as long as KDE won't run smooth above it, I don't see a reason to care. I do dislike X11R6, but I belive X12 would be a better solution in the long run...

  26. Doesn't cut it - never will in its current form. by Anonymous Coward · · Score: 0


    Read and and learn:
    http://catalog.com/hopkins/unix-haters/x-windows /d isaster.html

    It's taken this long for /. to discover that X in
    in its current form does not cut mustard?

    Try manipulating 10K by 10k images in Gimp on an
    X-desktop and watch things crawl to a halt.

    Though M$ mspaint will gobble up 1GB of ram in
    the process, manipulating images that size is a
    dream in comparison. Things get even better when
    you switch to photoshop in Windows.

    Bypassing all that protocol nonsense for local
    - none remote - clients is the only way that X
    will achieve the levels of performance that
    Windows machines have had for years.

    NO. this is not a troll.

    - Shoot ma Penguin.

  27. Berlin anyone? by Anonymous Coward · · Score: 0

    Whatever happened to Berlin? I thought it was going to be the one to replace X.

    . AC

    1. Re:Berlin anyone? by Anonymous Coward · · Score: 0
      Whatever happened to Berlin?

      Where have been been?

      The Berlin was bombed back to the stone age, but was rebuilt rather soon. Then some morons built a huge wall in the middle of it, but that got demolished some time ago. It's the capital of Germany again now.

  28. OpenGL by Anonymous Coward · · Score: 0

    It would be except all the 3D drivers on Linux are closed source (congrats to everyone for supporting them :P) and need XFree86's driver loader, and what X provides as DRI.....

    1. Re:OpenGL by Anonymous Coward · · Score: 0

      Oh? Are they?
      NVidia's drivers are closed source, but you can find find open drivers for Matrox, 3dfx and ATI cards to name a few.

  29. Contradictive? by Anonymous Coward · · Score: 0

    "Some people really dislike the X Window System. DirectFB seems to be the answer to their prayers."

    and a little further down,

    "with a GTK port and even an X server for legacy apps in progress. Could this be the future of the Linux desktop?"

    This seems more than a little contradictive to me.

    /T

  30. Hardware Acceleration! by Apreche · · Score: 2

    Wow, this is great great news. Currently I run X 4. whatever. But when I installed mandrake it gave me a choice of X4, X3, and X3 with experimental 3d hardware accelleration. I really need the stability and features of X4 with non-experimental 3d with my TNT2. if this is any good, I'm so there. As long as I can still use ssh to X-Forward stuff from the CS lab.

    --
    The GeekNights podcast is going strong. Listen!
    1. Re:Hardware Acceleration! by Anonymous Coward · · Score: 0

      Do yourself a big favour, go to www.nvidia.com/drivers and download your non-experimental :) drivers for XFree4.

      Boo sucks to Mandrake for being two years behind on hardware acceleration ...

  31. LBX = Low Bandwidth X (possibly off topic) by Walles · · Score: 4, Informative
    The only thing about X is it's chattyness on a network.

    There's a standard X extension (?) called LBX that comes with XFree86 and others. Check out the LBX Mini-HOWTO if you are interested.

    Cheers //Johan

    --
    Installed the Bubblemon yet?
    1. Re:LBX = Low Bandwidth X (possibly off topic) by Ian+Bicking · · Score: 2

      LBX seems to address the problems of a thin pipe, not a long one. Compression doesn't do much to improve latency, and a chatty protocol is more limited by latency than bandwidth.

  32. Benchmarks? by secondsun · · Score: 1


    This stuff has potential, but does anyone have some performance information (memory useage/leakage, speed relative to X, stability, etc)? I would really like to hear from people who have used this and would like to share info. I think this may be on the site somewhere, but that has been /.ed to hell and (hopefully) back.

    Secondsun

    --
    There is nothing wrong with being gay. It's getting caught where the trouble lies.
  33. Re:Innovation outside the USA - Not flamebait by pubjames · · Score: 2


    Why has this been modded as flamebait? It is a serious question.

    Just because you don't agree with it or don't like what it says, doesn't mean it is flamebait.

  34. I think it fills a needed niche nicely by EricLivingston · · Score: 2, Interesting
    I believe that a lot of folks (including me) maintain Windows machines for games. However, not just because there are more titles - I find the games run far better on my windows box (which is a lesser machine) than on Linux. I'm not sure why exactly, though I imagine tight integration with video hardware/acceleration counts for a lot and I've also found that sound doesn't mesh with visual elements well. It seems this type of thing might help in the raw performance category for gaming and help make Linux a top-tier gaming platform, rather than a not-so-great second-tier solution.

    Now, I use my Linux box as my development platform, web server, mail server, etc, but I've got to keep Windows around for gaming.

    --
    Please Rate my comment (and help support Fre
  35. i'll stay with X. by Rev.+DeFiLEZ · · Score: 5, Insightful
    I am kinda upset to hear how ppl are so willing to ditch X for faster video/games. i get more then enough frames in quake3/desent3/heavygear 2 (the only loki games i own) and i dont drop frame in video (even divX) and as i only have 400Mhz to play with i dont understand why ppl are think X is so slow.

    however being able to ssh into any box and typing export DISPLAY=my_local_box:0.0 and then being able to run all the the remote Xapps on my box is is one of the greatest features on the planet.

    if you want to increase the speed of your X its not replacing X, its replacing your KDE and gnome with fvwm2 (which is what i use) or even blackbox.
    i see all these comments about enlightenment and KDE and gnome ( although i use GTK, not gnomelibs, _GTK_ for my devel and most usable apps) i shudder, because they are so slow, and then the same ppl complain about X, thats just wrong. if you want a fast system, a recommend the following:
    • replace KDE/enlightenment/gnome with fvwm/blackbox/twm
    • replace staroffice with abiword/gnumeric
    • replace kmail with mutt (read the help mutt as more features)
    • change your 14meg wallpaper with xsetroot -solid black


    granted transparent video will have some important uses in editing, however what has to ask how is it done in irix platforms now, is there a hardware solution that we can not compete against because its just so great?

    i want X, maybe they can merged, kinda like now ppl have -nolisten tcp .. if they turn off networking they get directfb support.

    -rev
    1. Re:i'll stay with X. by SurfsUp · · Score: 2
      * replace KDE/enlightenment/gnome with fvwm/blackbox/twm

      You forgot xfce.

      --
      Life's a bitch but somebody's gotta do it.
    2. Re:i'll stay with X. by Anonymous Coward · · Score: 0

      That is one of the biggest loads of crap I have ever read on /.


      Handling performance problems by using less featurefull applications and the mentality that goes along with that is a bane to the linux comminity.

      You don't solve problems by ignoring them. If that ideology persists then the linux community will find itself in the dust of Apple and Microsoft.

      A trimmed down GUI is not the answer. Users will hate because they can't have the favorite picture of {insert pop-star here} on their desktop. Power users will hate it because it lacks the intergration of KDE/GNOME. And sysadms don't use GUI's cause they (should) preffer scripted environments.

    3. Re:i'll stay with X. by ArthurDent · · Score: 1

      The trouble with this sort of logic is that most people *want* the things that you're suggesting that they leave behind. Now, Gnome/KDE are slow, but it's really hard to determine whether that's because they're bloated or because X is holding them back. I'd be more likely to believe they're bloated, but it could be X. The bottom line is that the features that Gnome/KDE add are valuable. Just because 1995 technology runs well doesn't make X good.

      Ben

    4. Re:i'll stay with X. by cyba · · Score: 1

      > (...)
      > ( although i use GTK, not gnomelibs, _GTK_ for
      > my devel and most usable apps) i shudder,
      > (...)
      > * replace KDE/enlightenment/gnome with fvwm/blackbox/twm

      It doesn't make sense. How can we replace whole desktop environment (GNOME / KDE + many apps) with window manager?!

      > * replace staroffice with abiword/gnumeric

      Gnumeric is part of the GNOME and depends on many GNOME libraries. Are you sure you like it?

    5. Re:i'll stay with X. by Anonymous Coward · · Score: 0

      "however being able to ssh into any box and typing export DISPLAY=my_local_box:0.0 and then being able to run all the the remote Xapps on my box is is one of the greatest features on the planet."

      I'd recommend doing $ssh -X etc,etc over setting DISPLAY - that keeps all the X traffic on the secure channel.

    6. Re:i'll stay with X. by infiniti99 · · Score: 2

      i get more then enough frames in quake3/desent3/heavygear 2 (the only loki games i own) and i dont drop frame in video (even divX) and as i only have 400Mhz to play with i dont understand why ppl are think X is so slow.

      It's not necessarily slow, I just think it's backwards to be adding "direct" support to X. It should be the other way around. Look at it this way, how often do people take advantage of X's remote ability? Less than 1% of the time, I assure you. With DirectFB, you wouldn't lose your ability to work remotely, it would just be an extension (the reverse of X basically, where it's _directness_ that is an extension). X is optimized for running over the network. DirectFB would be a desktop that's optimized for running locally, ie 99% of what most people are doing.

      Now, about games. I read a quote on directfb.org someplace about a guy not satisfied with the current DirectFB X layer (for running X programs). Since it doesn't (or didn't at the time) support DRI/DGA, he couldn't play his games on DirectFB. So he said something like this, and I swear I'm not lying when I type this, "I guess I'll use DirectFB for my normal apps, and X for games." Tell me that isn't backwards!

      There is an obvious problem here.

    7. Re:i'll stay with X. by Anonymous Coward · · Score: 0

      > replace KDE/enlightenment/gnome with wm/blackbox/twm

      icewm is good for me and is good for you.

      * replace staroffice with abiword/gnumeric

      I don't use them :D

      * replace kmail with mutt (read the help mutt as more features)

      sylpheed

      * change your 14meg wallpaper with xsetroot -solid black

      yep

    8. Re:i'll stay with X. by Rev.+DeFiLEZ · · Score: 1
      i am aware of ssh -X, but it is much slower, i recommend ssh -X over the net, but in trusted enviroments i use DISPLAY=my_local_box:0.0 as the lag is greatly reduced. ssh -X localhost you can see a large difference in performance.


      i am aware that gnumeric is a gnomelib i find that gnumeric runs nicer the staroffice, and it has all the features that i need however there is a big difference in running the whole enviroment and one app.


      yes i am sorry i forgot many lite windowmangers include Xfce windowmaker and afterstep i dont have more then passing expirence with them.


      and yes i use a geforce so my games are at 95% of windows, however X 4 was designed to allow a more direct approach (least thats what i get from the flow charts)


      -rev

    9. Re:i'll stay with X. by Arandir · · Score: 4, Insightful

      I am kinda upset to hear how ppl are so willing to ditch X for faster video/games.

      I agree. X is powerful, flexible and proven. It's like a 4x4 truck. What can you do with a 4x4 truck? Haul heavy loads, go offroad, pick up your date for dinner. But there's a lot of people who want to drive a sports car instead. What can you do with a sports car? Pick up your date for dinner. Period. Personally, if a date doesn't want to ride in a truck, I'll find someone who isn't so shallow.

      If you can make DirectFB *identical* to XFree86 in functionality, then fine, I'll use it. But otherwise keep it away from me. Frankly, making gaming the primary goal of Linux is an incredible step backwards.

      --
      A Government Is a Body of People, Usually Notably Ungoverned
    10. Re:i'll stay with X. by i_am_nitrogen · · Score: 1
      The problem with X is that it's a 20 year old system that has been extended and hacked on to try and force it to survive. When you're playing Q3A etc. or watching a video, you're not even using the X protocol anymore, you're using a feature in XFree86 that allows direct hardware access. DirectFB eliminates the "middle-man" TCP protocol for faster everything. X doesn't support window masks (i.e. odd window shapes), which are done as a hack by grabbing an image of the screen and then making that the window border to simulate an odd window, ... X is a dying system in this modern world of anti-aliasing, translucency, fades, blending, etc, none of which X makes provisions for. X is intended as a network GUI interface, and for that it does excellently. Besides, when the X server for DirectFB is finished, you'll be able to continue to ssh to your favorite boxen and use your local display.

      DirectFB is designed from the ground up for the hardware, whereas X is designed from the ground up for networking. Frankly, I think that the framebuffer is more fun anyway (I wrote much of libfbx, so I would know.), and performance is much better when you don't have to send every single widget over 127.0.0.1, even though it is just a local loopback, that's still unnecessary overhead.

      Essentially, we need to move to hardware-oriented technologies like DirectFB if we are going to continue to keep up and surpass other operating systems in terms of appearance and performance. Why use blackbox on X (which I do regularly), when I can have clear windows, animated widgets, 3D effects, and more with DirectFB?

    11. Re:i'll stay with X. by Anonymous Coward · · Score: 0

      Black? Ya bloody goth!!!

    12. Re:i'll stay with X. by Anonymous Coward · · Score: 0

      to ssh into any box and typing export DISPLAY=my_local_box:0.0

      So you connect with ssh but then fail to move the X display back through the encrypted tunnel. Why not just rlogin? No point in triffling with that security stuff...

    13. Re:i'll stay with X. by i_am_nitrogen · · Score: 1
      DirectFB will be *superior* to X in functionality. The X compatibility layer will allow non-ported Qt, GTK+, Athena, Motif, etc. applications to run on DirectFB with equal speed of XFree86, and native DirectFB and GTk+2.0 applications will run on DirectFB with lightning speed and breathtaking appearance.

      As for your comment about gaming, I don't see how it's such a backward step. Gaming is probably the most I/O and CPU intenstive task for a computer aside from running a GB+ database server, so optimizing for gaming will also improve server and database performance, multimedia support and functionality, vendor support (more purchases), etc. Frankly, I think that Linus's drive to take over supercomputing is what's a step backwards (DISCLAIMER: This is not a troll, merely a justified opinion. Linux is great, I use it to watch movies on my TV, play games, etc. and I'm not trying to dis anyone's idol!!!).

    14. Re:i'll stay with X. by praedor · · Score: 1

      Uhhh...with your sports car you can pick up your HOT date vs some trailer trash and drive faster than fuck (adrenaline rush), take turns that would roll a truck without a blink, and look good doing it all the while.


      Trucks are great for truck stuff. A sports car is great for fun and comfort and it looks damn nice, handles better. Move beyond ancient X and into the 21st Century. People (most people) are not interested in CLI, not interested in boring and old-fashioned. They want to take advantage of 21st Century tech...with style. X is fine for some stuff but it is a huge-ass hack now, making this and that modern techie function work on a system that never even considered the need in the first place.

      --
      In Bushworld, they struggle to keep church and state separate in Iraq as they increasingly merge the two in America.
    15. Re:i'll stay with X. by praedor · · Score: 1

      I hope you have a system appropriate for that geriatric spec. Perhaps a Pentium 90? What the hell good is a NVidia or Radeon, 256MB Ram, 1Gig processor if all you want is ho-hum, old-fashioned, anemic look and feel?

      --
      In Bushworld, they struggle to keep church and state separate in Iraq as they increasingly merge the two in America.
    16. Re:i'll stay with X. by Anonymous Coward · · Score: 0

      The fully general case is network transparent. Local is merely an optimization.

    17. Re:i'll stay with X. by Anonymous Coward · · Score: 0

      X is extensible. XShape and XRender address your concerns.

      You seem very ill informed about X. Every single widget does NOT go over 127.0.0.1, small commands go through a unix domain socket (which is orders of magnitude faster than a TCP/IP socket). Larger commands (image data and such) go through shared memory.

      If only those who desperately want to replace X would learn about it first...

    18. Re:i'll stay with X. by Anonymous Coward · · Score: 0

      ssh -X localhost is not a fair comparison.

      If you do that, you disable all the local only optimizations (like shared memory), so comparing to local is highly deceptive. The overhead introduced by ssh in that case is vastly overshadowed by the overhead of turning off the optimizations.

      A fair comparison would be:
      ssh -X some.remote.host
      vs:
      ssh some.remote.host
      export DISPLAY=my.local.host:0.0

    19. Re:i'll stay with X. by Dj-Ohki · · Score: 1

      >so optimizing for gaming will also improve server and database performance

      um.. i could be wrong, but arnt we talking about a graphics system here? and optimizing a graphics system for gaming would do absoultly nothing for DB performance.

      --
      Just my .02
    20. Re:i'll stay with X. by Arandir · · Score: 2

      People (most people) are not interested in CLI, not interested in boring and old-fashioned.

      Then those people should stay away from Linux or anything else even remotely resembling Unix.

      --
      A Government Is a Body of People, Usually Notably Ungoverned
    21. Re:i'll stay with X. by spitzak · · Score: 2

      Image data does not go through shared memory without an enormous amount of work on my part writing the program. Part of the problem with X is a refusal to write simple clear interfaces, and the X shared memory extension is one. I would much prefer an interface where I used the same call whether or not shared memory is used, and if shared memory was better it was automatically set up. And don't say "use the GTK (or other widgetset) drawing library". The basic X interface should resemble these drawing libraries, there is no reason for this incredible complexity and slowness.

    22. Re:i'll stay with X. by Wolfier · · Score: 2

      Maybe after all these, in 2005, when we're all running X on top of DirectFB. You'll notice no difference for your apps and games and videos.

      In fact, to the end user, there might be no noticeable difference at all, even speedwise, between building X on top of DirectFB and adding hardware accelerations in XFree.

      However, one of these two approaches is a hack. And we all know how hard to maintain codes ridden with hacks. I'd choose a layered implementation with a clean rewrite of X.

    23. Re:i'll stay with X. by praedor · · Score: 1

      Ah...so does that include MacOS X (UNIX!)?


      Why can Apple do what dinosaurs with your attitude just can't seem to deal with?

      --
      In Bushworld, they struggle to keep church and state separate in Iraq as they increasingly merge the two in America.
    24. Re:i'll stay with X. by Arandir · · Score: 1

      Certainly you can configure OSX into a Unix-like system, but it isn't out of the box.

      The same could be done with Linux. Keep the OS and environment hidden away from the user and wrap it up in a flashy GUI. A few distros actually seem to have "hide the system" as their primary goal.

      If you want an OS with hidden innards, go for it. But I don't consider OS innards to be naughty bits, and it doesn't embarrass me to know how to use vi, edit a resolv.conf file, configure a kernel, or write a bash script. I like the raw power and control that the command line gives me.

      --
      A Government Is a Body of People, Usually Notably Ungoverned
    25. Re:i'll stay with X. by ArsonSmith · · Score: 1

      What if you had a db like the one in the movie Hackers? that data base looked pretty graphics intensive.

      --
      Paying taxes to buy civilization is like paying a hooker to buy love.
    26. Re:i'll stay with X. by __aawwih8715 · · Score: 1


      The point is you shouldn't need to do all of those things in order to get good performance.

      Apparently the X extensions that are speedy aren't being used very much.

      I run blackbox witha sold background because i like my windowing environment to be snappy.

      I spend most of my time in the console anywas though.

    27. Re:i'll stay with X. by Bert64 · · Score: 1

      Windows is also an old system that has been extended and hacked, despite microsoft`s claims. Go find a copy of windows 1.0 from an abandonware site, They do it this way so as not to sacrifice backwards compatibility. If all new programs start requiring DirectFB, what do i do to run these programs on old hardware which isn`t supported, or on an older os. I use an SGI machine as my workstation (because it has a kick-ass monitor), with all the applications feeding over 100mbit full duplex ethernet from several other machines.

      --
      http://spamdecoy.net - free throwaway anonymous email - avoid spam!
    28. Re:i'll stay with X. by praedor · · Score: 1

      There's nothing wrong with what you say here. I do the same when I feel like it. It is deadout wrong, however, to state that 1)this CLI stuff is a requirement, and 2) everyone who uses this os MUST do it this way or know how to do it this way.


      It's all about making things more modern and easier for the non-expert. There is nothing wrong with this, nothing wrong with taking advantage of newer technology. You can dump the old way architecture without eliminating the ability to do certain things the way you might be more interested in doing it. MacOS X is a case in point. You CAN do all the vi, bash scripting, manual editing of config files to your heart's content, if you wish. But you can also be a practically clueless newbie and still get what needs doing done because of the slick and nice GUI. New tech, new ways, improvements on human factors engineering.

      --
      In Bushworld, they struggle to keep church and state separate in Iraq as they increasingly merge the two in America.
    29. Re:i'll stay with X. by Jetson · · Score: 1
      If you can make DirectFB *identical* to XFree86 in functionality, then fine, I'll use it.

      So why not have your cake and eat it, too? Compile the FB driver into your kernel and then use the FB device driver in X4....

      The point here is to move the "what kind of hardware do I have" question and resulting driver complexity to a lower level so that conventional X can coexist with local high-video-bandwidth applications.

    30. Re:i'll stay with X. by Arandir · · Score: 1

      The GUI doesn't bother me. What bothers me is when the ONLY option is to use the GUI.

      --
      A Government Is a Body of People, Usually Notably Ungoverned
  36. Here come the games... by justletmeinnow · · Score: 1

    If this can get the attention of some mainstream games then I think most of the geeks out there will pretty much not need winders any more. I've still got 98, the only reason is for the games... I'm looking forward to a bright, non-dualbooting future with this one (hopefully)!

    --
    Just because I AM paranoid doesn't mean they're NOT out to get me.
  37. Bah.. by Anonymous Coward · · Score: 0

    I want my Berlin/Debian/GNU/Hurd :(

  38. Hmm, Sounds Like Mac OS X by toupsie · · Score: 2

    You want a transparent terminal? How about a transparent video player?

    Yea I do! Its call "Default Install" on Mac OS X 10.1. The best part, I have it today. I won't be waiting for it.

    --
    Strange women lying in ponds distributing swords is no basis for a system of government.
    1. Re:Hmm, Sounds Like Mac OS X by Anonymous Coward · · Score: 0

      Back in the early 90's I had a Packard Bell t.v. card that would overlay (or was it underlay) the t.v. picture on the dos screen. Why is this overlay thing a big deal?

  39. Low Bandwidth X by Doke · · Score: 2, Informative
    Have you tried Low Bandwidth X (LBX)?

    I think systems like directFB are a step backwards. XFree86 already has shared memory and direct draw extentions (see vmware), designed for high speed local graphics. When running remotely, the X library falls back to it's normal protocol, and the apps slow way down, but still operate. The network transparency of X is far, far too usful to encourage a crop of apps that can't use it.

    1. Re:Low Bandwidth X by Anonymous Coward · · Score: 0
      You're misunderstanding DirectFB. In the past the low-level graphics hardware was the same as the window manager (for speed purposes there was no abstraction or modularisation).

      X is a protocol that can be displayed under any environment. X does not need access to hardware and "X Window Drivers" are just to do with the XFree specifically. After all, there are X environments for Windows, RiscOS, etc. X is just a protocol.

      As an abstraction layer DirectFB breaks XFree (but not X) into two parts - low level hardware guff, and the X Protocol (or whatever wants to write to that layer). This modularisation has a even has a speed benefit for hardware that can't be hardware accelerated.

      So, as a hardware acceleration layer you can run the X protocol or GTK or QT or Berlin or whatever you like. This does not do away with network transparency, instead, it makes it better.

    2. Re:Low Bandwidth X by John+Allsup · · Score: 1

      But network transparency at the window/pixel level isn't the only way to do it. Given directFB to handle actually putting things on screen, you could experiment with other ways of achieving network transparent windowing. (cf. what the Berlin lot are doing).

      Essentially, when there is a quick way to do something involving a GUI, but it doesn't fit with the way the X protocol works, X gets in your way. That's the problem.

      --
      John_Chalisque
  40. X isn't so bad... by Junta · · Score: 5, Informative

    I keep seeing people dissing X as a horribly inefficient system that is long overdue for replacement, but the justification always seems to be a myth.
    First off, the complaints are generally levelled against what they see in a particular implementation of the X protocol, not the protocol itself. There seems to be no acknowledgement that while X servers of the past may have had implementation problems, that we have moved on and produced much more efficient and well-featured implemntations, particularly XFree. Through X extensions, XFree has become an X server that keeps the good of X, and improves on the bad aspects of older X servers.

    The main gripe I see is "X is slow!!". Well, with XAA, X gets the same sort of acceleration as Windows display drivers for ordinary stuff. This requires that good drivers exist for your chipset, which is a good bet nowadays, but not as likely as Windows. Not XFree's fault, and it's clear that any FB based solution won't help matters in this regard (driver support)

    People also have complained about 3D performance. XFree4 has DRI which really works well to address the issue. For Video playback, there is XVideo which provides good access to hardware scalars and filters. There is work being done on an XMovie extension that could provide access to hardware video decoders, such as the MPEG-2 decoder on All-in-Wonder cards (though I haven't heard much about it lately). Another complaint I hear is that it is ugly, that it lacks the bells and whistles of 'modern' systems. Well, there is now the XRender extension which can be used to provide translucency (if anyone bothered to implement it) and in turn provide both anti-aliased text and sub-pixel sampled font rendering (ala Window XP's cleartext).
    Those who complain about X and say it needs replacement need to be a bit more educated. If you look at the projects that have aimed to replace XFree in the past, you see a very interesting pattern. Berlin is a good example of this. They set out to provide things that at the time people said "X cannot accomodate these features", but by the time Berlin progresses to any usable state, XFree has most of these features in XFree4. Let's face it, XFree in particular is a good system that can continue for quite a long time, and has only improved with age, contrary to popular belief.

    --
    XML is like violence. If it doesn't solve the problem, use more.
    1. Re:X isn't so bad... by Alomex · · Score: 3, Insightful

      I keep seeing people dissing X as a horribly inefficient system that is long overdue for replacement, but the justification always seems to be a myth.

      Here's one. The whole X window system was designed from the get go with the idea of having a dumb terminal at the user end. As the design progressed, it became apparent that the X-terminal would require some higher intelligence. In the end X-terminals have a fully functional CPU that is being wasted by 90% of the function calls which were designed before the change of CPU demands.

    2. Re:X isn't so bad... by rkent · · Score: 3, Informative

      Hmm... but if you're running X on localhost:0, it's basically the same difference. The "dumb terminal" is on the same machine as the "powerful server," so it's a wash. Doesn't seem a whole lot worse than a packaged graphical solution designed to only run on the local machine.

      Then, you still get the benefit of being ABLE to run an X server on a remote machine, and not being bound by its processor (whatever that may be). My personal gripe is the network bandwidth it requires for a good connection; I've never really been able to run an X session over the modem to my university account, which at times would be the whole point.

    3. Re:X isn't so bad... by i_am_nitrogen · · Score: 1

      Thank-you for disproving yourself. You point out all these extensions to the X protocol, well none of them are really X. They are XFree86 specific for the most part, and they exist because the underlying system is inherently flawed in this respect (multimedia). In DirectFB, everything is native and fast.

    4. Re:X isn't so bad... by Anonymous Coward · · Score: 0

      Let me get this straight.

      You complain because XFree extends the X standard using the STANDARD EXTENSION MECHANISM, and yet you push DirectFB, which is completely non-standard.

    5. Re:X isn't so bad... by spitzak · · Score: 2
      The X-Render extension is not the equivalent of the OS-X transparent compositing of windows. Though I can see ways that X could be made to do this, but not without some serious changes.

      The most important change is that X needs clean double-buffering support such that any window the system wants to is double buffered. The main thing needed is a call added (to Xlib and to all applications) to "flush" the current display to tell the system it is time for the back buffer to go to the front. This will allow X to do all it's graphics to the back buffer.

      There also needs to be transparency in the current color. Lets get an interface in there where the program can ask for the color with a single 32-bit unsigned value, 8 bits of r,g,b, and alpha. Provide another interface for the tiny, tiny minority of programs that need colors in higher resolution than this. This means we must ditch colormaps, and I think all visuals should be gotten rid of (for back compatability all servers will claim to support a single truecolor visual with 8 bits of rgb).

      Scrap the window manager and make the toolkits draw their own window borders.

    6. Re:X isn't so bad... by Anonymous Coward · · Score: 0
      Funny, it looks like a rebuttal. Yet it confirms the problems in X.

      In X you cannot choose the layer that you wish to have network transparency within. You cannot choose a bandwidth friendly high-level layer to be network transparent. You are forced to receive a framebuffer across the network.

      X isn't about network transparency. It's just dumb.

    7. Re:X isn't so bad... by SnowZero · · Score: 1

      You are forced to receive a framebuffer across the network.

      Funny, you sound like you know about X, and then you say this. Most systems besides X send the buffer. X does not, which you would know if you knew anything about X.

      Berlin tried to make a more intelligent server end but that makes it (1) much harder to make compatible server implementations (2) more of a headache to program for since the program really is running in two locations now.

  41. It's high time for a shoot out ! by Macka · · Score: 1


    The arguments for and against X .vs. DirectFB (or similar) have been bouncing around for a long time now, and show no sign of abating.

    So I welcome this move; because the only way we're really going to know which direction the Linux community wants to take, is to have both options available; with GTK/GNOME and QT/KDE toolkit ports on offer.

    Only then, when people can vote with their screens, will we get an answer as to whether or not there is a place for DirectFB in Linux's future.

    So lets see the code and try it out for ourselves!

  42. The problem with linux and the desktop by Wouter+Van+Hemel · · Score: 0


    The problem isn't X. It's much more simple. Linux is (still) way too complicated for people that use computers because they have to. I don't see another windowing system change that.

    While we're at it... What would help linux tremendously, is ordinary, not-geek people using it. Linux is still mostly used by geeks, and, let's face it, they're (we) not known for their social super-skills. When people with better communicating skills and brains that work more average start promoting linux, other people might find more use and understanding in their words, than in those spoken with geek-passion. Just admit it, when you start talking about computers, everybody looks like you're speaking Chinese (or falls asleep... ;) ).

    It's easy, really. Make it simple, and get as many people without cs-background to use it. Then the others won't be scared of its' "difficulty".

    1. Re:The problem with linux and the desktop by Anonymous Coward · · Score: 0
      The problem isn't X. It's much more simple. Linux is (still) way too complicated for people that use computers because they have to. I don't see another windowing system change that.
      Yeah - making a faster and more responsive won't benefit common users at all.
  43. X compatibility by roie_m · · Score: 1

    Maybe I didn't get this, but from what I gather, it has X compatibility on one side only: it can run X applications. The other side is somewhat problematic - X can use different backends, FB can't. (I'm thinking VNC here, and networking). That's where you get legacy issues.
    IOW, you can run X apps on FB but not vice versa.

    1. Re:X compatibility by the_2nd_coming · · Score: 2

      you can run X apps on FB but not vice versa.

      would that not be sufficient? if you had and X-server on your system to render the remote applications, could DFB not create a terminal to house the rendering? I would think that would work quite well.

      --



      I am the Alpha and the Omega-3
    2. Re:X compatibility by roie_m · · Score: 1

      That's absolutely true. The problem is what happens when you want to run a DFB app on a Sun. Or on Linux, but display it on a Sun. That's what X is meant to do. With the framebuffer there's no room to insert such a layer between the application and the hardware.

    3. Re:X compatibility by the_2nd_coming · · Score: 2

      I see what you are saying now, but, could they not allow directFB to redirect an application to the X server if it required network access from a remote user? or will that cause to many problems to be worth looking at?

      --



      I am the Alpha and the Omega-3
  44. Suing requires lawyers... by Svartalf · · Score: 2

    They can't afford people to run the system and most of the :Cue:Cat barcoders have given up on them- how can they afford to sue anyone?

    --
    I am not merely a "consumer" or a "taxpayer". I am a Citizen of the State of Texas
  45. I hope that X remains !!! by Anonymous Coward · · Score: 0

    The real strenght of LINUX/UNIX is it's X windowing system. I can not imagine doing
    my work, here in Silicon Valley - California,
    not having X11. X11 network transparency is
    something I can not be without it.

    Can "frame buffer" be exported accross the network
    to different workstations ? For example, from
    LINUX to SunBlade ?

  46. Re:Great! by 6*7 · · Score: 1

    -SVGAlib
    -QT Embedded
    -aalib
    -GGI
    -MicroWindows

    and probably many more.

  47. Why not... by FreshFromTheCows · · Score: 1

    Just use both on one machine? I havn't read the artical yet, but that dosn't sound unreasonable, and you can have two environments with 2 specific purposes? Dunno, just rambling :)

  48. Changing video mode by geekster · · Score: 1

    What I never liked about X is that I can't just open any video mode I like (and the card supports).

    For changing depth I have to restart the X server.

    Changing resolution dynamically may be possible (though not on my old card Diamond Edge, NV1 chipset, wich I don't get. The documentation said it was a hardware limitation...hmm?) but how come all supported modes aren't added to the XF86Config file by default (on my geforce2 mx anyway). Ok, so that's perhaps not really X's fault, more like the configure tool.

    As for the network transparency, useful as it seems to be to many people, does it need to be tied to the video functions?

    1. Re:Changing video mode by chefren · · Score: 1
      Changing resolution dynamically may be possible



      It is. Just define several video modes as active for your display and alternate between them using software (fullscreen software often does this, like xawtv) or ctrl-alt-+ and ctrl-alt--. You can try ctrl-alt-del as well.

    2. Re:Changing video mode by Adnans · · Score: 2

      You want the X Resize And Rotate extension, short RandR. This extension will probably be in an upcoming release of XFree86. It's already in the kdrive server (mostly for handhelds). It allows the dynamic resize and rotation of the root X Window. You can also change the root depth without restarting.

      As for the network transparency, useful as it seems to be to many people, does it need to be tied to the video functions?

      It is not tied to video functions.

      --
      "In short: just say NO TO DRUGS, and maybe you won't end up like the Hurd people." --Linus Torvalds
    3. Re:Changing video mode by geekster · · Score: 1

      Sorry, that was poorly written.
      What I meant was that even though it's possible it's anoying that so few modes are defined by default. I have tried defining modes myself, and even found some that worked on my old card, but right now I can't get 320x200, 320x240 & 512x384 to work on my current card. Yes, these are old chunky outdated modes, but I want to use 320x200 for a game I'm making. And even if I get this to work, anyone who want's to play the game as it's supposed to be played would have to mess about with modelines. I think that's unacceptable for someone just wanting to play a game. Again, this is probaly not a big issues these days. But I still think I should be able to access any videomode available like that...*snap*... no that! *snap* *snap*

    4. Re:Changing video mode by Anonymous Coward · · Score: 0

      Your X complaints are really just problems with the X server. My Ultra can have multiple windows of different depths open at the same time. Xsun doesn't change resolutions dynamically, but XFree does... These are limitations of video hardware and particular X servers, not limitations of X in general.

    5. Re:Changing video mode by geekster · · Score: 1

      Ok, cool! thanks for the info. Now I'm happy, I'll shut up now... unless the default defined modes are still sparse, but again, that's the responsibility of the config tool to do right and not really an X problem.

    6. Re:Changing video mode by geekster · · Score: 1

      I admit I know very little about the workings of X but I still don't get how a video card can have a limitation that makes it unable to change resolution. And how is doing it while X is running different from when it starts up? I can only see it as a limitation of the Xserver.

    7. Re:Changing video mode by Quazion · · Score: 1

      Hmm...

      I thought SDL would scale the stuff in the wrong resolution, this way in fullscreen it doesnt matter what res your really in but it would look like an 320x200 screen :), i am not sure about this...

      What i am sure of is that SDL does depth changing which costs some extra cpu time but what the heck, you wanna write your game in 24bit colormode still 16bit people can run it with some more cpu overhead...

      Quazion.

    8. Re:Changing video mode by geekster · · Score: 1

      Is it just me or does int SDL_VideoModeOK(int width, int height, int bpp, Uint32 flags) just return the current depth no matter what you type into width, height and bpp?

      So I'll probaly have to ask X directly if the mode is availabe and if not, scale up the screen when i blit it.

    9. Re:Changing video mode by Anonymous Coward · · Score: 0
      but I still don't get how a video card can have a limitation that makes it unable to change resolution.
      There is such a thing as static framebuffer hardware. But that's unrelated.

      On a serious note, and from a programmer's perspective, it is pretty hard to change existing buffers from one bitdepth to another without completely destroying the image. I cringe at the thought of converting 32-bit 8888 RGBA to a color mapped 8bpp -- God would that be ugly. And if you simply had all clients redraw themselves, there might be some network lag.
    10. Re:Changing video mode by spitzak · · Score: 2
      The reason the depth cannot be changed is because of the incredible stupid "visuals" design of X, which requires a program to learn intricate details about how the memory of the screen is laid out and convert all images and colors to the screen format to be drawn. These programs expect to choose the visuals from a fixed set that are possible at all times (which matches a hardware design made when color was first introduced but does not match any hardware now). Programs do a lot of startup calculations and storage of data about the selected visual and are not prepared to have this data change.

      My proposed fix is to scrap visuals completely. For back compatability the server would advertise one TrueColor visual with support for all image formats of n*pow(2,m) bits, where n is 1,3,or 4 and m is 0,1,2,3, or 4.

      A new interface would be provided for the few programs that care about the actual frame buffer format, and a new event that says "the frame buffer format changed" that indicates this information changed.

      As for the resolution changing, the reason is that the window managers assumme the root window will not change size and are unprepared to move the windows. The programs also get the screen size when they are run, but most do not use this for anything and it is probably ok if it is wrong.

      This sounds much easier to fix, however, and I'm not sure why it has not been done. I propose that the X server send a normal ConfigureNotify event to the root window when it's size changes. Window managers could be rewritten to look for this and respond as needed to move the windows so they are all on the screen. It may also be a good idea to add some interface that Xlib would use to stuff the new values of the screen width/height into the XDisplay structure, though that is probably not that important (lots of Windoze programs also cache the screen size at startup and don't handle screen resizes all that well...)

      I'm not sure why nobody has added this.

  49. Give up $DISPLAY - Never! by smartin · · Score: 3, Interesting

    X may be old but it has adapted to the times and continues to adapt. Direct frame buffer access is great for games and may be some graphically intensive applications but i'll take the ability to run an application on one machine and display it on another of possibly an entirely different architechure any day. My little pentium 133 laptop is still a very useful machine simply because all it really has to do is run X, i can even access pigs like star office without any problem.

    VNC is a cool and useful hack but X is a better solution.

    --
    The difference between Canada and the USA is that in Canada healthcare is a right and gun ownership is a privilege.
    1. Re:Give up $DISPLAY - Never! by Nicolas+MONNET · · Score: 1

      Indeed, and being able to run graphic apps on virtual machines, or through SSH tunnels, remote administration etc .. is priceless.

      Direct FB has its place on PDAs, though.

    2. Re:Give up $DISPLAY - Never! by Anonymous Coward · · Score: 0


      Direct FB has its place on PDAs, though.

      Actually, one of the nicest uses for X or VNC I've found is to enable the use of a PDA for graphical remote logins to systems - in fact, with a little messing around, you can have star-trek style interfaces where you wander from room to room, and the PDA displays the interfaces for all sorts of hidden stuff...

    3. Re:Give up $DISPLAY - Never! by Anonymous Coward · · Score: 0

      Aah, the wonders of wireless networking and bluetooth...

  50. VNC and DirectFB by tillsan · · Score: 1

    Just as a quick info for the people asking about vnc. I'm in the process of writing a vnc client based on DFB. The project can be found on sourceforge here. I havent done an official release yet but the basics are there. Feedback appreciated.

  51. Hmmmm..... (for al my regular readers ;-) by TheMMaster · · Score: 3, Interesting

    Although the site is almost /.tted it still looks pretty mean and clean to me. BUT
    I really think this is GREAT for the whole linux on the desktop venture, because as much as I love X (and I do) I know it is a very hard thing to do (loving it that is)
    X is bloated, it is considerably slow, altough I must say that with Xfree86 4 a lot of things changed (for the better) the new "modules" system is brilliant!
    But the biggest problem is that for geeks like me and you ;-) X provides us with all we need to prevent phisical activities as much as possible (in other words check your mail on your main machine while sitting on the couch watching TV, not to mention those tedious walks to the server room ;-))
    Fact is that X is the defacto standard when it comes to remote displays, heck, even novell uses it in netware 4 trough 6

    My idea: Port all the apps whatever to this new platform because what I've seen off off it, it is pretty darn nice for desktops, but we need to develop some kind of deamon which allows displays to be exported over a network when the display is NOT local.
    Now it doesn't matter weither or not the display is on the localhost or not, clients always connect using the X protocol over loopback, this is a waste of resoures, why not only use it when it is absolutely neccecary?
    I'd say make it POSSIBLE for programs to export their display not export them ALWAYS, I have no clue about how to do this, but if some people that know a bit more about X want to help me, we'll set up a project to implement just that, email me if interested, please flame here ;-)

    --
    Fighting for peace is like fucking for virginity
    1. Re:Hmmmm..... (for al my regular readers ;-) by _typo · · Score: 1
      clients always connect using the X protocol over loopback

      No they don't. X uses unix sockets when connecting to localhost, making it *alot* faster than you imply.

      --

      Pedro Côrte-Real.

    2. Re:Hmmmm..... (for al my regular readers ;-) by Anonymous Coward · · Score: 0

      You are right, I made a mistake here.

      thanx

  52. IRC channel by Anonymous Coward · · Score: 0

    Check out #DirectFB on irc.openprojects.net

  53. Uhm... something fishy. by heatseeka · · Score: 1

    Ok. Basically the problem I have with this is that we allready know what happens when EVERYTHING is stuck into the kernel (M$ Windows). The kernel is supposed to be lean, mean, device/task management machine. Look at what happened to microsoft when they stuck all the video code into the kernel? It only made things worse. I am all for the fast desktop, but we have to come to a point where we must say NO! We will not put this hog code into the kernel. I just don't see the guaranteee of stability of the kernel once you dump something as flaky as video drivers into it. I may just be wrong (god knows I have been in the past.. on limited occasions however :) )

    Just my $0.02. Flams me if you want.. I dont care... :)

    1. Re:Uhm... something fishy. by Anonymous Coward · · Score: 0

      A difference between Linux and Windows is that you have a *choice* whether to run kernel-mode video drivers or not.

  54. X.. by Forkenhoppen · · Score: 2, Interesting

    Just a few quick notes about X.
    - it's fairly simple to implement
    - it's a standard
    - it works
    - it's here now

    A few notes in DirectFB's favour
    - a modern, and hopefully clean, implementation
    - good object-oriented principles
    - as a result, fast and easy to program in

    So the solution, as I see it, is a little different. I've looked at Berlin and all those other windowing environments. Look, if what you want is direct access to one video console, then go with DirectFB. But if you want a windowed system, stick with X. Just reimplement it yourself.

    (Although I don't know what to say about Window Managers.. they still seems like a nasty hack to me..)

    XFree86 is old, and is carrying a lot of baggage functionality. What should happen is that it be rewritten to abstract the windowing portions away from the hardware level. I figure that if this is done, it'll be a drastic improvement, stability and OO-wise, over the current arrangement.

    This is the main gripe I've heard, time and again, and it's the one that annoys me, too. So I think someone should do something about it. Start removing this functionality from XFree86, and stuff as much of it as possible into kernel drivers. (These wouldn't have to be included with the standard kernel; it would be enough to have a set of loadable drivers you could download from somewhere else and load into the kernel.)

    I doubt this'll happen, though, because it's too OO. The current linux kernel is monolithic as high hell, and the people behind it support that mind-set. Perhaps there's hope for the GNU/Hurd.

  55. No, they're not... by Svartalf · · Score: 2

    But making claims that that you can't have it both ways is being ignorant of the fact that X is merely a protocol and XFree86 is an implementation of a graphics renderer and input system that fully supports that protocol- you can have an X server sit on top of the thin framebuffer layer (In fact, they HAVE one already.) that drives the framebuffer layer and receieves inputs accordingly.

    It's not just "a" or "b" it can be "a" and "b"- and for many things, that IS what you want.

    When you're talking about things like tuner cards, strictly speaking, you're never realistically going to be able to do a video push to a remote window- you're going to go to DGA (Uh, that's a hack in XFree86 that allows you to do the DirectFB thing in the context of X...) or you're going to encode it realtime to some compressed format and push the lowered bandwidth data stream to a player on the other machine to be decoded. Otherwise, you're going to need gigabit speeds to do this well for more than one machine. The same goes for videogames, etc.

    --
    I am not merely a "consumer" or a "taxpayer". I am a Citizen of the State of Texas
    1. Re:No, they're not... by stux · · Score: 1

      It's not just "a" or "b" it can be "a" and "b"- and for many things, that IS what you want.

      Actually it is a or b , what it most definately is not is a xor b ;)

      --

      ---
      Live Long & Prosper \\//_
      CYA STUX =`B^) 'da Captain,
      Jedi & Last *-fytr
  56. Choice is good; the more the merrier by RNG · · Score: 2

    IMHO this is a good thing; the more (friendlhy) competition we have, the better the resulting products will (eventually) be. So maybe a year from now, we'll have the choice of which GUI environment you want to start. If you want to do Word processing, email, and other 'normal' stuff, you could do "startx"; if you want maximum FPS for the latest strategy simulation or Quake clone, you could do a "startdfb". Since there's a GTK port, it should be possible to run all your favorite Gtk/Gnome apps either way ...

    Hopefully once of these we'll have an alternative to X. I was hoping for the Berlin project to provide this, but there doesn't seem to be much movement on their front (but then again, I don't follow it closely). Don't get me wrong, I have no major complaints about X (actually like it) but another system geared towards maximum perfromance (at the cost of sacrificing some flexibility) to choose from is good; especially in light of the fact that most modern apps (Gnome, KDE) should be pretty easy to port (./configure & make should suffice) once the base libraries have been ported.

    1. Re:Choice is good; the more the merrier by uweber · · Score: 1

      Last time I looked at the Berlin project, directFB was one of their methods to talk withe the video hardware.

      --
      --Ulrich
      On no accounts allow a Vogon to read poetry at you
  57. Re:Doesn't cut it - never will in its current form by Anonymous Coward · · Score: 0

    You are an idiot. Because Gimp is slower than MS Paint and Photoshop you think Windows is better than X? You really need to learn something about logic.

    You don't even know what the X protocol is, how is anyone going to believe you know how X would be better?

    Yes that was a troll.

  58. What are the odds? by sammy+baby · · Score: 2

    Just to be clear: the Digital Convergence named in the story isn't the same Digital Convergence which gave people a hard time for messing with their "CueCat" foo.

  59. hardware lock by TheSHAD0W · · Score: 2

    So will this new system be locking its software's users into X86 and SVGA hardware? One of the appeals of Linux is its ability to run on different platforms. And while I can think of worse things than forcing people to use X86, it seems to me that a new de-facto video standard, probably targeted at hardcore gamers, could break the system.

  60. That's why you need XDirect for DirectFB by moogla · · Score: 1

    The X server renders directly into a window, and you can have your remote sessions right there. Only load it up when you need it.

    --
    Black holes are where the Matrix raised SIGFPE
  61. It will... by Svartalf · · Score: 3, Informative

    Why don't you visit the sites referenced by the links sometime? They HAVE an X server that sits on top of DirectFB- think of X as being merely a protocol, once you've done that, it matters little how you render to the screen or accept inputs (This is what DirectFB does...) so long as the implementation you're using works at least as well as any others.

    Having said this, they're not quite there yet, but it's coming along nicely and is quite promising.

    --
    I am not merely a "consumer" or a "taxpayer". I am a Citizen of the State of Texas
    1. Re:It will... by Anonymous Coward · · Score: 0

      X is not JUST a protocol. It is also a set of shared libs, such as libICE, which are intregral for some important software to be run (hint.. hint.. KDE).

  62. Not D::C by Anonymous Coward · · Score: 0

    The name of the group is NOT Digital Convergence.. its 'Convergence Integrated Medai' and I think you owe them an apology for associating them with such a company!

  63. Then don't use it... by Anonymous Coward · · Score: 0

    Nobody's twisting your arm to use a transparent XTerm- or DirectFB for that matter.

    1. Re:Then don't use it... by Anonymous Coward · · Score: 0

      No you're right, no one is twisting my arm to use it. But why does everyone seem to think that alpha transparency in X is some sort of killer feature? Don't you maybe think that concetrating on the API & performance issues might be a good idea before you start twiddlin your nipples over something as useless as alpha transparency?

      & if DirectFB does shape up (I.E I can run KDE 2/3, GTK+ applications & Mozilla on it), then I'll be ditching X like a hot potatoe. Thats until I switch over to AtheOS for my everyday tasks at least.

    2. Re:Then don't use it... by Anonymous Coward · · Score: 0
      "But why does everyone seem to think that alpha transparency in X is some sort of killer feature?"
      Because of the original DVB application it was somewhat of a necessity. The screenshot is a simple demonstration of one of the things the lib can do, you however seem to take it too literally and presume that is the soley purpose and limit of the lib.
      "Don't you maybe think that concetrating on the API & performance issues might be a good idea before you start twiddlin your nipples over something as useless as alpha transparency?"
      The library does perform well, as stated before, alpha channels was a requirement with the MPEG2 overlays. Any good graphics lib should include alpha channels.
    3. Re:Then don't use it... by Anonymous Coward · · Score: 1, Informative
      Alpha transparency == proper anti-aliased fonts.

      Also, it sure is purty.

  64. Digital Convergence? by Speare · · Score: 1

    Wow, who would have thunk it?

    They give away thousands of marital aids bundled with Wired Magazine and in Radio Shack stores,

    They go morally and financially bankrupt with attempting to prosecute Open Source developers,

    And now they release a frame buffer video driver for Linux to unseat X11!

    Way to go, Digital Convergence!

    --
    [ .sig file not found ]
  65. Woah! by cluening · · Score: 1

    Aren't Digital Convergence the CueCat people?

    --
    Posted from the wireless couch.
  66. Re:Great! by andreas · · Score: 1

    And how many of them have support for hardware acceleration and alpha transparency?

    Right, none.

  67. DirectFB as driver layer by olympus_coder · · Score: 1

    It sounds like DirectFB would make an excelent video abstraction layer (i.e. the driver layer) and X could then sit on top of it (i.e. remove all the driver's from XFree86 and add a DirectFB driver - you could still install XFree86 with a driver if your don't like DirectFB - no one is locked in either way). This would not be all that different from DirectX on windows. Software could bypass X and use the video driver (and hardware) directly while other software used X through gtk, qt, ..., etc.

    --
    Spell check? Why bother. That is what grammer/spelling Nazi freaks who waiste band width posting "spell right" are for.
    1. Re:DirectFB as driver layer by Anonymous Coward · · Score: 0

      There allready is a DirectFB driver in XFree86.

  68. Go check the site sometime... by Svartalf · · Score: 2

    They HAVE an X server- it's just not required for everything like it is with XFree86.

    --
    I am not merely a "consumer" or a "taxpayer". I am a Citizen of the State of Texas
  69. The reason to drop X? by Ian+Schmidt · · Score: 2

    Even using DGA2 and all the other latest X speedups, the same program running on Linux is in my testing between 10 and 20 FPS slower than Windows *on the same hardware*. That's IMO unacceptable *especially* for e.g. 400 MHz systems like yours.

    FYI, framerates in OpenGL games aren't the issue since with DRI/DRM/the NVIDIA driver they pretty much just bypass X anyway. I'm talking about blit speed for windowed or fullscreen 2D games, which DirectFB sounds like a terrific solution for.

    1. Re:The reason to drop X? by Wonko · · Score: 1

      I'm very curious as to what kind of 2D game you could be playing that would run slow enough that you could notice the difference in frame rate. I am probably a little behind on the games I play once every few weeks, but I can't think of any current 2D games.

      And if you break it down to current games that would require a large amount of horsepower, that are also 2D, that run natively on BOTH windows and linux... I'm guessing you're coming up with a very small number...

    2. Re:The reason to drop X? by Some+Dumbass... · · Score: 1

      Even using DGA2 and all the other latest X speedups, the same program running on Linux is in my testing between 10 and 20 FPS slower than Windows *on the same hardware*.

      10 to 20 FPS out of how many? Also, what hardware? Stats like this are pretty useless without more info. For example, I know very well that my Radeon will be slower in Linux that on Windows because the Linux drivers are presently rather poor (and the developers know it and are working on it). Unreal Tournament ran about twice as fast on my old Geforce DDR card.

      Also, which program you're testing matters a lot. 10-20 frames in the "glxgears" program (for example) is nothing, at least on a fast CPU (I assume yours is faster than 400Mhz from what you said). I get 900+ FPS on a Duron 800, even with my "slow" Radeon card. Plus or minus 20 FPS wouldn't matter in the least.

  70. X is nice, but... by Svartalf · · Score: 3, Informative

    You're missing the point that you're inserting a raftload of indirection in the picture when you use X as it's currently specified. Everything HAS to go through your TCP/IP stack. While it's GREAT for networkability (and I'd not ditch that feature), it's not as great for apps needing peak performance locally- it requires more muscle on the machine doing it this way than if it were direct.

    DirectFB was developed not for games, but for media convergence devices (Entertainment systems with Linux running as the core OS, etc.)- other people are latching onto it because of the above problems. DirectFB ditches the need for hacks like DGA (which is needed for things like tuner cards) and allows you to run things like video on demand systems, etc.

    Oh, and next time, read up on the actual story, not the /. blurb- they HAVE an X server for this and are advancing it as well because for most things, it's better to use X.

    --
    I am not merely a "consumer" or a "taxpayer". I am a Citizen of the State of Texas
    1. Re:X is nice, but... by Anonymous Coward · · Score: 2, Informative

      Everything HAS to go through your TCP/IP stack

      Rubbish. (a) X tends to locally use unix-domain sockets, which can sometimes be zero-copy on linux, and (b) there's a shared memory system that nearly everything uses anyway.

    2. Re:X is nice, but... by J.+J.+Ramsey · · Score: 2, Informative

      "You're missing the point that you're inserting a raftload of indirection in the picture when you use X as it's currently specified. Everything HAS to go through your TCP/IP stack."

      Wrong. X does not require TCP/IP at all. If everything is running locally, Unix sockets and shared memory can be used. When running across a network, X can use another networking protocol lkie DECnet (though few would want to, AFAIK). TCP/IP is not necessarily part of the equation.

    3. Re:X is nice, but... by QuoteMstr · · Score: 1

      X on localhost uses unix domain sockets, not TCP/IP. They're must faster, and they've been hand-=optimized by Linus himself. They're _very_ fast. You wouldn't get any faster without putting X functions as kernel system calls (like NT does) with the consequences (NT's stability).

    4. Re:X is nice, but... by spitzak · · Score: 2
      Actually if some problems with the Xlib protocol could be fixed, it would be much faster than kernel calls. This is because many operations can be packed together into a single buffer before a context switch is done. This means that fewer than one context switch per operation.

      The problem with this is stupid stuff in Xlib that requres synchronization betwen the app and the server. A simple example is setting a color typically requires a round trip to allocate a color. More of a concern is that almost everything with window managers use atoms (a round trip to register each one) and many of the calls to do things to windows return values, or require even heavier work to synchronize with the window manager.

      Unfortunately I don't see the Xlib people rushing to fix this. Even a "register these thousand atoms at once" call has not been added, though SGI has had this extension for years.

  71. virtual terminal? by Garion911 · · Score: 1

    Can this thing run in a different virtual terminal? Then you could run X and DirectFB at the same time, just different terminals. Compatibility issue solved.

    --
    Slashdot is like Playboy: I read it for the articles
  72. My experience with coding in X. by MongooseCN · · Score: 2, Informative

    I have been coding in the X windows source for a while now, adding in extensions and etc. All I can say is it is a disaster. The goal of X windows is to retain backward compatibility all the way back from it's initial implementation. What this means is that almost none of the source is ever removed or replaced, it just has wrappers written around it or hacks to decide which source to use. The source is littered with #ifdefs. The code is not very modular either. A change to one section of the source means a change to others to keep things synchonized. Good luck finding the spots to change. For example I added an extension and had to edit the command line argument processor in the main() function, the extension init routine, some hardware initializing routines and ANOTHER commandline argument processing routine. X windows is just so big that when you have many coders working on it at the same time, everything gets out of synch more and more... Oh the best way to find the spots to change is to find where it is segfaulting, and browse a lot of core files.

    Ok, now the only good things about X windows is that.... umm... it's a "standard" which is a word a lot of people like. I think DirectFB will be successful as long as X windows is still around to run all the older Xwindows dependant applications.

    1. Re:My experience with coding in X. by Coz · · Score: 1

      That's one of my pet peeves (down, boy) with X, too. Wouldn't it be nice to have a clean, all-up, level-set version of the display engine? I understand the need for backward compatibility, but even X has had problems with that - I remember going from R3 to R4 and having to rewrite apps to avoid the new core dumps. A new, clean, high-level version of X - X12, maybe - would be nice - let the folks who want to stay backward-compatible play with X11Rn, and let the new development move to X12.

      That said, do I have time to help on it? No. So - unless people start being loud over at X.org, things will remain the same - X11R6.x.n.q.1 and so on.

      --
      I love vegetarians - some of my favorite foods are vegetarians.
    2. Re:My experience with coding in X. by fobbman · · Score: 2

      "The goal of X windows is to retain backward compatibility all the way back from it's initial implementation."

      I'll probably get modded Troll for this but I'm serious about this question:

      How is the above statement (if it is indeed fact) different than Windows and all the flack that it received for years about being overly backward-compatible through DOS?

      Might a forking of XFree86 to drop much of this backward compatibility be warranted here?

  73. Multiple asynchronous applications? by CaptnMArk · · Score: 1
    >You want a transparent terminal? How about a
    >transparent video player?

    Does it support fully asynchronous operation between multiple applications? X does and it's major feature of it. Without it we are just like in the days of Windows 3.1 (cooperative multitasking).

    It is bad enough that we have to suffer cooperative multitasking in mozilla/netscape (it sucks). Suffering it trough the entire window system is not acceptable (I'd rather go to NT which doesn't have this misfeature).

    It seems to be a nice thing for an embeded device. But I'd never use it on my desktop machine. (The lack of network support doesn't bother me much, VNC is cool).

  74. Re:Convergence, and the great thing about standard by andreas · · Score: 1

    DirectFB was originally developed for set-top-box applications, i.e., for systems that have neither 3D-acceleration, nor the extra megabyte of RAM that X eats up. So OpenGL-on-X was no option (and yes, we did consider that, we're not stupid, you know).

    And DirectFB is a userland library.

    You better check your facts before flaming like that.

  75. *cough* by Caine · · Score: 1
    Basically what every comment here i saying is either "People want Alpha blending, 3D windows, etc, etc" or "X network transparency is great, I can run my apps on other stuff". May I then suggest something that fullfills both of these needs:

    I present to you *cough* Windows XP.

    I'm a microsoft bitch, so feel free to mod me down.

    1. Re:*cough* by RFC959 · · Score: 1

      3D, alpha blending, /and/ network transparency? Wow! And only 15 years after SGI did it, too! ;^)

    2. Re:*cough* by Anonymous Coward · · Score: 0

      Last time I checked you needed to purchase Windows 2000 server as well as Terminal Server license, as well as a license for every terminal you wish to allow access too. Running a program on your PC from a remote hard drive is very different from piping the output from a remotely running program to your monitor.

    3. Re:*cough* by Caine · · Score: 1

      Remote desktop. Enough said.

  76. Comment removed by account_deleted · · Score: 2

    Comment removed based on user account deletion

  77. Thank the gods... by supabeast! · · Score: 2

    This is something that Linux can definately use. X is cool, but is really better for client/server desktop applications than as an actual desktop.

    Of course, what would really make this nice is if they can make it easy to set up. The number one newbie problem that I see with Linux is getting X to work. I have been running Linux for a few years now, and configuring X is still a huge pain. Apologies to Frank Herbert, "Who controls the easy setup tool, controls the Linux desktop!"

  78. X is only slowing us down. by userunknown · · Score: 1

    "Could this be the future of the Linux desktop?"

    god I hope so!

    -Mark

    1. Re:X is only slowing us down. by ThorGod · · Score: 1

      I second that! I'd LOVE this :)

      --
      PS: I don't reply to ACs.
  79. Massive security hole buddy by Srin+Tuar · · Score: 4, Informative


    however being able to ssh into any box and typing export DISPLAY=my_local_box:0.0 and then being able to run all the the remote Xapps on my box is is one of the greatest features on the planet.

    Ouch- allthough your command to start the X proggie will be secure, the windowed program itself will be going over an unsecure channel if you use that method. (all your click are belong to them)


    You should really look into X-forwarding (read man ssh).


    Regardless- I too like the network transparency that is offered from X. If the damn X protocol would support SSL or something like it natively, then it would seriously speed up secure remote graphical logins. (search google for tcp over tcp to see why)

    1. Re:Massive security hole buddy by Anonymous Coward · · Score: 0

      running X over ssh doesn't cause the TCP over TCP problem at all.

      You're thinking of tunnelling PPP over ssh, which does have the problem, because there is an entire TCP/IP stack both below and above ssh.

    2. Re:Massive security hole buddy by Anonymous Coward · · Score: 0

      No, you're way off base, dude. The problem is the guy sshs in and then just uses regular xhost/set DISPLAY stuff to run his X programs, rather than using ssh -X with secure X forwarding.

    3. Re:Massive security hole buddy by ConsumedByTV · · Score: 2

      What would the best way to do it in a secure way?

      --


      "Not my manner of thinking but the manner of thinking of others has been the source of my unhappiness." - M
  80. Re:Innovation outside the USA - Not flamebait by Anonymous Coward · · Score: 0

    People are understandably feeling very patriotic right now, so it seems people are somewhat over zealous with moderation on any comment that is seen to criticise the US in any way, even if the comment is a million miles away from politics, or geopolitical comment.

    I wouldn't call it blind patriotism, but maybe it's being vented in the wrong way, maybe due to frustration, anxiety etc, it's very understandable.

    In fact, this analysis may well be mod'ed down in the same fashion as the original thread :)

  81. GGI Perspective: clean code is good code. by skids · · Score: 2, Interesting

    Normally I would be one of the ones saying "Ugh, not another half-ass graphics standard," as I am developer for the GGI Project, which, if very slowly, is creating the ultimate (IOO) cross-platform and cross-display-system graphics API/library. I make no such complaints about DirectFB (well, OK, I do complain about their input system :-) and here is why: DirectFB is coded in such a way that it contains easily reusable, easily understandable graphics driver code. Both DirectFB and X have unique content -- there aren't that many implementations of hardware level blitting/overlay libraries available. Unlike X, DirectFB is modular and developer-friendly. In fact so much so that the current version of LibGGI can use DirectFB's binary graphics driver modules.

    1. Re:GGI Perspective: clean code is good code. by Anonymous Coward · · Score: 0

      libggi on top of directfb on top of fbdev - oh the irony ;-)

      I agree X isn't developer friendly. But the code actually _is_ modular...

      Michael

    2. Re:GGI Perspective: clean code is good code. by skids · · Score: 1

      nm /usr/X11R6/lib/modules/drivers/radeon_drv.o | grep " U " | grep -cv GLIBC
      160
      nm /usr/local/lib/directfb/gfxdrivers/libdirectfb_mat rox.so | grep " U " | grep -cv GLIBC
      1
      ... now that's not exactly the fairest of tests, but
      does raise doubt as to how "modular" X is.
      True modularity is not just defining interchangable plugins,
      it is making a plugin intraface that has manageable dependencies.
      In order to make LibGGI use DirectFB drivers, all I had to do was
      translate between DFB and GGI structures. With X, it would be much, much harder to reuse code -- binary or source.

  82. Your advice makes no sense by Anonymous Coward · · Score: 0

    You say drop GNOME but then you suggest running two GNOME-lib based apps.

  83. X Rules! by Anonymous Coward · · Score: 0

    While DirectFB is good for small lighter devices, direct video, and the occasional game X leaves directFB for dead in most areas.

    DirectFB is a serious functionally step back from X and is designed as a fast simple cut down version to just display raw graphics. Its not a high end user interface manager like X. X will continue to be be the first choice for a desktop, with DirectFB been an extra display you run for that fast graphics your looking for.

    There is soo many greant and lovely things about X that make it oh so great. Been able to remotely run apps of other computers, manage a huge amount of perciples, displays etc, been able to remotally connect to your computer though X, been able to play 3D games off someone elses computer and watching your frame rate drop to less than 2 per second. Anyway the point is theres a place for both technologies and they can co-exist quite happily. They just have 2 compitly different purposes like DOS and windows do.

  84. It is a about damn time!!! by Arethan · · Score: 3, Insightful

    Where the hell do I sign up to help!
    Seriously! I've been pushing for the death of X for a long time now. DirectFB is a very promising replacement from the sounds of it.

    As for the network transparency layer, nothing says that you have to lose that. If done correctly, you won't even need to recompile your apps for each different use. Quite simply, assume that every app on a system uses DirectFB instead of X. Now you want to remotely use a gui on that system. DirectFB simply needs to present the ability to run in a detached hardware mode. A client system can attach it's DirectFB to a DirectFB layer on the server.
    The rest would run a lot like X: the application writes it's video output to DirectFB, which saves it in a memory buffer. That memory buffer is output to the client system as quickly as possible, but moderate loss is acceptable. All hardware blits are performed in software instead (since you really aren't using the system's video card at that point).

    Yes, it sounds a lot like X, but without a few major X problems. Video updates are not required. So your windows won't hang on slow networks. Bonus #2 is that a lost connection doesn't have to kill an app. Just reconnect to the server when you get a chance and pick up where you left off.

    I hope I managed to get across the major difference. I have a feeling that I haven't. I have a better explanation in my journal for those who really want to understand my major bitch points for Unix these days. (Even though I'm still a huge Unix advocate these days.)

    1. Re:It is a about damn time!!! by Anonymous Coward · · Score: 0

      Talking about signing up, you also might want to take a good hard look at Berlin http://berlin.sourceforge.net. That's some cool stuff. It can run on DirectFB and might quiet a lot of the folks who are talking about network transparency.

  85. Nope by p3d0 · · Score: 2

    Consider the applications. If they are written in terms of DirectFB, you don't get network transparency. If they are written in terms of X, you don't get performance.

    (Unless they are claiming that X-on-DirectFB will be faster than XFree86.)

    --
    Patrick Doyle
    I mod down every jackass who puts his moderation policy in his sig. Oh, wait a sec....
    1. Re:Nope by Ian+Bicking · · Score: 2

      That's where you can use something like GGI as an abstract library over either backend. Other infrastructure, like GTK or QT, could also be ported to both backends.

    2. Re:Nope by p3d0 · · Score: 1

      That's true. I gather that GTK is already being ported to DirectFB.

      --
      Patrick Doyle
      I mod down every jackass who puts his moderation policy in his sig. Oh, wait a sec....
  86. Re:hardware lock? No. by moogla · · Score: 1

    DirectFB uses the Linux Framebuffer interface, which even works on the Compaq iPAQ, AFAIK. It's a lot closer to the kernel, but it's still abstracted enough to be portable.

    But you do have a point, people who target DirectFB might make optimizations and assumptions in their code (read: inline assembly) that would tie it to a particular architecture (x86). However, this is a seperate issue, and it is not limited to the scope of DirectFB, or games for that matter.

    --
    Black holes are where the Matrix raised SIGFPE
  87. Not supposed to _replace_ X. by Anonymous Coward · · Score: 2, Interesting

    DirectFB would be great for fast graphics and stuff (as many people have pointed out already).
    No more DRI, et.al, just FB modules in the kernel, and DirectFB with some window manager.

    As far as the annoying whining about how we can't replace X, it's a standard, we need remote display support, blah blah blah, it seems to me that developing an X server that runs through DirectFB is the obvious solution. D'uh?

  88. Sorry i was Lying about the SDL thing.. by Quazion · · Score: 2, Informative

    Q: When I specify SDL_FULLSCREEN in X11, the screen goes black and my window is centered in the middle, instead of covering the whole screen!

    A:

    X needs to be able to switch to the desired resolution. For this to work, you need to have the resolution listed in the 'Modes' line in your XFree86Config file (and your Monitor must support it). SDL does not currently support changing resolutions on X servers that do not support the XVidMode extension.

    The following example is taken from my config for XFree86-4.0.1, but 3.3.x is similiar. Note that if your monitor isn't capable of using these video modes, the X server will drop these modes from the list of available video modes.
    Example:

    Section "Screen"
    Identifier "Screen 1"
    Device "3dfx"
    Monitor "Samsung LCD"
    DefaultDepth 16

    Subsection "Display"
    Depth 8
    Modes "1280x1024" "1024x768" "800x600" "640x480" "320x240"
    ViewPort 0 0
    EndSubsection
    Subsection "Display"
    Depth 16
    Modes "1280x1024" "1024x768" "800x600" "640x480"
    ViewPort 0 0
    EndSubsection
    EndSection

    Note the different entries for 8 & 16 bit screendepth. I.e. the 320x240 resolution is *not* available when X is started with 16bit depth (the default).

    To test these entries, restart X after you modified XF86Config and press ctrl-alt-plus and ctrl-alt-minus to cycle through the resolutions.

  89. Jim Gettys on X vs. GtkFB and QtE by Anonymous Coward · · Score: 3, Interesting

    It's so nice to see the ignorant Slashdot hordes rallying around the "X sucks!" flag. Here is what someone who actually knows what he's talking about has to say: (from http://www.linuxpower.org/display.php?id=211)

    Jim: No, I believe very strongly that either GTK+fb or QtE are dead
    ends. Our experience in the market (beyond the hacker community) is
    that the major attraction is the ability to share with little or no
    hassle applications written for the desktop: while the applications
    may need reworking to deal with the screen size and touchscreen, there
    are many applications not written for GNOME (or KDE).

    Network transparency is worth a lot in PDA's such as an iPAQ: it is
    really a full fledged networked computer in your hand, which can take
    advantage of other displays, keyboards, etc. in the user's environment
    when convenient. If I have a lot of text to enter, I don't want to use
    a touch-screen unless I must, and I don't want to have to build two
    applications, the way Palm or WinCE does. Others will experimentally
    determine that frame buffer based environments are a waste of time,
    but we won't...

    At CRL (Cambridge Research Laboratory), we are working on the Mercury
    project for pervasive computing. With the advent of high speed
    (wireless) network connections and large (currently 1 gigabyte)
    storage devices like the IBM microdrive, we foresee an environment in
    which you will want to take advantage of the computing environment
    around you, including keyboard, mice, projectors, and servers of all
    sorts. Note that the ability of an application to interact with
    desktops in your network environment is therefore vital, and sometimes
    at levels beyond file and web sharing. Most of what you hear about X
    being too big are from people who know little or nothing about the
    topic. After all, we wrote X Version 11 on 2 megabyte VAX 11/750's:
    iPAQs have 16 or 32 times that much RAM, and a CPU 200 times faster
    (for integer operations).

    Keith Packard, in his TinyX server using his new frame buffer code,
    has reduced the X server to 500-700K bytes of code (depending on
    whether you want his new render extension for anti-aliased text and
    graphics). Most of the perception of bloat is caused by how Linux
    reports memory. An X server maps the display card into its address
    space, and on current graphics cards this can easily be 8, 16, 32 or
    even 64 megabytes of address space (for the frame buffer and registers
    of the display). Naive people look at "ps" or "top" and draw the wrong
    conclusion. Clients may be asking the X server to preserve pixmaps on
    their behalf (which should really be charged to the client, but it
    shows up in the X server). So, for example the RSS size on my iPAQ is
    2.2 megabytes when running Familiar, with backing store and save
    unders still enabled (arguably, on a device like an iPAQ, I should
    disable them, which would further reduce the RAM footprint).

    I recently completed work to remove the dependency on Xt, Xaw, and Xmu
    that many of the little X utilities had accretted over the years: this
    saves 1.1 megabytes of code on a device like the iPAQ (presuming no
    user application wants/needs Xt, which is easy to arrange). These
    changes have just been checked into XFree86.

    The remaining work is to put Xlib on a diet. There is about .5
    megabytes of code and static data that has accumulated since Xlib left
    my hands that few applications and toolkits use (the CMS and
    Internationalization parts of Xlib). These are either never used
    (CMS), or only used by Motif (which few Linux applications care
    about). By making CMS and the I18N parts of Xlib dynamically loaded
    libraries, we can avoid breaking binary compatibility, but allow PDA
    users who don't need them (essentially everyone) to avoid the waste by
    not loaded those libraries. John McClintock has patches for the CMS
    changes which I hope to look at soon, and the I18N work is straight
    forward.

    Keith and I believe that a basic X environment will end up a bit over
    one megabyte of code, when this is done, while preserving complete
    compatibility (a full X implementation).The replacements for X don't
    come free either (they also have to have frame buffer code, window
    operations, etc.). The true cost of network transparency is well under
    a megabyte, IMHO. At the current cost of RAM, it's not much cost, even
    on low end PDA's... We could make things yet smaller, but we'd then
    be sacrificing some compatibility, which, while reasonable, is less
    desirable, as knowing your application should "just work" is worth a
    lot. So I see either QtE or GTK+fb as dead-ends, interesting for a
    short while on the smallest devices, but will be just a passing
    footnote in history.

    1. Re:Jim Gettys on X vs. GtkFB and QtE by BigSven · · Score: 2, Interesting

      Jim and Keith do a good job and this is an interesting quote (that I have of course read before), but I think the /. readers should have some more numbers to compare. The DirectFB library has less than 140 KB of code size. Depending on the usage, a few modules will be loaded for input devices, the gfx card's hardware acceleration, image and font loading, but DirectFB's codesize will normally not extend 200kB while the X developers are trying hard to get close to the 1MB limit.

      Of course this doesn't matter much for the desktop, but it does matter if you are developing for the embedded market where the costs for RAM and CPU decide if a product has a chance on the market.Another problem with X we faced is that certain features like true alpha channel and color keying are simply not available. These are absolutely needed when developing software for digital TV. DirectFB not only replaces X for us, it gives us a whole lot more X can not (yet) do. It was meant as a replacement for X on settop boxes, not primarily as a replacement for X on your desktop.

  90. Re:Innovation outside the USA - Not flamebait by asuzuki · · Score: 1

    I second that!

  91. There is no such thing as "X windows source" by 21mhz · · Score: 1
    X Window System (damn, you even name it wrong) is a specification. When you talk about source code, you talk about an implementation, unless it's some "reference" code (which has every right to be shit, BTW). So, you should elaborate on what implementation do you hack, and what version of it. For what I know, modularity of XFree86 improved a lot with version 4.

    Sorry, but your comment smells like a clueless troll.

    --
    My exception safety is -fno-exceptions.
  92. Don't know if this is it, though it sounds good... by uradu · · Score: 3, Interesting

    but something needs to be done about X. I have a very mainstream video card (TNT2), and under Windows it flies for 2D work (1600x1200x32)--full window moving, resizing, scrolling etc are perceptually instantaneous. This same card under KDE 2.2.1--using what appears to be a fairly well supported XFree86 4 server, at the same resolution and color depth--feels roughly like an unaccelerated SVGA driver under Windows, maybe a bit better. Many drawing operations become visible under heavy graphic load, such as when moving windows above other busy windows that need to be redrawn. Resizing windows feels sluggish, scrolling web pages and such feels sluggish etc. We'te not talking 1990-slowness, but in a world where graphic lag of any kind is essentially a thing of the past, this is very noticeable.

    Maybe it's not all due to X, who knows. But dragging around baggage beneficial to only a portion of users (that seems to be getting smaller with a growing Linux user base) almost seems unfair. If I spend most of the day in front of the framebuffer, with only occasional remoting of the display, I'd prefer to have the fastest possible performance during that majority of time, and would in exchange accept worse performance during remoting. That's essentially what happens with VNC on Windows right now. And I know we can do better than that, because Windows has notoriously few graphic hooks, and any new display system could easily improve on that without giving up performance in spades like X.

  93. Oh yes. by mindstrm · · Score: 2

    I, for one, would just LOVE to see the ability to actually use a SunRay with a linux server. I don't suppose sun is going to fork over the specs though...

    Just think of it. Those awesome SunRay terminals, without the need for a rediculously expensive Sun server.

    1. Re:Oh yes. by Anonymous Coward · · Score: 0

      The protocol is described at a high level in a SOSP paper; it shouldn't be all that hard to figure out.

    2. Re:Oh yes. by mindstrm · · Score: 2

      URL?

  94. My God man... by mindstrm · · Score: 2

    Why are you forwarding X connections manually when you are using SSH? SSH does this for you. PLEASE read up on X forwarding in SSH. It's excellent. And secure.
    What you are suggesting is not secure at all.

  95. Followup about the source. by MongooseCN · · Score: 2

    Most X implementations share the same source. Most of it comes from the main X.org source tree. There are plenty of direct cut and pastes from the X.org tree right into other trees, Xfree86, Suns, etc... The core source of the trees really are not much different. They are suppose to all implement the same standard, so there isn't much room to have a different core system.

    1. Re:Followup about the source. by 21mhz · · Score: 1
      They are suppose to all implement the same standard, so there isn't much room to have a different core system.

      I hope not many developers will hang this on their walls.

      --
      My exception safety is -fno-exceptions.
  96. Re:Great! by Dr.Dubious+DDQ · · Score: 1
    And how many of them have support for hardware acceleration and alpha transparency?

    Heh...the idea of aalib with hardware acceleration and alpha transparency seems really funny to me... :-)

  97. Some people dislike the X Window System? by Anonymous Coward · · Score: 0
    Some people really dislike the X Window System.

    Then some people really need a good dose of shut the hell up. The X-Window System protocol is genius. A network transparent, platform agnostic, graphics communication layer is an incredible feat and it has yet to be fully duplicated anywhere else. You want Berlin? You want fbcon? That's fine, you can have them! But X isn't going anywhere!

  98. Framebuffers are Dead by Anonymous Coward · · Score: 0

    The framebuffer died in modern graphics card several years ago when they all started implementing OpenGL/Direct X internally. At this point a DirectFB implementation is about as interesting as a new enhanced Floppy Disk Driver. Useful for backwards compatability and fun to code, but not very forward thinking.

  99. Broadway was foolish -- that's why it failed. by SimHacker · · Score: 1
    Oh, come on. Broadway was a totally idiotic idea. That's why it failed. Talk about putting the cart in front of the donkey. Sheez.

    -Don

    --
    Take a look and feel free: http://www.PieMenu.com
    1. Re:Broadway was foolish -- that's why it failed. by Anonymous Coward · · Score: 0

      > Oh, come on. Broadway was a totally idiotic
      > idea. That's why it failed. Talk about putting
      > the cart in front of the donkey. Sheez.

      Can you expand on this please. I thought
      the point of Broadway was to allow (existing?)
      X applications to run in a browser window.
      That seems like it could be useful. Am I
      missing something?

      TIA...

  100. /dev/fd0 ?! What good's a floppy disk framebuffer? by SimHacker · · Score: 1
    You'd run the window system on /dev/fd0? I hope you have a high density floppy. Don't forget to format the framebuffer before opening any windows.

    -Don

    --
    Take a look and feel free: http://www.PieMenu.com
  101. you're describing VNC by dwk123 · · Score: 1

    It might work, but shipping bitmaps over the network is basically what VNC does, and if folks are complaining about X being slow, let's not bring up VNC.
    X works very well remotely because it was designed that way - ie ship the commands, not the result of the commands because the commands are much smaller. (much the same principle as HTML or XML)
    X and FB can co-exist, but not by using FB as the abstraction, because it's too low level. You need a higher-level abstraction that can render to either X or FB. This is why the port of GTK etc is a critical part of the effort. Essentially, what it will probably entail is a switch to an X server that renders only to FB, and either an FB-aware "Window Manager" or possibly local proxies to remote X clients. Could work pretty well, but will take a fair amount of work.

  102. It's X-Windows, bucko! by Anonymous Coward · · Score: 0
    X-Windows! X-Windows! X-Windows!

    Now you're obligated to correct me three times.

    X-Windows! X-Windows! X-Windows! X-Windows! X-Windows! X-Windows!

    You owe me six more corrections!

    X-Windows! X-Windows! X-Windows! X-Windows! X-Windows!

    There's five more! You're getting behind. Better hurry up!

    -Don

  103. Re:Don't know if this is it, though it sounds good by dollargonzo · · Score: 1

    *hint* *hint* the problem in your setup is KDE...
    KDS can do a lot more than windows, but is also quite a bit heavier, and slower...that is what is using up your memory. And X is not even the problem here! you should switch to twm or if you are NOT entirely into 2 color mode + background, go to mwm or fvwm(2). The implementation of X is what needs to be more hardware accelerated, perhaps, (which would unfortunately make it Linux specific) but X is wonderfully useful and genius beyond what directFB comes up with. If they say that they will support all the features of X currently (which I am sure they will eventually, if the project ever matures), then wait a minute...... X has those features NOW!!!!, and all we need are better device drivers / implementations / updated and accelerated Xfree

    --
    BSD is for people who love UNIX. Linux is for those who hate Microsoft.
  104. This person is giving bad advice! MOD HIM DOWN by jabbo · · Score: 2

    1) Use port forwarding over ssh instead of DISPLAY=insecure_as_hell. Please, firewall X (6001-6006)!

    2) Component programs like Gnumeric are cute, but with Gnome it's kind of all-or-nothing for the novice user. This is an issue since X performance is not up to par with Windows in many respects. Believe me, I've set users up with both Gnome and other WM's (fvwm, Windowmaker, etc.) and they all prefer Gnome. Even though it sucks ;-)

    3) Ok, maybe the Mutt comment bears the Insightful label :-).

    Bottom line is that most X apps run well on a local workstation, and if you're not tunneling X from, say, an SGI Onyx in New York to a demonstration on a workstation in DC, you may not really want the overhead of being able to do so. Don't get me wrong, X is magically delicious for a handful of users, but most admins (myself included) can control things very well with a terminal or VNC, and most users are never going to use the most powerful features of X, rendering it needless bloat for them. DirectFB solutions would make Linux far more attractive for these sorts of users are their managers.

    --
    Remember that what's inside of you doesn't matter because nobody can see it.
  105. XML GUI by Tablizer · · Score: 0

    It's called SCGUI (Server-Controlled GUI). Although not suited for video games, it is ideal for business and general GUI's over just about any kind of network, fast or slow.

    http://geocities.com/tablizer/scgui.htm

  106. Drivers for FB - Do they exist? by Watts · · Score: 2, Interesting

    I've lately been looking at the fb support in the kernel, and unless I'm missing something, the majority of graphics cards are not yet supported. Most cards can just use the VESA support, but it does not currently allow for changes in refresh rate and won't be as fast as a driver written for a certain card. So are there drivers planned for FB?

    1. Re:Drivers for FB - Do they exist? by skids · · Score: 1

      DirectFB and the linux-console-project both have
      a few patches for the stock linux fb drivers.
      Personally any graphics driver I write will be for
      KGI, but if you aren't a zealot like me, I would
      encourage you to improve on what is there. Most
      of the fbdev drivers are indeed incomplete and the
      many of them even misreport their capabilities.
      Something needs to be done.

  107. Re:because by pubjames · · Score: 2

    I am not aware of any country in Europe where the police can raid your house if you don't pay the tv license. You must have picked that up from some of your NRA propaganda.

    Wow, I've just looked at your web site. What fun!I love the section about gun education for children! Brasco (TM) The Liberty Bear Coloring/Story Book sounds great!

    Am I glad I live in Europe.

  108. XML pages by hey · · Score: 1
    I noticed the pages (on DirectFB) seem to be written in XML - example URL: http://www.directfb.org/screenshots/index.xml

    Of course, browser can't display XML so doesn't anybody know what's going on?

    (These guys are really into the "latest thing")

  109. DirectFB adoption by ajs · · Score: 2

    I'm sure there will be a back-end for X at some point. When that happens, I'll check DirectFB out.

    The UNIX-haters link was funny. For those of you who might have taken it seriously, just don't bother. It's a skewed version of history mixed with a lot of personal bile. I'm particularly amused that he chose to call it "X-Windows", and insisted the publisher use that form because it would "piss off" the X folks. The reason he says this is because the X Consortium goes out of its way to point out that "X-Windows" is an encumbered term, so folks are supposed to say "X" or "The X Window System". Nutball. Nuff said.

  110. We've already lost... by SaDan · · Score: 1

    Thanks to capitalism being run unchecked for so long.

    So long, tech industry! We hardly knew ye...

    1. Re:We've already lost... by Anonymous Coward · · Score: 0

      Actually, fool, capitalism is constantly restricted by our government. They grant preferrential treatment to businesses, unconstitutionally extend copyrights, grant useless patents, suck trillions from the taxpayers then waste it on everything from corporations to lazy bums and endangered rats. Next time, you can at least put some effort into building your straw man before he disintegrates.

    2. Re:We've already lost... by SaDan · · Score: 1

      Oh, yeah... they're really restricting Microsoft, aren't they? Really restricting our automakers and forcing them to get with the times and build more efficnent vehicles.

      Our (USA) government encourages rampant capitalism, because it means more money for the gov.

      Get a clue.

  111. This would be great but... by bytes256 · · Score: 2, Insightful

    This sounds like it would be a *HUGE* step forward for the *NIX community as a whole. Unfortunately, it will probably fail because our community is so stubborn. If X is so great how come Apple chose to go their own way and implement Aqua? X certainly would seem more advantageous for them...just port X-Free and you've got thousands applications instantly supported on OS X...the problem is that it takes a lot of hard work to make X pretty. Look at KDE, Enlightenment, and Gnome. These projects have taken years trying to make a square round when reinventing the wheel would have been much easier.

    If Linux is ever to be a player on the desktop, we will have to abandon X. X and DirectFB are not mutually exclusive and there should be a relatively painless transition. X just doesn't make sense anymore for a PC dominated world. When was the last time any of you used a dumb terminal? I've never used X on anything other than PCs and I'm sure that most of my generation can say the same.

    In short we need a new king for a new generation.

    --

    Slashdot, the site where everything's made up and the points don't matter
  112. video card drivers by dollargonzo · · Score: 1

    speaking of "blindingly" fast games, and amazingly optimized hardware accelerated graphics, i stopped over @ the directFB site to check out the modules they have, and what video cards they currently support, even though they are obviously @ a very early stage. either way, kind of odd that they started with supporting the OLD cards, namely those that were HOT a few years ago, but which now are quite out of date... if they speak of blindingly fast game graphics, why dont they start with writing a radeon driver (or 8500, j/k) or the geforce 2 or 3....although it would most definitely be too early to judge the project JUST based on those characteristics, the trend they are setting is similar to that of berlin: we will start with supporting the very basic vid cards such as the ati rage 128, and we will support the REAL stuff later...sounds like a rather doomed plan to me :-\

    --
    BSD is for people who love UNIX. Linux is for those who hate Microsoft.
    1. Re:video card drivers by dok666 · · Score: 2, Informative

      We really like to support newer cards like GeForce or ATI Radeon. The problem is to get enough documentation to implement all the features supported by DirectFB. Taking X driver source does not much help, because X drivers support only the basic operations.

    2. Re:video card drivers by dollargonzo · · Score: 1

      wait, but the cards that DFB DOES support dont exactly have much EXTRA functionality to deal with, hence not much to use. Basically, what it comes down to is that DFB is pretending to be all new and innovative, but in reality their drivers only support the basic features, as do the X drivers. Now, wouldnt it be more productive to work on better x drivers, to add the functionality yuo want, etc, instead of writing a completely new and different graphical system?

      --
      BSD is for people who love UNIX. Linux is for those who hate Microsoft.
  113. Re:i'll stay with in the Medieval Times by tarkin · · Score: 1
    1. replace KDE/enlightenment/gnome with fvwm/blackbox/twm
    2. replace kmail with mutt (read the help mutt as more features)
    So you're actually saying : "Let Linux desktop users stay/go-back to the Medieval Times ?"
    Man, what a load of *insert-something-here* is that ? Are you blind maybe ? Never seen a screenshot of GNOME/KDE/MacosX ?
    Never even used a mouse maybe ?

    --
    blaah !
  114. We need an X killer by Anonymous Coward · · Score: 0
    I'm a journalist in the computer field, and I've talked with developers at numerous Linux projects, including distros. When I've asked them what their biggest single technical problem was with Linux, almost without exception they named X.

    We desperately need a good, solid, and easily managed replacement for X. Whether DirectFB is right for the job is beyond me.

  115. Re:Don't know if this is it, though it sounds good by Arandir · · Score: 2

    But dragging around baggage beneficial to only a portion of users (that seems to be getting smaller with a growing Linux user base) almost seems unfair.

    Ah, the tyranny of the majority rears its ugly head, even here in the land of the free. We are more numerous so let's vote on everything. That way we get to rule while pretending to be fair. Let's dump all those old bearded Unix types who made Linux into the premier server and workstation platform. We don't want workstations or servers, we want gaming platforms. We don't want Linux to replace Win2K, we want it to replace the X Box.

    --
    A Government Is a Body of People, Usually Notably Ungoverned
  116. Do I want a transparent video player? by cjpez · · Score: 2, Insightful
    NO! Why does everyone think that transparency is the coolest thing ever? I admit it look vaguely cool in screenshots occasionally (although the one linked from the article look horrible to me), I've always found it to be a functional nightmare when I'm actually using it. I put that window on top of the other one for a REASON!

    I mean, really. The screenshot linked to is just awful! Which window's on top? Can I click on "Expand All?" Boo!

    But the software itself looks keen . . .

  117. Tarantella by Anonymous Coward · · Score: 0

    You can easily embed X apps into a web browser with Tarantella. It even uses a lightweight protocol that you can use over a dialup connection, unlike X.

    michael.ossmann@alttech.com

  118. Re:i'll stay with in the Medieval Times by Anonymous Coward · · Score: 0
    ---VI VI VI the editor of the Beast

    I use vim. vim == 1994.

  119. Digital Convergence? by asv108 · · Score: 1

    Aren't these the same people who made the CueCat?

    ;)

  120. Could it be? by Anonymous Coward · · Score: 0
    Could this be the future of the Linux desktop?


    Yes. DirectDraw comes to Linux after only 6 years. Thank God, we can finally start coding interesting 2D apps.

  121. Re:Don't know if this is it, though it sounds good by uradu · · Score: 2

    I think you've been watching too much CNN lately . I've noticed that the benefits of X are extolled suspiciously often within the context of servers and remote administration. May I just observe that most serious admins shun graphical tools for the command line anyway? I've seen very few admins attach their display to a remote server for anything, yet most of them live in telnet. I dare say that telnet fulfills most of the duties X is accused of for these kinds of uses. Most of the X apps that would work comfortably remotely over extended periods probably take minimal advantage of a GUI anyway and would likely work just as well in text mode.

  122. It could serve a useful purpose by tercero · · Score: 1

    IMHO, XFree86 is great, but could this have applications in areas where smaller/faster is better? Like (as the hype increases) PDAs or older, slower machines. Xfree was always slow to come up on my old P200 (I'm not talking about KDE but just to the familiar grid). X rocks for network stuff but having a lighter GUI would add tons of value to Linux.

    My only question, would VNC have to run as setuid/root?

    1. Re:It could serve a useful purpose by Anonymous Coward · · Score: 0
      My only question, would VNC have to run as setuid/root?
      No.
  123. I have a question: by SnicklesTheElf · · Score: 1

    Sorry their site is /.ed and i have a quick question. Isn't it possible to just run both? Perhaps not at the same time, but just drop X down to play a game?

  124. Re:Don't know if this is it, though it sounds good by uradu · · Score: 2

    > KDS can do a lot more than windows,

    While I'm not particularly a Windows whore, this statement is hard to swallow. Explain.

    > but is also quite a bit heavier, and slower...that is what is using up your memory.

    Memory? Who's talking about lack of memory? I've got gobs of memory. I'm talking about moving framebuffer memory around, and rendering graphics primitives. A 32-bit display takes the same time to render regardless of how much memory your app uses. I've tried those other WMs, and I'm not impressed. Sure you can get faster if you lower the resolution and color depth, but that's hardly a fair comparison.

    > The implementation of X is what needs to be more hardware accelerated, perhaps

    I can't say how optimized the various servers are (e.g. my TNT2), but the real culprit is not the failure of sequeezing out a couple more nanoseconds out of Bresenheim et al, but the big overhead of marshalling graphics primitives to a network protocol, or even just reducing this to shared memory operations. Add to this the many generations of code(rs) in the X code base, and I can't see how it could approach any level of efficiency.

  125. Notes on company name, portability/games, and X by Anonymous Coward · · Score: 0

    the company name is 'convergence integrated media GmbH' or simply 'convergence', NOT 'Digital Convergence', so they're NOT the company who did the infamous (license-wise) :Cue:Cat (this company is called 'Digital:Convergence', btw), but the company who also does the (pretty cool) LinuxTV-drivers for DVB-cards from Siemens/Hauppauge.

    the portability issue is softened by direct support of DirectFB as backend by ClanLib, GTK 2.0+ and even SDL (from not-yet-released version 1.2.3 on, get it from CVS), so basically writing code for one of these will give you portability beyond Linux. GGI supports it as well, but not the way it was intended (they're just re-using the binary drivers with their own API).

    while replacing X might be something you COULD do with DirectFB (if you'd really want to), code-size and speed seem to be of more concern to the developers, which is quite understandable if you've got settop-boxes in mind. The approach of X is at totally different one, i.e. network-transparent, hardware-independent, portable graphics. DirectFB can simply (additionally and optionally) support the needs of a typical X application/client, so the article was maybe a little bit too anti-X ..

  126. sweet... by Anonymous Coward · · Score: 0

    now I can watch my pr0n in real time with alpha blending and transparency!

  127. Re:i'll stay with in the Medieval Times by tarkin · · Score: 1

    I knew that reply would come ;-) gvim rules ;-)

    --
    blaah !
  128. Re:Don't know if this is it, though it sounds good by damiam · · Score: 1

    You probably don't have hardware acceleration set up under X. My Voodoo3 card is well supported but was slow as hell before I installed Redhat 7.1, which autoconfigures hardware acceleration.

    --
    It's hard to be religious when certain people are never incinerated by bolts of lightning.
  129. Re:i'll stay with in the Medieval Times by Luyseyal · · Score: 2

    I use vim. vim == 1994.

    M = 1000
    V = 5
    I = 1

    Thus, 1000 - (5 + 1) = 994

    -l

    Incidently, mvim would equal 1994... (think how MCM equals 1900).

    --
    Help cure AIDS, cancer, and more. Donate your unused computer time to worldcommunitygrid.org. Join Team Slashdot!
  130. remote usability is not a "legacy" feature. by DunbarTheInept · · Score: 2

    Why call X programs "legacy" apps? I would welcome directFB IF AND ONLY IF it is used JUST by those programmers that need the speed, like games programmers and perhaps some CAD/rendering programmers. I would hate to see the situation where everyone forgets how useful remote apps were and the notion falls by the wayside. For most apps, the lightning fast video speed is irrelevant, and for those apps, portable X should be used.

    --

    Don't label something "offtopic" unless you know the topic well enough to tell what's on topic.

    1. Re:remote usability is not a "legacy" feature. by Mad+Marlin · · Score: 1
      Why call X programs "legacy" apps?

      Because then the developers feel more important. Actually that is one of the things that has really annoyed me about KDE, any program that is not k***** is referred to as a ``legacy app'', it is an incredibly biased and egotistical assertion.

    2. Re:remote usability is not a "legacy" feature. by Anonymous Coward · · Score: 0

      Hey Gang, a 20 year old protocol is about as "legacy" as you can get. The term legacy refers to applications which do not conform to the new "standard" as proposed but are still supported. And as far as people being opposed to DirectFB as a standard, you forgetting one very important point which has been made multiple times here already. X is a protocol and spec for remote apps. I don't hear anyone complaining about the rootless X port to Mac OS X. So, why would a rootless X server on DirectFB be a bad thing? As a matter of fact, the ability to support X apps as well as a more robust GUI technology might make DirectFB the hero for Linux on the desktop.

  131. I'm afraid you're mistaken. by Anonymous Coward · · Score: 0

    I've coded with Linux Framebuffer. It is not abstracted. All they do is give you a little bit of information, a mmap() device, and say, "hey, kid, you're on your own".

    Userland framebuffer apps are expected to handle several device types (packed pixels, planes, textual, EGA and older VGA...) as well as several visuals (2 types of monochrome, true color, mapped, statically maped, and bit-packed). Modern x86 video cards are only of the packed pixel variety, thus libraries are only likely to support that (I've written framebuffer code, and I don't even have any of the other types of hardware, so guess what only works?)

    If you don't believe me about how insanely raw the framebuffer interface is, you can look at /usr/src/linux/include/linux/fb.h. Try to write code based only on that header, I dare you!

    That is, if you do code at all, and you're not one of those ignorant blobs with nothing better to do than whine about X sucking on Slashdot... "Framebuffer is the savior!" I can honestly tell you, the framebuffer interface is not so terrific. Unless you happen to have the documentation to a zillion chipsets on hand, in most cases you'd just end up slower than X.
    1. Re:I'm afraid you're mistaken. by moogla · · Score: 2, Interesting

      Well, most modern hardware (regardless of architecuture) is of one of two classes:

      Packed pixel and color mapped.

      Forget about colorplanes... even the Sparc 10s have an ATI controller using an 8bit colormapped display.

      The only things you have to watch out for is 24-bit vs. 32-bit, 16-bit support (if you want it), and RGB vs. BGR order (with respect to the endianness of the platform). This can all be handled by blitting functions if you do 32-bit internally and double buffer.

      Since fb is so low level, then DirectFB should have no problems porting to other architectures at all. Since the video hardware is the same, then the technique is the same. There would be no difference in the screen layout on your PPC nVidia then there would be on the x86 nVidia. The only important information to consider is byte ordering and bit depth. BTW, does fb.h support hardware panning/windowing through ioctls?

      No, I haven't looked at the fb API, but I've used similar (very) thin abstraction layers like PTC and Allegro, both of which, by the way, can use fb as a drawing target.

      --
      Black holes are where the Matrix raised SIGFPE
  132. Re:Don't know if this is it, though it sounds good by drinkypoo · · Score: 1

    I'll second this as far as nVidia chips go, too. I have a GEForce 2 MX(400) and it was butt slow in redhat, until I configured nvidia's xfree driver. Suddenly, it became faster than windows' window updates. It wasn't quite stable, but that was a few months ago. The installation instructions are also somewhat unstraightforward.

    --
    "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
  133. X is too useful to replace by njdj · · Score: 1

    X may be poorly designed and implemented, but the people who rant about it just don't seem to understand its usefulness. We have 6 computers at home. Do we want 6 monitors? No way! The X server on the Linux box my monitor is connected to lets me use programs on all the Unix boxes on our LAN.
    I have the impression that X implementations are improving. Crashes are extremely rare in my environment. OK, it used to take 50% of a machine's resources when workstations ran at 40MHz and had 8MB of memory, but those days are long gone. It takes a negligible fraction of the resources of a modern workstation.

  134. Re:Don't know if this is it, though it sounds good by sesquiped · · Score: 1

    It feels like an "unaccelerated SVGA driver" because it is. The nv driver that comes with XFree86 performs no hardware acceleration at all. You should be using NVidia's accelerated drivers from http://www.nvidia.com/view.asp?PAGE=linux. Yes, they are closed source, but at least they exist, unlike drivers from many other manufacturers.

  135. Re:Don't know if this is it, though it sounds good by Arandir · · Score: 1

    I've noticed that the benefits of X are extolled suspiciously often within the context of servers and remote administration.

    It also means I can sit at home, log into work, and pretend like I'm really there. Just one in a long list of X benefits that have nothing to do with sysadmining.

    --
    A Government Is a Body of People, Usually Notably Ungoverned
  136. Re:Don't know if this is it, though it sounds good by uradu · · Score: 2

    Thanks to both of you, I'll check out the nvidia driver. I had heard of its existence, but I guess I assumed the driver that came with RH7.1, Mandrake8.1 etc was it.

  137. Re:Don't know if this is it, though it sounds good by nathanh · · Score: 2
    Maybe it's not all due to X, who knows.

    Most of the people on devel@xfree86.org would know. The nv driver shipped with XFree86 has poor acceleration for 2D as well as 3D. This is due to lack of specs from the manufacturer. You'll get significantly better performance using nVidia's binary-only driver from their website.

    Well supported cards are easily flooded by XFree86 for 2D. The cards cannot draw fast enough to keep up with the XFree86 process. It isn't an architectural problem. It's almost certainly a driver or application problem.

    It would be useful to develop a standalone benchmark system that used XFree drivers directly. That would make it much easier to determine when the performance problems lie in the driver, in XFree, or in the application. I suspect this would be really hard to write.

  138. Pretty, but how functional? by speedbump · · Score: 1

    Well, I gotta say this DirectFB has nice eyecandy screen shots. But the 'more GTK' pic makes me feel like I've been drinking too much. I sure wouldn't want every window to be transparent.

    I can see transparency being a nice feature for menus and certain types of popups or CPU meters, that kind of stuff. But I generally don't want, say, my Mozilla browser to be transparent.

    One reason I really like X and this is about the only reason, is that it is network transparent. Can DirectFB make that claim?

  139. The problems with X by iabervon · · Score: 3, Insightful

    1) It's networked. People don't use this any more, mostly. If they do, it's via ssh, which doesn't use the network features of X anyway. X ought to just specify talking to a local server, which may be a proxy over ssh.

    2) Its core protocol is missing a ton of features that program want. For example, nobody on the team knew how to do splines, so they left them out. Splines still aren't really supported, and won't be supported any time soon in the core protocol.

    3) It's too extensive. It is generally implemented as a set of drivers, library, network server, resource manager, plus windowing system. Some of those features ought to be separate. In particular, splitting off the drivers (as well as implementations of operations the actual card doesn't support) from the windowing system would save a lot of hassles.

    I think a layer for doing graphics under the level of the X server would be better. The main problem is that XFree86 has really good free drivers, which would be a shame to reimplement, but they are all for the X API.

    There are some cases where you don't actually want the main features of X, so it would be good to provide a more fundamental graphics layer to programs that want it.

    1. Re:The problems with X by Arjuna · · Score: 1

      I and many others on /. use networked X a lot. When its over ssh its still using the network features of X - just unix domain sockets instead of inet. X just specifies talking over a socket and doesn't care if its unix or inet.
      I agree its missing features, otherwise Berlin and other projects might not have even started. And X seems heavyweight in ram and cpu for what it does.
      But my biggest gripe with X is how inefficient it is with network resources. I can use a windoze terminal server app over a 56k link fine, but a comparable X app on the same link is way slow and frustrating.

    2. Re:The problems with X by kervel · · Score: 2, Informative

      try out dxpc. its a X proxy that does compression.
      with dxpc using netscape over a slow (ISDN) link becomes at least 20 times faster in my experience...

    3. Re:The problems with X by iabervon · · Score: 2

      But if it's local, it could use an IPC mechanism that didn't involve serializing everything and copying it. The shm extension shouldn't be necessary; shared memory should be something the server just does. In the case when it's being proxied over something, serialization will, of course, be needed, but much of the time, there are other concerns, anyway.

      It's inconvenient for application-writing to use the client-server model, where it is up to the programmer to keep track of where the data is. It's also somewhat annoying that, much of the time, other programs end up putting a lot of data into the server process, so you can't tell how much memory use should be considered X's, and how much is really Netscape's.

      The network inefficiency is because X is putting the network between the widget toolkit and the display, and doesn't have all the features the toolkit wants as primitives. So, in order to look the way it wants, the toolkit has to exchange a lot of data with the display over the network. It would be vastly more efficient if you could essentially run Qt/Gtk on the display side, and have the network in between the app and the widget toolkit. This, again, calls for not having X over a socket, because it makes more sense to put the network somewhere else, and put what's currently the other side of the socket in the same place as the server.

  140. Or Windows... by Haeleth · · Score: 1

    Sasami2k. I don't quite see the point of transparent video, but the option to use a video for your wallpaper is quite neat.

    That's the whole point, of course. Linux users want to be able to do fun things on the OS they use for their work - rebooting to Windows is an icky solution, and Mac OS X is no solution at all for most of us (at least while it remains hardware-specific).

  141. Don't forget these... by Anonymous Coward · · Score: 0

    - Berlin
    - SDL
    - Allegro
    - OpenGL
    - Linux Framebuffer
    - DGA
    - SHM

    (don't forget that some can nest on top of others which can nest on top of others)

  142. Mod parent up - this is an important point by moogla · · Score: 1

    I was unaware of this, but now that I think about it (having hacked a little X code myself), it makes sense. Does anyone know if X was originally used for something else before it was used for X-Windows, or was a remote application interface always the intent?

    In any case, this means that DirectFB is doing something new; it's only job is to be a windowing system and video/input interface. This is something for linux that should exist, as it is a central feature of other desktop-friendly x86 OSs (Windows and BeOS). It would make it a great system for doing various graphical applications (more so than it is now, MORE SO THAN IT IS NOW ::ducks flames::).

    Also, I think an important future feature of GTK/QT should be to support multiple backends, as in they would automagically detect DirectFB or X11, and pick the more appropriate one. For example, they would check the DISPLAY environment variable to see if you have a remote display set, otherwise, they'd look for DirectFB, and failing that, a local UNIX socket for X11.

    --
    Black holes are where the Matrix raised SIGFPE
    1. Re:Mod parent up - this is an important point by pkesel · · Score: 1

      Actually, having done a bit more research, X was indeed made for X-windows. But in the big scheme of things, it's still an event messaging system, and I do know that it can be used for more than graphics.

      --
      - Sig this!
  143. This is isn't as bad as it seems (linux only) by moogla · · Score: 1

    The only thing that any other OS would need to do (if they wanted to) would be to have a Framebuffer device that behaves like the Linux one. For example, OSS works on a large variety of operating systems, even though it is a largely linux-centric standard for audio. This is possible because the drivers use the same API across all the platforms; the apps that use them just need to be rebuilt on the target OS. The same could easily be done for the Linux framebuffer. Furthermore, if the Linux framebuffer interface is simple, it would be trivial to add additional rendering code to deal with SPARCS, Amigas, and any other hardware directly (like SVGAlib). One could even pull the code straight out of the drivers from the linux kernel for these targets.

    --
    Black holes are where the Matrix raised SIGFPE
  144. Hardware support for DirectFB by Anonymous Coward · · Score: 0

    considering the new 'modular' nature of XFree86 4.x, how feasable would it be to implement DirectFB using drivers written for XFree86.

    On a side note, if you consider a driver in general, even a windows graphics driver, basically it is a library with some exported C functions that either the OS (windows), or the windowing system (XFree86) call, would it be feasable to write an X server that used windows drivers?

  145. Complex nonsolutions to simple nonproblems. by SimHacker · · Score: 1
    In a nutshell, nobody needed Broadway, because it was designed for totally the wrong reasons.

    Broadway was trying to solve an extremely complex non-problem for which it was never intended, that doesn't do anyone any good.

    The only people who need Broadway are the people desparately promoting trash like X11 and Motif and CDE, who were put out of business by the web, Linux, Gnome, KDE, TCL/Tk, Python, and other useful technology.

    What I said about the ICCCM would certainly apply to Broadway, had it ever gotten off the ground:

    "In summary, ICCCM is a technological disaster: a toxic waste dump of broken protocols, backward compatibility nightmares, complex nonsolutions to obsolete nonproblems, a twisted mass of scabs and scar tissue intended to cover up the moral and intellectual depravity of the industry's standard naked emperor."

    And of course JWZ's comment still applies:

    "Using these toolkits is like trying to make a bookshelf out of mashed potatoes." - Jamie Zawinski

    For more thoughts on the subject: The X-Windows Disaster.

    And here are some notes on why X11 window management has gone so horribly wrong, which helps to explain why Broadway is necessarily such a horrible failure.

    Window Manager Flames: Why the ICCCM Sucks.

    -Don

    --
    Take a look and feel free: http://www.PieMenu.com
  146. But will it.... by sui · · Score: 0

    let me scan a coke can and take me to coke.com?

    --
    Why do the kids in West Side Story have to join a street gang if they can afford $70 Gap khakis?
  147. odd... by gvsu_snow_lord · · Score: 0

    mac os x can do all of that...

    but i do wonder if writing opensource software to run on only one kernel is a good thing or not.... isn't the whole idea of the gnu project and open source is to provide tools for users to use no mater what they use for an os... this to me is linux zelats trying to be like bill.

    He thats what I think on this... what do you think? How is this really good?

  148. So how is this different to SVGAlib? by Mandelbrute · · Score: 1
    Is this proposal just to put some sort of nonstandard GUI desktop shell over the top of a framebuffer?

    Why not just write this shell over the top of SVGAlib (or a new framebuffer), and run XFree86 in a window on the local GUI to run X programs? XFree86 for win* systems runs in a window on the local GUI.

    That way another app supports all of your networked programs, or stuff displayed on screen owned by another user (I do this all the time because it's a pain running two Xservers for two people and switching views), and you have your fast desktop shell (or windowing system or whatever) only handling supported programs.

  149. Waah. by Anonymous Coward · · Score: 0

    "X is slow!"

    Solution? Get rid of your bloated, feature-creep ridden sorry excuse for a window manager.

    "X is bloated!"

    Umm.. Riiiiiiight.

    "I can't play games!"

    Buy a console, or get a Windows box.

    "But Microsoft is evil!"

    Clueless MSCE's are why Unix people get paid a hell of a lot more. You want that to go away? I shoot you now, you are winner, haha.

    1. Re:Waah. by DickBreath · · Score: 2

      This has got to be the most ignorant post I think I've seen on Slashdot. First, you point out complaints, and then "address" each one, but don't really address it at all.


      >>"X is slow!"

      >Solution? Get rid of your bloated, feature-creep ridden sorry excuse for a window manager.


      You're presupposing that it is the window manager which is the problem. Maybe X is the problem. Maybe my big bloated window manager makes ME as a person much more productive. I don't give a damn how many megahertz and megabytes it takes. But why have X introduce slowness that cannot be fixed by simply throwing hardware at it? Your solution, use a primitive stone age WM that works for geeks, but not for mere mortals. With this attitude, Linux won't go anywhere.



      >>"X is bloated!"

      >Umm.. Riiiiiiight.


      Yet, you don't say anything to counter the argument that it is bloated. Yet you complain of WM's being bloated when they provide useful functionality.


      >>"I can't play games!"

      >Buy a console, or get a Windows box.


      This is the most arrogant attitude I've ever seen. So you're suggesting that Linux (popular distributions using X) is obviously not useful for some things. It would have looked much better (on your part) to argue that X can play games. But ignoring that, you imply that rather than use something like <alternative to X> (i.e. DirectFB??) which (hypothetically) can play games, instead one should keep X, and give up the ability to use the system for one of his stated goals. Playing games is not my primary computer use. But that doesn't make gaming an illegitimate use for a computer. Even as a primary use. You suggest getting a game console instead of the hypothetical solution of abandoning X, rather than countering that X could play games, or that abandoning X wouldn't make gaming any better.



      >>"But Microsoft is evil!"

      >Clueless MSCE's are why Unix people get paid a hell of a lot more. You want that to go away? I shoot you now, you are winner, haha.


      This attitude is further evidence of the "rite of passage" mentality. Linux should NOT be easy or approachable for mere mortals. We want to keep it complex on purpose. Only high priests wearing white robes (lab coats) should touch the computer. 25 years ago, this was the same argument about mainframe programmers. They called microcomputers "toys" and said to "get a real computer", just as today you hear zealots say "get a real OS". But microcomputers were approachable to the masses instead of having to go through a bureaucratic intermediary to get your program run on the computer, come back hours later to pick up your printout. Just as (it should be) with Linux, microcomputers enabled ordinary people to approach computers without spending millions of dollars and kissing up to the priesthood.

      Go ahead. Keep Linux unapproachable to mere mortals. Keep your rite of passage attitude. Linux will never become mainstream. And either MS or something else will fill this role. It's not inconceivable that another free OS, in time, could displace Linux as the heir apparent MS killer -- given a different attitude towards mere "lowly" end users.

      --

      I'll see your senator, and I'll raise you two judges.
  150. Re:This person is giving bad advice! MOD HIM DOWN by HuguesT · · Score: 1

    > 1) Use port forwarding over ssh instead of
    > DISPLAY=insecure_as_hell. Please, firewall X
    > (6001-6006)!

    Well, if you encrypt all of your X connections that
    may be the reason why you feel X is slow.

    Use xauth authentication and X is not insecure
    and is fast.

  151. Transparency done right: by moogla · · Score: 1

    It's my hope that they allow (like in the OpenGL standard) for various classes of transparency. There's a whole list of them, but it amounts to the sort of "mixing modes" you can assign to layers in Photoshop, wherein the amount of mixing is controlled by the alpha channel. This would allow for different types of transparency that would be appropriate for the application, and could clue you in to the stacking order of windows (it looks different in different orders if you use subtractive vs. blend vs. multiply). Also, the open window list / stacking order should probably be indicated somewhere on the screen anyway, like in a gnome-panel-lookalike.

    As an aside, it's called the alpha channel because the values represent the a parameter used in the blending functions. For example, a standard blend would be:
    d = s_1 * a + s_2 * (1 - a)

    --
    Black holes are where the Matrix raised SIGFPE
  152. Re:Don't know if this is it, though it sounds good by HuguesT · · Score: 1

    I'm having terrible experiences with the Nvidia
    closed source driver from their hardware. It does
    work for 3D acceleration but it doesn't play nice
    with Xinerama (dual head) and it crashes all the
    time. I have a TNT2+Millenium I, a dual PIII-500
    and running 7.1 with 2.4.12-ac4.

  153. X is nothing but a protocol... by Svartalf · · Score: 3, Interesting

    Ok, here's a little thought experiment for you...

    You've got a server machine with all those shared libs, right? Does an X terminal need those shared libs locally on itself to operate or can you get things like KDE to run on the X terminal session? No? If it's a "no", those shared libs are an application interface to X to make it easier to use its protocol accordingly.

    Another experiment for you...

    Take those shared libs and the apps that use them. Rip out the XFree86 server and replace it with a GGI or the XDirectFB server. So long as your apps don't use DGA or SHM (and maybe even then...) your apps will still work largely the same- why? Because, X, at its heart, is a protocol not shared libraries, etc. It has to be for it to all work transparently over a network with so many differing GUI rendering targets.

    --
    I am not merely a "consumer" or a "taxpayer". I am a Citizen of the State of Texas
  154. Sigh... by Svartalf · · Score: 2

    Network transparency for a tuner card, DVD player, many video games, etc. is verging on irrelevant- you're wasting loads of energy and efficiency for something that will, under almost all cases, never ever be used in that manner (I challenge you to play Quake 3 via remote- you'll not be doing very well...). For those things, peak performance is what matters.

    --
    I am not merely a "consumer" or a "taxpayer". I am a Citizen of the State of Texas
    1. Re:Sigh... by p3d0 · · Score: 1

      Agreed. What does this have to do with my comment?

      --
      Patrick Doyle
      I mod down every jackass who puts his moderation policy in his sig. Oh, wait a sec....
  155. Each of these things are still indirection... by Svartalf · · Score: 2

    Any time you're using any sort of RPC mechanism, you're adding some sort of indirection (and if SHM was so great, why are people using DGA with things like xawtv?)

    --
    I am not merely a "consumer" or a "taxpayer". I am a Citizen of the State of Texas
    1. Re:Each of these things are still indirection... by mj6798 · · Score: 2
      Shared memory in X11 is great and widely used. You are not going to do any better with any other protected mode software API. Windows GDI is actually considerably worse.

      TV cards have special hardware to stuff bits from the frame grabber directly into the frame buffer without any software intervention. To arrange for that to happen, applications need special APIs to lock and manipulate frame buffer memory, and those happen to be implemented in DGA. That has nothing to do with whether DGA is good or bad for normal graphics operations.

  156. Did I say that we needed to put X into the kernel? by Svartalf · · Score: 2

    No.

    I did, however, say that some things didn't need network transparency or the indirection caused by all the trips to the server and back. Doesn't matter if it's unix domain sockets or network sockets (which is picking nits, BTW)- it's still indirection and a lot of it that things like SHM doesn't fix (If it did, why do we have things like V4L support and DGA in XFree86?).

    --
    I am not merely a "consumer" or a "taxpayer". I am a Citizen of the State of Texas
  157. How about Correctness? by ncoder · · Score: 2, Insightful

    One point not mentionned here: DirectFB is actually a solution to an old and ugly problem. Anyone here hate having this big heavy ROOT app running on your desktop 24/7? Anyone asked themselfs why this video output device isn't treated as every other device in the system : as a kernel driver? Moreover, who here has seen how insanely complex DRI is? It shoudn't be. This DirectFB with acceleration buit-in, is an answer to reestablish order to the Linux world. Push back video driver stuff back in the kernel, make shure it's stable, and leave complexety and crash prone code outside of root code. I see X on top of the DirectFB as an excellent solution to a cleaner, more stable, easyer to port Linux.

    1. Re:How about Correctness? by luugi · · Score: 1

      Push back video driver stuff back in the kernel, make shure it's stable, and leave complexety and crash prone code outside of root code.

      So you want to put the crash prone code in the kernel?

      --
      Think like a man of action, act like a man of thought.
    2. Re:How about Correctness? by salutmongars · · Score: 1

      What DRI tries to do is to allow applications running on Xserver to 'bypass' the X protocol for doing their graphics operations directly, the reason why their code is so ugly and complicated.

      Starting from a direct rendering 'server', like directFB, and then adding a transparent layer for network applications would probably be a much more efficient way to get the same behavior.

      So, GO DIRECTFB, GO!!!

  158. XFree86 isnt slow... by memyselfandmyhand · · Score: 2, Informative

    Everyone seems to be going on about how slow XFree86 is, and how we need a direct framebuffer layer bla bla bla... well on my box, Quake3 runs about 20% faster in Linux than it does in Windows.

    Hardware: ASUS-CUV4X (via chipset), p3 866, 390mb RAM, Geforce256+32mb
    Linux: Redhat 6.1 upgraded to Xf86-4.02, kernel 2.4.6, NVidia-1.0-1541
    Windows: WinME with latest NV drivers, and all tweaks. (Was win2k and that was even slower)

    Nothing special about that system, and I don't have any speed problems. Admitadly X does take up a fair bit Of hard drive, and about 4 megs of ram, but its I could scale that down pretty easily

  159. Ok, I downloaded the nVidia driver by uradu · · Score: 2

    It basically works, except for one glaring annoyance: at 1600x1200 the right quarter of the screen (starting about one inch from the top of my 19" monitor) seems to be displaying some memory locations other than the framebuffer. This area shows funky colored bars, which dance around within that area then I move windows around. The rest of the display is perfectly fine and snappy. Strange indeed.

  160. Re:because by Anonymous Coward · · Score: 0

    Please stay there. We don't need smelly socialist scum like you over here. When the KGB is poking you with hot irons I'll be wathing it on MS-TV.

  161. Unix Haters hosting. by Anonymous Coward · · Score: 0

    From Netcraft.com

    [The site www.catalog.com is running Apache/1.3.12 (Unix) on Solaris 8.]

    'nuff said.

  162. X is designed for high latency by mj6798 · · Score: 2

    The X protocol is designed for, and works just fine with, high latency links. The problem is with applications and toolkits that add unnecessary synchronization points by asking for lots of server information repeatedly, by asking for events at the wrong time and with the wrong APIs, etc. (some "modern" toolkits are particular offenders). But LBX also provides partial workaround for that by caching a lot of information.

  163. your history is wrong by mj6798 · · Score: 2
    The whole X window system was designed from the get go with the idea of having a dumb terminal at the user end.

    X11 was designed from the start to allow implementations on both thin clients and workstations, a goal that it achieved admirably. The X11 designers, developers, and users were, from the start, primarily workstation users. Project Athena, one of the main users of early X11 implementations, was a big network of workstations, not thin clients. And the people who designed X11 knew what they were doing, given that they had several years of experience with X10.

    1. Re:your history is wrong by Alomex · · Score: 2

      X11 was designed from the start to allow implementations on both thin clients and workstations, a goal that it achieved admirably.

      False. That is what they like to claim but the facts do not support their inflated statements.

      As I said, X operates under the illusion that is supporting thin-clients, illusion that you have have bought into wholesale, I might add.

      The facts are that there are no thin x-clients, and will never be. Having purchased many an X-terminal, I know first hand historical prices of bare-bones X terminals. X requires enough juice on the client side that you might as well have a PC/workstation, and that is exactly what you historically have paid for.

      But once you have this PC-like device sitting in front of you (likely labelled NCD) can it run any program locally? No, because according to Athena it is a "thin client".

      The sooner we recognize the abject failure X is, the faster somebody else will come up with a decent alternative. So far OS X is in the lead.

  164. Good to know by Derci · · Score: 1

    I was begining to think that something is smelly here. :)

    --

    -- The ballad of arrivederci
  165. Re:Great! by Znork · · Score: 2

    Um, having developed for X for a long time, I must ask, what exactly is the problem? For plain GUI apps there isnt any that I've seen. Pick the toolkit that fits you the best and go ahead. What windowmanager unknowns? If you're dealing with the windowmanager outside of your chosen API you're going to make a very annoying application that doesnt work according to user preferences. Let the API and windowmanager work that out. Same if you're even close to getting to the parts of X programming that could reasonably be called 'aged' or 'cranky' (or more correctly, a PITA lowlevel API). If you're messing around there, you're not doing things right. Those parts were not meant to be used by the ordinary average application programmer, they were meant to be used by the toolkit designers. That's like dumping Win32 going for the lowerlevel parts of windows.

    We have a secure, fast, reliable and stable standard. It's called X.

  166. Comment removed by account_deleted · · Score: 2

    Comment removed based on user account deletion

  167. Re:Great! by Pierre+Phaneuf · · Score: 1

    Svgalib has the architecture to support hardware acceleration, but the drivers are crap. No alpha support in the API (that was back in the day that alpha was science-fiction stuff). Should die and stay dead IMHO.

    I don't know anything about QtE.

    aalib, please.

    GGI is supposed to support hardware acceleration, but I don't know about alpha. I also don't know about the status of their drivers and how much they accelerate.

    I don't know much about MicroWindows/NanoX. Transparency is mentioned.

    There is also SDL, which has a FB target that provides some acceleration for a few cards, and there is also alpha support. I do not know the extent of the acceleration.

    My opinion is that when you have a properly abstracted API, adding hardware acceleration is not that hard (it's basically as hard as the hardware makes it). The problem is when the hardware has features that the API doesn't have anything close, like for example alpha transparency in the Xlib API. XRender basically extends the API to have this, and even provides hardware accelerated implementations for some cards.

    So citing "hardware accelerated" as a feature is not that impressive. It all depends on the API being flexible enough.

    What I do see DirectFB providing is a single-application window support, much like OpenGUI does. OpenGUI supports the framebuffer, Svgalib, DGA2 and Mesa as back ends. Accelerations for the framebuffer could be much less than what is provided by DirectFB, but still, consider that it could be the exact same thing.

    While none are exact replacement for each others, there is a HUGE amount of overlap between what all of these projects do. There is definitely room for some unification.

    Why don't someone write a Xlib driver for DirectFB?

    Why isn't DirectFB limited to the simple task of doing hardware acceleration, and something like OpenGUI layered upon it to take advantage of those acceleration?

    Why do everyone think that a library that can only have one single application at a time can suddenly replace X?