Slashdot Mirror


Wayland, a New X Server For Linux

An anonymous reader writes "Phoronix has a new article out on Wayland: A New X Server For Linux. One of Red Hat's engineers has started writing a new X11 server around today's needs and to eliminate the cruft that has been in this critical piece of free software for more than a decade. This new server is called Wayland and it is designed with newer hardware features like kernel mode-setting and a kernel memory manager for graphics. Wayland is also dramatically simpler to target for in development. A compositing manager is embedded into the Wayland server and ensures 'every frame is perfect' according to the project's leader."

487 comments

  1. Thank you! by Anonymous Coward · · Score: 2, Insightful

    Thank you sweet Jesus! Finally somebody is doing something that should have been done looooong time ago!

    1. Re:Thank you! by Anonymous Coward · · Score: 5, Insightful

      Instead of taking the initiative and starting the project yourself, like this guy did.

    2. Re:Thank you! by amorsen · · Score: 5, Insightful

      Thank you sweet Jesus! Finally somebody is doing something that should have been done looooong time ago!

      People have been doing bits and pieces of it for a long time. Client-side font handling, client-side rendering in general, kernel mode setting... Without those things, this project would be a lot larger.

      This is quite typical of free software by the way: A lot of things are quietly replaced and enhanced without anyone noticing, and suddenly someone uses all the changed bits to create something radically new.

      --
      Finally! A year of moderation! Ready for 2019?
    3. Re:Thank you! by FishWithAHammer · · Score: 0

      Were I to do it, X wouldn't be the server. X would be an application, as it is on OS X. The massive unpopularity of and certain backlash against such is one reason (along with time, necessary skill, interest, and laziness) I've not done it. That, and, y'know--I'm personally content with a Windows desktop, though I love Linux on my server boxes.

      --
      "You can either have software quality or you can have pointer arithmetic, but you cannot have both at the same time."
    4. Re:Thank you! by dougmc · · Score: 4, Insightful

      X is an application. *And* a server. On OS X as well. And under *nix, and even under Windows (when you add an X server to it.)

      X's architecture works pretty well for what it was written to do. It was written in a time when lots of people used wimpy X terminals and did their work on a shared beefy central server.

      VNC might be more of the architecture you're referring to?

    5. Re:Thank you! by Anonymous Coward · · Score: 1, Interesting

      X is an application. *And* a server. On OS X as well. And under *nix, and even under Windows (when you add an X server to it.)

      Woosh!

      X is an application on OS X (and yes, it's a server, too), but it's not the graphics server. It uses Apple's graphics server to do its magic, like any other application.

      That's what the original poster was referring to -- it's time to move beyond X11 as the graphics server, and just let it be like any other application that can push bits to the screen.

    6. Re:Thank you! by Enderandrew · · Score: 0, Redundant

      I couldn't agree more.

      --
      http://blindscribblings.com - Tasty pop-culture in conceptual fashion.
    7. Re:Thank you! by FishWithAHammer · · Score: 1

      Calling X on Linux an "application," in terms of the modern desktop paradigm, is just plain incorrect. It's the graphics server. How I would do it (and Wayland may; the details are a little fuzzy) is having X as a separate process, an application, that does the wizardry of drawing X windows. But the primary desktop metaphor would trend, as fast as I could shove it, away from X.

      X was great, as you said, for what it's written to do. It's sure as hell not good for what it's being pushed into service for now.

      --
      "You can either have software quality or you can have pointer arithmetic, but you cannot have both at the same time."
    8. Re:Thank you! by grub · · Score: 5, Insightful


      I use X on 32 and 64 bit versions of both OpenBSD and Ubuntu Linux and can't recall it crashing on my anytime in the recent past. Certainly not "all the time" in my experience.

      --
      Trolling is a art,
    9. Re:Thank you! by Ant+P. · · Score: 4, Interesting

      It was done long ago.

    10. Re:Thank you! by uglyduckling · · Score: 5, Informative

      Just like on OSX, you have a rootless X server that is a client (an application if you like) of the native windowing system and acts as a server for the X clients (applications) that need an X server in order to interface with the user. So it is both an application and a server.

    11. Re:Thank you! by msuarezalvarez · · Score: 3, Insightful

      What was the adoption rate of Y? Was it really done? Was it little more that a proof of concept?

      Well, don't let reason get in the way of a seemingly cool reference, though.

    12. Re:Thank you! by siride · · Score: 5, Insightful

      That's almost exactly how it already is right now. This whole thread is a bit strange to me since everyone's complaints about X are based mostly on their misunderstanding of how it actually works.

    13. Re:Thank you! by Ant+P. · · Score: 4, Informative

      The demo apps that came with it worked pretty well. It was a lot smoother than X's compositing window managers at the time at any rate, but that's mostly because nvidia can't write a 2D driver worth shit and Y was software-rendered.

      But like everyone else has said in these comments how is this attempt going to be any different to Y/DFB/GGI/etc?

    14. Re:Thank you! by dougmc · · Score: 4, Informative

      X does not *have* to run the graphics ... just because Xorg/Xfree86 and just X before that (usually?) worked that way, that doesn't mean it's the only way it can be done. Counter-examples include X on OS X (yes, I know, it was mentioned), X on Windows, and even things like Xvnc, Xvfb and Xnest.

      Just because YOUR X server also manages the graphics hardware, that doesn't mean that's an X thing -- it just means it's something else that YOUR X server does. Others may not.

      FishWithAHammer was just not very clear.

    15. Re:Thank you! by Dolda2000 · · Score: 1

      I agree as far as writing a new X11 server would probably be a good idea, but as far as I can tell from the project home page, this is not a new X server, but some completely custom display server.

      Some excerpts from the documentation:

      Window management is largely pushed to the clients, they draw their own decorations and move and resize themselves, typically implemented in a toolkit library. More of the core desktop could be pushed into wayland, for example, stock desktop components such as the panel or the desktop background.

      Everything is direct rendered and composited. No cliprects, no drawing api/protocl between server and client. No pixmaps/windows/drawables, only surfaces (essentially pixmaps). No gcs/fonts, no nested windows. OpenGL is already direct rendered, pixman may be direct rendered which adds the cairo API, or cairo may gain a GL backend.

      Could be a "shell" for launching gdm X server, user session servers, safe mode xservers, graphics text console. From gdm, we could also launch a rdp session, solid ice sessions.

      The wayland protocol is a async object oriented protocol. All requests are method invocations on some object. The request include an object id that uniquely identifies an object on the server. Each object implements an interface and the requests include an opcode that identifies which method in the interface to invoke.

    16. Re:Thank you! by geckipede · · Score: 2, Informative

      How much memory do you have? I've mostly seen X crash while something is hogging all the memory and paging is slowing everything down. It's not common even with limited memory, but it does happen.

    17. Re:Thank you! by rickb928 · · Score: 1

      wow. you sure sucked the life out of that...

      if it works, there will be complaints about how long it took, how it's different, and of course it breaks something obscure but crucial to someone's self-esteem...

      feh.

      --
      deleting the extra space after periods so i can stay relevant, yeah.
    18. Re:Thank you! by Wesley+Felter · · Score: 3, Interesting

      IIRC, Y was not based on a composited architecture, so by today's standards it sucks. It might have made a nice successor to X back in the BeOS days, though.

    19. Re:Thank you! by rs79 · · Score: 2, Interesting

      No, what should have been done a long time ago is to scrap X and use Sun's NeWS. They demo'd it in the 80s and it fixes a lot of problems in any X(/Y).

      Oh well.

      --
      Need Mercedes parts ?
    20. Re:Thank you! by Reikk · · Score: 0, Insightful

      I'm glad to hear this and I hope it works out, but X11 is so ubiquitous I have a feeling Wayland will share the same fate as Berlin

    21. Re:Thank you! by x2A · · Score: 3, Insightful

      "just means it's something else that YOUR X server does. Others may not"

      And you took it the other way...

      Yes X doesn't have to use a hardware framebuffer, yes you can have X on various other virtual framebuffers, but that's going a step in the oposite direction of what people are talking about here. That would be keeping the X server/protocol and throwing out its ability to write to and manage the hardware. What people are talking about is throwing out the X serrver/protocol, and allowing stuff to write more directly to the screen, have more stuff in the kernel, and reduce the number of abstractions and context switches required between the app and the pixels landing on the screen.

      --
      The revolution will not be televised... but it will have a page on Wikipedia
    22. Re:Thank you! by jimmypw · · Score: 1

      To be honest when was the last time you did some serious X hacking? iirc its never crashed on me but its not started for me countless times.

    23. Re:Thank you! by Yetihehe · · Score: 1

      X does not *have* to run the graphics ... just because Xorg/Xfree86 and just X before that (usually?) worked that way, that doesn't mean it's the only way it can be done. Counter-examples include X on OS X (yes, I know, it was mentioned), X on Windows, and even things like Xvnc, Xvfb and Xnest.

      So you say X is like matrix, an application that has been pulled over our eyes to blind us from the truth?

      --
      Extreme Programming - Redundant Array of Inexpensive Developers
    24. Re:Thank you! by redhog · · Score: 1

      And client side (font) rendering is good exactly _how_? That, and gconf instead of xres fucks up ssh-transparency!

      --
      --The knowledge that you are an idiot, is what distinguishes you from one.
    25. Re:Thank you! by QuoteMstr · · Score: 1

      gconf is a nice system; too bad it's not network-transparent.

      That said, you can neatly sidestep the problem by NFS-mounting your home directory.

    26. Re:Thank you! by KingKiki217 · · Score: 1

      +1, Convoluted

      It might just be because it's 2:30 here, but I had to read that a couple times before what you were saying sank in.

    27. Re:Thank you! by Jane_Dozey · · Score: 3, Informative

      I have to say, running on 512K ram and it seems to be fine. The only time I've had a real problem with X is when I start fiddling with Nvidia drivers and 3D acceleration. I've always put that down to the drivers not playing nicely though.

      --
      Silly rabbit
    28. Re:Thank you! by amorsen · · Score: 3, Informative

      And client side (font) rendering is good exactly _how_?

      It means innovation can happen in the client libraries and not have to wait for all the servers to catch up. It can lead to fewer roundtrips between clients and servers.

      You should never enshrine complex things in protocol specifications; protocols change way too slowly. Font rendering used to be a simple thing, but the demands of modern applications force it to be complex, and the X11 protocol simply can't keep up. Nor should it.

      I don't have client-side rendering problems with ssh transparency. If anything, it helps that you don't have to install all the fonts an application needs on all the X-servers it might end up running on.

      --
      Finally! A year of moderation! Ready for 2019?
    29. Re:Thank you! by some+old+guy · · Score: 1

      Don't thank Jesus, my friend. It's named for an Anglo-Saxon god of blacksmithing. :)

      --
      Scruting the inscrutable for over 50 years.
    30. Re:Thank you! by makomk · · Score: 3, Insightful

      Window management is largely pushed to the clients, they draw their own decorations and move and resize themselves, typically implemented in a toolkit library. More of the core desktop could be pushed into wayland, for example, stock desktop components such as the panel or the desktop background.

      Wonderful. Microsoft Windows works that way, and it sucks - whenever an application locks up, it becomes impossible to move or resize its window (and in older versions of Windows without the appropriate hacks, impossible to minimise it either).

    31. Re:Thank you! by DerWulf · · Score: 0, Troll

      This answer was predictable ... MY wireless works fine, I'VE got a year uptime, NO computer EVER crashed while I was around. Don't you see that you can't refute a general statement with an anecdote?

      --

      ___
      No power in the 'verse can stop me
    32. Re:Thank you! by Anonymous Coward · · Score: 0

      >in a time
      ?

      hey there are alot of us using the terminal + beefy server model and we like it.

      VNC is is PITA. We use X with dual monitor terminals in a config with network booted OS with local apps (web browser+flash plays youtuby just gr8) and it is certainly the way to go for easy maintainable networks.

    33. Re:Thank you! by Anonymous Coward · · Score: 0

      Something has to run the hardware, be it X or anything else. Who's to say anything else would be more stable than the above cut-down X server?

    34. Re:Thank you! by Froggie · · Score: 2, Informative

      Care to clarify what you mean?

      Something has to run the graphics. In general, in Unix, this would be a process or the kernel. Assuming you don't think it's a good responsibility for the kernel (it really isn't, other than the memory protection issues that come up with memory-accessing and memory-mapped hardware) then it has to be a process.

      Things share the screen in graphical environments. One piece co-ordinates that sharing and manages the desktop. That process is therefore providing a service and is always a server, whether it's X or the MacOS system.

      So, userspace server it is, then.

    35. Re:Thank you! by redhog · · Score: 1

      NFS is NOT transparent. Anywhere. sshfs would get a bit closer, but sshfs, plus gconf PATH-config to have it read one more directory, done automatically when you ssh somewhere with X-forwarding enabled, is rather a bit more clumsy than X-resoures, to say the least.

      The problem is that nowdays, Linux-hackers live on their little home-gaming-machines and don't think further than their non-network enabled yousticks!

      --
      --The knowledge that you are an idiot, is what distinguishes you from one.
    36. Re:Thank you! by redhog · · Score: 1

      > I don't have client-side rendering problems with ssh transparency. If anything, it helps that you don't have to install all the fonts an application needs on all the X-servers it might end up running on.

      And then all your apps look different - and you have a desktop like a Christmas tree. Wow, how network transparent.

      --
      --The knowledge that you are an idiot, is what distinguishes you from one.
    37. Re:Thank you! by x2A · · Score: 2, Informative

      "Who's to say anything else would be more stable than the above cut-down X server?"

      I think the point of Wayland is that it's actually not an X server at all (despite misleading article title) but could be used as an X server replacement for Linux; applications would have to be written or ported to it as it wouldn't be running the X protocol (however, a port of the X server could allow X apps to run in the same way as running an X server on Windows or OSX allows you to use X apps on those platforms).

      All in all, this seems like A Good Thing(tm)

      --
      The revolution will not be televised... but it will have a page on Wikipedia
    38. Re:Thank you! by jellomizer · · Score: 1

      Client side (font) render is good because it renders the font on the client which normally has more free CPU to do the work then the server. Secondly you are sending the text to be rendered vs. the graphics, 8 - 16 bits per character vs 3456 bits for a 12x12 character. Or are you still bitter about the Anti-Aliasing thing because you need a monitor that can do 1024x768 graphics for it to be start to look nice?

      --
      If something is so important that you feel the need to post it on the internet... It probably isn't that important.
    39. Re:Thank you! by Anonymous Coward · · Score: 1, Insightful

      128mb with compiz and firefox2, i never had a crash with intel drivers! dont blame x when 90% of the time its the drivers!

    40. Re:Thank you! by Anonymous Coward · · Score: 0

      What if the original post is the anecdote?

    41. Re:Thank you! by grub · · Score: 1

      After some updates I've had to modify my X configs to get my second monitor up with the Nvidia blobs. Also had to do similar stuff to have a third monitor a while back but that's all I can think of in several years.

      --
      Trolling is a art,
    42. Re:Thank you! by grub · · Score: 1

      I was comparing my experience to a general blanket statement, there was no refutation. Apples to apples.

      --
      Trolling is a art,
    43. Re:Thank you! by Anonymous Coward · · Score: 1, Insightful

      Care to clarify what you mean?

      Doubtful. Most of the people who criticize X seem to have no idea how it works or what its actual problems and capabilities are. Every time there is a story about it here on Slashdot the comments run the same way. My guess is that people don't like X because it is old.

    44. Re:Thank you! by fgouget · · Score: 1

      How much memory do you have? I've mostly seen X crash while something is hogging all the memory and paging is slowing everything down.

      X does crash through its own fault too. I have an ATI 7500 which is about 8 years old so you'd think that by now all the bugs would have been worked out. But if I start doing 3D stuff for more than 5 minutes there's a fifty percent chance the X display will be filled with goo that will only go away after a reboot, or will crash altogether. Furthermore I'm using xserver-xorg-video-ati 6.6.3 because the newer versions (at least 6.8.0) couldn't even initialize my graphics card HDMI port correctly (ok, I'll have to try again with 6.9.0 but I'm not holding my breath). (There's also annoying colored pixels surrounding text when I scroll a page with a non-white background in Firefox, but I'm not 100% sure if that's the driver's fault)

      Finally, I'm involved in the Wine project and I regularly get to hear about other X drivers either causing rendering issues or outright crashes. So I strongly disagree with your insinuation that an X crash can only have external causes (yeah, I lump X and its drivers together because for a user they are one and the same).

    45. Re:Thank you! by Qalthos · · Score: 1

      You can run X on 512K of ram?

      I usually need at least 640K...

    46. Re:Thank you! by SimHacker · · Score: 1

      Yay! I agree!

      Actually, the world ended up adopting NeWS's architecture -- it's just called AJAX now.

      NeWS was just like AJAX, except that it used PostScript instead of JavaScript for programming, PostScript instead of DHTML for rendering, and PostScript instead of XML for data representation.

      -Don

      --
      Take a look and feel free: http://www.PieMenu.com
    47. Re:Thank you! by plazman30 · · Score: 1

      Yeah, X really need helps in the fast user switching Arena. Only one user can have desktop effects enabled, and switching between users cause my screen to go black, and I have to kill X about half the time.

    48. Re:Thank you! by vidarh · · Score: 1
      I think you're confusing the client and the server. With X, the server is the process that actually displays the screen, and the client is the application that displays something on the server. With client-side font rendering, the rendering is happening on the host that runs the application, and you are sending the graphics, NOT the text.

      There are benefits to client-side font rendering, but reduced bandwidth usage when used over the network is not one of them.

    49. Re:Thank you! by TruthfulLiar · · Score: 2, Informative

      The problem with Windows is not that window drawing is done on by the client. The problem is that no event can be processed without the wndproc for that window looking at it first. So if the application isn't processing events, the window can't move. X does it a bit differently in that you only receive events you request. Most X apps probably aren't interested in processing the move event, but if it does process it, I'll bet you'll get a similar effect with X.

    50. Re:Thank you! by colmore · · Score: 1

      Well that should be enough.

      For anyone, I'd imagine.

      --
      In Capitalist America, bank robs you!
    51. Re:Thank you! by Eravnrekaree · · Score: 1

      I think this project is overrated and the notion that there is anything wrong with the current X server is basically based on misconceptions by people who dont really understrand what they are talking about. The current X server is actually pretty useable, does not take a lot of ram, is efficient, and has been kept up to date with new technology while maintaining backwards compatability. Anyone who actually believes you have to sacrifice backwards compatability to be able to implement new features and improve the system should not be involved with software design. All sorts of new features have been added to X through extensions whhile assuring old and new clients and servers can interoperate. Binary compatability is of great value as I am often using older X terminals with new Linux systems. The last thing we want is a million incompatable versions which cant talk to each other.

      Also the idea that things should be moved into kernel space is a bad idea. The bare minumum of the GUI should be in the kernel space. The kernel should be able to reset the video card in case X crashes, but I do not believe we should move video drivers and such into the kernel. Instead of just having X crash because of a bad driver, you can take down the whole operating system. Again people really dont understand the issues and how X works. X uses highly efficient shared memory communication between X server and clients and there is no substaintail benefit to placing the X server in the kernel or not having a client server module. The benefits of being able to use X over a network is great and there is no real downside to client server model.

    52. Re:Thank you! by metamatic · · Score: 1

      It can lead to fewer roundtrips between clients and servers.

      How can rendering the font on the client and sending it to the server as a bitmap result in fewer roundtrips between client and server?

      --
      GCHQ Quantum Insert installed. If only our tongues were made of glass, how much more careful we would be when we speak
    53. Re:Thank you! by Anubis350 · · Score: 1

      But like everyone else has said in these comments how is this attempt going to be any different to Y/DFB/GGI/etc?
      It's backed by a company with both money and a customer base that be transitioned?
      (that's assuming redhat really backs it of course instead of just an engineer working on it who also happens to work for redhat)

      --
      "goodbye and hello, as always" ~Prince Corwin, from Zelazny's Amber series
    54. Re:Thank you! by amorsen · · Score: 1

      How can rendering the font on the client and sending it to the server as a bitmap result in fewer roundtrips between client and server?

      The client knows what it wants on the screen. It just dumps it all there in one transaction. No queries for available fonts or anything.

      --
      Finally! A year of moderation! Ready for 2019?
    55. Re:Thank you! by supernova_hq · · Score: 1

      please don't make X like win32, please don't make X like win32, please don't make X like win32...

    56. Re:Thank you! by metamatic · · Score: 1

      In other words, the client can do its own compositing to produce a single UI bitmap? I guess that's possible, but realistically, how many clients will do that?

      --
      GCHQ Quantum Insert installed. If only our tongues were made of glass, how much more careful we would be when we speak
    57. Re:Thank you! by heeen · · Score: 0

      I don't know which version of windows you last used, but on XP a locked processes window will be replaced transparently by a dummy window handled by the system, which can be moved and resized instead of the original window. If the process ever catches up it gets the new position as if the replacement never happened.

    58. Re:Thank you! by spitzak · · Score: 1

      How can rendering the font on the client and sending it to the server as a bitmap result in fewer roundtrips between client and server?

      Because if you look at a real program you will find that there are about 10 times as many calls to "measure" the letters than to actually draw them.

      In addition the "measure" api is synchronous (because it returns some information) so it cannot be streamed.

      The overhead of sending a small picture in a stream verses a glyph number is actually pretty minor.

      In addition the images are cached on the server, so each letter is sent only once.

    59. Re:Thank you! by spitzak · · Score: 1

      Yes this is exactly the solution that can be used.

    60. Re:Thank you! by F'Nok · · Score: 1

      I have an ATI 7500 which is about 8 years old so you'd think that by now all the bugs would have been worked out. But if I start doing 3D stuff for more than 5 minutes there's a fifty percent chance the X display will be filled with goo that will only go away after a reboot, or will crash altogether. Furthermore I'm using xserver-xorg-video-ati 6.6.3 because the newer versions (at least 6.8.0) couldn't even initialize my graphics card HDMI port...

      I think you may be mistaken, or lying.

      HDMI hardware wasn't in ANY devices until 2003, which is five years ago.

    61. Re:Thank you! by fgouget · · Score: 1

      I was indeed mistaken (realised it a bit after I had sent the post). The card has three outputs: a VGA port, an S-VHS port and... a DVI port. The DVI port is connected to the HDMI entry of the LCD screen. Now, does that change anything to whether X is stable or not?

    62. Re:Thank you! by Anonymous Coward · · Score: 0

      oh boooo!

    63. Re:Thank you! by hummassa · · Score: 1

      I think the point of Wayland is that it's actually not an X server at all (despite misleading article title) but could be used as an X server replacement for Linux; applications would have to be written or ported to it as it wouldn't be running the X protocol (however, a port of the X server could allow X apps to run in the same way as running an X server on Windows or OSX allows you to use X apps on those platforms).

      All in all, this seems like A Good Thing(tm)

      Where did you get this idea? The article implied in its text that Wayland is an Xserver, but one with another API besides the X protocol. And yes, I RTFA.

      --
      It's better to be the foot on the boot than the face on the pavement. ~~ tkx Kadin2048
    64. Re:Thank you! by Anonymous Coward · · Score: 0

      X was a network based windowing system. However, everything developed for it for the last several years has been achievable only with shared memory. The result is very useful, but we've gotten to the stage that the extensions are more important than the original.

      If Wayland is trying to chop out the original code and make a compatibility layer for it, I can only wish them the best of luck.

    65. Re:Thank you! by darkpixel2k · · Score: 1

      I was indeed mistaken (realised it a bit after I had sent the post). The card has three outputs: a VGA port, an S-VHS port and... a DVI port. The DVI port is connected to the HDMI entry of the LCD screen. Now, does that change anything to whether X is stable or not?

      No, but it does put into question the other statements you make. Will you be offering the same apology later? 'I was indeed mistaken (realized it a bit after I had sent the post). It appears it wasn't X crashing, but rather my video card due to overheating because my computer is 10 years old and full of dust.'

      --
      There's no place like ::1 (I've completed my transition to IPv6)
    66. Re:Thank you! by fgouget · · Score: 1

      No, but it does put into question the other statements you make. Will you be offering the same apology later? 'I was indeed mistaken (realized it a bit after I had sent the post). It appears it wasn't X crashing, but rather my video card due to overheating because my computer is 10 years old and full of dust.'

      So you're saying the dust is causing the crahs and not the X server. And dust is supposed to accumulate specifically when I try the newer server versions, and goes away right as soon as I downgrade.

      I hope you do realize this your attitude is very counter productive.

    67. Re:Thank you! by CarpetShark · · Score: 1

      No offense to you as the messenger, but that's just about the ugliest hack I've ever heard of.

  2. Does this... by AKAImBatman · · Score: 4, Interesting

    ...spell the death-knell of X-based graphics drivers? Does this mean that such drivers will finally be folded into pure kernel modules with no fancy wrappers required? Does that also mean that we can eliminate X as a dependency for playing video games, and using Linux in multimedia or kiosk environments?

    1. Re:Does this... by betterunixthanunix · · Score: 5, Funny

      ...year of Linux at last?

      --
      Palm trees and 8
    2. Re:Does this... by KasperMeerts · · Score: 5, Insightful

      Now only to convince nVidia to release their drivers for this new X. As long as these things don't happen, this probably won't take off.
      Man, we really need OSS drivers.

      --
      As long as there are slaughterhouses, there will be battlefields.
    3. Re:Does this... by fxkr · · Score: 5, Funny

      ...year of Linux at last?

      This sentence no verb and no desktop.

    4. Re:Does this... by jav1231 · · Score: 2, Insightful

      No. This means there another X server thrown into the mix. Superior? Probably. Will it matter? Not likely. It's simply another piece of code to be debated and which will stave off Linux on the Desktop another 5 years.

      The great thing about collaboration is that people can all contribute to a multitude of projects. The bad thing is that there's a multitude of projects.

    5. Re:Does this... by F-3582 · · Score: 5, Interesting

      They'll probably do the same thing they did with X.Org: Circumvent the entire thing.

    6. Re:Does this... by AKAImBatman · · Score: 5, Interesting

      But if you're going to "get rid of the cruft", doesn't that suggest that you'd want to move to an architecture that depends on the kernel's graphics subsystem rather than maintaining a zoo of obsolete usermode drivers?

      Hardware is the purview of the kernel. Or at least the Hardware Abstraction Layer. (Depending upon your OS's architecture.) Today's X servers still support all kinds of usermode drivers, just so that 95% of configurations can thunk it all to the kernel. Thus there doesn't seem to be much point in providing the graphics drivers in the X server. Better to let the kernel do its job while the X server does its job of drawing the GUI through interpreting a series of abstract commands.

      As a bonus, the graphical system becomes available to a variety of programs that desire low-level access to the graphics card rather than running an X server.

      Perhaps I'm being naive, but why wouldn't a clean separation between the graphics system and the kernel drivers be an advantageous goal?

    7. Re:Does this... by imbaczek · · Score: 5, Funny

      He accidentally the whole verb and the whole desktop.

    8. Re:Does this... by jonbryce · · Score: 2, Interesting

      Didn't Microsoft do this in NT4, and wasn't it a very bad move for security and stability?

    9. Re:Does this... by Tubal-Cain · · Score: 2, Informative

      Getting it into the Ubuntu repos probably wouldn't hurt, either. (Sad that a single distro can have that much influence)

    10. Re:Does this... by AKAImBatman · · Score: 5, Interesting

      Microsoft moved the ENTIRE graphical subsystem to the kernel. Which made things faster, but did make them less stable and less secure. (Sun also had an option to take this route in Solaris.) This would be like taking the entire X server and cramming it down into the kernel.

      I'm not suggesting anything quite so extreme. Rather, I'm talking about leaving device control in the hands of the device manager (i.e. the kernel or the HAL) and having the X server access the device through a standard driver interface. Much like audio, mouse, keyboard, networking, and storage are all handled by the kernel.

      FWIW, Microsoft left the graphics in the kernel. They did add some extra checks to stabilize it, but we're all living with those kernel graphics today.

    11. Re:Does this... by fm6 · · Score: 1, Insightful

      And forgot that a better X server isn't going to make a lot of people switch to Linux.

    12. Re:Does this... by bhtooefr · · Score: 2, Interesting

      Doesn't Vista finally move the graphics into userland?

      And, the funny thing is, Microsoft's been screwing this up for years now, starting with OS/2 1.1. It was IBM's turn to work with OS/2 1.3, and they quickly moved it out of the kernel. But, Windows NT was a fork of OS/2 1.2, not 1.3.

    13. Re:Does this... by khellendros1984 · · Score: 5, Insightful

      I disagree. I think that a single distro gaining popularity will be instrumental for standardizing what is expected of Linux for introduction into a larger market...that is, to give hardware and software developers a system to work in that's more standardized.

      --
      It is pitch black. You are likely to be eaten by a grue.
    14. Re:Does this... by lotho+brandybuck · · Score: 5, Funny

      Getting it into the Ubuntu repos probably wouldn't hurt, either. (Sad that a single distro can have that much influence)

      Wow. The Economy must be bad! People are getting their Ubuntus repossessed!

    15. Re:Does this... by techno-vampire · · Score: 5, Insightful

      You do understand, don't you, that the reason the nVidia drivers aren't in the Ubuntu (or Fedora) repos are that they're not OSS? Ubuntu will quite happily download and install them if needed, but they'll also make sure you know they're third-party and not supported by Ubuntu. For Fedora, you need to add a third-party repo (livna) after which installing the drivers and keeping them current is simplicity itself. I don't know about other distros, but I'd presume it's similar for all of them, with the probable exception of Gentoo.

      --
      Good, inexpensive web hosting
    16. Re:Does this... by Enderandrew · · Score: 2, Informative

      All the really big players keep them in a separate repository. The "biggest" distro that I know that includes them normally would be Gentoo as you mentioned, and Sabayon, a Gentoo off-shoot.

      --
      http://blindscribblings.com - Tasty pop-culture in conceptual fashion.
    17. Re:Does this... by MostAwesomeDude · · Score: 5, Informative

      I don't understand why you were modded down, when you are technically correct: nVidia's driver stack simply doesn't use most of X.org's API/ABI. There are actually bits and pieces of X that we'd like to deprecate, but we can't because the nVidia blobs need them in order to do their thing.

      --
      ~ C.
    18. Re:Does this... by Enderandrew · · Score: 1

      X could be shoved into the kernel and work only for the following reasons.

      The kernel is extremely modular and you could just not compile it in for an embedded device, or headless device.

      Secondly, you could still boot to run levels, so if there was a problem with X, you could just drop to a lower level and still fix it.

      In Windows, a graphical problem means Windows is hosed, and there isn't much you can do to fix it.

      If X moved to the kernel, I imagine X would be greatly improved because more devs would review it, rewrite it, and fix it. Right now X is largely ignored and that is a big part of the problem.

      That being said, I prefer the approach here of Fedora forking X.

      --
      http://blindscribblings.com - Tasty pop-culture in conceptual fashion.
    19. Re:Does this... by Enderandrew · · Score: 3, Interesting

      Not that I'm aware of. Even the server 2008 kernel (which allows you to boot into a console) has the graphics in the kernel.

      --
      http://blindscribblings.com - Tasty pop-culture in conceptual fashion.
    20. Re:Does this... by LingNoi · · Score: 1

      It's simply another piece of code to be debated and which will stave off Linux on the Desktop another 5 years.

      Change is good, it's what makes superior solutions become available and the best solution picked. Stop complaining that Linux isn't like Windows with its one setup.

    21. Re:Does this... by Tubal-Cain · · Score: 2

      I was referring to Wayland, not nVidia's drivers. Sorry for the ambiguity.

    22. Re:Does this... by dbIII · · Score: 1

      and using Linux in multimedia or kiosk environments?

      Call me a dreamer if you like, but I predict that by 1999 linux will be deployed in multimedia and kiosk environments. Perhaps by 2008 it way even appear on telephones small enough for people to carry them in their pockets.

      You'll always need some kind of software to do things with graphics whether it's a frame buffer or something a little bit more involved like X. At the moment people tend to want something that gives you a little more than svgalib which is why you see new hardware supported by X and you see the software running on X.

    23. Re:Does this... by Cyberax · · Score: 5, Informative

      No, Vista removed the most complex bits of drivers from the kernel space. In essence, Vista kernel now controls modesetting, command submission, memory allocation and GPU scheduling. Also, some legacy graphics functions and some parts of USER subsystem remain in the kernel, but by now they are very well debugged and stable.

      The rest (like compiling shaders and window compositing) is done in user-space.

      X.org actually slowly moves to this model.

    24. Re:Does this... by squiggleslash · · Score: 2, Informative

      NT was a ground up rewrite. There's little OS/2 has in common with NT, even though the original intent was that NT be OS/2 version 3. Early in the project, Microsoft ditched the idea, and all that's left of OS/2 is a user-space subsystem that provides most of the OS/2 API with the glaring exception of Presentation Manager (the OS/2 GUI.)

      Microsoft's decision to throw away OS/2 and stop working on it in favour of NT is why Microsoft and IBM split, and then ended up hating one another and acting like children.

      --
      You are not alone. This is not normal. None of this is normal.
    25. Re:Does this... by bhtooefr · · Score: 1

      But the basic OS architecture is lifted straight from OS/2.

      And, technically, all that's left of OS/2 in NT is just that, the basic OS architecture - pinball.vxd was gone after NT 3.51, right?

    26. Re:Does this... by Anonymous Coward · · Score: 0

      One of the big performance changes in NT 4.0 was moving the graphics systems back to the kernel. The NT 3.51 kernel was still free from the ANVSSMTVII3AIIASTDRIOAX-caused crashes. Although using a system without a display would not be very confortable, for remotely managed servers that wouldn't be an issue.

    27. Re:Does this... by BronsCon · · Score: 4, Funny

      And that a better X server isn't going to a lot of people to Linux.

      There, fixed that for ya.

      --
      APK quotes people (including myself) without context and should not be trusted. Just thought you should know.
    28. Re:Does this... by Anonymous Coward · · Score: 4, Funny

      There, that for ya.

      ugh! ug!

    29. Re:Does this... by AKAImBatman · · Score: 1

      Call me crazy, but eliminating X from multimedia and kiosk environments in no way implies that it is not already used in these environments. Rather, it suggests that there may be situations where direct graphical access is preferable. For example, it's always nice to know that some yahoo can't come along and press CTRL-ALT-BACKSPACE to kill X-Windows. It's also nice to be able to eliminate the overhead of X in a memory constrained environment where a sophisticated interface can be achieved with a lot less hardware.

    30. Re:Does this... by enos · · Score: 1

      This should have been done when the move to X.org from XFree happened many years ago. Once nVidia ports their driver people stop caring.

      --
      boldly going forward, 'cause we can't find reverse
    31. Re:Does this... by Randle_Revar · · Score: 5, Informative

      Kernel modesetting is a good thing, but there is no need to put the drivers into the kernel. KMS gets you lots of good things: BSoD (much better than the display freezing with no error message), flicker-free boot, and X could be moved away from needing to run as root.

      As far as the drivers themselves, the best thing for them will be the move to the Gallium3D driver model, which will greatly reduce the amount and complexity of code needed to write a new driver. [1][2][3]

      Keith Packard talks in his blog [4] about kernel mode drivers, but this seems to be KMS + memory management (GEM or TTM), not having, say, the entire Radeon driver in kernel. I guess it depends on how you define drivers. or maybe the difference between classic 2d drivers and DRM drivers (I have never figured out the details of that)?

      >Today's X servers still support all kinds of usermode drivers, just so that 95% of configurations can thunk it all to the kernel.

      All X drivers are usermode. There are graphics drivers that are in the kernel (fbdev), but these are unrelated to X.

      Note: I am not a X dev or even a real programmer, but I follow X blogs, mailing lists, etc, and I try to learn as much as possible about X. If I am wrong about anything here, please correct me!

      [1] http://www.tungstengraphics.com/wiki/index.php/Gallium3D
      [2] http://akademy.kde.org/conference/presentation/9.php
      [3] http://zrusin.blogspot.com/search/label/Gallium3D
      [4] http://keithp.com/blogs/kernel-mode-drivers/

    32. Re:Does this... by Dolda2000 · · Score: 1

      Why would you want to eliminate X from computer games? Wouldn't you normally want them to be managed by your normal window manager, so that you can switch to or from them or play them in windowed mode? I know I do.

    33. Re:Does this... by Tubal-Cain · · Score: 2, Insightful

      We have LSB for that.

    34. Re:Does this... by vmlemon · · Score: 1

      ...year of Linux at last?

      This sentence no verb and no desktop.

      I think this year of Linux will last for ever and ever...

    35. Re:Does this... by vmlemon · · Score: 1

      Hmm, not meaning to troll, but wouldn't that just bloat the Linux kernel up even more? Not sure how that would bode for folks wanting the to port the new Wayland/"NewX" server to other OSes either... Shame no-one's bothered to build an open source version of something like QNX's Photon, in my view. (Just my £0.02, if it's worth that these days).

    36. Re:Does this... by symbolset · · Score: 1

      Cathedral. Bazaar.

      Some of us like the chaotic diversity of deliberate mutation brutally winnowed with Darwinian selection. At least in software. In beer, not so much.

      --
      Help stamp out iliturcy.
    37. Re:Does this... by symbolset · · Score: 1

      It's simply another piece of code to be debated and which will stave off Linux on the Desktop another 5 years.

      Choice. It's bad. It makes us do the choosing. Choosing involves weighing, learning and investigating. That's a lot of work. We should avoid choice.

      --
      Help stamp out iliturcy.
    38. Re:Does this... by Anpheus · · Score: 3, Insightful

      Working well for you, I see.
      --
      </sarcasm>

    39. Re:Does this... by Anpheus · · Score: 1

      Frankly, I find it awesome that (1) the Blue Screen of Death is actually a feature, and (2) that Linux desires to replicate the functionality and hasn't yet after decades.

    40. Re:Does this... by Randle_Revar · · Score: 1

      Yeah, the first time I saw X/kernel people say "Yay, BSoD will be possible!", I didn't know what to think. But it makes sense once it is explained.

    41. Re:Does this... by squiggleslash · · Score: 1

      But the basic OS architecture is lifted straight from OS/2.

      OS/2 has a monolithic architecture. NT was originally a microkernel based system with personalities running over the top that implemented the Win32, Win16, and OS/2 subsystems. They couldn't be less like one another.

      --
      You are not alone. This is not normal. None of this is normal.
    42. Re:Does this... by Anonymous Coward · · Score: 0

      It was only a matter of time before some damned Ubuntu sapper cut his way through the wire and polluted the thread.

    43. Re:Does this... by Anonymous Coward · · Score: 0

      QNX is one of the few successful microkernels. Linux is a monolithic kernel. The differences in architecture help make photon possible.

    44. Re:Does this... by Anonymous Coward · · Score: 0

      Not in Vista - they moved back to a userspace graphics model, where the majority of the driver is user-space, which talks to a kernel-space driver that handles the device itself.

      Almost, but not quite, the same as the current Linux model, where most of the device control is in the kernel, but mode setting isn't.

    45. Re:Does this... by dryeo · · Score: 1

      I have pinball.vxd installed in Win2k. Unluckily it is broken and destroys HPFS partitions larger then 2 GBs.

      --
      https://en.wikipedia.org/wiki/Inverted_totalitarianism
    46. Re:Does this... by dryeo · · Score: 1

      You could buy the Presentation Manager (16 bit version) from Microsoft, then run OS/2 1.x PM programs on NT.
      While you're right about IBM getting pissed about Microsoft changing NT from OS/2 NT ver 3 to Windows NT v3.1 there were other big problems including major arguments about putting the graphics driver into the kernel with Microsoft wanting the graphics in the kernel for performance reasons and IBM not wanting it for stability.
      That pretty well summed up the difference in their philosophies.

      --
      https://en.wikipedia.org/wiki/Inverted_totalitarianism
    47. Re:Does this... by SanityInAnarchy · · Score: 1

      For example, it's always nice to know that some yahoo can't come along and press CTRL-ALT-BACKSPACE to kill X-Windows.

      It's trivial to configure X to not respond to ctrl+alt+backspace.

      It's even easier to simply lock the cabinet to your kiosk, and expose a touchscreen instead of a keyboard. If it has to be a keyboard, well, I've seen Windows kiosks which had the ctrl, alt, and del keys removed.

      It's also nice to be able to eliminate the overhead of X in a memory constrained environment where a sophisticated interface can be achieved with a lot less hardware.

      True enough, but Moore's Law applies to RAM (sort of), effectively making this obsolete -- at least in the kiosk, for now.

      --
      Don't thank God, thank a doctor!
    48. Re:Does this... by 93+Escort+Wagon · · Score: 3, Funny

      u!

      !

      --
      #DeleteChrome
    49. Re:Does this... by afidel · · Score: 1

      MANY years ago? The X.Org foundation was only started in 2004 and most distro's didn't switch to using it right away (OS X 10.5 was the first release with X.Org instead of XFree as an example).

      --
      There are 4 boxes to use in the defense of liberty: soap, ballot, jury, ammo. Use in that order. Starting now.
    50. Re:Does this... by Anonymous Coward · · Score: 0

      > But the basic OS architecture is lifted straight from OS/2.

      No no no, so very wrong.

      Look up Dave Cutler and you'll see how NT's architecture was lifted from VMS.

    51. Re:Does this... by jhol13 · · Score: 1

      <rant>
      Much like audio?

      Yeah, there still is no stable and reliable audio sub-system in Linux. Either lipsync is off or webcam is made the audio device meaning no audio output (as the mobo audio is disabled) or needing to install two to three incompatible mixers/daemons to hear from application Z - or not as they are incompatible.

      Add to the soup the religious disgust towards proprietary drivers and needed updates (to kernel, etc) before the proposed X11 replacement would work.

      I can't wait for Wayland ...
      </rant>

    52. Re:Does this... by uvajed_ekil · · Score: 1

      Now only to convince nVidia to release their drivers for this new X. As long as these things don't happen, this probably won't take off. Man, we really need OSS drivers.

      WHOA!!!!! Slow down there, cowboy. Before convincing nVidia to do anything too progressive we should probably encourage them to market only products that are not faulty by design and that might not die extremely prematurely. Open source drivers, yes, but for those to be of use they must work with chips that consistently function as they are purported to.

      --
      This is a hacked account, for which the owner can not be held responsible.
    53. Re:Does this... by PitaBred · · Score: 2

      Fuck NVidia. Let them fix their binary blob when it breaks. There's a reason it's open source... so people can have the freedom to do the right thing, rather than half-ass backwards compatibility (I'm look at you, win32, and WoW-64).

    54. Re:Does this... by Anonymous Coward · · Score: 1, Insightful

      theres not much special you could do with that binary, even on gentoo ;) install nvidia-drivers and hope they work.

      Most part is indeed getting the X-server to recognize that properly.

    55. Re:Does this... by g-san · · Score: 1

      is the verb "laughing my ass off?"

    56. Re:Does this... by techno-vampire · · Score: 1

      I always thought the whole point of Gentoo was that you compiled everything yourself from source. You mean they're willing to accept binary blobs?

      --
      Good, inexpensive web hosting
    57. Re:Does this... by RAMMS+EIN · · Score: 2, Interesting

      There already is one API to program against if you're a hardware developer who wishes to support Linux. It's called Linux, and it's used by all Linux distributions.

      If you are software developer, there are a number of APIs you can choose from that will work across all reasonable Linux distributions.

      Really, doing cross-distro work isn't that hard.

      What is hard is making your software work on any Linux distro at all if you're going about it the wrong way. Linux isn't about ABI stability, and, with the plethora of different library versions out there that change during upgrades, neither is the userland. The only way to make your software work across different versions and/or different distros is to allow people to compile the code themselves, at least the part of the code that interacts with the operating system. But once you've done that, all the work of compiling and integrating with the plethora of different distros out there can be done by others, and will be if they value your software enough. You don't have to worry about that.

      --
      Please correct me if I got my facts wrong.
    58. Re:Does this... by Mjlner · · Score: 1

      This sentence no verb and no desktop.

      But your sentence desktop!

      --
      Lemon curry???
    59. Re:Does this... by __aardcx5948 · · Score: 4, Interesting

      Then why not force NVIDIA to evolve with Open Source by deprecating the pieces that you/we want to get rid of. I guess ATI would adapt more quickly if not right away, because of their openness. The same with VIA and Intel. NVIDIA would start seeing people buying ATI cards instead for their Linux boxes. (this might've started already though, with the 8000 series and above 2D fiasco)

    60. Re:Does this... by bytesex · · Score: 1

      In Soviet Russia, the desktop you !

      --
      Religion is what happens when nature strikes and groupthink goes wrong.
    61. Re:Does this... by gbjbaanb · · Score: 1

      with Microsoft wanting the graphics in the kernel for performance

      I doubt it, NT 3.51 has userspace graphics. It was NT4 with its Win95-like GUI that moved the graphics subsystem into the kernel.

    62. Re:Does this... by squiggleslash · · Score: 1

      Yeah yeah, the old "VMS=WNT" bullshit. The problem with the "NT is a copy of VMS" complaint is that it's crap. Anyone who's seen the two operating systems knows they have very, very, little in common.

      And VMS has a monolithic architecture. NT was originally a microkernel based system with personalities running over the top that implemented the Win32, Win16, and OS/2 subsystems. They couldn't be less like one another.

      --
      You are not alone. This is not normal. None of this is normal.
    63. Re:Does this... by Anonymous Coward · · Score: 0

      And that a better X server not going to a lot of people to Linux.

      There, that for ya.

      '.

    64. Re:Does this... by cibyr · · Score: 1

      Then you're missing the point of Gentoo, which is to let you do whatever the hell you want.

      One of the ways this is achieved is compiling almost everything from source, with your own configure compiler options. Except it makes doing that really really easy; once you've done things the Gentoo way everything else seems to be really inflexible, full of busywork or both.

      --
      It's not exactly rocket surgery.
    65. Re:Does this... by Anonymous Coward · · Score: 0

      Some of us like to know that the project we've sweated and toiled over won't just die down the line. Evolution is inefficient, and doesn't have forethought.

    66. Re:Does this... by TheRaven64 · · Score: 1

      But if you're going to "get rid of the cruft", doesn't that suggest that you'd want to move to an architecture that depends on the kernel's graphics subsystem rather than maintaining a zoo of obsolete usermode drivers?

      What do you mean 'the' kernel? X.org runs on around a dozen kernels. It only requires a small kernel-dependent bit of code for each driver to be written and the rest is portable. Running it in userspace is safer because it means that bugs can only crash the X server - annoying, but better than them writing over your disk drivers and obliterating your filesystem.

      As a bonus, the graphical system becomes available to a variety of programs that desire low-level access to the graphics card rather than running an X server.

      You can already do this with DRI without using the X server. People don't for two reasons. Firstly, DRI-using programs must run as root because they access the hardware almost directly (the DRM module does things like validate DMA requests and pass the commands directly to the device - you don't want userspace code having to know about things like PCI or AGP). Secondly, because X11 and OpenGL are much more convenient to program for than most graphics cards. Even if you ran Mesa on top of DRI directly, you'd still need to provide a lot that people tend to take for granted when programming.

      --
      I am TheRaven on Soylent News
    67. Re:Does this... by Anonymous Coward · · Score: 1, Insightful

      Because NVIDIA doesn't care about the five people using Linux on the desktop when they can sell cards to Apple and Microsoft users?

    68. Re:Does this... by BronsCon · · Score: 1

      you very much. I don't why I didn't of that myself.

      --
      APK quotes people (including myself) without context and should not be trusted. Just thought you should know.
    69. Re:Does this... by Tdawgless · · Score: 0

      emerge x11-drivers/nvidia-drivers emerge media-video/nvidia-settings

    70. Re:Does this... by Ginger+Unicorn · · Score: 1

      you copied his sarcasm tag but took his comment as if it weren't sarcastic. WOOOOSH!

      --
      (1.21 gigawatts) / (88 miles per hour) = 30 757 874 newtons
    71. Re:Does this... by Anonymous Coward · · Score: 0

      Only the cock-smoking teabaggers that didn't pay their $699

    72. Re:Does this... by cp.tar · · Score: 1

      As Sgt. Detritus would surely tell you, trolls count like that: one, two, many, lots. Base-4.

      --
      Ignore this signature. By order.
    73. Re:Does this... by master_p · · Score: 1

      All these issues exist because CPUs don't provide in-process hardware-isolated components. If such a beast existed, there would not be a issue of where to put the graphics drivers (i.e. in the kernel or in user space).

    74. Re:Does this... by niteice · · Score: 1

      X11R6.7: April 2004
      OS X 10.4: April 2005
      OS X 10.5: October 2007

      Not to mention that Apple puts a large amount of effort into customizing X to their needs. Oh and there's also the little niggle that X is just another application that a very small niche of Mac users need...

      --
      ROMANES EUNT DOMUS
    75. Re:Does this... by 0racle · · Score: 1

      If X moved to the kernel, I imagine X would be greatly improved because more devs ...

      Actually I would expect less developers to look at it. Any Linux developer who wants to look at X already will so you're most likely not going to pick up any developers that way, while at the same time dropping developers for the BSD's, OS X, Solaris/OpenSolaris and every other UNIX and application that uses X.org. There is a whole lot more to the world then just Linux.

      --
      "I use a Mac because I'm just better than you are."
    76. Re:Does this... by jav1231 · · Score: 1

      k..then stop complaining that no one knows how superior Linux is except a bunch of coders and geeks.

    77. Re:Does this... by Anonymous Coward · · Score: 0

      If by "ground up rewrite" you mean port of Win32 onto VMS, of course.

    78. Re:Does this... by bonch · · Score: 1

      "Very little in common?" They have the same I/O manager, the same split memory between the user and the kernel, the same method of demand-paged virtual memory, the same executive layer, the same 32 levels of interrupts, the same scheduling priorities, the same object representation of system resources...etc.

      There were so many similarities that there was an out-of-court settlement between DEC and Microsoft, and Bill Gates pledged support for the DEC Alpha. If there is so little in common, why the settlement?

    79. Re:Does this... by squiggleslash · · Score: 2, Informative

      They have the same I/O manager

      They both have I/O managers

      the same split memory between the user and the kernel

      You sure VMS isn't a rip-off of Linux?

      the same method of demand-paged virtual memory

      They both have demand-paged VM, like most modern operating systems

      the same executive layer

      They both have executive layers.

      the same 32 levels of interrupts

      Wow, so Intel was in on it too?

      the same scheduling priorities

      They both have scheduling priorities, like most modern operating systems - they both happen to have 32 levels.

      the same object representation of system resources

      Oh come on!

      Things you missed: they both have kernels, they both have file systems, they both support filesystems that have a dot separating the name from the extension, they both use ".EXE" as an executable file type, they both have command lines, they both...

      I'll say it again, slowly: VMS is a monolithic operating system. Windows NT uses a microkernel. Like all operating systems, you can find features of one that's in the other. But NT resembles VMS about as much as it resembles Unix. Most of the key components do not resemble one another in any way, the file system, shell (and role of the shell), API, and general architecture are so completely different I'm amazed people continue to bang on with this garbage. You can even SEE WHERE THE SODDING THINGS CAME FROM. Win32 is the Windows API, upgraded to a 32 bit version. Have you seen it? It predates Cutler joining Microsoft by about seven years. It was developed by people who'd seen more Unix than they'd seen VMS. The file system? An advancement on DOS, complete with 8.3 filenames and basic "stream of characters" type files (no indexed record-based file system for you.) The shell? Again, based on DOS, itself based originally on CP/M but with minor modifications, and the shell has little or no use by the operating system itself, unlike VMS where its central to the operating system's operation.

      There's no comparison. They're not the same operating system. People come up with ways they're similar, but ignore the fact that you can compare any two operating systems and find similarities. AmigaOS also has an executive, is a microkernel, and has 32 levels of process priority. Is it based on VMS, or was Windows NT based on AmigaOS?

      --
      You are not alone. This is not normal. None of this is normal.
    80. Re:Does this... by bonch · · Score: 1

      Ah, so you're going to be an asshole. Have you done any research on this at all? The similarities between VMS and NT have been discussed extensively and are commonly known:

      Those similarities could fill a book. In fact, you can read sections of VAX/VMS
      Internals and Data Structures (Digital Press) as an accurate description of NT
      internals simply by translating VMS terms to NT terms. Table 1 lists a few VMS
      terms and their NT translations. Although I won't go into detail, I will discuss
      some of the major similarities and differences between Windows NT 3.1 and VMS
      5.0, the last version of VMS Dave Cutler and his team might have influenced.
      This discussion assumes you have some familiarity with OS concepts (for
      background information about NT's architecture, see "Windows NT Architecture,
      Part 1" March 1998 and "Windows NT Architecture, Part 2" April 1998)."

      "TABLE 1: VMS and NT Terminology Translations
      VMS Term NT Translation
      Interrupt Priority Level (IPL) Interrupt Request Level (IRQL)
      Asynchronous System Trap (AST) Asynchronous Procedure Call (APC)
      Fork Procedure Deferred Procedure Call (DPC)
      I/O Request Packet (IRP) I/O Request Packet (IRP)
      Bug Check Bug Check
      System Service System Service
      sys.exe ntoskrnl.exe
      Paged Pool Paged Pool
      Nonpaged Pool Nonpaged Pool
      Look aside List Look aside List
      Section Section"

      "TABLE 2: Significant VMS and NT Similarities
      VMS NT
      Process scheduler implements 32 priority levels split into halves Process
      scheduler implements 32 priority levels split into halves
      Process scheduler never lowers a process' priority below the priority level the
      application programmed Process scheduler never lowers a process' priority below
      the priority level the application programmed
      Uses boosting to handle CPU hogging Uses boosting to handle CPU hogging
      Supports SMP Supports SMP
      Digital introduces kernel threads in VMS 7.0 NT 3.1 uses kernel threads
      Relies heavily on memory-mapped files Relies heavily on memory-mapped files
      Uses demand-paged virtual memory for physical memory management Uses
      demand-paged virtual memory for physical memory management
      Uses working sets with a clock-based replacement algorithm Uses working
      sets
      with a clock-based replacement algorithm
      Balance Set Manager uses swapping to handle the system's memory demands Balance
      Set Manager doesn't use swapping
      Supports a layered-driver model throughout the device driver stacks
      Supports a
      layered-driver model throughout the device driver stacks
      Implements asynchronous packet-based I/O commands Implements asynchronous
      packet-based I/O commands
      Represents resources as objects managed by an Object Manager Represents
      resources as objects managed by an Object Manager
      Security subsystem based on objects with access control lists (ACLs) Security
      subsystem based on objects with ACLs
      MONITOR Performance Monitor
      BACKUP NT Backup

      You also purposely didn't respond to the court settlement. Why not? Why would Microsoft settle with DEC? You don't have an answer, so you left it out of your cut-and-paste and tried to pretend it didn't happen.

    81. Re:Does this... by Anonymous Coward · · Score: 0

      Are you talking about the OS (hybridkernel) or the microkernel?

      Microsoft moved the entire graphical subsystem to the OS in earlier NT OS, not to the kernel (microkernel). Then on Vista, they moved the graphical subsystem out of OS, as own server to userland, so they got secure and stable OS. And on MinWin project they even removed lots of things from OS to userland and got a simple and small OS what could be developed alone from the complete software system. On Windows 7 we can see what MinWin is. A small and clean OS, not a 1.2Gb giant "dick on your eye" what includes all from web-browser to graphical subsystem, and a security hole in the browser == security hole in the OS, because browser was part of OS. Now on Vista, they really understanded the reason to not include a browser to be a part of OS but get it out of there as normal application, so the OS can protect itself running all the applications as it should be...

    82. Re:Does this... by V!NCENT · · Score: 1

      Yes it does. The entire reason most people switch from Windows to Linux nowadays is because Linux works better under the hood (security, stability and in this case; speed).

      --
      Here be signatures
    83. Re:Does this... by V!NCENT · · Score: 1

      you very much. I don't why I didn't of that myself.^h^h^h^h^h^h^h^h^h^h^h^h^h^h^h^h^h^h^h^h^h^h^h^h^h^h^h^h^h^h^h^h^h^h^h^h^h^h^h^h^h^h^h^h^h^h^h^h^h^h^h^h^h^h^h

      that for you.

      Can't do 51 times ^H -> "Filter error: Don't use so many caps. It's like YELLING."

      --
      Here be signatures
    84. Re:Does this... by V!NCENT · · Score: 1

      FTFA you posted: Mesa sucks because of no full HWA OpenGL2.1. What version of OpenGL did Vista allow you to run again? Goog luck doing anything OpenGL>1.4 in the current and upcomming Windows versions. That said: Linux kicks Windows in the balls. But wait... don't the X11 drivers support MESA? Oh wait so my OpenGL KDE4 WM is powered by a HWA MESA? So much for the innacurate troll article you posted...

      --
      Here be signatures
    85. Re:Does this... by Shinobi · · Score: 1

      If I can force my way of life on you, it's ok that you deliberately force someone else to conform to your way of life. Really.

    86. Re:Does this... by fm6 · · Score: 1

      "I was going to switch to Linux. But even though it's more secure, stable, and faster than Windows, I didn't switch because there are too many issues with X Windows. But now that's a decent windowing system, it's time to make the move!"

      Do you you actually know anybody who's in that position? People who are motivated to switch because of "under the hood" issues have already done so.

    87. Re:Does this... by LingNoi · · Score: 1

      I never complained about that in the first place.. wtf?

    88. Re:Does this... by Brandybuck · · Score: 1

      Sounds like you want Windows. Or if you prefer a Unixy flavor, Mac OSX. They'll give you all the standardization you could want, and then more.

      --
      Don't blame me, I didn't vote for either of them!
    89. Re:Does this... by t_ban · · Score: 1

      (Does this) spell the death-knell of X-based graphics drivers? Does this mean that such drivers will finally be folded into pure kernel modules with no fancy wrappers required? Does that also mean that we can eliminate X as a dependency for playing video games, and using Linux in multimedia or kiosk environments?

      No.

      --
      First they ignore you. Then they laugh at you. Then they fight you. Then you win. -Gandhi
  3. Been done (and failed) like a million times? by Anonymous Coward · · Score: 1, Insightful

    Xorg/XCB anyone?

    Then there is that stuff from NeXT which is similar to OS X.

    Then there is that BeOS-like server.

    Framebuffer.

    I think there was some sort of OpenGL server a number of years ago.

    Uh, what else? None of these have replaced the X11 standard.

    1. Re:Been done (and failed) like a million times? by carbon+68k · · Score: 4, Informative

      Uh, what else? None of these have replaced the X11 standard.

      True, but this isn't aiming to replace the X11 standard for all purposes, at least not for the moment. The article/interview seems to make it clear that the goal is to do lightweight sorts of things - login managers and screen savers first, remote desktop access later - that don't have necessarily complicated needs beyond being able to fire up quickly, not take up that much space, and hopefully look nice in the process.

      This isn't the New Linux Desktop. (unless it is.)

    2. Re:Been done (and failed) like a million times? by AKAImBatman · · Score: 4, Informative

      Xorg/XCB anyone?

      If I understand the article correctly, this is a new X server, not a new API or protocol. Programs would still compile against XLib and still access the server through TCP/IP or unix sockets. The only difference is that the rendering engine that interprets those commands has been swapped out.

      Then there is that stuff from NeXT which is similar to OS X.

      OS X *is* NeXT. So I'd say that "that stuff" went to good use.

      Then there is that BeOS-like server.

      Not sure what you're referring to. But BeOS was awesome. Especially when it came to multimedia.

      Framebuffer.

      LFB is a pretty standard module in Linux these days. It's why Linux can boot with fancy graphical screens rather than staring at boring off-white text.

      I think there was some sort of OpenGL server a number of years ago.

      OpenGL is a standard part of modern X servers. Are you perhaps thinking of Project Looking Glass? That was an attempt at creating a new window manager rather than a new API. It's still under development, but it's coming along at Enlightenment speeds. Its development should not be impacted by a new X server.

      Uh, what else? None of these have replaced the X11 standard.

      I don't think that most of them were trying to.

    3. Re:Been done (and failed) like a million times? by KasperMeerts · · Score: 2, Informative

      This doesn't replace the X11 standard. It's just another implementation of it. I guess this means porting applications is unnecessary, except for maybe a relinking.
      The chances that X11 gets replaced are pretty small but the replacement of X.Org seems a bit more plausible.

      --
      As long as there are slaughterhouses, there will be battlefields.
    4. Re:Been done (and failed) like a million times? by diegocgteleline.es · · Score: 1

      If I understand the article correctly, this is a new X server, not a new API or protocol. Programs would still compile against XLib and still access the server through TCP/IP or unix sockets. The only difference is that the rendering engine that interprets those commands has been swapped out.

      Well, right now it only runs 4 custom programs - "background", "pointer", "window" and "flower". It doesn't appear to have XLib compatibility at all. It'd be neccesary to port XLib to this server. Or, rather, port GTK/QT directly to the API of this server (and also port XLib - for compatibility with other programs).

      It's unsure that it's neccesary, though. It's the X people who is doing all this, and they're doing it to get rid of all the unneeded complexity. Long term, they want to make X.org work just like this server works, so in practice X.org will be just as good as this server. Maybe it won't be so shiny, but it will work.

    5. Re:Been done (and failed) like a million times? by RedK · · Score: 4, Insightful

      Port GTK/QT to this server's API ? If this server doesn't support a version of the X11 standard, then it's not an X server. Since it is being called an X server, no recompilation should be necessary, unless you're using X extensions that are not supported.

      --
      "Not to mention all the idiots who use words like boxen."
      Anonymous Coward on Monday August 04, @06:49PM
    6. Re:Been done (and failed) like a million times? by Dr.+Evil · · Score: 1

      The Berlin Consortium was one of them.

      Quoting Slashdot from 6 years ago:

      "X is still here in 2002, and its progeny will be in place 15 years from now. It will be worked on by CS students who got their MS working on various "Berlin's"."

      http://ask.slashdot.org/article.pl?sid=02/05/29/0024242

    7. Re:Been done (and failed) like a million times? by diegocgteleline.es · · Score: 1

      I don't know if it plans to replace the X11 standard, but it's certainly not "another implementation" of X11 at all right now. Look at the source code. You won't see X11, or even X, anywhere - it's X11 clean. It'd be neccesary to port Xlib to this API.

    8. Re:Been done (and failed) like a million times? by Randle_Revar · · Score: 1

      Xorg replaced XFree86.

      XCB is a set of bindings/library that replaces Xlib, and it will probably eventually achieve that goal. It got two important boosts when Fedora (and Ubuntu?) started using XCB with its xlib compatibility mode, and when it got a direct user in the form of version 3.0 of the Awesome window manger.

      Apple never promoted NeXT/OS X stuff as an X replacement for everyone.

      You are right that the X replacements (y-windows, various FB ideas, etc) never got anywhere, but Wayland doesn't change or replace the X protocol. It is merely a new X server, which is a much easier transition - XFree to Xorg, Xsun to Xorg, etc.

    9. Re:Been done (and failed) like a million times? by rbanffy · · Score: 1

      If I got it correctly, one could port the rest of X to run on top of this lightweight server.

      So, if you need X functionality, you could get it along a more modern environment.

    10. Re:Been done (and failed) like a million times? by Anonymous Coward · · Score: 0

      It seems to me that Wayland *is* indeed an X server.

      However, the X11 specification allows extensions, and many of these extensions are used by GTK and Qt.
      Thus, it would be necessary to "port" them to the Wayland server that only offers a "modern" subset of the myriad of X11 extensions we have.

    11. Re:Been done (and failed) like a million times? by tepples · · Score: 1

      Port GTK/QT to this server's API ? If this server doesn't support a version of the X11 standard, then it's not an X server.

      I understood this as making a display support both X11 and a different, purportedly more efficient protocol side-by-side, porting GTK+ and Qt to this other protocol, and flipping the switch when the toolkits are usable. This side-by-side operation might involve a proxy server that translates between X11 and Wayland's protocol.

    12. Re:Been done (and failed) like a million times? by bonch · · Score: 1

      From what I can tell, it's not trying to replace the X11 standard. It's trying to replace X.org.

  4. Its good to see Red Hat developers doing this by number6x · · Score: 4, Interesting

    While I'm a firm believer in "If it ain't broke, don't fix it", I think it is good to see Red Hat developers (or any developers) looking to future needs and being allowed to devote development time towards those needs.

    Xorg isn't broken for most users right now, but planning and creating alternatives is a good idea.

    1. Re:Its good to see Red Hat developers doing this by Anonymous Coward · · Score: 3, Insightful

      I'm pretty sure Xorg has (or had) the same goals as this Wayland project. Xorg was meant to add all the modern features not in XFree. In fact, the synopsis of Wayland reads just like the synopsis of Xorg. What the hell are they doing?

      The big question is: Will vendors port to it? (nVidia, ATI, Intel, etc)... and by that I mainly mean nVidia.

    2. Re:Its good to see Red Hat developers doing this by defaria · · Score: 1

      Hogwash! Buggy whips weren't broke either. Should we still be riding in buggies? The "if it ain't broke don't fix it" crowd ignores the need for progress.

    3. Re:Its good to see Red Hat developers doing this by CarpetShark · · Score: 5, Funny

      While I'm a firm believer in "If it ain't broke, don't fix it"

      We're talking about X. You seem to have wandered onto some other topic. ;)

    4. Re:Its good to see Red Hat developers doing this by RedK · · Score: 1

      And your crowd is the kind to try to reinvent the wheel. Progress doesn't mean burning the house down and rebuilding each time you want to change a room's color.

      --
      "Not to mention all the idiots who use words like boxen."
      Anonymous Coward on Monday August 04, @06:49PM
    5. Re:Its good to see Red Hat developers doing this by Fred_A · · Score: 4, Funny

      Poor analogy, you can still use your buggy whip on your bicycle (especially tandem bicycles).

      --

      May contain traces of nut.
      Made from the freshest electrons.
    6. Re:Its good to see Red Hat developers doing this by beav007 · · Score: 1

      If we didn't occasionally reinvent the wheel, we'd still be driving around on solid stone wheels...

    7. Re:Its good to see Red Hat developers doing this by ArsonSmith · · Score: 2, Funny

      Umm, did someone try to fix the buggy whip? Or did you mean Wayland is a buggy WIP?

      The buggy whip example is to illustrate the attempt to mandate halting progress by hindering it with government intervention. It therefore doesn't really apply here.

      --
      Paying taxes to buy civilization is like paying a hooker to buy love.
    8. Re:Its good to see Red Hat developers doing this by Anonymous Coward · · Score: 0

      I have some explaining to do when my wife gets home then...

    9. Re:Its good to see Red Hat developers doing this by RedK · · Score: 1

      A solid stone wheel and a modern car wheel are still a round shaped object. The solid stone wheel was built upon, like you can build upon X.org or any other implementation of X11 to make it better. The fact that most problems people cite with X11 are actually implementation problems and not problems with the actual standards goes to show how much people don't understand the wheel at all.

      --
      "Not to mention all the idiots who use words like boxen."
      Anonymous Coward on Monday August 04, @06:49PM
    10. Re:Its good to see Red Hat developers doing this by Randle_Revar · · Score: 1

      > Or did you mean Wayland is a buggy WIP?

      +1, funny

    11. Re:Its good to see Red Hat developers doing this by Anonymous Coward · · Score: 0

      A compositing manager is embedded into the Wayland server and ensures 'every frame is perfect' according to the project's leader."

      Sorry I can't help but remember:

      "Reminds me of a saying my friends and I had back during undergrad CS classes:

      'It was perfect, so I fixed it.'

      This explains a lot about software development."
                                                      -- sbeitzel 2004/01/30
                                                      http://www.slashdot.org

    12. Re:Its good to see Red Hat developers doing this by beav007 · · Score: 3, Insightful

      Wait, what?

      You'll note that modern wheels do not have stone hubs. The wheel was not simply built on (or around). The person who decided that wood would be better scrapped the whole thing and started again. It's round, just like the stone wheel, but lighter, easier to work with, and apart from the idea, completely new.

      The modern wheel, while built on the same principles, is a completely new thing, compared to the stone wheel. Sure, you could build on the stone wheel, but you'd end up with a rubber tyre on 200kg of stone. Not a huge improvement.

      There is nothing wrong with reinventing the wheel every so often. It seems like a lot of work at the time, but sometimes the result is worth it.

    13. Re:Its good to see Red Hat developers doing this by sqldr · · Score: 1

      I had a buggy whipp, but that was just a rather disgusting dessert.

      --
      I wrote my first program at the age of six, and I still can't work out how this website works.
  5. There is alreeady a brainstorm... by dotancohen · · Score: 5, Interesting

    For including Wayland in Ubuntu:
    http://brainstorm.ubuntu.com/idea/15205/

    --
    It is dangerous to be right when the government is wrong.
    1. Re:There is alreeady a brainstorm... by martin-boundary · · Score: 3, Funny

      If they use the code in Ubuntu, will they name the meta package yutani?

    2. Re:There is alreeady a brainstorm... by Cerberus7 · · Score: 1

      I simply cannot believe that you're the only one to make that kind of joke. I'm thankful you did, though, because otherwise this whole discussion would be a waste.

      --
      I don't know about you, but my servers run on the power of cotton candy and happy thoughts. -Anonymous Coward
    3. Re:There is alreeady a brainstorm... by dotancohen · · Score: 1

      Nice! That was one of my favorite movies, I cannot believe that I did not think of that.

      --
      It is dangerous to be right when the government is wrong.
    4. Re:There is alreeady a brainstorm... by auzy · · Score: 2, Insightful

      Yes, and you'd have to be an idiot to vote to make wayland the default X-server, when its not even ready to run Gnome. The project could fail by the time its done, or a better one might arise in that time. I strongly urge people NOT to vote for this! It would be a VERY silly move

    5. Re:There is alreeady a brainstorm... by Anonymous Coward · · Score: 0

      For including Wayland in Ubuntu:
      http://brainstorm.ubuntu.com/idea/15205/

      I'm sorry, that is ridiculous.

    6. Re:There is alreeady a brainstorm... by martin-boundary · · Score: 1

      Quite true. Unfortunately, I didn't see the top level W-Y joke further down until much later. I blame the slashdot comment threading system :)

    7. Re:There is alreeady a brainstorm... by Anonymous Coward · · Score: 0

      Wow, Ubuntu users really don't have anything better to do with their time besides "brainstorm" about using software created by other distros, do they?

  6. Two decades is more like it by FranTaylor · · Score: 1

    I still remember upgrading from X10. What a mess.

    1. Re:Two decades is more like it by xoundmind · · Score: 3, Funny

      I'm still stuck on the Andrew Window Manager.

    2. Re:Two decades is more like it by SimHacker · · Score: 1

      The nice thing about X10 is that you could print out the manual, take it with you to the bathroom, and read all the way through it in the time it takes to have a nice leisurely bowel movement.

      -Don

      --
      Take a look and feel free: http://www.PieMenu.com
    3. Re:Two decades is more like it by SimHacker · · Score: 1

      Are you old enough to remember the Beta 2 version of Landru?

      Kirk says "where is the damn computer room?" This man, named Marplon, shows him. Now kirk and Spock see Landru's face on a video on the wall and hear him, but WAIT. it is a computer voice. he is fake. Kirk says "I am going to pull the plug on him." He explodes a hole in the wall with his phaser, and there is the computer, still talking nonstop. He cannot shoot it, the computer has a self defense screen. But he will outTHINK it. He says "Landru, you are for the good of the body?" Landru says yes. Kirk says "The body is dying. Young girls are being raped and beaten. How is that good for the body?" Landru does not know, and then he explodes. Spock says to Kirk "Logical. Flawlessly logical."

      -Don

      --
      Take a look and feel free: http://www.PieMenu.com
  7. HELL yes. by goodmanj · · Score: 5, Interesting

    eliminate the cruft

    ABOUT F'ING TIME.

    X has been a case study in How Not to Write Software for twenty years now. Once upon a time, it was a pretty cool experimental software project. But for twenty years now, there have been exactly two kinds of X development:

    A) Throw a layer on top of it to make it useable for normal people

    B) Throw another driver underneath it to make it just barely work on your particular hardware.

    Project A is fine until someone has to get beyond your little layer, in which case it's .xinitrc hell. Project B is just treading water, postponing the day that we all realize this indispensable software tool is a gigantic house of cards headed for collapse.

    Probably some XFree86 dudes are reading this. Let me just tell you I appreciate your diligence in the nightmare of a job you've set yourself to, but the time has come. Take off and nuke the site from orbit. It's the only way to be sure.

    1. Re:HELL yes. by modmans2ndcoming · · Score: 1

      XF86 has not been the standard X server in almost 7 years.

    2. Re:HELL yes. by dondelelcaro · · Score: 5, Insightful

      Project A is fine until someone has to get beyond your little layer, in which case it's .xinitrc hell.

      What in the world does the X11 rendering engine have to do with "useable for normal people" or the "xinitrc"?

      X11, and by extension, the X server, is a layer whose job is to put stuff on screen. That means dealing with the wibbly bits (mice, keyboards, displays, video cards, tablets, pedals, etc.) that cause the stuff on screen to be displayed or interact with the stuff on screen.

      But for twenty years now, there have been exactly two kinds of X development:

      Furthermore, it's not like people haven't been modifying how the bits in between your "Project A" and "Project B" work, either. See xrandr 1.2 and 1.3, for example, as well as the countless other projects working on this very part of X11.

      That's not to say there aren't problems with X11 and the various implementations of the X server, but it'd help to at least have studied what's actually going on before attacking the work of those who are actually doing the work.

      --
      http://www.donarmstrong.com
    3. Re:HELL yes. by corsec67 · · Score: 1

      Since X.org was first released in April 2004, what did you use between 2001 and 2004?
      I used Xfree86 until X.org had been out a little while; there wasn't any intermediate package. Then X.org switched to the modular package system.

      --
      If I have nothing to hide, don't search me
    4. Re:HELL yes. by jonaskoelker · · Score: 1

      gigantic house of cards headed for checkmate

      FTFY.

    5. Re:HELL yes. by Fred_A · · Score: 1

      Which is presumably why everybody has switched to the modular Xorg X11 server instead of the crufty XFree86 one ages ago. Seems to work fine for everybody involved.

      Maybe you should upgrade too. Xorg even comes with twm so you won't really notice the change.

      --

      May contain traces of nut.
      Made from the freshest electrons.
    6. Re:HELL yes. by MostAwesomeDude · · Score: 5, Interesting

      Fun fact: Every single bit of development put into X.org since the big fork has been undoing the mistakes committed during the XFree86 years. Making X modular, reworking font handling, introducing EXA, crafting AIGLX, even kernel mode-setting, all of these are undoing bad things from the past.

      KRH, who's been writing Wayland, also is responsible for parts of GEM, RGBA OpenGL visuals, and other GLX improvements. Neither he, nor any of us, are planning to just abandon code that's still viable. Tender love and care goes a long way with bit-rotted code.

      --
      ~ C.
    7. Re:HELL yes. by modmans2ndcoming · · Score: 1

      almost 5... almost 7... who's counting? :-)

    8. Re:HELL yes. by goodmanj · · Score: 2, Informative

      Replyin' to my own comment, since it's drawing some attention...

      A little background: I've been only dabbling in the free Unix game since I switched to Mac a few years back -- partly *because* of my frustrations with X11 -- so some of my impressions are out of date, There's no question the UI layers on top of X have improved by leaps and bounds since then. And I'm by no means an X developer.

      Yes, I understand that X is intended to be a rendering engine, and that user interaction isn't its main job. Yet somehow, it seems to me that I *constantly* end up having to muck with userland X configuration scripts and reading cryptic X man pages in order to get my application running, if that application is anything more arcane than a web browser. If the goal is to make a black box labeled "No user serviceable parts inside", then it had better work without twiddling. And it doesn't.

      Sounds like Xorg is making good progress, but I'm hoping for more. Borrow as much Xorg code as you can, but make the leap and blow a gigantic hole in backward compatibility, and focus on building a top-notch modern rendering system. Talk to the Gnome and KDE dudes to make sure you've got an API they're prepared to handle, and let xeyes and xclock and twm and fvwm slowly twist in the wind.

      Every piece of software reaches a point where a ground-up re-engineering (which is not the same as a ground-up rewrite) is the best option, even if you lose backward compatibility. Apple, for instance, seems to do this about every 10 years. Not saying you should emulate them, but 20 years is just too damned long.

    9. Re:HELL yes. by Randle_Revar · · Score: 1

      "If we can hit that bull's-eye, the rest of the dominoes will fall like a house of cards. Checkmate!"

    10. Re:HELL yes. by kabdib · · Score: 1

      4. Which of these phrases most typifies the profoundest love:

                    A. Don't leave me with strangers.

                    B. I love you.

                    C. God is love.

                    D. Use the needle.

      ... Harlan Ellison, _Deathbird Stories_

      --
      Any sufficiently advanced technology is insufficiently documented.
    11. Re:HELL yes. by TheRaven64 · · Score: 0

      Sounds like Xorg is making good progress, but I'm hoping for more. Borrow as much Xorg code as you can, but make the leap and blow a gigantic hole in backward compatibility, and focus on building a top-notch modern rendering system. Talk to the Gnome and KDE dudes to make sure you've got an API they're prepared to handle, and let xeyes and xclock and twm and fvwm slowly twist in the wind.

      Okay, this is the stupidest thing I've read in this thread so far. Backwards compatibility is a massive strength for X11. Code written in the '80s still works with a modern X server. The traditional display model is archaic, but new code doesn't use it. New code renders sub-pixel antialiased fonts (with the glyphs rendered on the client but stored on the server, and composited in hardware) into off-screen buffers and composites it (again, in hardware) to the main buffer. New code uses XDAMAGE to notify the server when a part of the buffer has been modified so you can do small transfers when running remotely. For a look at how a modern X11 implementation works, read this.

      People like GNOME and KDE developers don't touch X directly. They use Qt or GTK which, in turn, use Cairo for drawing, and this uses X11. Cairo is a postscript-like API developed by the some of the X.org team, which uses the new extensions in X. You seem to be a fan of Apple's Quartz, but there is nothing that Quartz does that X.org doesn't support (and with Cairo they expose a very similar drawing model - we have a partial implementation of the CoreGraphics APIs on top of Cairo in svn if you're interested). There are, however, a lot of things that X11 does that Quartz doesn't do, with network transparency being close to the top of the list.

      --
      I am TheRaven on Soylent News
  8. But does it run... by Wesley+Felter · · Score: 2, Funny

    xclock? xeyes?

    1. Re:But does it run... by slagheap · · Score: 1

      Yeah... and where are the screenshots???

      --
      First against the wall when the revolution comes
    2. Re:But does it run... by ArsonSmith · · Score: 4, Funny
      --
      Paying taxes to buy civilization is like paying a hooker to buy love.
    3. Re:But does it run... by Anonymous Coward · · Score: 1, Funny

      If you stare at it long enough you'll see a sail boat.

    4. Re:But does it run... by Anonymous Coward · · Score: 0

      scooner!

    5. Re:But does it run... by Anonymous Coward · · Score: 0

      Who cares about those? The real question is: does it run xlogo?

  9. In instead of out? by bluefoxlucid · · Score: 1

    More functionality into the kernel instead of out to the X server? To me it's just code executing here or there; the user-space X server has full access to video memory and registers (via privileged I/O and MMIO), and nothing about executing in Ring-0 automagically makes code run "faster."

    What major bottleneck of context switching warrants moving these things into the kernel? Why can't we have flicker-free mode switching in userspace X drivers?

    1. Re:In instead of out? by Bert64 · · Score: 1

      I think the flicker of mode switching comes from switching between kernel mode drivers (console) and user land drivers (X11)..
      On the other hand i don't seem to notice any issues, the console screen goes blank and comes back with the X11 screen, and it resyncs the new display mode if using a CRT... Tho i have in the past seen brief flashes of screen corruption when it initializes a new screenmode and some of the display data from the previous one is still in the framebuffer memory.

      --
      http://spamdecoy.net - free throwaway anonymous email - avoid spam!
    2. Re:In instead of out? by QuantumG · · Score: 1

      Running ring-0 code in a user mode process is oxymoronic.

      --
      How we know is more important than what we know.
    3. Re:In instead of out? by amorsen · · Score: 1

      Why can't we have flicker-free mode switching in userspace X drivers?

      You can't have flicker-free mode switching at all, except in a few cases. If you switch frequencies, the screen is going to take a moment to resync. With the mode setting in the kernel, the kernel can make sure that it uses a video mode running at the same frequencies as the X server. The alternative is to run a user-mode mode setting program before starting kernel output. This is possible, but that means not being able to show diagnostics before userspace is running.

      --
      Finally! A year of moderation! Ready for 2019?
    4. Re:In instead of out? by spitzak · · Score: 1

      I believe the functions that are being put in the kernel is the *setup* so that the user-space code in the X server has that "access to video memory and registers". That is actually a huge messy part of the current X server. Doing this in the kernel allows other programs to have an idea what X did, and also allows things other than X to get the same access to video memory and registers, and also means that a "video driver" is findable in the same lists as all your other drivers.

    5. Re:In instead of out? by MtHuurne · · Score: 1

      I don't think performance is the motivation here. X servers are becoming increasingly modular and some of those modules fit better in the kernel than in the X server.

      The framebuffer driver has to be able to initialize a video mode and the X server has to be able to do that as well; putting that code inside the kernel avoids code duplication.

      Also, there is only one instance of the hardware (registers, video RAM, shader execution units) and running more than one program that assumes it has exclusive control over the hardware is asking for trouble. Since GPUs are more and more used for non-video tasks, managing resources such as video RAM in the kernel makes sense.

    6. Re:In instead of out? by Annymouse+Cowherd · · Score: 1

      Nothing about ring-0 code makes it execute faster, but switching between another ring and ring 0 is slow, and you want to avoid doing it.

    7. Re:In instead of out? by siride · · Score: 1

      Every time you make a system call, you switch rings. Every time there's an interrupt, you switch rings. Having mode setting either in userspace or kernelspace is orthogonal to the issue of ring switching. It has everything to do with having the mode setting code in one central place (and the right place: the kernel should be dealing with hardware, not some userland program) so that X, the kernel and whoever else can access the video card in a uniform, secure and stable fashion. The reduction of flicker is just one of the many benefits of KMS.

    8. Re:In instead of out? by jamesh · · Score: 1

      some of the display data from the previous one is still in the framebuffer memory.

      Now that is dangerous. Just when you think you've closed all your windows containing pr0n...

    9. Re:In instead of out? by Anonymous Coward · · Score: 0

      Its entirely possible but a really bad idea.

      Win 9x had a few odd system calls that made it possible to get there. It wasn't good for much but writing viruses.

    10. Re:In instead of out? by TheRaven64 · · Score: 1

      I think the flicker of mode switching comes from switching between kernel mode drivers (console) and user land drivers (X11).

      The way this was done by XFree86 was horrible. The X server could not guarantee anything about the state of the graphics card when it was switched to. Many graphics cards didn't have any way of querying the state (why would they? If you are able to set the state, you should know what it is because it's whatever you set it to...) and neither did most kernels. They got around this by first using a BIOS interrupt to set the display to a basic VGA mode and then calling the routines in the driver to set it to the correct mode from this (setting it directly was often difficult, since some hardware's mode setting behaviour depended on the current state, which was unknown). This meant that switching to X meant at least two display transitions, including one where the graphics card was completely reinitialised.

      Kernel modesetting is a significant improvement. The kernel already needs code to support this in order to display a framebuffer. This just exposes portable interfaces for doing it from userspace and makes the X server use these rather than its own code.

      --
      I am TheRaven on Soylent News
  10. Wayland-Yutani by spankey51 · · Score: 5, Funny

    Wayland-Yutani, "Building better X-servers"

    --
    -ubuntu others as you would have others ubuntu you.
    1. Re:Wayland-Yutani by Anonymous Coward · · Score: 0

      This would be funnier (muchly) if the fictional corporation weren't called "wEyland-yutani".

      http://en.wikipedia.org/wiki/Weyland-Yutani

    2. Re:Wayland-Yutani by Anonymous Coward · · Score: 0

      Beat me to it! Dang!

    3. Re:Wayland-Yutani by Anonymous Coward · · Score: 0

      Waiy whoud that be funnier?

    4. Re:Wayland-Yutani by Anonymous Coward · · Score: 0

      Wayland-Yutani,
                        "Building better X-servers"

      I'll drink to that ;)

  11. Notes for the Uninformed by mpapet · · Score: 2, Informative

    1. it's very primitive. If you've got a VM to try it on, then go for it.

    2. As AC on another post correctly listed the projects like this that have come before it. So, before everyone starts beating-up on X11, they need to check out the ample supply of unpopular alternatives.

    The framebuffer is rarely discussed as yet another alternative to X11.

    --
    http://www.maxineudall.com/2010/02/should-economists-be-sued-for-malpractice.html
    1. Re:Notes for the Uninformed by setagllib · · Score: 5, Insightful

      It's rarely discussed because it's extremely slow. Even on low resolutions it takes an absurd amount of CPU power and latency. On high resolutions it's like a slide show with an awkward guest speaker. There's a reason we have hardware acceleration even for 2D.

      --
      Sam ty sig.
    2. Re:Notes for the Uninformed by cryptoluddite · · Score: 1

      It's rarely discussed because it's extremely slow.

      The same was said about X11 around 1985 (in fact the same could be said about X today).

      A morally equivalent X server today would be written in Python. And I'm not kidding, it would be a huge success... just look at projects like mercurial (hg) that are written in python and you'd never know by using it. I mean what does an X server do nowadays, when nobody uses the scan-convert built-in functions anyway? It just manages some records and lists and events, and tells the hardware what to do. Even a scripting language can do that.

    3. Re:Notes for the Uninformed by MostAwesomeDude · · Score: 1

      If you wish to write a framebuffer X server in Python, go ahead. Patches welcome. :3

      --
      ~ C.
    4. Re:Notes for the Uninformed by Anonymous Coward · · Score: 0

      I don't know much, but if you are using uvesafb (in mainline kernel since 2.6.24), you really cannot complain about 2D hardware acceleration and thus, speed. (HINT: It renders faster than xterm on my machine).

      I guess the major problem with framebuffer is that it requires a lot of work to be usable.

    5. Re:Notes for the Uninformed by Viol8 · · Score: 1

      "A morally equivalent X server today would be written in Python. And I'm not kidding, it would be a huge success... "

      Don't be an idiot. Do you have *any* idea of the amount of CPU intensive processing and mathematics a graphics system has to do?

      "and tells the hardware what to do. Even a scripting language can do that."

      Please name one scripting language that can talk directly to the hardware.

      But hey , you give it a try mate, we'll all have a good laugh.

    6. Re:Notes for the Uninformed by setagllib · · Score: 2, Interesting

      I think he means the administrative overhead of X11 protocol management is not the bottleneck, so it may as well be written in Python. The mathematically intensive and low-level parts, which are only part of the overall code base, can remain C. I don't necessarily agree, as this would increase latency for protocol handling, which really adds up.

      This is a common pattern in modern software development - very simple, mechanical C code wrapped by high level, elegant Python (or your scripting language of choice). You get 99% of the performance of pure C with 1/100th the development time. I've done the same in high-performance scientific computing projects with great success.

      --
      Sam ty sig.
    7. Re:Notes for the Uninformed by Viol8 · · Score: 1

      "X11 protocol management is not the bottleneck,"

      Given that a heavily used X11 session could max out an old 10 meg ethernet connection I'd beg to differ.

      "You get 99% of the performance of pure C with 1/100th the development time"

      You'd also have to have a python interpreter with every X server - yet another point of failure.

    8. Re:Notes for the Uninformed by Anonymous Coward · · Score: 0

      This is the biggest problem of X. In theory, it promises everything you possible want, or maybe more than what you want. But in reality, it sucks
      in every possible way: speed, resource consumption,
      security, friendliness of API......

    9. Re:Notes for the Uninformed by setagllib · · Score: 1

      What part of "I don't necessarily agree" don't you understand? I only inferred and rephrased the original poster's suggestion, I didn't lend it any support.

      The 99% 1/100 figures don't apply to an X server by any stretch of the imagination. They apply to, say, a video streaming service where the web logic is of minimal computational expense compared to the sheer IO load. I hear it worked for YouTube.

      --
      Sam ty sig.
  12. X.org and All Competitors by Anonymous Coward · · Score: 0
    The problem with all these competitors to X.org is that they can't use the hardware accelerated X.org drivers, particularly the binary drivers, and so they won't get good performance.

    As I understand it these graphics drivers are the prime reason that people can't move to alternate X servers, and that these drivers are preventing competition.

    Is that correct?

    1. Re:X.org and All Competitors by Bert64 · · Score: 1

      That, and the fact many apps would need to be rewritten...
      All the alternatives i've seen were considerably slower than X, probably due to the lack of accelerated drivers as you pointed out tho.

      --
      http://spamdecoy.net - free throwaway anonymous email - avoid spam!
    2. Re:X.org and All Competitors by timmarhy · · Score: 1
      pretty much it. unless this guy comes up with a way of making use of drivers written for X he'll never get off the ground.

      i'v thought X was a piece of shit for years, but ironically due to lack of choice i can't

      --
      If you mod me down, I will become more powerful than you can imagine....
    3. Re:X.org and All Competitors by PitaBred · · Score: 1

      Not really. That's why this is an alternative X server. Applications are written to use X library calls (or a higher level library that still boils down to X calls), so a server that implements X will work just fine with all applications that currently use X. The main issue is hardware acceleration.

    4. Re:X.org and All Competitors by spitzak · · Score: 1

      It sounds like this is designed to be compatible with the application api to X, so that is not a problem with it.

      I think a great deal of even the Xlib api could be jettisoned because no modern program uses it. A simple thing to do would be to pretend to be 32-bit full color all the time, no matter what the hardware is, and eliminate all the colormap api.

    5. Re:X.org and All Competitors by Anonymous Coward · · Score: 0

      And in 5-10 years when we go to higher bit depth?

    6. Re:X.org and All Competitors by Anonymous Coward · · Score: 0

      Are xterm and xclock really that important for the well-being of our galaxy to keep backwards compatibility in our gui instead of building an X emulator for legacy apps? Most everything uses toolkits these days. A port of the toolkits to a new sane system would be the best move. Use X code but don't make yet another X it is stupid we want a GUI not a 'server'.

    7. Re:X.org and All Competitors by Anonymous Coward · · Score: 0

      The main issue is hardware acceleration.

      Exactly, and the lock-in of Xorg's hardware accelerated APIs and infrastructure will deny competition and deny a modern replacement to Xorg. Wayland has no future without tackling this.

      Instead, evolving Xorg into something slightly less crappy is the plan.

    8. Re:X.org and All Competitors by spitzak · · Score: 1

      Then another api can be added for some nice generic version of that bit depth (such as float), but the 32-bit api would continue to work.

      What I want to get rid of is this bullshit where the program has to figure out how to convert it's drawing to all types of image bitmaps.

    9. Re:X.org and All Competitors by Daengbo · · Score: 1

      32 bits should be enough for anybody!

  13. What's wrong with X... by Tetsujin · · Score: 5, Interesting

    Xorg isn't broken for most users right now, but planning and creating alternatives is a good idea.

    In a sense I think it really is... Admittedly, not necessarily in a way that everybody would notice, as you said - but still...

    What X is good at, basically, is putting simple UIs over a network. For instance, I can run XEmacs remotely over the internet, and performance is decent.

    Presently, this feature of X is being under-utilized. We're using a network-transparent protocol for the display server, but most people aren't running apps from remote hosts, and applications aren't being written with this in mind.

    Basically, for all the overhead associated with something like X to be worthwhile then one of a few possible conditions must be satisfied. Either applications must be designed such that they work efficiently over the network with the present limitations in the display protocol, or the display protocol must be enhanced or altered such that today's applications can run reasonably well over a network link.

    Running X apps over an internet link versus a LAN is an extreme case, admittedly - but nevertheless, an old Athena app can do it, while the simplest of GTK or QT apps can have a real problem with it...

    --
    Bow-ties are cool.
    1. Re:What's wrong with X... by fat_mike · · Score: 3, Interesting

      Hell, I run MythTV over the Internet. By that I mean I run mythfrontend on the server via X11 to my non-Linux work computer.

      Works pretty well.

    2. Re:What's wrong with X... by Anonymous Coward · · Score: 0

      i for one welcome our --

      wait. i don't think i'm doing this right

    3. Re:What's wrong with X... by Anonymous Coward · · Score: 1, Informative

      Heh. What would be cool would be if someone thought of this use case. The protocols, API, and ABI need to keep going higher level to support remote desktop scenarios too. I'd like to see your case work by sending application data streams such as H.264 through the server to a remote system where they are decoded and physically composited onto the display. And the remote display should have the compositing and window management logic to allow "rootless" display as an option if the user wants it, rather than if the application and remote desktop software feel like providing it. And then detach the session and migrate the user to another system and do the same thing. It should not render to a bitmap and then send that via the remote desktop protocol.

    4. Re:What's wrong with X... by techno-vampire · · Score: 1

      Here in America, you screw up Slashdot memes. In Soviet Russia, Slashdot memes screw you up.

      --
      Good, inexpensive web hosting
    5. Re:What's wrong with X... by Anonymous Coward · · Score: 0

      > Presently, this feature of X is being under-utilized. We're using a
      > network-transparent protocol for the display server, but most people
      > aren't running apps from remote hosts, and applications aren't being
      > written with this in mind.

      The primary reason why people aren't running apps from remote hosts is due to the security problems it engenders. Have you ever tried to configure a secure remote X session? The X protocol is verbose, not terribly easy to encrypt, and wasn't designed for it. On top of that, the security model in X is byzantine, to put it mildly. X is fine over local network connections where you're reasonably sure about the security of the network. Running X over an encrypted link through the Internet cloud is like kicking dead whales down the beach.

    6. Re:What's wrong with X... by James_Aguilar · · Score: 1

      Talk about completely missing the point. You were off to such a good start when you said, "Presently, this feature of X is being under-utilized." But from there, you should make the jump that nobody gives a damn about a network-transparent graphics protocol and that every minute spent thinking about how to make it better is a wasted minute. The solution is not for application writers to better support X's model, but to realize that X's model is without value and scrap it. Why are you so interested in improving a feature that nobody uses or wants?

    7. Re:What's wrong with X... by Anonymous Coward · · Score: 0

      try nstx

    8. Re:What's wrong with X... by Anonymous Coward · · Score: 3, Interesting

      Huh? ssh -X computer_name. Run X programs securely. Easy.

    9. Re:What's wrong with X... by dacut · · Score: 1

      X was never that great at running apps over general networks. The protocol requires so many round-trip queries that it's highly dependent on latency -- e.g., it's ok for getting an xterm on the server two buildings over, but painful once you start measuring the distance in miles. Although many aspects of computing devices are getting faster, the speed of light has held steady.

      VNC was an interesting approach to the problem. All of the initial queries are up-front, then it's just the two sides pushing events at each other (mostly "draw this pixmap" and "move the cursor"). I say "interesting" because I would not have expected remote framebuffers to be practical (I was still on dial-up when I first started using it).

      NX is closer to what I had envisioned. However, getting it to work in the enterprise has been a challenge, at least in my experience. I can compile TightVNC for RHEL 3, for instance, with little more that a configure, make, make install. FreeNX, OTOH, not so friendly. (And installing personally licensed commercial software, like NoMachine's implementation, is a big no-no here.)

    10. Re:What's wrong with X... by Ash-Fox · · Score: 1

      Running X apps over an internet link versus a LAN is an extreme case, admittedly - but nevertheless, an old Athena app can do it, while the simplest of GTK or QT apps can have a real problem with it...

      I have ran KDE and Gnome applications over high latency GPRS connections using SSH and X (fixing settings remotely for users)...

      I honestly didn't have any issues.

      --
      Change is certain; progress is not obligatory.
    11. Re:What's wrong with X... by Ash-Fox · · Score: 1

      Have you ever tried to configure a secure remote X session?

      Yep! Dead easy. I remember when I created dumb terminal clients that just executed "ssh -Y xlogin@host startkde". Worked fantastic.

      The X protocol is verbose, not terribly easy to encrypt, and wasn't designed for it.

      How is "ssh -Y" not easy?

      --
      Change is certain; progress is not obligatory.
    12. Re:What's wrong with X... by afidel · · Score: 1

      X sucks over anything less than 10Mb Full Duplex IMHO, if you have less bandwidth than that between client and server there are MUCH better protocols like ICA/RDP, NX, or even VNC. This was true when I worked at Cisco back in 2000-2003 and it's still true today. I found that if you had to use X from a remote site even over the 6Mb pipe it was painful so people learned to use VNC with SSH to avoid latent cursor problems and slow screen refreshes not to mention the absolute pain of dropped sessions ending the remote app.

      --
      There are 4 boxes to use in the defense of liberty: soap, ballot, jury, ammo. Use in that order. Starting now.
    13. Re:What's wrong with X... by LordMyren · · Score: 1

      I wish I could find docs on the NX protocol; alas it appears I'd have to reverse engineer from the source.

    14. Re:What's wrong with X... by QuoteMstr · · Score: 1

      NX wouldn't even be possible if the core X11 protocol weren't there for it to compress.

    15. Re:What's wrong with X... by delt0r · · Score: 1

      Presently, this feature of X is being under-utilized.

      Speak for yourself. My whole group use this daily and I even need this when i teach some classes. In one of the telecos I was working at, almost every single desktop machine was used as a x client to the big iron (running windows too). This feature is so heavily used where i work that any "X server" that does not support this won't even get installed.

      --
      If information wants to be free, why does my internet connection cost so much?
    16. Re:What's wrong with X... by Anonymous Coward · · Score: 0

      Windows does this too, so your point is well out of date. How do you think remote desktop works? Windows has a network transparent graphics layer just like X, only DirectX bypasses this, just like SDL and OpenGL are not network transparent on X.

      To be honest your point isn't even valid for X since Xshm came along.

    17. Re:What's wrong with X... by pato101 · · Score: 2, Informative

      and with -C as well, I speed up at low latency links. Further FreeNX/NX do the trick for even lower latency links, also under a ssh tunnel.

    18. Re:What's wrong with X... by pato101 · · Score: 1

      FreeNX comes out of the box at SuSE 10.3. Requires a small node.conf modification to adapt to new gnome/kde startup procedures thought. It will work just OK for "custom app" mode. I guess these issues may have been solved at more recent versions of SuSE.

    19. Re:What's wrong with X... by pato101 · · Score: 1

      Wrong, OpenGL is network transparent through GLX extension. I've seen a 30e6 triangles VMRL model rotated much quicker at a remote display where we had better hardware+drivers respect to the machine the app was actually running at.
      In GLX, OpenGL display lists are loaded AT THE X-SERVER: the loading process takes longer when doing remote, but then, they are hardware-accelerated-displayed at the remote machine!.

    20. Re:What's wrong with X... by pato101 · · Score: 1

      AFAIK NX protocol is opensourced. Google for FreeNX. Nomachine commercial code just eases the setup respect to FreeNX in this case. FreeNX is getting user friendly though.

    21. Re:What's wrong with X... by Alioth · · Score: 1

      I use "ssh -X" every day to securely run X clients on remote systems. Encrytped and secure. It's not hard.

    22. Re:What's wrong with X... by rbanffy · · Score: 1

      "We're using a network-transparent protocol for the display server, but most people aren't running apps from remote hosts, and applications aren't being written with this in mind."

      I can say that. It's really painful to run, say, gedit across a 256 Kbps link. OTOH, running emacs (as someone pointed out earlier) is quite painless (for the X part of it, at least).

      Windows users can do almost anything via Remote Desktop. It's always a shame when they have toys we don't.

    23. Re:What's wrong with X... by Anonymous Coward · · Score: 0

      Running X apps over an internet link versus a LAN is an extreme case, admittedly - but nevertheless, an old Athena app can do it, while the simplest of GTK or QT apps can have a real problem with it...

      Not really a problem if you're using either DXPC or NX.

    24. Re:What's wrong with X... by Abcd1234 · · Score: 1

      and with -C as well, I speed up at low latency links. Further FreeNX/NX do the trick for even lower latency links, also under a ssh tunnel.

      First, I assume you meant "high latency". Second, adding ssh-level compression will, generally speaking, *increase* latency, not decrease it.

      But for mid-to-low latency, low-bandwidth links, -C is a good idea (like, say, connecting to my cable modem at home, which has very limited upstream). For anything else, you probably want NX or VNC.

    25. Re:What's wrong with X... by Tetsujin · · Score: 1

      Talk about completely missing the point. You were off to such a good start when you said, "Presently, this feature of X is being under-utilized." But from there, you should make the jump that nobody gives a damn about a network-transparent graphics protocol and that every minute spent thinking about how to make it better is a wasted minute. The solution is not for application writers to better support X's model, but to realize that X's model is without value and scrap it. Why are you so interested in improving a feature that nobody uses or wants?

      Well, because -I- want it, obviously. :D

      But I kind of covered the issue as an either-or... Either network transparency should be made practical for the kinds of GUI apps people are really writing, or we should drop it and get network transparency via something like VNC (damn, I think I referred to it as "VLC" in my earlier post...) - and stop fooling ourselves that all our X apps really are network transparent...

      --
      Bow-ties are cool.
    26. Re:What's wrong with X... by Anonymous Coward · · Score: 0

      "Presently, this feature of X is being under-utilized. We're using a network-transparent protocol for the display server,"

      Sadly the "network-transparency" of X is just a
      joke. For any non-trivial modern GUI application,
      it takes year for X to load on a typical ADSL
      link. Even on LAN, the responsiveness is so horrible that makes you envy the Windows terminal server which is built on a "non-network-transparent" GUI system.

    27. Re:What's wrong with X... by Brandybuck · · Score: 1

      Qt apps work just fine over a network. For best performance, stay away from OpenGL and large pixmaps or gradients. You want to avoid shoving huge bitmaps down your skinny pipe. Some themes can be killers, but overall Qt is nearly as responsive as Athena over a network.

      --
      Don't blame me, I didn't vote for either of them!
    28. Re:What's wrong with X... by youknowwhat · · Score: 1

      X's network transparency is a joke.. You are torturing yourself if you run any non-trivial X apps over a DSL link. Even on LAN, the delay is so horrible that you will envy those guys using Windows Terminal Server.

    29. Re:What's wrong with X... by LordMyren · · Score: 1

      Yes NX is opensourced and the most active developer is FreeNX. What I'd like to see though is documentation of the core protocol.

    30. Re:What's wrong with X... by Anonymous Coward · · Score: 0

      Just last night I was running tsclient on my work box to RDP into a Windows PC over a VPN, rendering on my X server at home. I didn't have any issues at all with it.

  14. X11 has replaced the X11 standard... by amorsen · · Score: 3, Informative

    None of these have replaced the X11 standard.

    X11 in 2008 is a lot different from X11 in 1998. Much of the X11 API is never used, and therefore you can get away with making a much simpler X-server which only supports the new calls. It won't run very old programs without some sort of compatibility box, but those are fairly rare.

    --
    Finally! A year of moderation! Ready for 2019?
    1. Re:X11 has replaced the X11 standard... by Anpheus · · Score: 1

      If it meant a faster, easier to use X Server that didn't hose my computer every time I switched graphics cards or even monitors, I'm all for it.

      And I'd also be OK with Linux detecting when an application tries to make those calls to deprecated functions, and like Vista and XP does, ask me if I want to run them in compatibility mode.

    2. Re:X11 has replaced the X11 standard... by rbanffy · · Score: 1

      No xlogo and xclock then?

      Oh no!

    3. Re:X11 has replaced the X11 standard... by amorsen · · Score: 1

      If we assign a team of 100 programmers to the project, I believe we can have xlogo ported by 2015.

      --
      Finally! A year of moderation! Ready for 2019?
    4. Re:X11 has replaced the X11 standard... by rbanffy · · Score: 1

      Perhaps, but it wouldn't be right to run xlogo on anything other than X, would it?

  15. Y windows; drivers by bcrowell · · Score: 4, Insightful

    There's another project called Y Windows, which also aims to replace X with something that has less historical cruft.

    The real question in my mind is whether this kind of thing does anything to address the big problems users are really encountering. Of course, not every open source project has to make large numbers of users happier. But the author of Y Windows says, for example, "I've got tired with the state of desktop GNU/Linux. Most of the problems that I see with it can be traced back to the underlying window system, X. So I decided to write its successor... "

    For me as an end-user, the big issues are simply hassles with xorg not correctly recognizing LCD screens, so that it sets them to an inappropriate resolution, or the image appears offset. I have close to zero interest in gaming, so personally I just use the onboard video of my mobo, with only 2-d driver features, but the impression I get from people who do care about gaming (or fancy WMs) is that the big issue is drivers, not the internal structure of X.

    As far as programming, the structure of X also seems like kind of a non-issue. Sure, X's APIs are heinously ugly, but almost nobody uses them directly.

    The advantages listed by the article are things like a more manageable code base, a smaller memory footprint, and elimination of rendering artifacts. To me, none of those seem like major issues that I was all that worried about.

    1. Re:Y windows; drivers by Zaurus · · Score: 5, Informative

      I remember when Y windows was slashdotted in Feb 2004. It sounded pretty interesting. Unfortunately, it also looks like there hasn't been a single news item on their web site since Feb 2004, and their "community wiki" link points to a domain-squatter-ad-site. Also, the downloads match the version announced in 2004.

      It's dead, Jim.

    2. Re:Y windows; drivers by Jorophose · · Score: 1

      This isn't to replace the X server, though.

      This is like how X.Org is to Xfree86.

    3. Re:Y windows; drivers by Anonymous Coward · · Score: 0

      Or more appropriately: "Zed's dead, baby. Zed's dead"

  16. Network Transparency? by Hatta · · Score: 1

    FTFA:Kristian Høgsberg... describes this project as "a new display server that implements just the tiny fraction of X features that we actually use when running a composited desktop.

    I really hope that includes X forwarding, but it sounds like it doesn't. Network transparency is IMO the killer feature of X, it would be a shame to throw the baby out with the bathwater.

    --
    Give me Classic Slashdot or give me death!
    1. Re:Network Transparency? by Qzukk · · Score: 1

      Network transparency is IMO the killer feature of X, it would be a shame to throw the baby out with the bathwater.

      Thinking about it, you should do just fine simply by having a separate userspace "Xd" server listening (with appropriate security) for remote X client connections that feeds them into the local display through whatever IPC this is going to use (likely still going to use shared memory). This would be especially easy if the local communication protocol still uses the same types of messages (if it's not the X protocol itself).

      If it continues to use the X protocol, then the applications themselves would continue to keep their network transparency.

      --
      If I have been able to see further than others, it is because I bought a pair of binoculars.
    2. Re:Network Transparency? by pdusen · · Score: 1

      Read again: the tiny fraction of X features that we actually use when running a composited desktop.

    3. Re:Network Transparency? by Kent+Recal · · Score: 0

      Network transparency is IMO the killer feature of X, it would be a shame to throw the baby out with the bathwater.

      You got it right, almost.
      Network transparency is the feature that kills X. Network transparency was nice and revolutionary (cough) when X was invented many years ago. Nowadays it's just a huge pain in the ass because it kills performance and makes the whole thing insanely complex.

      Reality has taught us that the whole network transparency thing is better tackled independently from the underlying platform.
      Free software like NoMachine and VNC exists today and handles the Remote Desktop Use-Case much better (faster!) than the native X protocol. Moreover they are cross-platform, they don't even care whether your client/server are a unix, Windows or Mac.

      A new X server should most definately not even attempt to provide network transparency. It should focus on solid driver support, fast compositing and a sane programming API so people can actually build stuff on top of it. Anyone who has ever worked with Xlib knows that the ridiculous API is the #1 reason why "linux on the desktop" is just not happening.

      The primary reason for QT and GTK being the monstrosities they are is that they both have to deal with an effectively broken foundation.

    4. Re:Network Transparency? by jedidiah · · Score: 4, Informative

      1) NO ONE programs with xlib.

      2) X doesn't "suffer" from being network transparent from the point of view of the user.

      I don't even want to think about setting up some kludge like VNC to deal with a future Unix GUI subsystem that isn't network aware.

      With X, I can just treat a network of machines like one big hive mind. Just make sure to set $DISPLAY.

      --
      A Pirate and a Puritan look the same on a balance sheet.
    5. Re:Network Transparency? by Jorophose · · Score: 1

      And we can't drop those X extensions without nVidia's cooperation.

      IMHO, network transparency is nice. I like x.org, I just want to see it crawl out of the hole XFree86 dumped it in. But then again, this is very nice too; but you start dropping features, and it just makes me wonder if it's all really worth it. But a lot of this is already there, already compiled with xorg and the kernel and the drivers, it's just putting them together. It should be nice when it's stable.

    6. Re:Network Transparency? by siride · · Score: 1

      Network transparency is not a problem for several reasons. One, performance is not affected by network transparency. Communication is done through Unix sockets and shared memory if the app is on a local machine. This is pretty much the same as it is on OS X (IPC to WindowServer) and Windows, sort of. For 3d stuff, there's DRI which lets apps talk directly to the video hardware, which is marshaled by the DRM. Secondly, network transparency is really just a side effect of having a good design for communicating between apps and the server. So it doesn't really add any complexity to the system for most cases: you just connect to a server and then start calling Xlib API calls, or whatever. The security model IS complex, or was, but it's now being replaced with a simpler one and most people just use SSH anyways.

      As far as the API is concerned, yes, it has some cruft in it. But guess what? It already has a working replacement: XCB. XCB implements the bare-bones protocol and can reduce latency significantly. All we need is for the toolkits to be ported to XCB, but nobody has done much work in this area (last I saw was a post to the Xorg mailing list a year or two ago where someone was trying to figure out what it would take to port GTK+ to XCB).

    7. Re:Network Transparency? by Ash-Fox · · Score: 1

      Free software like NoMachine and VNC exists today and handles the Remote Desktop Use-Case much better (faster!) than the native X protocol. Moreover they are cross-platform, they don't even care whether your client/server are a unix, Windows or Mac.

      VNC is far slower for me (plus I can't even get 3d acceleration on the client platform with it!). And X pretty much works fine for me everywhere. I've used it on high latency GPRS connections over SSH and didn't really have any issue using it (VNC would be murder on that).

      --
      Change is certain; progress is not obligatory.
    8. Re:Network Transparency? by timmarhy · · Score: 1
      pity standard X over a low bandwidth network sucks balls compared to VNC.

      yes that's right, we don't all have 10meg links.

      --
      If you mod me down, I will become more powerful than you can imagine....
    9. Re:Network Transparency? by Randle_Revar · · Score: 1

      >Nowadays it's just a huge pain in the ass because it kills performance and makes the whole thing insanely complex.

      I don't think I have ever heard an X dev say anything like that, and I have heard several of them deny it. Network transparency is not a major contributor to X's problems.

      >Free software like NoMachine [nomachine.com] and VNC [tightvnc.com] exists today and handles the Remote Desktop Use-Case much better (faster!) than the native X protocol.

      NoMachine is X with custom X-orientated compression (as opposed to generic compression like gzip).

      >Xlib

      That is a library issue, not a protocol or server issue, and the way out is XCB.

      >Anyone who has ever worked with Xlib knows that the ridiculous API is the #1 reason why "linux on the desktop" is just not happening.

      "linux on the desktop" is about average end users, and they do not care about underling libraries

    10. Re:Network Transparency? by quintesse · · Score: 2, Interesting

      Boy are you wrong, NoMachine _is_ X! They just use very clever compression schemes to make it usable over slow connections. http://en.wikipedia.org/wiki/NX_technology

      VNC, Remote Desktop, Citrix etc are just kludgey ways to get X-like remoteness for systems that were never meant for it and it's noticeable because they come with severe limitations.

      And for Gnome and KDE being "monstrosities" I don't know where you got that idea from, their respective developers seem to be pretty pleased with them. And Qt, which is one of KDE's pillars, is widely seen as one of the most powerful and easiest to use GUI toolkits. Ah, yes, it's cross-platform as well, which seem to defeat your "broken foundation" statement.

    11. Re:Network Transparency? by TheRaven64 · · Score: 1

      NO ONE programs with xlib.

      I beg to differ. There are always some things that aren't exposed by your toolkit of choice - I've written quite a bit of code recently with xlib. It's not a great API, but it does work. At the very least, your toolkit writers will be using xlib.

      2) X doesn't "suffer" from being network transparent from the point of view of the user.

      It does, but only indirectly. Xlib is a synchronous API on top of an asynchronous protocol. This is far from ideal, because it means that every time there is network delay, xlib blocks. This gives user-visible delays. XCB is a big improvement, since it exposes the event queue cleanly to users.

      There are lots of people complaining about X needing a 10Mb/s link. This is not true. Take a look at network usage sometime when running X apps remotely. You'll be surprised how little bandwidth it uses. 10KB/s is more than enough except when caching textures. The problem is latency. Xlib, and therefore also toolkits which are written on top of xlib, is very bad at hiding latency. A 100ms round trip time on the network can be a two second delay for the user if an activity requires a couple of dozen X requests. With XCB these are more likely to be handled asynchronously, so most of them will be fired off before the first response arrives. This makes X11 seem significantly faster.

      --
      I am TheRaven on Soylent News
    12. Re:Network Transparency? by TheRaven64 · · Score: 3, Insightful

      NX does two things that really should be added in to the server. First, it caches pixmaps. X11 was designed for cheap servers which might be memory constrained. These days, you are likely to have a huge amount of RAM close to the display. Being able to store a pixmap on the server would eliminate a lot of round trips. You can actually do this with the XRender extension, but it needs better toolkit support.

      The second is that it is stateless. This is the biggest thing limiting the usefulness of network-transparent X. There is no way of disconnecting a X window hierarchy from one server and reconnecting it to another (or the same one, at a different time).

      --
      I am TheRaven on Soylent News
    13. Re:Network Transparency? by Anonymous Coward · · Score: 0

      NX does two things that really should be added in to the server. First, it caches pixmaps. X11 was designed for cheap servers which might be memory constrained. These days, you are likely to have a huge amount of RAM close to the display. Being able to store a pixmap on the server would eliminate a lot of round trips. You can actually do this with the XRender extension, but it needs better toolkit support.

      Say what?

      I've been considering moving my card game from SDL to plain XLib, as SDL is f*cking slow over even 11mbit 802.11B, because it keeps transferring the frame buffer, rather than just having the server blit pixmaps to screen. Older games I have written use plain XLib, and they take time to start up when run over the network, as they transfer all the pixmaps to the server. But once the pixmaps have been transferred, they are pretty fast.

    14. Re:Network Transparency? by Anonymous Coward · · Score: 0

      1) NO ONE programs with xlib.

      http://dwm.suckless.org - probably the most popular xlib project around right now

      fuck off, teenager. plenty of us still code xlib -- especially on solaris in the medical industry.

    15. Re:Network Transparency? by BluenoseJake · · Score: 1

      Severe limitations like superior performance and less overhead?

    16. Re:Network Transparency? by spitzak · · Score: 1

      "Pixmaps" in xlib *are* on the server. That actually is what that symbol means.

      Lots of programs dump a lot of pixmaps to the server on startup.

      I think actually NX is *avoiding* sending the pixmap to the server until it is actually used, and is compressing them.

    17. Re:Network Transparency? by badkarmadayaccount · · Score: 1

      I think there was a hack that runs the clients to a virtual x server, which then implements the graphics via a hardware backed xserve. The window hierarchy stays connected to the same server, but can switch to running on any network available, x enabled hardware, so it is pretty much the same.

      --
      I know tobacco is bad for you, so I smoke weed with crack.
    18. Re:Network Transparency? by Ash-Fox · · Score: 1

      pity standard X over a low bandwidth network sucks balls compared to VNC.

      X actually works fine for me on low bandwith links (high latency GPRS connections - Using X with SSH parameters: -Y -C). VNC however just redraws and redraws and redraws so slowly, and that's with only 256 colours, never mind the full 32bit.

      Additionaly, I can also just run the one specific program I need to run - VNC requires the whole desktop.

      --
      Change is certain; progress is not obligatory.
  17. Article misunderstands concept? by Anonymous Coward · · Score: 5, Interesting

    The article describes this as a "new X server". However it quotes the author of said program pretty much implying this is some kind of a new, non-X video interface. He talks about "porting" GTK+ from X, and about writing native applications for it and a "new, rootless X server" in order to be able to run X apps. All things that would not be necessary if this were an X server.

    In other words, this is not an X server.

    1. Re:Article misunderstands concept? by dalurka · · Score: 1

      Mod this AC UP!
      It is a totally valid point!

      --
      If it was hard to write it should be hard to read.
  18. !XWindows. by Anonymous Coward · · Score: 0

    It's "X Window System", or "X Window", or simply X.

    #include
    #define BORG_GUI "Windows"
    int main(int argc, char **argv) {
        Display *disp;
        int screen;
        Window win;
        XEvent ev;

        disp = XOpenDisplay(NULL);
        screen = DefaultScreen("slashdot.org:0.0");
        win = XCreateSimpleWindow(disp, RootWindow(disp, screen), 10, 10, 50, 50, 1,
                                    BlackPixel(disp, screen), WhitePixel(disp, screen));
        XSelectInput(disp, win, ExposureMask | NewbieMask);
        XMapWindow(disp, win);
        while(strmp(argv[0], BORG_GUI)) { /* evil mode, resort to Win32 compatibility if called by wrong name */
            UINT iMsg = (UINT)ev;
            switch (iMsg)
                { /* always give your switches a default case */
                default:
            iMsg |= MSG_BSOD;
            MessageBoxA ((HWND) win, (LPCSTR) &fuck_you, (LPCSTR) &greetings_from_ms);
            SendMessage ((* HWND) win, iMsg, NULL, NULL);
            break;
                }
            return DefWindowProc(hwnd, iMsg, NULL, NULL);
        } /* good unix desktop beyond this point */
        SSL_connet ("apple.com:0.0", X11_FORWARDING | X11_REALM); /* FIXME: replace someday */

        return 0;
    }

    1. Re:!XWindows. by Ash-Fox · · Score: 1

      It's "X Window System", or "X Window", or simply X.
      #include
      #define BORG_GUI "Windows"
      int main(int argc, char **argv) {
                Display *disp;
                int screen;
                Window win;
                XEvent ev;
                disp = XOpenDisplay(NULL);
                screen = DefaultScreen("slashdot.org:0.0");
                win = XCreateSimpleWindow(disp, RootWindow(disp, screen), 10, 10, 50, 50, 1,
                                                                        BlackPixel(disp, screen), WhitePixel(disp, screen));
                XSelectInput(disp, win, ExposureMask | NewbieMask);
                XMapWindow(disp, win);
                while(strmp(argv[0], BORG_GUI)) { /* evil mode, resort to Win32 compatibility if called by wrong name */
                        UINT iMsg = (UINT)ev;
                        switch (iMsg)
                                { /* always give your switches a default case */
                                default:
                        iMsg |= MSG_BSOD;
                        MessageBoxA ((HWND) win, (LPCSTR) &fuck_you, (LPCSTR) &greetings_from_ms);
                        SendMessage ((* HWND) win, iMsg, NULL, NULL);
                        break;
                                }
                        return DefWindowProc(hwnd, iMsg, NULL, NULL);
                } /* good unix desktop beyond this point */
                SSL_connet ("apple.com:0.0", X11_FORWARDING | X11_REALM); /* FIXME: replace someday */
                return 0;
      }

      Jesus christ, you were bored!

      --
      Change is certain; progress is not obligatory.
  19. Finally? by TheDarkMaster · · Score: 1

    Finnaly the X Server will (maybe) get the same performance of windows interface? I know about the network transparency but c'mon! any normal user NEVER use this and this feature kill any chance of a fast graphical interface

    --
    Religion: The greatest weapon of mass destruction of all time
    1. Re:Finally? by beav007 · · Score: 1

      Ever used Compiz Fusion? Ever used Aero?

      Ever notice the difference?

      In my experience, I can run Compiz on computers that will hardly run Vista at all, even with Aero turned off.

    2. Re:Finally? by Hatta · · Score: 4, Informative

      You don't know what you're talking about. When not using network transparency, X.org uses unix domain sockets which are very fast. Given that you've got to do IPC somehow, and a well designed protocol will work just as well over TCP sockets as unix sockets, you basically get network transparency for free.

      --
      Give me Classic Slashdot or give me death!
    3. Re:Finally? by uglyduckling · · Score: 3, Informative

      I used it last week, I needed to change some settings on my MythTV server and couldn't be bothered to walk to the shed (!) so ran SSH -X from my laptop. Yes, I could do that with VNC or similar but it's nowhere near as neat having to run a desktop in a window on a desktop. Remote tunneled X allows me to run programmes on a remote machine seamlessly on my own desktop and is a feature that is used by thousands of people - maybe a lot more - every day. And it really doesn't slow things down at all.

    4. Re:Finally? by ClosedSource · · Score: 1

      Are unix domain sockets the fastest IPC method? Is the content of each X packet highly efficient? Are the number of packets required for an operation optomized for speed? Is there minimal parsing invovled. In other words, there's a lot more to efficiency than just the IPC method.

    5. Re:Finally? by Anonymous Coward · · Score: 0

      Finnaly the X Server will (maybe) get the same performance of windows interface? I know about the network transparency but c'mon! any normal user NEVER use this and this feature kill any chance of a fast graphical interface

      This guy proves the line between producers, and consumers.

    6. Re:Finally? by JohnFluxx · · Score: 1

      > (or with zero-memory-copy, wich can be achieved by the kernel easily)

      The protocol supports shared memory when running locally, so the pixmaps are not copied.

    7. Re:Finally? by TheDarkMaster · · Score: 1

      Is still slow as a turtle if you compare with windows desktop. This is the point.

      --
      Religion: The greatest weapon of mass destruction of all time
    8. Re:Finally? by TheDarkMaster · · Score: 1

      Uhh... I are talking about Win2000/XP desktop, not Vista.

      --
      Religion: The greatest weapon of mass destruction of all time
    9. Re:Finally? by Anonymous Coward · · Score: 0

      If use shared memory or system call for local communication, it would be faster.

    10. Re:Finally? by Anonymous Coward · · Score: 0

      Is still slow as a turtle if you compare with windows desktop. This is the point.

      But it isn't slow. This is the real point.

      Yes, I run both Windows and X-based desktops. Both with and without 3D-acceleration. On computers with identical hardware specifications. Please stop perpetuating incorrect information.

    11. Re:Finally? by jschrod · · Score: 4, Informative
      Actually, on almost all current systems, local X doesn't use sockets, but shared memory. This is available via the MIT-SHM extension since 1991, i.e., since 17 years. No pixmap copying, no serialization/deserialization as one other respondent claims.

      All folks who claim that X's problems lay in it's *ability* to use clients over a network are 17 years late. I.e., they have no clue at all. There are problems with X, but they are elsewhere.

      --

      Joachim

      People don't write Manifestos any more -- what's going on in this world? [Frank Zappa]

    12. Re:Finally? by TerranFury · · Score: 2, Insightful

      Plus, "ssh -X" (or -Y) just sends drawing commands over the link -- whereas VNC JPEG-compresses everything. Me, I like vector graphics, personally.

    13. Re:Finally? by ion.simon.c · · Score: 1

      Do you have a good benchmark to back this up?

      My desktop machine has been dual-booting Windows and Linux since 2002, BTW. xorg and Windows "feel" equally fast to me, whether we're talking about 3D or 2D accelerated, or with the framebuffer.

    14. Re:Finally? by TheDarkMaster · · Score: 1

      Well, on a fast machine is more difficult to see any diference. But try to use a low-end machine (XP or 2000 ok? not Vista) with many open windows, is easy to see the window manager painting windows on window moving.

      --
      Religion: The greatest weapon of mass destruction of all time
    15. Re:Finally? by ion.simon.c · · Score: 1

      What's a low-end machine?

      Athlon XP 2600, 2GB RAM?
      Pentium III 850, ~780MB RAM?

      Am I supposed to do this test with Windows, or xorg? If with xorg, what window manager? Finally, how many windows is many? 10? 100? 1000? Can they all be xterms?

      Cheers!
      Simon

    16. Re:Finally? by TheDarkMaster · · Score: 1

      We can use my desktop at work as example. Is a Pentium4 2.8GHz, 1GB RAM and a 80GB SATA as HD. Of course they run slackware 12 with KDE 3.5.8 fine, but the same machine using XP have a lot more fast drawing windows and applications (video, 2D, interfaces with a lot of buttons, combos and etc), no 3D into this comparation because is a too much driver-dependent issue.

      --
      Religion: The greatest weapon of mass destruction of all time
    17. Re:Finally? by TheDarkMaster · · Score: 1

      Okay people, changing to a question: If X server can be faster, how I can make then faster? And using KDE as window manager please.

      --
      Religion: The greatest weapon of mass destruction of all time
  20. Canonical by Enderandrew · · Score: 4, Interesting

    Shuttleworth said he is going to pay devs to work on major upstream projects. He should focus on this. For one, it would affect both KDE and Gnome users, and it would solve a major problem with Linux. If he really wants Linux to compete with OS X in terms of interface, he should focus on the X Server first.

    That being said, I hope Novell chips in some dev support, and that the KDE, Gnome, QT and GTK+ devs all chime on what they'd like to see changed.

    --
    http://blindscribblings.com - Tasty pop-culture in conceptual fashion.
    1. Re:Canonical by vga_init · · Score: 1

      You're talking about herding cats. It's hard to push away all this software that's been established for so long, hence all this crufty X business, or why there is still such a thing as X anyway.

    2. Re:Canonical by Just+Some+Guy · · Score: 2, Informative

      If he really wants Linux to compete with OS X in terms of interface, he should focus on the X Server first.

      Why? What do you personally dislike about X in general (or X.org in particular)? I installed Ubuntu 8.10 on my work Dell and it correctly autoconfigured everything from my subpixel antialiasing on my LCD to my 7-button Microsoft trackball to my Model M keyboard, using the open source accelerated Radeon drivers for my ATI card. I have a nice, composited desktop with no tweaking necessary. What more should I be expecting from my graphics layer?

      --
      Dewey, what part of this looks like authorities should be involved?
    3. Re:Canonical by Enderandrew · · Score: 3, Insightful

      And yet for many users they must manually edit and configure xorg.conf to get anything to work, and sometimes they never get it to work.

      There are tons of API calls that haven't been used in years, but no one wants to cut cruft or deprecate.

      Xorg is painfully slow, and we're still working around ancient legacy code rather than designing for modern systems.

      As for all that auto-configuring, honestly you can credit Ubuntu with plenty of that. Try a major distro like Ubuntu or openSUSE and you'll see the installer configure most of the hardware. Now try Gentoo which doesn't autoconfigure X and see how X performs with your hardware.

      --
      http://blindscribblings.com - Tasty pop-culture in conceptual fashion.
    4. Re:Canonical by mebrahim · · Score: 1

      I'm getting tired of telling people not to refer to Qt as QT. Qt is the C++ framework and QT is QuickTime. Please!

    5. Re:Canonical by siride · · Score: 1

      The slowness is generally bad drivers and that's mostly the fault of the vendors, not X. For those of us with good drivers, performance is excellent, nearly on par with Windows.

      As far as legacy API calls are concerned: leave them there. They don't hurt anything. No new code is optimized around them. Yes, it may bloat the server a little bit to provide the legacy emulation, but lets face it, any large infrastructure project like X, or an OS, or a language runtime, has to deal with legacy. That's a reality that Windows and OS X and every other system out there deal with. Get over it.

    6. Re:Canonical by Ash-Fox · · Score: 1

      And yet for many users they must manually edit and configure xorg.conf to get anything to work, and sometimes they never get it to work.

      The chronometer on your time machine is malfunctioning -- it's 2008.

      Xorg is painfully slow

      It's so slow that my Windows games running under Crossover games/Wine which actively translate DXSL to GLSL in real time for a graphics server that isn't even running on ring-0 (like Windows and OS X are) is able to beat both OS X and Windows XP/Vista in performance and quality (I can boot the quality settings right up without performance issues) on the same hardware.

      Now try Gentoo which doesn't autoconfigure X and see how X performs with your hardware.

      I'd rather be gaming with my already good enough, better FPS than Windows/OS X setup. I'm not that much of a tweaker.

      --
      Change is certain; progress is not obligatory.
    7. Re:Canonical by neowolf · · Score: 1

      Definitely a NEW experience with X.org and Ubuntu. After years of tweaking xorg.conf to get things to work right, I was actually able to DELETE IT (xorg.conf) after upgrading to Ubuntu 8.10 on both my laptop and desktop. They both booted right into my desktop like nothing happened. I thought it was a dream the first time.

      As far as I'm concerned- Cononical should continue to support the fantastic work the X.org folks are doing. It has been improving by leaps and bounds ever since it forked. I still vividly (and not fondly) remember the "dark ages" of getting Xfree86 to even work, and that wasn't all that long ago.

    8. Re:Canonical by guamisc · · Score: 1

      xorg -configure anyone?

    9. Re:Canonical by Randle_Revar · · Score: 1

      That is true with any xorg 7.4. It is not Ubuntu-specific.

    10. Re:Canonical by quintesse · · Score: 1

      Just curious, what is this "major problem with Linux"?

    11. Re:Canonical by savuporo · · Score: 1

      Try laptops, multiple monitors, TVout, resolution switching and .. oh, 3D

      --
      http://validator.w3.org/check?uri=http%3A%2F%2Fwww.slashdot.org Errors found while checking this document as HTML5!
    12. Re:Canonical by ericrost · · Score: 1

      Section "ServerLayout"
              Identifier "Default Layout"
              Screen 0 "Screen0" 0 0
              InputDevice "Generic Keyboard" "CoreKeyboard"
              InputDevice "Configured Mouse" "CorePointer"
              InputDevice "Synaptics Touchpad"
      EndSection

      Section "Module"
              Load "glx"
              Load "v4l"
      EndSection

      Section "InputDevice"
              Identifier "Generic Keyboard"
              Driver "kbd"
              Option "XkbRules" "xorg"
              Option "XkbModel" "pc105"
              Option "XkbLayout" "us"
      EndSection

      Section "InputDevice"
              Identifier "Configured Mouse"
              Driver "mouse"
              Option "Emulate3Buttons" "true"
      EndSection

      Section "InputDevice"
              Identifier "Synaptics Touchpad"
              Driver "synaptics"
              Option "SendCoreEvents" "true"
              Option "Device" "/dev/psaux"
              Option "Protocol" "auto-dev"
              Option "HorizEdgeScroll" "0"
              Option "SHMConfig" "true"
      EndSection

      Section "Monitor"
              Identifier "Monitor0"
              VendorName "Unknown"
              ModelName "Unknown"
              HorizSync 30.0 - 110.0
              VertRefresh 50.0 - 150.0
              Option "DPMS"
      EndSection

      Section "Device"
              Identifier "Device0"
              Driver "nvidia"
              VendorName "NVIDIA Corporation"
              BoardName "GeForce 8600M GT"
      EndSection

      Section "Screen"
              Identifier "Screen0"
              Device "Device0"
              Monitor "Monitor0"
              DefaultDepth 24
              Option "TwinView" "True"
              Option "MetaModes" "nvidia-auto-select, nvidia-auto-select"
              Option "AddARGBGLXVisuals" "True"
              SubSection "Display"
                      Depth 24
              EndSubSection
      EndSection

      Section "Extensions"
              Option "Composite" "Enable"
      EndSection

      Canonical did nearly 0 of anything that isn't generic in that Xorg.conf. nVidia did some lifting sure, but that's not even out of Canonical's repos. Are you telling me that gentoo isn't using the autoconfigure thats INSIDE the most recent versions of xorg?

    13. Re:Canonical by Anonymous Coward · · Score: 0

      Glad you liked X in 8.10.

      On my hardware it doesn't drive the monitor at the correct resolution. Up until either Dapper or Feisty (sorry I can't remember which) I used to be able to get round this by setting modelines in /etc/X11/sorg.conf after which I'd get the correct resolution on my monitor.

      Under all recent version of xorg this no longer works and my monitor ends up being driven at an unusable, visibly flickering, 50Hz. So my Linux desktop machine now functions purely as a Samba share.

      Plus I'm sorry to say that X just looks crappy to me. The fonts aren't a patch on the fonts on my Windows box, everything just looks "smeary" and most icons, controls etc. are simply too large. And that's comparing Windows & Ubuntu on exactly the same hardware, with the same 1024x768 resolution with the only difference being xorg doesn't drive the monitor at the correct frequency.

      You bet I'd like a better X server.

    14. Re:Canonical by TheRaven64 · · Score: 1

      And yet for many users they must manually edit and configure xorg.conf to get anything to work, and sometimes they never get it to work.

      Seriously? I haven't used Linux for a few years, but with FreeBSD and OpenBSD I haven't had an xorg.conf for years. Autoconfiguration just works.

      There are tons of API calls that haven't been used in years, but no one wants to cut cruft or deprecate.

      There are very few APIs that have not been used for years that are still there. Many extensions have been deprecated or removed due to lack of use (e.g. XIE). Perhaps you could cite some examples.

      --
      I am TheRaven on Soylent News
    15. Re:Canonical by TheRaven64 · · Score: 1

      This has nothing to do with Canonical, Ubuntu, or Linux. I've been running X.org on FreeBSD without a config file for a couple of years. Auto-configuration has been the preferred way of using X.org for quite a while.

      --
      I am TheRaven on Soylent News
    16. Re:Canonical by bjourne · · Score: 1

      It's so slow that my Windows games [steamcommunity.com] running under Crossover games [codeweavers.com]/Wine [winehq.org] which actively translate DXSL to GLSL in real time for a graphics server that isn't even running on ring-0 (like Windows and OS X are) is able to beat both OS X and Windows XP/Vista in performance and quality (I can boot the quality settings right up without performance issues) on the same hardware.

      Those games uses Direct

      Rendering which mostly bypasses X's rendering layers.

      It is interactions with and between windows in X that is slow. E.g. without compositing, each windows framebuffer is not stored in memory. That means that when you unminimize a window it has to repaint itself. When you move a window so that a window beneath it becomes visible, that window has to repaint itself. So when you dragged a window on top of a firefox window showing gmail, that would cause huge rendering artifacts and slowdowns everywhere because the gmail gui is constructed using javascript which firefox had to reinterpret.

      In 1986, when 1MB of memory was a shitload, that was a good idea. Storing each windows framebuffer would be wasteful. Today, it is just unbelievably broken. Now we have the composite extension which fixes this particular architecture misdesign.

      But there is more left. For example, the window manager structure. When you resize a window, first the window manager has to repaint the frame, then the client also has to repaint itself. Since they can't both repaint themselves at the same time you get flicker. The same thing applies to subwindows, check out how ugly scrollbars in gtk+ redraws when you resize their windows.

    17. Re:Canonical by Anonymous Coward · · Score: 0

      You might want to know that Xorg supports autoconfiguring itself, so there's no need for explicit autoconfiguration in gentoo or anywhere else.
      Just run `Xorg -configure` as root.

    18. Re:Canonical by Just+Some+Guy · · Score: 1

      I had similar problems when my monitor lied about it's capabilities, presumably to coerce Windows into picking the right mode for it. I don't have the Xorg.conf I used to fix it anymore, but it was along the lines of telling X to ignore the EDID settings it was receiving from the monitor, then explicitly specifying the maximum frequencies from the card's manual. I wish I didn't have to do that, but place the blame squarely on the monitor.

      As far as the fonts, you have something misconfigured. Considering you can adjust TrueType to approximate either Window or OS X, if fonts look bad it's because you need to choose the other.

      --
      Dewey, what part of this looks like authorities should be involved?
    19. Re:Canonical by Enderandrew · · Score: 1

      As a fellow pedant, I promise not to make that mistake again.

      --
      http://blindscribblings.com - Tasty pop-culture in conceptual fashion.
    20. Re:Canonical by Ash-Fox · · Score: 1

      It is interactions with and between windows in X that is slow. E.g. without compositing, each windows framebuffer is not stored in memory. That means that when you unminimize a window it has to repaint itself. When you move a window so that a window beneath it becomes visible, that window has to repaint itself. So when you dragged a window on top of a firefox window showing gmail, that would cause huge rendering artifacts and slowdowns everywhere because the gmail gui is constructed using javascript which firefox had to reinterpret.

      I am aware of these facts. Fortunately using a nVidia driver has it's benefits with the few annoyances that plague x.org.

      --
      Change is certain; progress is not obligatory.
    21. Re:Canonical by spitzak · · Score: 1

      But there is more left. For example, the window manager structure. When you resize a window, first the window manager has to repaint the frame, then the client also has to repaint itself. Since they can't both repaint themselves at the same time you get flicker. The same thing applies to subwindows, check out how ugly scrollbars in gtk+ redraws when you resize their windows.

      This is actually the *main* problem, not the need to redraw windows that you mentioned. MSWindows also redraws windows when you resize them and deiconize them, and double buffering (and thus the composite extension) hides any partial updates.

      It is in fact the asynchronous nature of the X window manager design that is the problem. This is why a 100x increase in machine speed has not hidden the problem, it is just as bad as it was 20 years ago.

      The easiest proof is to see that programs that draw their own window borders, such as a lot of music players, resize and redraw quite smooth on the same X server where resizes are bad for other programs.

      Unfortunatly fixing this means scrapping the "window manager" and there are a lot of people religeously opposed to that idea. They will say "oh the window borders will look different and that will *confuse* the user! Horrors!" (yet for some reason this is not a problem for every detail *inside* the window, which is drawn by the program, and for some reason the solution for those (using a toolkit) does not work for window borders.

  21. Seems to be in very early development by Snowblindeye · · Score: 4, Informative
    According to Article (I know, I know: I read it... I'm not from around here) this seems to be very early in its development. So don't rm your X server yet.

    Though before you think this will replace the current X.Org Server, Kristian explains "at this point wayland is just a prototype/playground for some ideas I've been toying with."

  22. How is this better/different than kdrive? by TruthfulLiar · · Score: 1

    I read the article, and it sounded rather like kdrive. Fast, simple, no cruft. Nobody uses kdrive, though, and I didn't see any compelling reason from the article why wayland is going to change things. Hopefully someone can enlighten me.

  23. Yes, network transparency by jonaskoelker · · Score: 2, Insightful

    The project implements a new X server. Clients (i.e. your applications) link against the gnome library which links against ... which links against the X library, which talks to the X server via tcp.

    The X forwarding in ssh works like any other port forwarding: listen on the port, grab the data, send it through the ssh tunnel, dump it at the target port on the other side.

    That's the simple version. Add to ssh some special-casing for X, and add to xorg and xlib a speed hack that lets it use unix sockets or shared memory instead of tcp. Not consequential.

    Unless the server only implements the speedhacked ways of transferring data between clients and the server, you'll have X forwarding.

    Most clients are on the same machine as the server, so implementing shared memory first seems like a good move, but X forwarding is used so often that the outcry would be massive if network capability is saved for last.

    Besides, I'd guess that data is transferred in the same format independent of how it's transfered; so the work to do tcp instead of shared memory is minimal.

    Don't panic :)

    1. Re:Yes, network transparency by RedK · · Score: 1

      Shared memory and Unix sockets have been a part of Xfree86 and x.org for a very, very long time. Your local applications do not use TCP/IP and haven't, ever.

      --
      "Not to mention all the idiots who use words like boxen."
      Anonymous Coward on Monday August 04, @06:49PM
  24. Sorry, but I just had to... by uberjack · · Score: 0, Offtopic

    Booo-urns!

  25. X11 - The X Windowing System by Anonymous Coward · · Score: 5, Insightful

    I hear a lot of (I bet) young people clamoring for X to die, and that would somehow improve Linux or Unix.

    X does not need and should not be allowed to die. Sadly X11 is probably one of the coolest pieces of misunderstood software on the planet. It is a bit dated and it does need a code cleanup/refactor, but because of proper design, that can happen without breaking the system.

    To those who have *no* understanding of X, they should try this:

    ssh -XC some_linux_machine
    eyes

    What happens is that the "display" is a network device. Windows terminal server and citrix, even today, can't easily separate application from display. X has had it for years. It isn't an afterthought requiring drivers to probe and figure out what got changed on the display surface and send a block over the network (like citrix and VNC), no the display is rendered over the network.

    X11, IMHO, is one of those hidden jewels in Unix that don't quite get. They focus on trying to make it like Windows or be a gaming platform, but UNIX is a "productivity" platform.

    Like I said, I'm all for refactoring, cleanup, cruft-removal, etc. to the codebase, but keep X11.

    1. Re:X11 - The X Windowing System by gblues · · Score: 0, Troll

      Good god, who the hell modded you insightful.

      Yeah, X separates application from display. Big fucking deal. The problem inherent with that is that there is no benefit to separating the application from the display. What X11 does is blit the entire damn window over the network. Fine on a local machine (= unlimited bandwidth), OK on a LAN, but murder over the Internet. You might as well be trying to stream an uncompressed movie.

      X11 flat out got it wrong. Separating the application from the display is worse than useless. Separating the application from the UI is what should have happened, because then your computing environment can have some consistency while still having the ability to run things across a network. That's the entire reason that browser-based applications have taken off over the past decade, particularly AJAX powered stuff. Instead, what we get are 20 million X applications that each have their own widgets, UI conventions, and configuration files because nobody in the X11 design sessions stopped to think that users might want the Print command to be in the same place and use the same keystroke in every application, or that users might want their menus to be rendered in a TrueType font (and to be able to change that font without editing 20 million configuration files).

      HTML+AJAX is doing now what X11 should've been doing 20 years ago. I don't know enough about Citrix or WTS to know how thin their client is, but I'm betting it's a lot thinner than X11.

    2. Re:X11 - The X Windowing System by cryptoluddite · · Score: 1, Flamebait

      X does not need and should not be allowed to die. Sadly X11 is probably one of the coolest pieces of misunderstood software on the planet. It is a bit dated and it does need a code cleanup/refactor, but because of proper design, that can happen without breaking the system.

      And X has probably given unix wankers the most wet dreams of any software project on the planet.

      Give me a break. Atoms stay around in memory forever, by design. There's no audio. It has the overhead of packing/unpacking data into structs. You can use shared memory, but it's no panacea. Lots of complicated stuff like ICCCM and Visuals and xauth. Ad hoc things like cut and paste via shared secrets. Can't disconnect/reconnect the same client. Lots of unused (even at the time) primitives like jaggy lines and circles designed for 1-bit displays. The list goes on and on. Seriously I could fill pages of just mentions of the problems, assuming you to know the details.

      So what does X get right? You can run a program over the network. That's it. Awesome... except that almost nobody does this, and VNC basically solves that problem. Certainly if anybody cared to, VNC-alike could easily send individual windows instead of the whole screen, like they do with vmware and parallels. But nobody cares to do that because in reality it's not that big a deal.

    3. Re:X11 - The X Windowing System by paulbd · · Score: 4, Insightful

      X11 does not blit the entire damn window across the network. Its a client/server architecture and what is passed across the network are requests by the client to ask the server to draw <something>, where <something> was envisaged as a mostly abstract entity. It is true that if you application does nothing but push images or video into a window, then there is little alternative to blitting across the network, but this is not what is happening in the majority of apps today. You seem to have about a similar level of (mis)understanding of what AJAX is doing, but I won't get into that here.

    4. Re:X11 - The X Windowing System by ion.simon.c · · Score: 1, Insightful

      Give me a break. Atoms stay around in memory forever, by design.

      I'm ignorant. Would you point me to the section in the docs that mentions this design requirement?

      There's no audio.

      Does OS X provide some sort of unified audio system?
      I know that you could play PCM files in Win 3.1, and Win 95 and up... so there was some sort of audio system involved there. But these days, you use generally use DirectAudio.
      However, I'm not sure that X11 needs to handle audio. Remember two things:
      1) X11 was first written in the very late eighties. Not too many folks were using systems with sound cards at the time.
      2) Modern Linux systems have ALSA for local audo. If they want networked audio, then they could use PulseAudio or aRTS. (or others.) Why add an audio spec to X11, when (most) everyone is already using something else?

      It has the overhead of packing/unpacking data into structs.

      Please go read the Win32 documentation for things like CreateFontIndirect and RegisterClassEx. Examine the function signatures closely.

      The list goes on and on. Seriously I could fill pages of just mentions of the problems, assuming you to know the details.

      Can you detail the problems? I'm genuinely curious here. Let's have a discussion. Hit me up at my slashdot username at gmail.

      So what does X get right? You can run a program over the network. That's it. Awesome... except that almost nobody does this, and VNC basically solves that problem.

      Actually, this *is* awesome. And, VNC does *not* solve that problem, not by a long shot. X11 is more efficient than even tightVNC.

      And, if both ends support OpenGL acceleration, you can forward an OGL app over the LAN with very little slowdown. (Factoid of the day: Did you know that OpenGL was designed to be forwarded over the network? It's true! : D )

    5. Re:X11 - The X Windowing System by ion.simon.c · · Score: 1

      It is true that if you application does nothing but push images or video into a window, then there is little alternative to blitting across the network, but this is not what is happening in the majority of apps today.

      *cough cough* mplayer *cough cough* [otherwise, I agree with everything you said!]

      (please don't bite off my head! Check downthread [1] for what I've been saying to this other dood!)

      [1] http://slashdot.org/comments.pl?sid=1017147&cid=25623333

    6. Re:X11 - The X Windowing System by Epillume · · Score: 2, Insightful

      HTML+AJAX is doing now what X11 should've been doing 20 years ago. I don't know enough about Citrix or WTS to know how thin their client is, but I'm betting it's a lot thinner than X11.

      That makes absolutely no sense. HTML/AJAX interfaces are anything but consistent. Every application has its own interface. X is used to display a complete GUI on top of a system with respect to its hardware and configuration while HTML/AJAX depend only on a compatible browser and a javascript engine. It doesn't make any sense to compare X11 to HTML and AJAX, they're different things.

    7. Re:X11 - The X Windowing System by quintesse · · Score: 2, Informative

      And why modded _you_ insightful? The X11 protocol most definitely does NOT "blit the entire damn window over the network". That's how things like VNC and MS' Remote Desktop work (although with a lot of compression to make it workable).

      But it is true that the protocol was made to work over relatively fast local network connections so not much thought was put into limiting the amount of traffic.

      But if you want X over a slow connection you could try NX (http://en.wikipedia.org/wiki/NX_technology).

    8. Re:X11 - The X Windowing System by serviscope_minor · · Score: 3, Insightful

      And X has probably given unix wankers the most wet dreams of any software project on the planet.

      Ah, insult the people. A sure sign of a strong technical argument.

      Give me a break. Atoms stay around in memory forever, by design.

      My god. The horror. My xserver has been running for a few weeks and:

      xlsatoms | wc -c

      gives 14746. That's a whole 14KILO bytes permenantly taken up by atoms. This includes the lavishly large number of atoms created by GTK and QT based programs. I have not one machine (including my Zaurus) where 14kB is a problem.

      There's no audio.

      Er, it's a graphics system.

      It has the overhead of packing/unpacking data into structs.

      Huh? Doesn't any API have this problem?

      You can use shared memory, but it's no panacea.

      It's also unnecessary and doesn't give much of a speed increase.

      Lots of complicated stuff like ICCCM

      ICCCM is complex and not that great. On the other hand, with the years of hindsight, large sections (some quite interesting) have dropped completely out of use and are essentially unimplemented. Commonly used sections like copy/paste work very well and are not complex.

      and Visuals and xauth. Ad hoc things like cut and paste via shared secrets.

      Copy/paste works very well and is elegant. I like the dual clipboard system, and the way that XDnD is/was a very small add on, using the same mechanism.

      Can't disconnect/reconnect the same client.

      That depends on the client.

      Lots of unused (even at the time) primitives like jaggy lines and circles designed for 1-bit displays.

      I don't consider myself old, but I've used X11 running on 1 bit displays. They were cheap and so some universities ahd them in significant quantities. I'm pretty sure it's not possible to draw a smooth line or circle on a 1 bit display, but if you know how, feel free to revolutionise display technology.

      The list goes on and on. Seriously I could fill pages of just mentions of the problems, assuming you to know the details.

      Your list is, so far rather uninformed. Have you ever programmed with XLib or examined the X protocol? Are you just regurgitating one of the more peculiar slashdot memes?

      --
      SJW n. One who posts facts.
    9. Re:X11 - The X Windowing System by Alioth · · Score: 2

      Not only are you rude and arrogant, you are almost entirely wrong in every important respect.

    10. Re:X11 - The X Windowing System by Anonymous Coward · · Score: 0

      What X11 does is blit the entire damn window over the network.

      What the hell!?! What fucking morons modded this blatantly wrong crap up to +4 Insightful?

    11. Re:X11 - The X Windowing System by dkf · · Score: 2, Informative

      What X11 does is blit the entire damn window over the network.

      No, not unless you're using the crappy toolkit from hell or trying to do compositing without hardware support. Usually X11 works by sending higher-level instructions like "draw a line from A to B".

      HTML+AJAX is doing now what X11 should've been doing 20 years ago.

      Solving a different problem through the addition of horrible hacks and a security arms race? O RLY?

      I don't know enough about Citrix or WTS to know how thin their client is, but I'm betting it's a lot thinner than X11.

      It's quite possible to slim things down by making more assumptions, resulting in less portable applications. I'd not rush to declare that this makes one better than the other though; X11's stood the passage of time remarkably well compared with other things of the same vintage (let alone the products you mention, which came much later and could hence incorporate a lot of experience).

      Those who don't understand exactly what X11 does are doomed to rubbish it and, by doing so, look foolish.

      --
      "Little does he know, but there is no 'I' in 'Idiot'!"
    12. Re:X11 - The X Windowing System by cryptoluddite · · Score: 2, Interesting

      Ah, insult the people. A sure sign of a strong technical argument.

      Correlation is not causation. How's that go?

      xlsatoms | wc -c gives 14746. That's a whole 14KILO bytes permenantly taken up by atoms.

      It's an information leak.

      Er, it's a graphics system.

      Used to create a user interface. User interfaces should have audio, and support video capture, etc.

      It has the overhead of packing/unpacking data into structs. Huh? Doesn't any API have this problem?

      No, not the ones that aren't network protocols. Most APIs pass their data as parameters, in registers, or as pointers.

      ICCCM is complex and not that great. On the other hand, with the years of hindsight, large sections (some quite interesting) have dropped completely

      ICCCM only exists because X11 has no thought to actual applications interacting with each other.

      Lots of unused (even at the time) primitives like jaggy lines and circles designed for 1-bit displays.

      I don't consider myself old, but I've used X11 running on 1 bit displays. They were cheap and so some universities ahd them in significant quantities. I'm pretty sure it's not possible to draw a smooth line or circle on a 1 bit display, but if you know how, feel free to revolutionise display technology.

      The problem is they are still jaggy on N-bit displays. That's why nobody uses them.

      Your list is, so far rather uninformed. Have you ever programmed with XLib or examined the X protocol? Are you just regurgitating one of the more peculiar slashdot memes?

      Says you. I've programmed in Xlib directly, including talking the protocol in binary for one project (where Xlib was too large to use). I've used Xt, Motif, and then also the newer toolkits of course. I've also hacked on the server source a little bit (not open source).

    13. Re:X11 - The X Windowing System by SimHacker · · Score: 1

      HTML+AJAX is doing now what NeWS (originally known as SunDew) was doing 23 years ago:

      Gosling, James (1986). "Article 5 - SunDew", in F.R.A. Hopgood, D.A. Duce ...: Methodology of Window Management (Eurographics Seminars) Proceedings of an Alvey Workshop at Cosener's House, Abingdon, UK, April 1985. UK: Springer-Verlag. ISBN 3-540-16116-3.

      -Don

      --
      Take a look and feel free: http://www.PieMenu.com
    14. Re:X11 - The X Windowing System by Anonymous Coward · · Score: 0

      It has the overhead of packing/unpacking data into structs.

      Please go read the Win32 documentation for things like CreateFontIndirect and RegisterClassEx. Examine the function signatures closely.

      Putting a field into a struct is different from packing it. For instance, if you write an X server you need to support both endian-ness for all the numbers (clients can use either endian). You either have double the code to have separate unpack routines for big and little or there is a switch, giving an extra branch per value looked at. Furthermore, not all systems are so nice as x86... so you have to align the memory, which means you can't just access the fields directly from the packets.

      So what does X get right? You can run a program over the network. That's it. Awesome... except that almost nobody does this, and VNC basically solves that problem.

      Actually, this *is* awesome. And, VNC does *not* solve that problem, not by a long shot. X11 is more efficient than even tightVNC.

      X11 *can* be more efficient than VNC, and VNC *can* be more efficient than X11... it really depends on the kind of app and what it's doing. For instance, an app that does all its own rendering like say Java is pretty clunky over X11 even with all of the optimizations they've done to try to overcome. An app that shows video is much better over VNC since it can automatically drop frames, use lossy compression, etc. An app that does a lot of sequential requests over the network to accomplish interactions will also be slower in X11 than VNC if there is high latency and high bandwidth (for instance, satellite internet).

      Also, VNC does not need to have a large delay. It does currently because the implementations are mostly focused on bandwidth and/or low memory use.

      And, if both ends support OpenGL acceleration, you can forward an OGL app over the LAN with very little slowdown. (Factoid of the day: Did you know that OpenGL was designed to be forwarded over the network? It's true! : D )

      Ok I have to give you this one, because it's cool; however, the same comparison re VNC vs X11 above applies to 3d graphics. Sometimes it'll be faster, sometimes slower. It depends on the app.

      The list goes on and on. Seriously I could fill pages of just mentions of the problems, assuming you to know the details.

      Can you detail the problems? I'm genuinely curious here. Let's have a discussion. Hit me up at my slashdot username at gmail.

      I don't use email. ;-P

      Others have gone into these problems before, and there should be plenty of material out there on the net easy enough to find.

    15. Re:X11 - The X Windowing System by 0xABADC0DA · · Score: 1

      X11 does not blit the entire damn window across the network. Its a client/server architecture and what is passed across the network are requests by the client to ask the server to draw , where was envisaged as a mostly abstract entity

      If you look at what this guys is saying in context, I think it actually makes sense. By not having the user interface be the subject of the network layer, what ends up happening is the interface draws the window on the 'client' side then copies (blitz) the contents to the server over the network, as a pixmap. This is doubly true because the primitives that X has are not suitable for making a modern UI.

      So while it's technically true that the protocol is creating windows, sending pixmaps, sending commands to draw etc rather than 'blitting' the window, it's morally true that the X11 protocol causes the whole window to be blitted. Another poster gave mplayer as an example. Java also blits the window into pixmaps then sends commands to draw these... the same is true for any number of other modern apps.

      Going back to what the original poster said, what if the core protocol were an interface protocol and Qt, Gnome, etc were extensions to the server instead of the really low-level extensions we have now like 'keyboard' and 'debug' and 'shape'? You could have consistency across applications and a network protocol that didn't blit. ... oh yeah, they did this and it was called NeWS. People didn't like it because it was from Sun and they had 'too much power' at the time.

    16. Re:X11 - The X Windowing System by Anonymous Coward · · Score: 0

      If that's true then why is X so much slower than Citrix or Remote Desktop? Nobody uses X over the network because the latency is so excruciatingly high.

      All the design in the world is for naught if it doesn't run well.

    17. Re:X11 - The X Windowing System by serviscope_minor · · Score: 1

      Correlation is not causation. How's that go?

      No, but correlation is correlation.

      It's an information leak.

      ITYM resource leak. But not one that matters in practice. Many atoms are shared between applications that do not know of each other's existence. Given the semantics of atoms, the server could flush non-standard ones that have not been created by a display currently connected. That's up to the server to do that.

      Used to create a user interface. User interfaces should have audio, and support video capture, etc.

      According to you. Can you name any windowing system which does do this? Sure, if you invent criteria, you can make X look bad, but then so does everything else.

      Besides, X11 is a windowsing system, not an operating system. Oh, and as for video, you're forgetting about the video part of the XV extension.

      No, not the ones that aren't network protocols. Most APIs pass their data as parameters, in registers, or as pointers.

      And how does the program get data to the API? By packing it in structs. And how does the API communicate to the underlying display server? Generally by some IPC mechanism. Even so, it's still not a significant overhead.

      ICCCM only exists because X11 has no thought to actual applications interacting with each other.

      Spoken like someone who has never understood X: mechanism not policy. X provides all the underlying mechanisms for applications to interact. That's how the excellent XDnD protocol was added with no extra API calls, and allowed it to coexist with and supercede the more poorly designed protocols it supplanted. It's how XDnD has been extended to support all sorts of useful things.

      It's how the EWM hints can work with new window managers, even if old ones choose to ignore them. And so on.

      The problem is they are still jaggy on N-bit displays. That's why nobody uses them.

      Newer programs tend to use newer features added to the protocol, like XRender. How is this suprising? Windows programs don't use only functions from the 3.11 API, so why would you expect X11 programs to use only functions only from the 1987 spec? Do you honestly expect any current windowing system to support all possible future technologies before they're invented without resorting to additions to the API/protocol?

      Says you. I've programmed in Xlib directly, including talking the protocol in binary for one project (where Xlib was too large to use). I've used Xt, Motif, and then also the newer toolkits of course. I've also hacked on the server source a little bit (not open source).

      I still say it. You've cobbled together a bizzare set of features and expectations that no system in existence or that will ever exist has and seem to think X11 is somehow deficient since it doesn't manage to meet them.

      --
      SJW n. One who posts facts.
    18. Re:X11 - The X Windowing System by Eravnrekaree · · Score: 1

      With so many small mobile devices out there I cant imagine that anyone would argue against X supporting low resolutions. Seems awfully shortsighted and would greatly impede X usefulness except on a desktop machine. X needs to scale to different kinds of hardware rather thna assume everyone has massive uber power video card and huge 20" displays.

    19. Re:X11 - The X Windowing System by ion.simon.c · · Score: 1

      Can you tell me what "morally true" means in the context of this discussion?

      Gah. I'm almost sorry that I even brought up mplayer...
      Mplayer (and every other video playing app) is *much* different from every other X app out there. Every other X app can (and does) send rendering instructions across the network that are far less costly than blitting the whole damn window. Mplayer (and every other video playing app) can't do this, cause -by definition- they're blitting their whole damn window.

    20. Re:X11 - The X Windowing System by ion.simon.c · · Score: 1

      Windows programs don't use only functions from the 3.11 API...

      Unless *I* write them!

      *rimshot* I'm here all night, folks!

    21. Re:X11 - The X Windowing System by ion.simon.c · · Score: 1

      Putting a field into a struct is different from packing it. For instance, if you write an X server you need to support both endian-ness for all the numbers (clients can use either endian). ...Furthermore, not all systems are so nice as x86...

      So, if Windows or OS X supplied builds that supported more than just x86, they would have to write this duplicate code?

      X11 *can* be more efficient than VNC, and VNC *can* be more efficient than X11... it really depends on the kind of app and what it's doing.

      Eh, that is true. I remember X forwarding to be the faster way to run mplayer, but I'll test that out later tonight.

      Also, VNC does not need to have a large delay. It does currently because the implementations are mostly focused on bandwidth and/or low memory use.

      I probably misspoke. I don't think that VNC adds a large amount of latency. It is, however, either bandwidth hungry as all hell, or looks terrible ugly. (in general, YMMV, corner cases, etc, etc)

      Ok I have to give you this one, because it's cool; however, the same comparison re VNC vs X11 above applies to 3d graphics. Sometimes it'll be faster, sometimes slower. It depends on the app.

      So we can now say this with confidence:
      If an app needs *lots* of round trips [1] to the X server, VNC will be generally faster. The converse is also true. [2]

      I don't use email. ;-P

      Then why are you using the internet? ;)

      [1] Not that I know what operations need lots of round trips. : (
      [2] So, for what I do (remote web browsing and xterms over my cable modem) X Forwarding is faster than VNC. (nyah nyah nyah! : D )

    22. Re:X11 - The X Windowing System by ion.simon.c · · Score: 1

      Anyone with an early WinMo phone can attest to the suckyness of the Windows UI on that mofo. : <

    23. Re:X11 - The X Windowing System by ion.simon.c · · Score: 1

      I've seen Remote Desktop in action. In 2002, it was *marginally* faster than TightVNC. See the discussion upthread [1] for more details about VNC vs. X forwarding.

      [1] http://slashdot.org/comments.pl?sid=1017147&cid=25630607

    24. Re:X11 - The X Windowing System by 0xABADC0DA · · Score: 1

      'Moral' as in the 'essential character', an honest look at the traffic, at the big picture.

      In some cases, when you have a stylized button for instance, the 'up' and 'down' are sent to the server once and the application tells the server to display the up or down image as appropriate. But increasingly, the toolkit renders the 'up' or 'down' locally into a memory buffer and then sends the image to the server each time. This can be because the toolkit was not written directly with X windows in mind, or the concepts don't map directly (flash), or the program set a custom paint callback and the toolkit doesn't know that it's just going to draw an image. Or the toolkit uses it's own rendering pipeline since maybe X doesn't have right blending or scaling algorithm. Whatever the reasons, this happens a LOT in modern X applications.

    25. Re:X11 - The X Windowing System by Eli+Gottlieb · · Score: 1

      Why keep X11? Why not, for example, implement an open-source server and clients for Quartz Compositor's protocols?

    26. Re:X11 - The X Windowing System by Anonymous Coward · · Score: 0

      >ssh -XC some_linux_machine
      >eyes

      There goes twenty minutes of wheeling the mouse around and giggling...

    27. Re:X11 - The X Windowing System by Anonymous Coward · · Score: 1, Insightful

      > What X11 does is blit the entire damn window over the network. Fine on a local machine (= unlimited bandwidth)

      First assertion is demonstrably wrong, and the second is a strawman. X was designed to run on a LAN (specifically, a network with low latency)--of course it suffers when applied to an unsuitable medium. Does music sound as good when played on your mobile phone's built-in speaker?

      This is not a new complaint. Several approaches for dealing with high latency links have been tendered over the years (see NX for a recent example with a solid backing); if you are still having this problem, you simply haven't done your research.

      > Separating the application from the display is worse than useless. Separating the application from the UI is what should have happened

      Good thing X does the latter, then. That's right: X11 follows a fundamentally similar approach to the browser-based approach you seem to like so much. It speaks "X" instead of "HTML+AJAX", but the approach is the same. The application tells a remote display how to construct its interface. The difference is that X has a much broader set of options, which makes configuration more of a problem--especially on Windows boxes, which tend to eschew X as a matter of principle.

      What you probably meant is that X GUIs don't look "modern" enough. That has more to do with a lack of standardized X extensions than anything else. Tough. IME most of those extensions are eye-candy, and become tiresome very quickly in a production environment.

      > That's the entire reason that browser-based applications have taken off over the past decade

      Bullshit. Browser-based applications took off because everyone and their uncle had a Windows box with a browser on it, while relatively few people had an X server. Couple that with the "if HTML is good, let's use it for everything" mentality that pervades MBA-types these days, and the monstrosity that is the modern Web was inevitable.

      X's graphics model had no more to do with the rise of AJAX than Windows graphics model did.

      > because nobody in the X11 design sessions stopped to think that users might want the Print command to be in the same place and use the same keystroke in every application

      You mean like Windows, where GUI consistency is king? Much as I hate the deliberate violation of established GUI design metrics in an effort to appear "spiffy", the one-size-fits-none approach enforced by the browser is hardly better. How often do you get clean print-out from a web-site? Not often. Modern sites have too much clutter, and not enough control of the browser (though, ironically, still much more control than they should have).

      Again, not an X issue so much as a "programmers don't follow established GUI standards" issue.

      > I don't know enough about Citrix or WTS to know how thin their client is, but I'm betting it's a lot thinner than X11.

      You hold AJAX up as a paragon, and then complain that X is not a thin enough client? Wow. Just, wow.

    28. Re:X11 - The X Windowing System by cryptoluddite · · Score: 1

      I still say it. You've cobbled together a bizzare set of features and expectations

      I reached into the the grab bag of my mind and pulled out a handful. You want more? You want a complete thesis on deficiencies of X? There's plenty, but frankly, given that you are bickering over the examples I used, I doubt that is your reason.

      It's an information leak.
      ITYM resource leak. But not one that matters in practice.

      No, it's an information leak. It's one of many reasons why the same X server cannot ever be used by multiple SELinux contexts that are to be isolated from each other.

      Spoken like someone who has never understood X: mechanism not policy. X provides all the underlying mechanisms for applications to interact.

      "the free market", "drill baby drill", etc. Mantras don't solve problems.

      That's how the excellent XDnD protocol was added with no extra API calls, and allowed it to coexist with and supercede the more poorly designed protocols it supplanted. It's how XDnD has been extended to support all sorts of useful things.

      I'm sorry, but what? You're using cut and paste as an example of something X has done right? Give me a break. The other day I had a dragged folder and it fly back after several minutes, out of nowhere to nowhere. And a terminal where ctrl-shift-v wouldn't paste the clipboard but right-click paste did. And the pride and joy, the clipboard that disappears when the application exits.

      It is seriously deluded to think the X clipboard is anything but an unmitigated disaster... you may consider that an insult. I consider it a fact.

    29. Re:X11 - The X Windowing System by cryptoluddite · · Score: 1

      So, if Windows or OS X supplied builds that supported more than just x86, they would have to write this duplicate code?

      Ok, I see you are not a programmer, or at least not at a low-level. Normally, an API uses the native system's byte order (endian-ness) or network byte order (big endian). The X protocol can use either endianness, and that incurs overhead on the server to branch on each access or to provide two implementations.

      Eh, that is true. I remember X forwarding to be the faster way to run mplayer, but I'll test that out later tonight.

      mplayer is very advanced. It maybe dropping frames or doing any number of tricks to look smoother. But most likely it is the VNC client that is the problem, for instance that last time I tried it watching video was much faster using the Java applet on jdk 1.5 (I think) vs the tight?vnc client... the difference being that the applet automatically got acceleration from Java2D's advanced pipeline whereas the straight C program didn't.

      So we can now say this with confidence:
      If an app needs *lots* of round trips [1] to the X server, VNC will be generally faster. The converse is also true. [2],

      The trick is that it's not readily apparent what apps or operations those are. A press on a button element might take 3 round trips or it might take 30, depending on the toolkit and app and all sorts of things. The nice thing about VNC is that it's performance is very stable regardless of any of those variables.

    30. Re:X11 - The X Windowing System by serviscope_minor · · Score: 1

      I reached into the the grab bag of my mind and pulled out a handful. You want more? You want a complete thesis on deficiencies of X? There's plenty, but frankly, given that you are bickering over the examples I used, I doubt that is your reason.

      So in your mind, a windowing mechanism should do audio videograbbing (actually, it does, but I disagree that it should) and do everything in the future without having any legacy/old/little used parts of the API around (jagged lines)?

      I'd say that's a bizzare set of features that you won't find anywhere, at least on no system I'm aware of. Certainly no other systems provide any of thses features in a network transparent manner.

      No, it's an information leak. It's one of many reasons why the same X server cannot ever be used by multiple SELinux contexts that are to be isolated from each other.

      How so? The atom list is public to all clients: it's designed to be a public list of (keys to) strings, so they can be exchanged efficiently via the X server. Typical things are names of datatypes (MIME types these days) and so on. I may be missing something here, so feel free to expand the point.

      "the free market", "drill baby drill", etc. Mantras don't solve problems.

      Seriously, WTF? I listed a number of problems which had been solved well, under the "mechanism not policy" philosophy. Of course mantras don't solve problems, but careful design (like X11) allows problems to be solved easily.

      I'm sorry, but what? You're using cut and paste as an example of something X has done right? Give me a break. The other day I had a dragged folder and it fly back after several minutes, out of nowhere to nowhere. And a terminal where ctrl-shift-v wouldn't paste the clipboard but right-click paste did. And the pride and joy, the clipboard that disappears when the application exits.

      Yes, X does it right. You appear to be referring to a buggy application (never had one those on another system: must be the fault of X11). Copy/paste and XDnD is simple, elegant and effective. And you've misconfigured your terminal. That must also be the fault of X11. Sad really. And finally, if you don't like the clipboard disappearing when the application closes, then use a bloody clipboard manager. They've only been around since the late eighties.

      It is seriously deluded to think the X clipboard is anything but an unmitigated disaster... you may consider that an insult. I consider it a fact.

      Have you ever written a program to copy/paste using nothing but Xlib?

      --
      SJW n. One who posts facts.
    31. Re:X11 - The X Windowing System by Anonymous Coward · · Score: 0

      And finally, if you don't like the clipboard disappearing when the application closes, then use a bloody clipboard manager. They've only been around since the late eighties.

      Excuses and rationalizations, just like the rest of your posts here. This discussion is over.

  26. Maybe too late. by Stalyn · · Score: 2, Informative

    Jon Smirl and David Reveman lobbied for a new xorg server built on OpenGL. It got little support from the community especially from Red Hat and Novell. Personally I think this was one of the greatest missed opportunities in the history of OSS. We could have had a modern xorg server replacement which rivaled Apple and Microsoft. Now we have the main xorg branch floundering from lack of interest and developers. Not to say there hasn't been progress made but no one can argue that xorg has the resources available to compete.

    Ironically someone who argued against X on OpenGL now is working on his own xorg server replacement. Good luck to him and I hope he has better support.

     

    --
    The best education consists in immunizing people against systematic attempts at education. - Paul Feyerabend
    1. Re:Maybe too late. by Anonymous Coward · · Score: 0

      It's not X on anything, it's a new API, next-gen of X11.
      And as such it is interesting to see what new ideas might go in.

    2. Re:Maybe too late. by Jorophose · · Score: 1

      I love it when people compare X to MS's windowing system and Apple's.

      Well guys, X hasn't change in philosophy. (it took a turn for the worse with XFree86 though) And look at what happened with Mac and Windows...

      Both are headed to unix-like designs, in OSX's case already there (but it's not like they'll admit defeat) and Windows 2k8 is getting close. I wonder how long until both have a Xorg deriative? 2 generations?

    3. Re:Maybe too late. by droopycom · · Score: 1

      Is he arguing for OpenGL on X instead ?

      Its just seem like those guys cant decide who should be on top...

    4. Re:Maybe too late. by Randle_Revar · · Score: 1

      >Now we have the main xorg branch floundering from lack of interest and developers.

      They could use more devs, but it is not really floundering. It is taking more time than everyone would like, but they know where they are going, and when they get there it should be pretty good (DRM2, KMS, GEM, Gallium3D).

    5. Re:Maybe too late. by Stalyn · · Score: 1

      Actually it looks like an up-to-date version of Xegl using DRI2.

      --
      The best education consists in immunizing people against systematic attempts at education. - Paul Feyerabend
    6. Re:Maybe too late. by TheRaven64 · · Score: 1
      OS X won't have an Xorg derivative (well, it has an X.org port, but it runs it on top of Quartz). When they created OS X, they threw away Display Postscript which was a nice design but with some limitations. They considered X, and there's a really great Slashdot post from one of the original authors about why they didn't go with it. This post lists a load of things that would have to be added to X11 to do what Apple wanted. These are:

      1) Extend font server and services to vend outlines and antialiased masks, support more font types, handle font subsetting.

      This was added with XRender. The client sends antialised font glyphs to the server, and the server composites them.

      2) Extend drawing primitives to include PS-like path operations.

      Cairo gives a Postscript-like API on top of X11. XRender handles most of the actual drawing.

      3) Add dithering and phase controls. 4) Add ColorSync support for drawing and imaging operations, display calibration

      Not sure about these. X has supported display calibration for ages but I don't know anyone outside SGI who uses it.

      5) Add broad alpha channel support and Porter-Duff compositing, both for drawing in a window and for interactions between windows.

      The first part of this is provided by XRender, the second by XComposite.

      6) Add support for general affine transforms of windows

      Supported by the XRenderComposite command.

      7) Add support for mesh-warps of windows

      Not supported directly, however you can map a window to an off-screen pixmap and then re-render it as an OpenGL texture.

      8) Make sure that OpenGL and special video playback hardware support is integrated, and behaves well with all above changes.

      OpenGL and Xv are well integrated.

      9) We find that we typically stream 200 Mb/sec of commands and textures for interactive OpenGL use, so transport efficiency could be an issue.

      Commands and textures makes this difficult to judge. For local use, textures will go via shared memory and commands via a UNIX domain socket. As I recall, Quartz sends commands via Mach ports and textures via shared memory. 200Mb/s is a fairly large amount of data to shift over a socket or a port, but tiny for shared memory.

      --
      I am TheRaven on Soylent News
  27. Syncing to vblank? by Trogre · · Score: 4, Insightful

    At the same time, I'm trying to fix some of the problems with composite that we still have in the X server; input redirection, window resizing, syncing to vblank, throttling of animations and atomic, consistent redrawing.

    That feature alone would make this rewrite worthwhile. This has been missing from our desktops for far too long.

    --
    "Nine times out of ten, starting a fire is not the best way to solve the problem." - my wife
  28. Catch up to OS X circa 2001. by toby · · Score: 2, Interesting

    ...or NEXTSTEP from 1989 onwards. :)

    --
    you had me at #!
  29. this has stumped me for years by enos · · Score: 5, Interesting

    We went through the same thing when switching to X.org from XFree86. When will nVidia support it? When will ATi support it? When will my driver be ported?

    Why is X dealing directly with the drivers anyway? Why isn't there a thin graphics layer in Linux, like a framebuffer that supports acceleration? Write X to that. Then you can switch your X or use whatever GUI you want and you hardware still works. Freedom to choose, right? The mantra of Open Source?

    I remember a bunch of very promising GUIs coming up in the early 2000s that really struggled without enough drivers. "The source is open, just port the thousands of drivers!" yeah sure.

    --
    boldly going forward, 'cause we can't find reverse
    1. Re:this has stumped me for years by Goaway · · Score: 3, Insightful

      Why isn't there a thin graphics layer in Linux, like a framebuffer that supports acceleration?

      This is not the reason why it's not done in Linux, but modern graphics cards accelerate some pretty high-level functionality, so your "thin graphics layer" would not stay very thin for long.

    2. Re:this has stumped me for years by Anonymous Coward · · Score: 0

      Why is X dealing directly with the drivers anyway?

      Because to take advantage of graphical acceleration of graphics cards, it has to deal with specific graphics card drivers. X deals with drivers through various documented interfaces, stuff like DRI so its not really dealing with naked drivers anyway, if you support DRI or DRI2 then the closed source drivers should* work.

      If your asking why is stuff like xorg-radeon part of xorg then its because the projects are so intertwined that if you had radeon-driver in a seperate project, the already slow (well its coming on leaps and bounds atm, but im sure user would like to see it faster) development would to a halt as nobody could do anything for fear of breaking the APIs. e.g recently the ubuntu guys made changes to the API for the networkmanager, without telling the kubuntu guy, fortunatly because they are using the cvs he found and the problem and it was fixed, but if they different projects, kubuntu users would have had no networking support until the next kubuntu release AFTER the ubuntu release.

      Why isn't there a thin graphics layer in Linux, like a framebuffer that supports acceleration?

      So you want acceleration, without using a graphics card? one word performance

      Write X to that. Then you can switch your X or use whatever GUI you want and you hardware still works. Freedom to choose, right?

      so you work to the lowest common denominator and don't support any acceleration, hmm sounds like erm what framebuffer is.

      Freedom to choose, right?

      I think your missing the point, your free to choose now, there are many xorg implementations and any program that requires xorg should work on any of them.

    3. Re:this has stumped me for years by Anpheus · · Score: 1

      One word, strawman.

      Rather than accept that he wants hardware acceleration as part of the kernel, you take the greatest, most absurd leaps in your logic to imply that he's crazy, that he wants things that are impossible, and then you completely ignore what he says, replacing it with what you said to support your point.

      He said he wanted a framebuffer with hardware acceleration, you said, "UNPOSSIBLE!"

      Then he said you should write X to use that accelerated framebuffer, and you said, "BUT IT WON'T BE ACCELERATED!"

    4. Re:this has stumped me for years by RAMMS+EIN · · Score: 4, Informative

      ``Why is X dealing directly with the drivers anyway? Why isn't there a thin graphics layer in Linux''

      Don't forget that Linux is not the only game in town. X.org suppors Linux, but it also supports FreeBSD, NetBSD, OpenBSD, Solaris, UnixWare, LynxOS and HURD. I think there are actually more, but those are the ones listed in the manpage.

      If we do as you propose and make the operating system kernel supply the drivers, drivers would have to be written for all those 7 kernels, instead of just once for X.org. What we have now is exactly how I like things to be: a common driver API across operating systems, so that drivers need be written only once.

      --
      Please correct me if I got my facts wrong.
    5. Re:this has stumped me for years by Anonymous Coward · · Score: 0

      Please explain how to write a framebuffer driver with hardware acceleration that doesn't rely on card specific drivers? (if it relys on having card specific drivers implement a specific framebuffer protocol then perhaps you should STFU and read about DRI)

      thus hardware accelerated framebuffer is unpossible, to be accelerated it would have to rely on card specific drivers, which means you have another layer of abstraction (more code to slow everything down) but essentially the same problem you currently have!

      oh and are you always such a douche or only when your talking about shit you don't understand?

    6. Re:this has stumped me for years by ultranova · · Score: 1

      This is not the reason why it's not done in Linux, but modern graphics cards accelerate some pretty high-level functionality, so your "thin graphics layer" would not stay very thin for long.

      Use OpenGL and add some mode-switching stuff. That should do it.

      The problem, of course, is that this would increase kernel size considerably - it would basically need to include the whole MesaGL to ensure that missing hardware features are emulated properly. However, that is the price of having a monolithic kernel.

      --

      Forget magic. Any technology distinguishable from divine power is insufficiently advanced.

    7. Re:this has stumped me for years by Anpheus · · Score: 1

      That's what he was asking for, anonymous coward. He wanted card-specific drivers to either be in the kernel, be modules, or have some sort of custom ABI/API if necessary.

      But hey, you know what, assuming that he didn't want that is a lot easier for your argument, so I'll let you just do that.

    8. Re:this has stumped me for years by Goaway · · Score: 1

      Yes, OpenGL is not so thin a layer.

      And that still doesn't handle things like accelerated video decoding.

    9. Re:this has stumped me for years by rainhill · · Score: 1

      but it also supports FreeBSD, NetBSD, OpenBSD, Solaris, UnixWare, LynxOS and HURD

      oh come on now..

      who uses these anyway?

      solaris? - thats Suns problem.
      Free/Open/Net BSD, LynxOS, Hurd?? - who uses these?

  30. I hope it also has a feature to ... by Skapare · · Score: 1

    ... just manage video configuration for programs that do direct video frame buffer access, or any such access that might be done in the kernel, for applications not involving X, or that can work better when bypassing X.

    --
    now we need to go OSS in diesel cars
  31. WAY out of touch - yes. by dbIII · · Score: 1
    The above is written as if the guy has a clue or points that he is aware of. The big giveaway is the misconception that the XFree86 is the cutting edge and that possibly it is the year 2000 now.

    Bits of the above post appear to make sense but sadly none of it can really be trusted due to this.

  32. Ohhh well... by Anonymous Coward · · Score: 0

    I thought Emacs would replace X11 altogether, but I was mistaken.

  33. Scene: Conference Room - Gateway Station by pragma_x · · Score: 1

    Ripley: What are you talking about? What users?

    Van Leuwen: Developers...software engineers. It's what we call a FOSS project. They set up development environments to make the project usable...big job. Takes months. They've already been there over twenty weeks. Peacefully.

    Ripley: How many people?

    Van Leuwen: Sixty, maybe seventy users.

    Ripley: Sweet Jesus.

    Van Leuwen: Do you mind?

  34. minor correction by Stalyn · · Score: 1

    It got little support from the community especially from Red Hat and Novell

    should be "Red Hat and NVIDIA". Apologies.

    --
    The best education consists in immunizing people against systematic attempts at education. - Paul Feyerabend
  35. Context by subreality · · Score: 3, Informative
    1. Re:Context by Anonymous Coward · · Score: 0

      I accidentally 89MB of .rar file! What should I do!?

    2. Re:Context by soliptic · · Score: 1

      I've not seen that one before. I don't think it's the original. This says it started with a 4chan post about .RAR files. Also includes your linked pic as one of many spinoffs. (Warning: link has some NSFW advertising, so if you don't use adblock the overall page may be considered NSFW. Rest of page is SFW though. Rest of site is definitely not so careful where you browse ;-) )

  36. Let's face it by ClosedSource · · Score: 2, Insightful

    Networks really aren't fundamental to windowing environments. X was designed around the limitations of most Unix configurations of the time (a single server with clients running on fairly dumb terminals). When real workstations became available, network transparency became a nice feature that wasn't really needed in most cases. The question is whether the added complexity is justified by the importance of the feature.

  37. X11 is a really bad Single Point Of Failure by Anonymous Coward · · Score: 2, Insightful

    Sorry to burst your bubble, but your whole post is basically clueless.

    Yes, we know that X11 is networked, and that this functionality is "cool". But that doesn't mean that the design of X11 is good.

    In engineering terms, the X server is currently a massive single-point-of-failure. Despite all the "coolness" you want to give it, when the X server dies, it kills the many hundreds of client processes that are connected to it on a busy machine. That's a ton of work gone down the tubes just because someone way back coded the X server as a noddy star point without disconnectable links, and now we are still living with that legacy.

    The X server is a large program, and large programs always have latent bugs, and latent bugs cause programs to crash in corner cases. That is why X hangs or crashes occasionally when you do something out of the ordinary, or when you stress it too much. One process failing isn't generally too much of a disaster in other cases, but in the case of X it is always a disaster because of all the X clients it takes down, and the disaster is unrecoverable.

    So no, sorry, but X11 is not designed well no matter how "cool" its networking may be. It badly needs a rethink for key system reliability reasons. SPoFs like this are no way to design a professional graphics subsystem.

    1. Re:X11 is a really bad Single Point Of Failure by QuoteMstr · · Score: 1

      First of all, that's simply not true. A well-designed client can handle the server connection going away and then coming back. Most toolkits don't bother, but that's not the fault of the protocol and server. (Incidentally, Emacs does just fine in that area.)

      Second, the graphics driver is always a single point of failure. It's actually worse under some other operating systems. At least, if the X server dies or locks up, it's usually possible to ssh into the machine and save what you can.

  38. MicroXwin- Kernel based X windows by Anonymous Coward · · Score: 1, Informative

    Checkout MicroXwin (http://www.microxwin.com).
    Like Windows NT X11 graphics is done in the kernel.
    There is no IPC and no networking overhead. Company claims that the solution is small, fast and compatible with existing toolkits.

  39. Don't break NX or freenx by Anonymous Coward · · Score: 0

    The native remote capability of X has always been nice but suffers badly on low bandwidth or low latency connections and kills everything if the connection is lost. NX from www.nomachine.com or the freenx variation makes remote work with X desktops much nicer and I hope future changes don't break this functionality.

  40. Great point! by warrax_666 · · Score: 2, Interesting

    That's actually a great point.

    It's particularly annoying if you have some intermittent problems with, say, the mouse disappearing and the only way to recover is to restart X. Being able to restart X without killing all the clients would change such a problem from "completely ruins my entire user experience" to "mildly annoying".

    --
    HAND.
    1. Re:Great point! by ion.simon.c · · Score: 1

      Could you give me some reproduction recipes for your "vanishing mouse" bug?

      Also, what windowing system *would* let you restart it, but keep all existing programs running? I can't think of any, but I'm an ignorant fool.

      Apropos of nothing, -and interestingly enough- I've found a way to kill clients that grab your mouse and keyboard, and won't let go... without killing the X server. Send them a SIGPWR. (htop lists it as signal 30.)

    2. Re:Great point! by Anonymous Coward · · Score: 0

      Apropos of nothing, -and interestingly enough- I've found a way to kill clients that grab your mouse and keyboard, and won't let go... without killing the X server. Send them a SIGPWR. (htop lists it as signal 30.)

      Hitting Ctrl-Alt-Slash (on the numeric keypad) will "ungrab" the mouse/keyboard (server side), without needing to kill even the client.

      Although, last I tried, the client (Mozilla) got confused and crashed anyway.

    3. Re:Great point! by ion.simon.c · · Score: 1

      IIRC, if you enable the Ctrl-Alt-Slash function, you've just defeated every screen locking program in existence. Someone can Ctrl-Alt-Slash, pop up a terminal, then 'killall $Screen_Locking_Programs'.

  41. YAXS by MrKaos · · Score: 1

    Yet Another X Server

    --
    My ism, it's full of beliefs.
  42. Re:How ghetto are you anyway? by Anonymous Coward · · Score: 2, Insightful

    I don't buy things I don't need. What's your excuse for overcompensating?

  43. NeWS was good and bad by billstewart · · Score: 4, Interesting

    When it was good, it was very very good, but when it was bad, well, it was a windowing system written in Postscript that let you pass pieces of Postscript code back and forth between client and server to get things done, which could be appallingly insecure and buggy. (The fix for this was that Gosling later wrote Java with things he'd learned from NeWS.) (Postscript is essentially FORTH souped up with font knowledge, but it's good enough to handle objects in.)

    Postscript means that WYSIWYG, really, rendered however you'd like. The terminal emulator, for instance, used Postscript, rendered at screen resolutions, and if you needed to print it, it rendered them at printer resolutions, or if you iconized a terminal window, that just set to font size to 1 point / 1 pixel, and you could still see any interactions happening in the icon. My boss was around 60, and constantly switching pairs of glasses if he needed to talk to somebody and also read his computer screen. We set his psterm default to 24-point font, and everything was Just Bigger, and he could just read it without messing around. Mouse tracking worked well, because you could make the tracking happen down in the server without the extra round-trip to the client, so if you had a slow network connection it was ok - you were passing data across the link, not pictures of the mouse, etc.

    --

    Bill Stewart
    New Fast-Compression-only CPR http://preview.tinyurl.com/dy575ks
    1. Re:NeWS was good and bad by SimHacker · · Score: 1

      PostScript is more like Lisp with three stacks: operand, return and dictionary (scope). And as you point out, it's easy to use the dictionary stack to implement an object oriented programming system, like Smalltalk.

      Owen Densmore wrote "object.ps" in about two pages of code, which implemented Smalltalk's object oriented programming model in PostScript.

      It was eventually extended to support multiple inheritance and other features, and used to implement several user interface toolkits and many applications, utilities and components.

      -Don

      --
      Take a look and feel free: http://www.PieMenu.com
  44. sounds good! what is it? by noanoxan · · Score: 0

    I'm just starting to learn about linux, so bear with me. I think I get it though.

    x11 is the core of kdm/gdm, and wayland will improve the relationship between kdm/gdm and the graphics driver? is that right?

    anything to help my old 9600xt. I hate installing that thing. my 7200gs is so much easier..

  45. get bent by LordMyren · · Score: 4, Interesting

    a single distro gaining popularity will be instrumental for standardizing what is expected of Linux for introduction into a larger market

    the flaws in your biased & self interested statement are manifest. manifest and hilarious.

    first off, i dont see what advantage linux has by gaining a larger market. will these corporate interest invest time and code into linux? will they provide free support to end users? will the people joining your standardized Linux gain anything from the homogenized OS they've switched to?

    second, how will standardization improve linux's marketability? to what extend to we enforce homogenization? do we enforce a single wm on all users? do we enforce a single office suite? a single programming language?

    third, how do you plan to tell everyone they must work on the same thing? do you think everyone will willingly conform to the standard patterns you wish to impose and stop working on the things they think are cool?

    Linux's only strength is that it grants developers an open environment to develop novel new things. all I see in your desire is a self interested bid to crush out the free spirited developer spirit and to replace it with something tooled to replace commercial operating systems with something free, for your own good. honestly I dont think you or your desires contribute anything useful to the linux community, in fact I think the desire to make Linux conform to the expectations of the "typical" desktop has been the worst mistake the Linux movement.

    1. Re:get bent by Anonymous Coward · · Score: 0

      Someone mod this funny

  46. Anyone know why the name was chosen? by edeloso · · Score: 1

    Just curious. Wayland is also the name of my hometown.

  47. Reproduction... by warrax_666 · · Score: 1

    Alas, it's one of those that is very hard to reproduce, but it happens pretty reliably when X is under high load -- I originally thought it had to do with mouse grabs because it happened 100% reliably with VirtualBox and kvm, but I've now also seen it happen when X was loaded and nothing was grabbing the mouse. I've googled around and found lots of similar, but not quite identical reports of mouse problems.

    (No, it's not that the device disconnects, nothing in the dmesg log about disconnects, the mouse pointer moves fine, the X server just doesn't receive any events -- as reported by xev. Strangely this is the case both with the hardware mouse cursor and the software mouse cursor.)

    It's driving me nuts, so I'm going to try reporting it as an xorg bug (happens regardless of programs running, etc.), but I'm not hopeful that anyone will be able to track it down.

    It's quite easy to allow restarts of the windowing system, you just have a proxy between the "talks to hardware" bit and the "talks to clients" bit (see "screen" for the equivalent console app). The proxy would obviously have to be simpler and less prone to errors, etc. for this to make sense, but such a proxy would not need access to any hardware, so that should be pretty doable.

    Thanks for the SIGPWR hint, btw. Handy to know.

    --
    HAND.
  48. Re:How ghetto are you anyway? by isorox · · Score: 1

    I have 8gb of RAM for the maching I only use to browse the web with, and you can guess how it scales from there. What's your excuse to act ghetto when prices are so low?

    Can't fit more than one SO-DIMM in a laptop?

    Having said that I run with 1gb of memory and rarely have memory issues. X has never crashed for me. Only outage I get is when I dice with death with the battery (disable auto-shutdown, I get about 15 minutes of power when the battery reads 0 mAh remaining)

  49. Just IMAGINE! by Colin+Smith · · Score: 1

    When it was good, it was very very good, but when it was bad, well, it was a windowing system written in Postscript that let you pass pieces of Postscript code back and forth between client and server to get things done, which could be appallingly insecure and buggy

    What we could do now! We could create a brand NEW windowing system but instead of Postscript, they could use... Javascript instead!!! Doesn't that just sound like a totally FABULOUS idea?

     

    --
    Deleted
  50. DirectFB by Anonymous Coward · · Score: 0

    I've read this before..

    http://slashdot.org/article.pl?sid=01/10/23/1252214&tid=152

  51. Re-inventing the wheel? by Anonymous Coward · · Score: 0

    I can't help but think, that all this line of development we are currently seeing, could of been finished years ago. It was a project call GGI & KGI.

  52. GIT link by VincenzoRomano · · Score: 1
    --
    Maybe Computers will never be as intelligent as Humans.
    For sure they won't ever become so stupid. [VR-1988]
  53. that's not how X works by jcupitt65 · · Score: 2, Informative

    Sorry, you are totally wrong, that's not how X11 works at all.

    The client queues up a set of drawing commands (not bitmaps), at some point the queue gets flushed, and for a local display there's a context switch and the server updates the screen. This is exactly how Windows and OS X work as well. The only difference is that the X11 protocol was carefully designed to be asynchronous, so that when you run over a network connection rather than locally, you don't get killed by latency on round trips.

    Browser apps are nice in many ways, but that's a separate issue from the display architecture.

    Bad things about X11: primitive drawing model, too much hardware management (this is an X.org problem rather than an X11 one, really), a lot of legacy. Most of the things that are actually bad are being or have been fixed.

  54. OK, but... by Tronks · · Score: 0

    will it run xeyes?

  55. People do use Xlib by Viol8 · · Score: 1

    "1) NO ONE programs with xlib"

    Speak for yourself pal - Xlib is very useful for certain tasks. I've written a number of utilities and simple games in it.

    *Most* people might not use it but *most* people don't code in assembler - that doesn't mean nobody does.

  56. It's not really an X server by xlotlu · · Score: 1

    [Phoronix] got the headline wrong, though, it's not a new X server, it's a tiny display server + compositing manager.

    So says the developer himself: http://hoegsberg.blogspot.com/2008/11/premature-publicity-is-better-than-no.html

  57. Flicker free for frontends by emj · · Score: 1

    Well that's probably what he ment, you want the kernel to switch to one mode after booting up and then use that all the way until all your desktop icons are loaded. I believe Mac hardware does this in firmware.

  58. I don't know why in this case by Kupfernigk · · Score: 1

    But as the great-grandson of a blacksmith, I can tell you that Wayland is the archetypal smith of English mythology. In our town, which was established during the Dark Ages, and where metalworking is still a significant industry, the little road that led to the smithy is still named Waylands.

    --
    From scarped cliff or quarried stone she cries "A thousand types are gone, I care for nothing, no not one."
  59. Latency by bjourne · · Score: 2, Interesting

    Open an explorer window in Windows. Resize it. Notice the flicker and rendering artifacts. Open a Nautilus window in GNOME. Resize it. Notice the horrible flicker and rendering artifacts. This is without compositing. With it, you get other artifacts.

    It doesn't matter what program or what machine you are using. You can compare the same thing using Firefox in Windows and Linux. A much slower Windows machine produces redraws with far fewer artifacts than a high-end Linux box. Since Windows does it better, the must be something wrong with X.

    1. Re:Latency by TheSunborn · · Score: 1

      Most likely, the problem is with the driver. If you use the opensource nvidia/ati driver you really miss a lot of hardware acceleration and speed(And not just for 3d graphics2 2d graphics suffer as well).

      I had to install the binary nvidia driver, because scrolling in firefox, and xterm was to slow otherwise, but now I have fast scrolling, and no graphics artifact when scrolling.

    2. Re:Latency by spitzak · · Score: 1

      The problem is the asynchronous window manager.

      One program is resizing the windows and drawing the borders. Another program is responding to a message that the window was resized and drawing the interior. They are completely seperate programs with no synchronization (ie there is no way for one of them to wait until the other reaches a certain step).

      This has been the main problem *forever* in X but it can only be fixed by scrapping window managers (well really by scrapping the part that draws the window borders). Technically there is *no* reason the application can't draw them, and it would work far, far better without any other change to X. In case you are worried about inconsistency, then using toolkits to draw them would fix that, the same way it fixes the buttons and menus and everything else to look similar to each other.

      Oddly enough the first versions of X had the application draw the window borders. The problem was that there were no practical shared libraries at that time, so a "toolkit" could only be done efficiently by co-operating processes. Fortunately they did not fuck up all the buttons and so on, but they got the most important toolkit item, the window borders.

  60. Can it boot Radeon? by Yenya · · Score: 1

    There is a big problem I have with X.org server since 1.5 series (1.3 in Fedora 8 is OK): booting the secondary card. I have a dual-seat desktop (two monitors, two keyboards, and two mice), and it is not possible to use it with X.org 1.5 server, because the code for booting the secondary card via the "int10" interface has been broken since 1.5 (see bug#18160). And it seems the X.org developers have no intention of fixing it, and they instead do marginal but new things like MPX. After all, new is cool, while fixing the bugs in the old code is not.

    So, will Wayland work also on secondary cards?

    --
    -Yenya
    --
    While Linux is larger than Emacs, at least Linux has the excuse that it has to be. --Linus
  61. define:compositing by jc42 · · Score: 1

    It seems that "compositing" and "compositor" have become the buzzwords of the month. I can't count how many times they've appeared on my screen in the past few weeks. But attempts to determine what any particular writer means by them generally don't succeed. Any idea what might be meant in this case that's different from what, say, X Windows (or Y Windows or ...) does?

    Of course, I asked google to "define:compositing". Lots of definitions; none of them very helpful. Thus, I suspect that "A method of reducing the number of drill hole intervals within a database to intervals of equal length for a given drill hole" isn't what was meant here. Nor was "In deliberative procedure, compositing is the process of combining several motions into one composite motion", I'd guess. "The process of combining two or more images to yield a resulting, or 'composite' image" works, obviously, because every graphics app ever written does that. A dumb terminal that draws two characters on its screen does that. But I don't see any clues pointing to what's meant in TFA.

    Are these just empty marketing buzzwords, or are they actually describing something that we should pay attention to?

    (Of course, I expect a flood of responses with orthogonal definitions and/or vague descriptions that don't clarify much of anything. ;-)

    --
    Those who do study history are doomed to stand helplessly by while everyone else repeats it.
    1. Re:define:compositing by Olivier+Galibert · · Score: 1

      In that context, it just means that windows are drawn offscreen and are copied together in the framebuffer later. Gives backing store for free and allows for easier transparent windows or other effects at the cost of more graphics memory (negligible nowadays) and on-gpu copies (probably less expensive than the lack of backing store since it happens on the same side of the graphics bus).

          OG.

  62. Where can I donate? by ZenDragon · · Score: 1

    This guy should set up a donations page... I would be excited to support this kind of project. I certainly hope he keeps it up!

  63. DirectFB by Pysslingen · · Score: 1

    People may wish to have a look at DirectFB: directfb.org

  64. #1 Quote that gets me excited by MBGMorden · · Score: 1

    ""At the same time, I'm trying to fix some of the problems with composite that we still have in the X server; input redirection, window resizing, syncing to vblank, throttling of animations and atomic, consistent redrawing. X specifies what the end results of a series of rendering requests must look like, but how the display looks while it's in progress is not discussed. GTK+ and Qt works around this to some extent by using double buffering, but we still see lag between window decorations and window contents while resizing etc. The wayland tag line is "every frame is perfect", by which I mean that applications will be able to control the rendering enough that we'll never see tearing, lag, redrawing or flicker."

    This single, and seemingly minor, problem, is a big part of what gives a Linux desktop that "homemade" feel to me. Things just don't quite behave right in transition. When I maximize a window there's this funky split second transitional period where things go funky and then snap back together after the operation is complete. Window contents do the same when resizing. Almost as if the program can't make up it's mind on where to put stuff.

    Honestly, even though I've seen several other projects make similar claims and then fade away, if we can get this new graphics system up, running, well adopted, and well supported (as in video drivers), then this would really take Linux to a new level.

    --
    "People who think they know everything are very annoying to those of us who do."-Mark Twain
  65. OLPC uses Python+Cairo by SimHacker · · Score: 1

    I think the OLPC project has chosen a great software stack that has all the advantages of NeWS/PostScript.

    Python is a great substitute for the PostScript programming language, and Cairo is a great substitute for the PostScript rendering model.

    At that level, you can basically ignore all the stuff underneath, whether it's X-Windows and GTK, Microsoft Windows and DirectX or Mac OS/X and Cocoa. Python+Cairo also runs on "headless" web servers, for generating dynamic graphics.

    -Don

    --
    Take a look and feel free: http://www.PieMenu.com
    1. Re:OLPC uses Python+Cairo by Colin+Smith · · Score: 1

      Sorry, I was just ranting about web browsers.

      --
      Deleted
  66. Complaints about X by SimHacker · · Score: 1

    X: The First Fully Modular Software Disaster:
    http://www.art.net/~hopkins/Don/unix-haters/x-windows/disaster.html

    X-Windows: ...A mistake carried out to perfection. X-Windows: ...Dissatisfaction guaranteed. X-Windows: ...Don't get frustrated without it. X-Windows: ...Even your dog won't like it. X-Windows: ...Flaky and built to stay that way. X-Windows: ...Complex nonsolutions to simple nonproblems. X-Windows: ...Flawed beyond belief. X-Windows: ...Form follows malfunction. X-Windows: ...Garbage at your fingertips. X-Windows: ...Ignorance is our most important resource. X-Windows: ...It could be worse, but it'll take time. X-Windows: ...It could happen to you. X-Windows: ...Japan's secret weapon. X-Windows: ...Let it get in *your* way. X-Windows: ...Live the nightmare. X-Windows: ...More than enough rope. X-Windows: ...Never had it, never will. X-Windows: ...No hardware is safe. X-Windows: ...Power tools for power fools. X-Windows: ...Putting new limits on productivity. X-Windows: ...Simplicity made complex. X-Windows: ...The cutting edge of obsolescence. X-Windows: ...The art of incompetence. X-Windows: ...The defacto substandard. X-Windows: ...The first fully modular software disaster. X-Windows: ...The joke that kills. X-Windows: ...The problem for your problem. X-Windows: ...There's got to be a better way. X-Windows: ...Warn your friends about it. X-Windows: ...You'd better sit down. X-Windows: ...You'll envy the dead.

    --
    Take a look and feel free: http://www.PieMenu.com
    1. Re:Complaints about X by siride · · Score: 1

      That's way outdated. Modern X.org has fixed most of those problems.

    2. Re:Complaints about X by SimHacker · · Score: 1

      Has X-Windows solved the essential problem of having a fixed protocol, so clients are not able to download code into the server, to implement application specific protocols and local interaction without network traffic?

      Also known these days as "AJAX".

      -Don

      --
      Take a look and feel free: http://www.PieMenu.com
    3. Re:Complaints about X by siride · · Score: 1

      There's no value in doing any of that for a graphics server. The only reason it's useful for web services is because web applications start at the server and interface with the client. Thus, a mechanism was needed to make it easier for more work to be pushed onto the client to avoid lots of roundtrips. Well, what do you know, that's already what's happened with X. Most rendering work is done client-side. Pushing it back onto the server would make a lot less sense and would result in a great deal more complexity and lowered performance. The server needs to be doing even less work than it already does not. The end-goal is to have the server basically multiplex windows and events and leave most of the rest to the clients, to the DRM/DRI or to a compositing manager. It shouldn't be executing arbitrary code, doing complex rendering, or managing video hardware.

    4. Re:Complaints about X by dougmc · · Score: 1

      Display Postscript sort of worked that way. It died out, however.

    5. Re:Complaints about X by spitzak · · Score: 1

      You are thinking of NeWS, which is not at all Display Postscript. NeWS did expect all the widgets to be written in PostScript and sent to the server.

      NeWS was a really neat idea at the time.

      The graphics capabilities are still better than anything today. For instance you could create a window from a PostScript path, and thus create a window with holes or disconnected pieces. The windows also carried a CTM so you could scale the interface arbitrarily without the program knowing. And in 1985 you could scale and rotate fonts arbitrarily (though there was no antialiasing), and scale and rotate images.

    6. Re:Complaints about X by SimHacker · · Score: 1

      You're totally wrong. There's a huge benefit to pushing mouse tracking and drawing to the server, instead of spreading it out over the network or between processes running in different address spaces.

      You may be confused, because the terms "client" and "server" have switched place between the NeWS or X11 window server and client application, and the web server and web browser client. The web server is like a NeWS or X11 client application, and the web browser is like the NeWS or X11 server.

      Most people run X clients locally, and don't take advantage of its network ability. The direct rendering and hardware access stuff certainly doesn't operate over the network.

      The problem still exists, even more so than before, but the solution has moved up a layer on the stack to the web browser instead of the window server, because of X's failure to provide an extensible network efficient protocol. Instead of sending pure PostScript to the window server, you send an amalgamate of JavaScript, JSON, XML, HTML and CSS to the web browser.

      The web browser IS a graphics server. If there is no value sending executable code to the graphics server, then why is AJAX so popular and powerful?

      Compared to the purity and simplicity of NeWS's use of PostScript for programming, rendering an data represention, today's piebald AJAX solution is a shotgun marriage of inelegant competing technologies that weren't designed to work together.

      Case in point: Why is JSON so popular, when we have XML? Answer: Because XML HTTP Request won't let you download XML from sites other than the one you downloaded the web page from, even though XML is not executable, although you CAN download executable JavaScript and JSON from different sites. So why the pointless restriction? Purely a historical accident. The executable content cat's already out of the bag, and JSON's just working around stupid design flaws in Microsoft's XML HTTP Request.

      -Don

      --
      Take a look and feel free: http://www.PieMenu.com
  67. How often do you change mode? by Anonymous Coward · · Score: 0

    if you swap your monitor from 1024x768 to 1280x1024 30 times a second, MAYBE this would be a problem.

    Otherwise, I'd put this as a problem looking for a reason.

  68. Erm... by RichiH · · Score: 1

    There, that for ya.

    There, that for ya.

    1. Re:Erm... by BronsCon · · Score: 1

      you, you -ing -er.

      --
      APK quotes people (including myself) without context and should not be trusted. Just thought you should know.
  69. XSitOnIt and XRotateBuffers by SimHacker · · Score: 2, Funny

    The X approach to device independence is to treat everything like a MicroVAX framebuffer on acid.

    -Don

    PS: I do like the stuff that's been done pulling the good code out of X and developing decent libraries like Cairo!

    --
    Take a look and feel free: http://www.PieMenu.com
  70. XCalc.gif : State of the art X-Windows calculator by SimHacker · · Score: 1

    Uglier than goatse.cx:
    http://www.donhopkins.com/home/catalog/unix-haters/x-windows/XCalc.gif

    That's what used to happen when you resize XCalc several times in a row. No wonder they call it the X-Stoolkit!

    -Don

    --
    Take a look and feel free: http://www.PieMenu.com
  71. Ice Cubed -aka- I39L by SimHacker · · Score: 1

    http://www.art.net/~hopkins/Don/unix-haters/x-windows/disaster.html

    As a result, one of the most amazing pieces of literature to come out of the X Consortium is the "Inter Client Communication Conventions Manual," more fondly known as the "ICCCM", "Ice Cubed," or "I39L" (short for "I, 39 letters, L"). It describes protocols that X clients ust use to communicate with each other via the X server, including diverse topics like window management, selections, keyboard and colormap focus, and session management. In short, it tries to cover everything the X designers forgot and tries to fix everything they got wrong. But it was too late -- by the time ICCCM was published, people were already writing window managers and toolkits, so each new version of the ICCCM was forced to bend over backwards to be backward compatible with the mistakes of the past.

    -Don

    --
    Take a look and feel free: http://www.PieMenu.com
    1. Re:Ice Cubed -aka- I39L by SimHacker · · Score: 1

      The ICCCM is unbelievably dense, it must be followed to the last letter, and it still doesn't work. ICCCM compliance is one of the most complex ordeals of implementing X toolkits, window managers, and even simple applications. It's so difficult, that many of the benefits just aren't worth the hassle of compliance. And when one program doesn't comply, it screws up other programs. This is the reason cut-and-paste never works properly with X (unless you are cutting and pasting straight ASCII text), drag-and-drop locks up the system, colormaps flash wildly and are never installed at the right time, keyboard focus lags behind the cursor, keys go to the wrong window, and deleting a popup window can quit the whole application. If you want to write an interoperable ICCCM compliant application, you have to crossbar test it with every other application, and with all possible window managers, and then plead with the vendors to fix their problems in the next release.

      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.

      Using these toolkits is like trying to make a bookshelf out of mashed potatoes.
      - Jamie Zawinski

      -Don

      --
      Take a look and feel free: http://www.PieMenu.com
    2. Re:Ice Cubed -aka- I39L by ion.simon.c · · Score: 1

      Heh. Copy and paste seems to work just fine between GTK apps. Text styles and hyperlinks seem to be preserved.

      Regardless, do you know how difficult it is to create a new window manager for MS Windows or OS X? I don't, that's why I'm asking! : D

  72. Good for you linux! by not+already+in+use · · Score: 1

    I've been very critical of linux the past couple years, and this looks like the first real step in the right direction. I was excited when Mark Shuttleworth started pouring money into linux, only to be hugely disappointed when he couldn't steer the distro in one clear and concise direction, instead having to support a million different sub-distros.

    --
    Similes are like metaphors
  73. X-Windows! by SimHacker · · Score: 1

        WHAT IS YOUR DISPLAY?
                display = XOpenDisplay("unix:0");

        WHAT IS YOUR ROOT?
                root = RootWindow(display, DefaultScreen(display));

        AND WHAT IS YOUR WINDOW?
                win = XCreateSimpleWindow(display, root, 0, 0, 256, 256, 1,
                                          BlackPixel(display, DefaultScreen(display)),
                                          WhitePixel(display, DefaultScreen(display)));

        OH ALL RIGHT, YOU CAN GO ON.

        WHAT IS YOUR DISPLAY?
                display = XOpenDisplay("unix:0");

        WHAT IS YOUR COLORMAP?
                cmap = DefaultColormap(display, DefaultScreen(display));

        AND WHAT IS YOUR FAVORITE COLOR?
                favorite_color = 0; /* Black. */
                /* Whoops! No, I mean: */
                favorite_color = BlackPixel(display, DefaultScreen(display));
                /* AAAYYYYEEEEE!! */

        (client dumps core & falls into the chasm)

        WHAT IS YOUR DISPLAY?
                display = XOpenDisplay("unix:0");

        WHAT IS YOUR VISUAL?
                struct XVisualInfo vinfo;
                if (XMatchVisualInfo(display, DefaultScreen(display),
                                     8, PseudoColor, &vinfo) != 0)
                visual = vinfo.visual;

        AND WHAT IS THE NET SPEED VELOCITY OF AN XConfigureWindow REQUEST?
                /* Is that a SubStructureRedirectMask or a ResizeRedirectMask? */

        WHAT??! HOW AM I SUPPOSED TO KNOW THAT?
        AAAAUUUGGGHHH!!!!
        (server dumps core & falls into the chasm)

    --
    Take a look and feel free: http://www.PieMenu.com
  74. Bad name by uigrad_2000 · · Score: 2, Interesting

    198?-1983: V
    1983-1984: W Window System
    1984-1986: X1 - x10
    1987-2008: X11
    2008: Wayland?

    Sorry, but I won't use it unless it is called X12 or Y.

    --
    Free unix account: freeshell.org
  75. It's not an X server by Guy+Harris · · Score: 1

    To quote Kristian Hogsberg's blog:

    They got the headline wrong, though, it's not a new X server, it's a tiny display server + compositing manager. And it's a very young project with a lot of FIXMEs and hand waving.

    and

    The core idea is that all windows are redirected, we can do all rendering client side and pass a buffer handle to the server and the compositing manager runs in the display server. One of the goals is to get an X server running on Wayland, first in a full screen window (like Xnest), then rootless, since X just isn't going aways anytime soon. Many more details in the NOTES file of the project.

  76. Doh.... by ogdenk · · Score: 1

    Not an X server. Yet another attempt at a new window system. It's a pity it's not a new XServer. I'd love to see the original X concept modernized and called X12. A fast, network-transparent window system.

    Most of the people calling for X replacements want to remove exactly what makes X cool and why it was originally used..... network transparency.