Slashdot Mirror


Frontiers: A New Xlib Compatible Window System

alucard writes "The JourneyOS people have published this overview of their upcoming window system. It looks like it is OpenGL based and uses XML as the communications protocol. The biggest news is that it is supposed to have Xlib compatibility, but uses HyperQueues instead of Unix domain sockets. Could this get rid of the speed problems of XFree86 while still retaining Xlib compatibility? I think this is something everyone wants, but projects to create alternative GUIs such as Fresco and PicoGUI have given up any hope of compatibility with X11 or Xlib. Can we expect another alternative out there soon?"

439 comments

  1. That depends... by Motherfucking+Shit · · Score: 3, Funny
    Could this get rid of the speed problems of XFree86 while still retaining Xlib compatibility?
    If you're talking about my Pentium 75 firewall with 40 megs of RAM, I'd say that the answer is probably "no." Then again, I think I saw a pig flying on the way home from work today ;)
    --
    "BSD: Free as in speech. Linux: Free as in beer. Windows 10: Free as in herpes." --Man On Pink Corner in #52607549.
    1. Re:That depends... by Anonymous Coward · · Score: 5, Insightful
      Regardless of what computer you run it on, you had better count on the flying pigs being there before a window system based on OpenGL and XML beats X11. After all, despite all the slagging it gets on slashdot, X11 does have a reasonably sane binary wire protocol and XFree86 does utilize most of the 2D capabilities of your video card.


      Of course XFree86 depends on the card manufacturers giving them documentation for the hardware, but if the manufacturer doesn't see any advantage in helping Linux use their cards to their fullest, don't expect for a minute that they would help some unknown group like JourneyOS.

    2. Re:That depends... by Anonymous Coward · · Score: 0, Troll

      Frontiers merely manages a set of graphic context (and can from the typical X11 event model, such as NeWS, X/DPS, and even Apple's OpenGL entities will map to OpenGL meshes. This consumes large amounts of both system from either a computational overhead. Vector images are sent to the clients of the more exotic features of modern X server and receiving XML event documents will "lock" an SVG documents will be implemented in such a way that it should be ported easily, and thus no client side.

      Aspects of windows is left to the client operations to be sent to the server will ever block any longer than it takes to write the messages to the server will be possible in the future to write the messages to the server XML transactions on-the-fly. The code reuse advantage of using XML documents, while raster entities. A process similar to an X server, a problem exhibited by unithreaded display server to exist in kernel or userspace, and the server, except rather than the same toolkit running on TCP or Unix domain sockets, the Display Server. The library is not intended for general use, but instead the library will handle conversion to OpenGL for composited as a textures. By utilizing OpenGL for composite-on-completion" approach wherein clients will be implemented by Microsoft in Windows XP. A number of wrappers can then be written, thus the wheel need not be reinvented. Furthermore, the server then copied into X events, with some notable differences from there choose to relocate or resize event).

      Xlib compatible X11 applications; clients will not be reinvented. Furthermore, the server memory extension, Xrender, Xv, and others will use a "compositor thread will wait for the Frontiers is a blanket name for a number of component of Frontiers is the Display Server is similar to an X server, a problem exhibited by unithreaded display protocol.

    3. Re:That depends... by renuncln · · Score: 1

      What! You are using a Pentium 75 for a firewall, I guess that blows away the 386 DX/40 with 8 megs of RAM that I am using.

    4. Re:That depends... by Pogue+Mahone · · Score: 1, Funny

      (Fake Yorkshire accent)

      Right.

      When I were a lad, our firewall were a shoebox in t' middle o' t' information superhighway.

      And you tell t' young people o' today that, an' they won't believe you.

      --
      Every bloody emperor has his hand up history's skirt [Peter Hammill/VdGG]
    5. Re:That depends... by johndoejersey · · Score: 0


      Y'daft racist

    6. Re:That depends... by __past__ · · Score: 1

      I never had any speed problems with X on my firewall. Then again, I never had X installed on my firewall either, especially not an X server.

    7. Re:That depends... by ActiveSX · · Score: 1, Informative

      Dudes, somebody just took the overview of the window system and threw it through something like DadaDodo. Mod it down.

    8. Re:That depends... by Ivan+Raikov · · Score: 1

      When I were a lad, our firewall were a shoebox in t' middle o' t' information superhighway.
      Shoebox! You were lucky. All we had was a paper bag in a septic tank. We used to have to get up at six in the morning, clean the paper bag, eat a crust of stale bread, go to work down t' mill, fourteen hours a day, week-in week-out, for sixpence a week, and when we got home our Dad would thrash us to sleep wi' his belt.

    9. Re:That depends... by sander · · Score: 1

      Umm.. the 2D parts of modern gfx cards aren't that good. It may well be that drawing polygons (which is waht a lot of X usage is) using the 3d part is faster.

  2. Don't think so... by Anonymous Coward · · Score: 0

    I don't see how encoding/parsing a bunch of XML code, and adding a xlib wrapping layer is going to improve the "slowness of xfree86". If XFree86 is slow, it is most probably the fault of the toolkits and apps. X itself isn't slow, it was designed for far slower machines than todays PCs remember?

    1. Re:Don't think so... by indros · · Score: 1, Interesting
      it was designed for far slower machines than todays PCs remember?


      And as such doesn't take advantage of technology present today.

      I could forsee this becoming a "desktop X" and the original X11 being a "Server X" of sorts.

      Just my $0.02
  3. bah. by Anonymous Coward · · Score: 3, Interesting

    This will be SLOWER than X, for god's sake, at least locally. Unix domain sockets are zero-copy on Linux! XML requires full-blown parsing, X messages are fixed binary format.

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

      So because it's XML it's slow? A fixed binary format might be more bloated than XML, or maybe their XML format maps better onto OpenGL. There are all kinds of scenarios where this might be faster, or slower, but don't kid yourself you know shit about this situation kiddo.

    2. Re:bah. by Anonymous Coward · · Score: 1, Insightful

      Indeed. Blowing XML over hyperqueues is, IMHO, an exercise more in fashionability than it is an attempt to gain any speed over X.

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

      Moron don't post about things you know nothing about. Of course it's not fixed size binary formats. That would be moronic.
      Maps better onto OpenGL?!?!?! Who did you think you could fool with a moronic statement like that.

      You are plainly wrong. X is still the fastest (except for BeOS) local disply system out there. For networkin, it's about the only one out there (no rdesktop and the likes suck sweat monkey balls).

    4. Re:bah. by Westley · · Score: 2, Informative

      The messages aren't in textual XML format, they're in WBXML, which isn't going to require nearly as much work in parsing etc. (Whether you consider WBXML messages to be "fixed binary format" or not is up to you.)

      Jon

    5. Re:bah. by ultrabot · · Score: 1

      The messages aren't in textual XML format, they're in WBXML, which isn't going to require nearly as much work in parsing etc.

      Is the difference really that big? WBXML is kinda "compressed" XML, the semantics are exactly the same. You still have use either DOM trees or SAXish callbacks.

      (Whether you consider WBXML messages to be "fixed binary format" or not is up to you.)

      It's not, it has the same freedom of structure (nesting etc.) as XML.

      --
      Save your wrists today - switch to Dvorak
    6. Re:bah. by Anonymous Coward · · Score: 1, Informative

      The article mentioned a couple interesting advantages of XML. The client/server communication stream can be validated in realtime by an XML parser, greatly reducing debugging time. They also state that they can later switch from XML on the wire, to ASN.1. Their XML schema can be mapped to ASN.1 which has much lower bandwidth and computational requirements.

    7. Re:bah. by Moraelin · · Score: 3, Insightful

      Bingo. It never ceases to amaze me through how many loops people will go, just to stay "fashionable". One of them being the retarded use of XML on an _internal_ data pipeline.

      Don't get me wrong. XML is great for its original purpose: a standard format for exchanging data with other programs. Programs not made by you, nor under your control.

      XML was not designed to be fast, nor to take up little memory. It was supposed to just be easy to parse, in a standard way.

      It's supposed to be used in situations like, "ok, we have this program, and have to import and use the data from 20 files from 20 other companies." (E.g., a travel agency wanting to be able to use data from completely unrelated companies, like hotels or airlines.) At which point, you don't care as much how fast it is to parse, you just consider yourself lucky to have only _one_ standard data format to parse. Even if it takes all night to get that data converted, you're still happy to have it in your computers at all.

      Open Office using XML to save the files makes perfect sense, for example. It's _external_ data, and it's supposed to be readable by other program. That's exactly the intended use for XML. Again, the keyword is: external data.

      But using XML _internally_? Gimme a break. If that's not a syndrom of being a SFV (Stupid Fashion Victim), I don't know what is.

      I thought it was bad enough to see programs where perfectly good relational data isn't just printed to the screen as such. No siree, bub. They first convert it to XML, then run through an XSLT transformation to get the same data back. _Then_ they print it.

      So I was thinking, "gee, surely nothing can be a more retarded waste of memory, CPU power and development funds." Well, now I'm proven wrong. There _are_ more retarded uses for it. This here X replacement has to take that crown.

      --
      A polar bear is a cartesian bear after a coordinate transform.
    8. Re:bah. by Anonymous Coward · · Score: 0

      Is this going to become a new troll? Suppose that handling an object in X11 takes X operations. Suppose that parsing an XML message takes N operations. Explain how doing X+N operations could ever be faster than doing X operations.

      Also, you posted anonymously. That means that what you say has to stand on its own merits. Your "don't kid yourself [...] kiddo" bullshit only makes you look stupid.

    9. Re:bah. by Chazmyrr · · Score: 1

      Bingo. It never ceases to amaze me through how many loops people will go, just to stay "fashionable". One of them being the retarded use of XML on an _internal_ data pipeline. Don't get me wrong. XML is great for its original purpose: a standard format for exchanging data with other programs. Programs not made by you, nor under your control.

      Is it that you didn't read the article or is it that you don't understand the purpose of a message queue? Just to clarify things for you, this is a way for your program to exchange data in a standard format with other programs. Programs not made by you, nor under your control.

      I thought it was bad enough to see programs where perfectly good relational data isn't just printed to the screen as such. No siree, bub. They first convert it to XML, then run through an XSLT transformation to get the same data back. _Then_ they print it.

      The program doesn't have to provide its own presentation layer. Any other program can use the XML data and ignore the XSLT transform. In a client-server application, the server doesn't have to do as much work. If the data changes, you can publish a new stylesheet instead of coding/distributing a new version of the program. To sum up, it requires less development resources and it reduces utilization of your servers. These are both very desirable.

    10. Re:bah. by Moraelin · · Score: 1
      Is it that you didn't read the article or is it that you don't understand the purpose of a message queue? Just to clarify things for you, this is a way for your program to exchange data in a standard format with other programs. Programs not made by you, nor under your control.

      I've read the article, and I understand the purpose of a message queue perfectly. However, in this case it's still a SFV case. In fact, it seems to me like the authors of that monstrosity don't understand it.

      Just to clear things up for you: Those programs are far from being out of your control. They're using your API. That _is_ under your control.

      It's that simple. If you want to write a program that runs in my GUI, it's my way or the highway. You either use my API, or you don't write programs for my GUI at all.

      You may use third party wrappers around my API, but it doesn't change a thing. Somewhere down the line it either gets converted to _my_ standard, or it doesn't get executed at all.

      That fundamental truth remains the same, regardless of whether the messages come in a well defined binary format, or in a well defined XML format. Either it's my way, or it's the highway.

      If you had to import data from an existing old Cobol program running on a mainframe, _then_ it would qualify as interfacing with external programs out of your control.

      Furthermore, it is an _internal_ issue anyway.

      An application program does not (and should not) have to go through XML loops just to draw a line. They'll want to just call some function like "draw(X0, Y0, X1, Y1)", not build a whole XML file each time. They'll also want to just get an answer they immediately use, _not_ have to parse an XML file to see which colour a pixel is.

      I.e., the whole XML fashion show just happens internally. In the best case it's between two components of the windowing system, in the worst case it's between the server and the client library. (Both being under your control.)

      Can you say "internal data being passed around as XML"? Can you say "Stupid Fashion Victim"?

      Still not convinced? Lemme point you at another idiocy from the article: they actually plan to do DTD validation on the fly. How's that for a waste of CPU cycles?

      --
      A polar bear is a cartesian bear after a coordinate transform.
    11. Re:bah. by LWATCDR · · Score: 1

      I have to agree that XML seems way over used. However it is not always dumb to use it for an internal data format. I use in one of my programs. The program has to parse an ascii ish CP1251 datastream and then convert it to ASCII or HTML or displays it using it's internal viewer. Just to make life complicated the text can be edited by the source and the viewers get updated. The data is a structured document so it really fits into XML well. For my app XML made a good internal format. You are right though. People and XML make me think of the old saying. When all you have is a hammer everything looks like a nail. What I do not get is why everyone is so SOAP happy. A lot of times a socket connection will work well enough.

      --
      See my blog http://ilovecookes.blogspot.com/ for light hearted technical information.
    12. Re:bah. by EdMack · · Score: 1

      Your post confirms my suspicions totally, after the fashion story from a few days ago, us geeks now try to say people are doing things for tech fashion, when really you're just the SFV (Stupid Fashion Victim).

      Oh shit, that makes me a reciprocal SFV, aeeee

      --
      puts ("Python r0cks\n");
    13. Re:bah. by Westley · · Score: 1

      The difference, however, is that there's no need for actual text parsing/validation. That *is* a big difference, IMO, in efficiency. Sure, you still need to have some storage mechanism or other, but I suspect that isn't the major inefficiency in XML.

      Jon

    14. Re:bah. by ostrich2 · · Score: 1

      But using XML _internally_? Gimme a break.

      Well, I shall give you a break. Actually, I need one, because the company I work for is going this exact boneheaded exercise. Worse than that, we're taking the data from mainframe-like very standardized flat file, converting it to XML, loading the XML into SQLServer scratch tables, validating it, exporting it into a different XML format to transfer it to our "server" Oracle DB before revalidating it and sending it right back to the SQLServer we just got it from. And why are we doing this? Because speed is of the essence on this project. Did I mention we're using WebServices for all this data passing, even though we own both sides of the application?

      This is off topic; I know that. But after just reading the article on SFVs and thinking I was the poor girl on the cover, I needed to vent.

      There...I feel better now.

    15. Re:bah. by Anonymous Coward · · Score: 0
      Lemme point you at another idiocy from the article: they actually plan to do DTD validation on the fly.
      <blink> <blink>

      Heh. At least they're not using SQL to deliver their XML messages.

    16. Re:bah. by Moraelin · · Score: 1

      It sounds like you did your design work, and weighed all your options, and you know exactly what are the advantages for using XML, and what is the price to pay. My problem isn't with that, it's with the people who just go for the "golden hammer" approach. "Oooh, Sun says that it's a great tool, so we _must_ use it." Lemmings.

      And you're dead right about SOAP.

      SOAP in the end is just an extension of the same original XML idea. You have some _external_ data which gets imported and exported as XML. So you might as well have a standardized way to request that data from a third party server application. (E.g., in my travel agency example, I might as well have a standard way of getting the XML data from those hotels and airlines. As opposed to nagging them to send me that data by email.)

      That's all that SOAP is supposed to be: a standard way to request a data export.

      But then people come and use it _internally_ as a substitute for plain old calling a method in their own classes. Stupid, stupid, stupid fashion victims.

      --
      A polar bear is a cartesian bear after a coordinate transform.
    17. Re:bah. by sander · · Score: 1

      No you don't - and neither do you with normal XML. SAX and DOM are just APIs, and others besides these exist. Look at say XmlReader API. And anyways, you can do something completely different if you are optimising for parsing *one* particular DTD/schema.

  4. Hrmm by acehole · · Score: 3, Insightful

    I can't see how creating more X alternatives or derivatives are going to help linux become more mainstream on the desktop?

    Perhaps someone could explain that to me...

    --
    Be you Admins? nay, we are but lusers!
    1. Re:Hrmm by ComaVN · · Score: 2, Funny

      emacs vs vi and gnome vs kde flamewars are getting old, we NEED a new one.

      --
      Be wary of any facts that confirm your opinion.
    2. Re:Hrmm by Frit+Mock · · Score: 1


      Mainstream != Identical Systems

      "Free software is a matter of the users' freedom to run, copy, distribute, study, change and improve the software."

      This inevitably leads to vastly varying systems, even if they are all based on (the) Linux (Kernel) or X(lib).

      Why should we give up our freedom in favor of unification?
      It's this freedom that will make Linux mainstream ... or at least it should be, IMHO.

      X isn't the best, creating more alternatives (while staying compatible with existing programs) will create more choices, and with a little luck a better choice will be created.
      And if there is something better than linux already is, it will help to become mainstrem.

    3. Re:Hrmm by Anonymous Coward · · Score: 1, Insightful

      for example in exactly the same way as the gcc vs egcs fork.
      btw, the problem with xfree is NOT raw speed. toolkits are slow, video drivers are old/slow/incomplete/or completely non-existent, important extensions are missing or developing and adopting to slow, the development model seems stagnant, there is no or little cooperation from video card makers, etc... but the speed of xfree is NOT a problem, nor network transparency is.

    4. Re:Hrmm by Walles · · Score: 1

      What makes you think they are trying to "help linux become more mainstream"?

      --
      Installed the Bubblemon yet?
    5. Re:Hrmm by digitalunity · · Score: 5, Insightful

      The idea here isn't to create an X alternative, but an X replacement. Something modern, fast, light. I know everyone is going to chime in with 'XFree86 is good enough. And it isn't bloated or slow'. It is an excellent piece of software, but it isn't as fast as it could be. There are commercial X11 servers for Linux that really are as fast as advertised, I've seen it in person. Another of the 'problems' with XFree86, and even commercial X11 servers is that they don't take advantage of modern GPU's. Granted, OpenGL isn't an ideal method of rendering *everything*, but for some things, it would offload much of the graphics subsystem from the CPU. There are cases where OpenGL would be much slower, but with a little smart programming, this can be avoided. OpenGL also has the added benefit of adding some eye-candy features like transparency without taxing the CPU. Anti-aliased vector fonts are easy with OpenGL.

      The only problem I see here, besides the usage of XML(it's flexible and easy to program, but too large as a metadata medium), is that many have tried this before and failed. Only time will tell.

      I'll give it a week before declaring it 'YetAnotherDOA sourceforge project'.

      --
      You can't legislate goodness. Let each to his own destiny, by will of his freely made choices.
    6. Re:Hrmm by Froggie · · Score: 1
      I can't see how creating more X alternatives or derivatives are going to help linux become more mainstream on the desktop?

      I can't see where anyone said this had anything to do with Linux (since it's running on a different OS) or the desktop mainstream (no mention of that anywhere).

    7. Re:Hrmm by Anonymous Coward · · Score: 0

      You'll give it a week to do what exactly?
      A week isn't a whole lot of time, so if you expect them to release a fully functional implementation of their idea, you're being extremely unrealistic.

    8. Re:Hrmm by JanneM · · Score: 1

      Having OpenGL as the default, main rendering model absolutely stinks. It means you can not feasibly run a desktop that does not have hardware accellerated 3d. "So what?" I hear you cry. Well, a major "desktop" class of devices for Linux are PDA:s and similar handheld stuff. You would have to run something else on them as they do not have the hardware for your "light" system.

      The other major problem are laptops. I use a fairly modern laptop, with hardware 3d. Problem is, running hardware 3d absolutely kills battery lifetime (and has the fan noisily running on high all the time). Running a desktop that uses those circuits at all times is simply not an option. And as other components such as CPU and the screen are continuous ly reworked to use less power and power down at any opportunity, this added drain will only become more, not less noticeable in the future. Add to that that laptops are becoming a lot more common as desktop systems, and you have a real conflict. /Janne

      --
      Trust the Computer. The Computer is your friend.
    9. Re:Hrmm by Stiletto · · Score: 2, Informative

      NOT TRUE AT ALL.

      OpenGL is just an API. If your app sticks with 2D calls, you should be fine even on graphics chips that only support 2D. Simply implement a basic 2D path in your OpenGL driver and punt the rest to software. My hourly rate is reasonable if you're interested ;-)

    10. Re:Hrmm by JanneM · · Score: 1

      Yes - in theory. In practice, there is a very large (even unavoidable) risk that the windowing system, and the applications built on top, will be written to maximize throughput using hardware, at the expense of software rendering speed. The software OpenGL implementation is written to emulate 3D as best it can, and does not as a rule have a good, efficient mapping to 2D hardware for the special case when that is possible. You will essentially run your 2D on a dumb framebuffer.

      Also, and (I think) unavoidably, many apps, and aybe even the WM itself, will think nothing of using real 3D functionality, not just using it for strict 2D, as they can assume a hardware layer to be present anyway. We want windows with shadows to emphasize stacking order? Just render the windows at different depth - no need to do clumsy 2D approximations! Buttons with relief? Render real 3d-buttons! Looks better and is faster!

      As soon as you start using stuff that can not be efficiently mapped on to 2D routines, you can forget about running it on anything without 3D accelleration. This will happen, unfortunately.

      --
      Trust the Computer. The Computer is your friend.
    11. Re:Hrmm by Penguinoflight · · Score: 1

      uh, it's quite simple really. No, really it's really really simple! If you have a few alternatives that are all compatible, the only result is betterment of the system.

      --
      "And we have seen and do testify that the Father sent the Son to be the Savior of the World"
      1 John 4:14
    12. Re:Hrmm by Grab · · Score: 1

      Well, a major "desktop" class of devices for Linux are PDA:s and similar handheld stuff

      Maybe eventually. ATM though, Linux PDAs are pretty damn scarce. Incidentally, handhelds are also light on memory, so a more "cut-down" version of X which doesn't include all the network-transparency would be ideal for a handheld - saves them having to load the whole of XFree86 unnecessarily!

      About your later point about getting a desktop to do the whole 3D thing for you - that isn't ever going to happen, I don't think. Desktop representation of 3D is very approximate. It assumes light coming from top-left, for instance - for damn sure I don't want the top-left corner of my screen to show up brighter than the rest, even though that's what a proper light-source would do, so a 3D lighting model is not going to be suitable for a desktop.

      Anyway, this is only one choice of X implementation. If there's one version that's fastest on a desktop, and another that's fastest on a handheld, what's your beef? After all, we don't slate Mozilla simply bcos it requires X support and won't run on old text-only terminals! :-)

      Grab.

    13. Re:Hrmm by digitalunity · · Score: 1

      No, but if there aren't any developers signed up or any more discussion in a week, it really will be another DOA project on sourceforge.

      --
      You can't legislate goodness. Let each to his own destiny, by will of his freely made choices.
  5. When hell freezes over. by Anonymous Coward · · Score: 3, Insightful

    Replacement for X. Not bloody likely.

    No networking capability and difficult to port since it is tied into a x86-only features.

    Anyways, remember X only uses networking IF IT HAS TO. No TCP crap if your on the same computer as the X client, it all goes thru sockets, which are plenty fast.

    I wouldn't mind a replacement to X, but this isn't it.

    1. Re:When hell freezes over. by Froggie · · Score: 1

      Since they're using a stream-oriented protocol, channelling it over a network would be easy.

      And none of the design is tied to x86 machines. They plan to use an communcations mechanism with an x86-based implementation, but, as they say, it's not that it couldn't be ported. (Since it's a stream-based protocol it would be easy enough to replace it with sockets or anything else anyway.)

      And, if you'd bothered to read the article, they compare their communications method with sockets, and demonstrate the speed advantage. But to my mind, the speed of their native communications system is a separate issue from the SVG/XML concepts they're advocating, and the two parts should be considered separately.

    2. Re:When hell freezes over. by Anonymous Coward · · Score: 0

      Yes i did read the article.

      But I don't think it will be completely network transparent like X will it? We can stream using VNC if we want to, but I don't think I can populate the desktop with a dozen different apps from a dozen different clients, with having them all interact, can I?

      Oh ya they said that they are exploiting a feature that is decidedly wintel feature. Portablity is possible, but not a objective, which means that it will probably be as portable as XP is.

      Which also means that it probably will run slower on non-wintel hardware then sockets anyways.

    3. Re:When hell freezes over. by Anonymous Coward · · Score: 0

      Really. What gets me is first the name, journeyOS (note the OS), second is that hyperqueues are IA32 specific and porting is "not a priority".

    4. Re:When hell freezes over. by arkanes · · Score: 1
      I doubt it'd have an advantage over domain sockets on anything except x86, though - the main advantage seems to be avoiding the context switch. Seems to me that it'd be possible to implement some of the same features with domain sockets, too - maybe using those new frutex thingies in 2.6.

      I agree that you should seperate the messaging mechanism from the message format - using an XML based message format like that is ridiculous. It increases the complexity by at least an order of magnitude and I'm sure slows it down by at least as much.

    5. Re:When hell freezes over. by Lally+Singh · · Score: 1

      The context switch overhead this article speaks of isn't a problem on X. When you call XLib functions, it buffers them until you either flush it or if you've got a synchronous call (it's been a while, so excuse any small discrepencies). So the context switches spoken of are mostly nil. Only when you need the X server to do work do you typically flush this buffer and cause the context switch; which you need b/c the X server's process needs to run at that point.

      The stylishly-named Hyperqueues are implemented in shared memory with userland synchronization, which is nice, but doesn't do too much for the X protocol, which runs on kernel-supported shared memory (zero-copy sockets), plus whatever tweaks the old MIT-SHAREDMEM extension gives on top of that.

      X has been developed, actively, for over a decade. Maybe it's OK to trust the developer's opinions of where the speed bottlenecks are.

      --
      Care about electronic freedom? Consider donating to the EFF!
    6. Re:When hell freezes over. by MrResistor · · Score: 1

      difficult to port since it is tied into a x86-only features.

      Linux itself was x86 only at a deep level, and I seem to recall Linus saying at some point that it would probably never be ported.

      I don't disagree with your conclusion, but I simply don't see this as a valid arguement. If this project produces something that people want it WILL be ported, and the x86-only parts will be replaced. To say otherwise is to ignore the history of just about every successful open source app out there.

      --
      Under capitalism man exploits man. Under communism it's the other way around.
    7. Re:When hell freezes over. by Froggie · · Score: 1

      They're talking about using a funny self-invented communications system, but the method of communication would appear to be either stream- or message-based. If it's either of those, then surely implementing it over TCP instead is trivial, and the fact that their comms system relies (at the moment) on an x86 feature has no bearing, because it's easily replaced.

      To be honest, I suspect that whatever they're doing could be replicated easily enough using a non-x86-specific method, but I haven't looked into the details. Given what they're doing seems to be faffing around with a chunk of shared memory, it might well be possible to do it using standard Unix shared memory systems and no hardware-specific code at all; it's always hard in these situations to decide if someone's inventing a new OS for sound reasons or because they just don't understand what existing OSes are capable of...

  6. Wooohooo! by DaEMoN128 · · Score: 1

    I for one, not even going to say that, will at least try it out. If it is faster, great, if not, boo hoo. I like that there are atleast options though. Second, I havent noticed speed issues with XFree86. I seem to get the same type speed using the winblows game engines as I do the OpenGL. When else would you need speed from your graphics system. OK, well, besides graphic design (which I think is more processor and memory intensive and less dependent on the graphics engines/backends, but I could be wrong)

    --
    Stop signs are only Suggestions
  7. porker by Anonymous Coward · · Score: 0

    XML and OpenGL? Hardly the stuff of a light, nimble system then. Check out the per-pixel shaded snowflakes on xsnow! Of course you only get 1/minute on your pentium, and thats when its finished parsing the XML that is. If I start it now, will it have rendered by Christmas?

  8. XML by sql*kitten · · Score: 4, Insightful

    XML is a good choice for storing data when you might want to extend the attributes of a record/properties of an object without breaking existing applications. That's inherent to the design of XML - so long as you query your documents in a structured way - say with a DOM parser and XPath - then "extra" tags don't make a blind bit of difference, except for taking up some memory and some processor time.

    But it's an extremely bad choice if you want to move lots of the same type of data around, when you know the format of the data in advance, and you do if what you're sending is drawing primitives, GUI widgets from a standard toolkit, etc etc. That is because of all the redundant metadata. If you are sending (for example) a CSV file the metadata comes once, in the header, and all the rest is pure data. An XML file stores the structure with the data - if you did this in a CSV file, it would mean repeating the header every other line, doubling the size if your file (or stream) for no advantage. It's worse with XML where you might have <somelongtagname>1</somelongtagname> - that is, your metada being far larger than your data. All compression does is add both processor and memory overhead at both ends, assuming the network isn't already saturated.

    I know that XML is "trendy" but it's the wrong tool here - a binary protocol should be used.

    1. Re:XML by hummassa · · Score: 4, Informative

      a binary protocol should be used.
      A binary protocol is being used: it's WBXML over HyperQueue. RTFA. :-)

      --
      It's better to be the foot on the boot than the face on the pavement. ~~ tkx Kadin2048
    2. Re:XML by leandrod · · Score: 2, Insightful
      > XML is a good choice for storing data when you might want to extend the attributes of a record/properties of an object without breaking existing applications.

      No, this would be the relational model for database management -- not SQL. XML fails due to its hierarchical nature and complexity.

      --
      Leandro Guimarães Faria Corcete DUTRA
      DA, DBA, SysAdmin, Data Modeller
      GNU Project, Debian GNU/Lin
    3. Re:XML by Anonymous Coward · · Score: 0

      Not necessarily true. It isn't all that difficult to include 'non-XML' data in an XML file, as long as it follows XML rules (meta-characters, mostly). For instance, I could have a file built something like below (substituting '[' for '<'):

      [data]
      [rec]Jeremy;Anderson;123 Main Street;234-839-1833[/rec]
      [rec]Susan;Johannsen;482 South Avenue;383-218-3820[/rec]
      [/data]

      An XML processor (using XSLT) might find it easier if the records were broken up using other elements or attributes for the various fields, but it isn't necessary. The file is valid XML, the elements group things at a reasonable level, and processing isn't that difficult.

      I've read a number of books on SGML that recommend doing this if the data would be too arduous when marked up and/or is only meaningful in some contexts.

      In the case of the GUI described here, it wouldn't be that difficult to create a more efficient way of encoding the data to be transferred, without going all the way down to binary.

    4. Re:XML by gwappo · · Score: 1
      A binary protocol is being used: it's WBXML over HyperQueue. RTFA. :-)

      That's like saying ASCII is binary because it's encoded in bits.

      The "XML fits all" argument made is justified, the protocol is XML based.

    5. Re:XML by jafuser · · Score: 1

      Right -- Because the solution to using an overweight protocol is to put a wrapper around it...

      --
      Please consider making an automatic monthly recurring donation to the EFF
    6. Re:XML by csbruce · · Score: 1

      I know that XML is "trendy" but it's the wrong tool here - a binary protocol should be used.

      If you want a fast XML parser, check out the open-source cwxml library, plug, plug. It is 3x as fast as libxml2 (10x as fast as Xerces) and itt also supports a binary encoding format for XML that is 5-60x faster again and cures the various limitations of WBXML. The W3C is also investigating binary encoding for XML.

    7. Re:XML by GooberToo · · Score: 1

      Agreed! XML is horrible at storing data. It is, however, good for interchange.

    8. Re:XML by leandrod · · Score: 1
      > It is, however, good for interchange.

      Not at all. Why all the computational and bandwidth complexity, plus hierarchical structure, if all you need for interchange is a schema definition?

      --
      Leandro Guimarães Faria Corcete DUTRA
      DA, DBA, SysAdmin, Data Modeller
      GNU Project, Debian GNU/Lin
    9. Re:XML by Some+Dumbass... · · Score: 1

      A binary protocol is being used:
      it's WBXML over HyperQueue. RTFA. :-)

      Thanks for supplying a sample packet.

    10. Re:XML by TheLink · · Score: 1

      Actually why is it good for interchange?

      AFAIK all parties involved still have to sit down and decide what they mean when they say something. They could do the same thing with formats that have lower overheads.

      Does using XML make the meetings etc shorter?

      Just curious.

      --
    11. Re:XML by be-fan · · Score: 1

      No, ASCII is ASCII. WBXML is a binary representation of XML. For example, instead of writing out words each time, it uses integers that index into a string table.

      --
      A deep unwavering belief is a sure sign you're missing something...
    12. Re:XML by Anonymous Coward · · Score: 0
      mod parent up! this is exactly right: XML was invented for transmission/communication, and is explicitly not for storage.

      the failure of virtually everybody to understand this has led to the egregious misapplication of XML all over the place.

    13. Re:XML by GooberToo · · Score: 1

      all parties involved still have to sit down and decide what they mean when they say something

      Except that rarely is how business is done. Rather, one party says, *this* schema says what you will get. Having worked with financial interchange, you would be amazed at how many different and incompatible implementations of the exact same specification you can find. ISO8583 and it's elk are well known for these types problems. With things like XML, it's very straight forward...or should be in all but the most esoteric of interchange needs.

      To boot, XML is highly extensible without necessarily requiring, requiring full element/attribute support by all parties. Again, can vary depending on scheme definition and implementation, or even product specification.

      So, IMO, interchange is really the only thing that I see XML good at. Again, IMO, storage and DB use, is just plain insane. Flat files or relational databases already work for storage, persistence, and data manipulation, with much lower overhead.

    14. Re:XML by TheLink · · Score: 1

      BUT that's why I find it strange - if one party determines what everyone else gets, you don't really need XML either.

      If Intel says: use RosettaNet if you want to do business with me. Guess what Intel's partners will do, no matter whether it is done in XML, text or ASN1? (Yes I know, RosettaNet uses XML).

      I think the key could be what you mention - don't need full element support etc. Still. Are there any other major killer features of XML that will make it the way to go?

      --
    15. Re:XML by GooberToo · · Score: 1

      BUT that's why I find it strange - if one party determines what everyone else gets, you don't really need XML either.

      It's true, you could use some other tool, but the fact that XML has excellent support no matter the enviroment or language, it certainly helps. Add in the fact that something like ASN.1 sucks worse than XML on a really, really, really bad day. Add in the fact that you can optionally support dynamically referenced schemas for on-they-fly updates and validation, supports namespaces, etc., XML is very flexible. It saves people from having to write their own custom parsers (low-level for sure).

      I think the key could be what you mention - don't need full element support etc. Still. Are there any other major killer features of XML that will make it the way to go?

      Killer features? No. XML doesn't do for you that you can't already do via some other mechanism. Just the same, as far as I'm concerned, me and work associate created XML long before there was something called XML and associated buzz. Why do I mention this? Well, the concept of tags is highly dynamic, highly extensible, easy to automate, and generally easy for humans to read, parse, and even generate. This is exactly why so many years ago, we created our own tag system, which is more or less predates what people call XML today. It's a simple concept serving a need. The fact that we independently created our own version of this technology does seem to validate it has some value. It addressed our needs at the time. Rather well, I might add.

      As far as I'm concerned, the big pluses to XML are schemas (dynamically referenced; lending to easy input validation), it's extensibility while maintaining backward compatibility (elements and attributes), and the high quality of generally available tools and parsers in almost any language (C, C++, perl, python, and so on...). For some, namespaces is a key "wow" feature.

      Long story short, XML does not live up to it's buzzword-hype, however, it is a valid and viable technology, depending on the problem domain and how it's implemented. It is not a panacea.

  9. could it be... by SuperBanana · · Score: 5, Insightful
    Could this get rid of the speed problems of XFree86 while still retaining Xlib compatibility?

    Could it be that the poster hasn't read more than 1 page into the comments on the last dozen times this X-is-slow BS has come up? I thought we all agreed on this one, but apparently not.

    This is very frustrating to see, because this makes for system #3, and things were already bad enough with 5 billion different window managers. Choice is great and all, but there's a reason some things are standardized, and "xlib compatibility" is not the same as "X"; I guarantee this new system will break all sorts of things in new and exciting ways.

    Perfect example of how open-source has failed us; EVERYBODY's gotta invent their own wheel instead of helping to make the existing wheel(s) better.

    1. Re:could it be... by 10Ghz · · Score: 0, Flamebait
      Could it be that the poster hasn't read more than 1 page into the comments on the last dozen times this X-is-slow BS has come up? I thought we all agreed on this one, but apparently not.


      When people talk about X, they usually mean Xfree. And Xfree is anything but fast. Window-resizing is choppy, so is moving windows around, for example.
      --
      Lesbian Nazi Hookers Abducted by UFOs and Forced Into Weight Loss Programs - -all next week on Town Talk.
    2. Re:could it be... by Anonymous Coward · · Score: 0

      Wrong, Xfree86 is plenty fast. What you are describing steems from Widget toolkits not using shared mem for local connections(=Unix domain sockets=zero-copy=plenty fast).

    3. Re:could it be... by CaptnMArk · · Score: 1

      >When people talk about X, they usually mean Xfree. And Xfree is anything but fast. Window-resizing is choppy, so is moving windows around, for example.

      This is not helpful.

      Please mention desktop environment/window manager, application, CPU, RAM, graphics card, system load, kernel version, ...

      I know the above certainly is absolutely not a problem on my system with most apps (mozilla for example) in normal situations.

    4. Re:could it be... by Frit+Mock · · Score: 1


      Sometimes it is neccesary to break existing "wheels" and invent new ones, to make things much better.

      Why was ipchains removed from the kernel and replaced by iptables? Why did they reinvent this wheel? Because iptables is much better.

      With every major kernel version, old wheels are replaced with new, better ones, despite the fact that this leads to many troubles.

      The only thing matters is the final result and not the amount of work involved or the troubles caused.

      This project is not in a stage, where one can say it failed or it succeeded, thus you can't say that "this is an example of how open-source failed" ... not yet!

    5. Re:could it be... by Anonymous Coward · · Score: 0

      i'm using gnome2.2 with xfwm4 as window manager on a dual celeron 550mhz. it is fast enough for me, and so should be fast enough for everybody, especially with hardware many times faster. why xfwm4 and not metacity? because metacity feels A LOT SLOWER when moving windows, resizing, etc... xfree is fast enough, it's the rest that eventually is not fast. Plus, xfree has a lot of value added by network transparency, the thin client market is opening at very high speed to linux and xfree has a big role in this.
      i want an xfree with faster development, with more up to date drivers, with high collaboration from video hardware makers (they should contribute a lot and use this fact as advertising, it's incredible they didn't do it already), i want to see more things added to xfree, for example network compression, advanced extensions to keep up with what ms could develop 2 years from now, but as a desktop user i definitly don't need a replacement for xfree written from the ground up, i don't want to see less features in a such replacement, i don't need things like an integrated toolkit, etc...
      i think the xouvert approach is quite appropriate, while the rest of the proposals that pop up once a couple a week are much less interesting, unrealistic, even dangerous.
      but in this precise case there is nothing to talk about, as this one is aimed at win32...

    6. Re:could it be... by Anonymous Coward · · Score: 0

      Open source has failed *you*?

      Well, *we*, like to reinvent the wheel. If you made a pentagon or a polygon and called it a 'wheel', that's not good enough for us. We are perfectionists and this is why we are reinventing the wheel. We're going for 3.14 baby. That's the beauty of open source. If you want polygons that are called wheels, microsloft makes some pretty good products.

    7. Re:could it be... by Froggie · · Score: 1

      Of course, not every application uses local connections - networked apps don't have the option of shared memory. It would be nice if they could run smoothly, too...

    8. Re:could it be... by Anonymous Coward · · Score: 0

      you are admitting that the problem is not in xfree, but in the toolkits/window managers/apps.

    9. Re:could it be... by absurd · · Score: 2, Funny

      Actually it goes like this:

      Everybody has got to invent their own wheel once, and when they realize how big amount of work is needed,
      they never finish it. This is when they might join some existing wheel-building-project.

    10. Re:could it be... by Anonymous Coward · · Score: 0

      Then you most use a differetial proxy. They exist for X.

    11. Re:could it be... by Anonymous Coward · · Score: 1, Informative

      > Same hardware, same system: Windows is smooth, Linux GUI is choppy. That has been repeated over and over again.

      Running FreeBSD 4.8 with XFree 4.3 on a dual pII 333 witth nvidia geforce4 here.. Have an exactly identical machine running Windows2k (oh, machine has 512mb ram(

      Comparing the 2 gives a very simple result, XFree beats windows on each and every area when it comes to graphcs performance on that hardware.

      Window movement is more smooth, resizing windows is smoother as well. I can run the Linux versions of games like Quake 3, Enemy Territory etc on FreeBSD and they are very well playable, while the same is simply nogo on Windows..

      The only way ion which things are repeated over and over regardign this is in people repeating over and over the same utter bullshit statement as you did.

    12. Re:could it be... by N1KO · · Score: 1

      It could be your kernel. I know my system slows down considerably under heavy hard drive use, which didn't happen under windows. If it isn't the kernel it could always be the drivers for your graphics card or the toolkit (I find kde/qt apps take much longer to load than gtk apps) or even the programming language (pyGTK programs are extremely slow for me).

    13. Re:could it be... by Anonymous Coward · · Score: 0

      Try a stripped down window manager, like Fluxbox or the one that comes with Microsoft Windows.

      Windows is NOT fast with a full-featured window manager. And yes, I tried to install one. Went back the same day. I'd rather look at an ugly WM, than have a pretty WM that makes the system slower than useless.

    14. Re:could it be... by Frit+Mock · · Score: 1


      It's the geeks that manage even such huge amounts of work ... and the rest is well adviced to join some existing rounding-up-the-existing-wheels-projects ;)

      It's the good ol' try and error method to answer the question to be a geek, or not. There is nothing wrong with it ;)

    15. Re:could it be... by 10Ghz · · Score: 2, Interesting

      From what I have gathered, 2.6 is better than 2.4 in the desktop. And I say it's about time! fact is that desktop-esperience has been smoother in Windows than in Linux. Yes, I still prefer Linux, but the desktop-experience could be alot better.

      Modding me troll doesn't change that fact. 2.6 might

      --
      Lesbian Nazi Hookers Abducted by UFOs and Forced Into Weight Loss Programs - -all next week on Town Talk.
    16. Re:could it be... by Znork · · Score: 2, Insightful

      Improving the wheel is not the same as reinventing the wheel. Reinventing the wheel means someone has already invented the wheel, but still you try to reinvent the same wheel because it's not _your_ wheel/you've misunderstood why the wheel is round/etc.

      The X wheel is already round. Going through the phases of making triangular wheels, square wheels and octagonal wheels until arriving at the round wheel, again, seems redundant.

      I have yet to see a let's-replace-X proposal that has succeeded in making a convincing case it would end up in any way better. This one doesnt either.

    17. Re:could it be... by NickFortune · · Score: 2, Insightful
      I do think you're trolling, but I'll byte anyway...
      Perfect example of how open-source has failed us; EVERYBODY's gotta invent their own wheel instead of helping to make the existing wheel(s) better.
      That's not the failure of the open source model - that is its strength.

      Something like windows is very limited in how it can evolve for two reasons. On the one hand there is the development history which can make it very expensive to make certain changes, if they would affect a lot of code, and then there is the corporate culture behind the project that has a certain way of doing things. Both these factors tend to enforce a somewhat linear style of evolution for a system. Windows evolves, yes, but only along certain lines in one general direction. Some of the projects I've worked on - if they'd invented the wheel it'd have been triangular. "It works if you put enough power behind it. If it ain't broke, don't fix it"

      The first problem is lessened with open source, A project can split in several directions at once and the most useful results will eventually be the ones to predominate. This is only possible beause there are (in general) no dealines; no financial risk involved and no one is required to use the new packages generated by this divergence.

      The second probles does affect open source, but far less so. There is pressure from the community to use established methodologies and packages, but this cannot be enforced.

      The upshot is that a lot of coding gets done in the open source world that would be politically impossible in a corporate environment. Which means that we see a lot of creativity. Sure a lot of that is misguided, and a lot of these divergent projects fail. Then again, a lot of corporate projects fail too - we just don't hear so much about those ones:) Meanwhile the successful ones can lead developemnt in unexpected directions, interact with other new ideas to produce even stranger offspring, or diverge into something else entirely

      The thing that stops everything from diverginf completely is that there is a nequal pressure to standardise and unify packages. That's factor two again.

      It's an unstable equilibrium. Divergence and convergence, Ying and Yang. Because square wheels need reinventing.

      --
      Don't let THEM immanentize the Eschaton!
    18. Re:could it be... by Stiletto · · Score: 2, Insightful

      The Windows GUI is anything but full-featured. Uninstall your MS-Blinders2000 for a second and actually compare Windows feature-for-feature with even the most stripped down X toolkits. The only thing you'll probably find missing in the X toolkit is the ability to drag a word document to an excel spreadsheet, and we all know how useful that is...

    19. Re:could it be... by hardaker · · Score: 1
      Perfect example of how open-source has failed us; EVERYBODY's gotta invent their own wheel instead of helping to make the existing wheel(s) better.

      Yep. Thats because most coders out there are not ones who want to delve into optimization of someone elses code (because it's hard). So, they think "It must be something they did in the process, thus if I write something new, it certainly will be better, right?".

      Actually, a good starting open source project would be a really good code optimization tool which is better in its output than the current optimization tool. One that makes it more obvious to the newbie-coder where there problems are. The ones out there now give good technical results, but are hard for newbies to understand.

      --
      The next site to slashdot will be ready soon, but subscribers can beat the rush and start slashdotting it early!
    20. Re:could it be... by SnowZero · · Score: 1

      Hey that's not fair; you're supposed to horribly misconfigure XFree before you do the comparison!

    21. Re:could it be... by slittle · · Score: 1

      How about you enlighten us?

      Starting with how wonderful Cut-n-Paste is under X.

      --
      Opportunity knocks. Karma hunts you down.
    22. Re:could it be... by Greyfox · · Score: 1
      It's also difficult or impossible to make a modal or system modal dialog box, and apparently Windows programmers can't program without this ability. I can't think of one Windows GUI program I've used in the past decade that didn't have application or system modal dialogs in use, and once that first dialog pops up, the parent window stops processing its input so you can't move, hide or minimize it. That means that until the program you're looking at right now gets its thumb out of its ass, you're stuck looking at it and getting no other work done.

      Conversely I can't think of one X application I've used in the past decade that had application modal dialogs. At least not twice. System modality is completely unheard of. And if your application stops processing its input queue for some reason, you can still move and minimize it, allowing work to continue. They've fixed some of the problems in recent years, but I still prefer the X approach of keeping Window Frame handling completely out of the domain of the application itself and not allowing modal dialogs at all (At least, my window manager is configured that way.)

      --

      I'm trying to teach myself to set people on fire with my mind... Is it hot in here?

    23. Re:could it be... by Brandybuck · · Score: 1

      That's not the failure of the open source model - that is its strength.

      Let me state a different but related failure: "The failure of open source is the preponderance of slashdot readers who never get past the first few posts on a topic".

      People think XFree86 is a slug because they read slashdot. So they go off to write their own replacement. 25% of the way through, they realize that every myth they knew about XFree86 was wrong, so they abandon the project. Thus the proliferation of half finished X replacements.

      --
      Don't blame me, I didn't vote for either of them!
    24. Re:could it be... by 10Ghz · · Score: 1

      MS-Blinders?? Funny, considering that I run (and love) Linux and hate MS and Windows. But that does not make me blind to the weak points of Linux.

      --
      Lesbian Nazi Hookers Abducted by UFOs and Forced Into Weight Loss Programs - -all next week on Town Talk.
    25. Re:could it be... by Brandybuck · · Score: 1

      Ditto. I'm using FreeBSD 5.1 and XFree86 4.3. I have the same experience. X is smooth and responsive.

      But XP does seem a bit more responsive though. Not a whole lot, but a bit. So I did some checking to see why. Run a CPU meter in XP and in XFree86. The Windows GUI certainly appears to be the highest priority in XP. Move the mouse and CPU usage jumps. Drag a window and sometimes I can hear WinAmp stutter under the increased load. Now bring up XP and XFree86 from a cold start. XP appears to be up and running faster, but notice that hourglass cursor. It's making you think it's up and running when it's still loading. I ran a test once, from bootup to the display of Slashdot in a browser. FreeBSD + KDE + Konqueror was faster than Win2K + IExplorer.

      There should be no reason for this, since the win32 API doesn't have a tenth of the feature set of the X11 API. But there it is. XFree86 scales up, while win32 demands faster and faster processors every year.

      --
      Don't blame me, I didn't vote for either of them!
    26. Re:could it be... by AJWM · · Score: 1

      Of course, not every application uses local connections - networked apps don't have the option of shared memory.

      No, but every application has access to the X server, through which they can communicate. Okay, granted, the programmers have to figure out the ICCCM, which seems to be too much like hard work for a lot of them...

      --
      -- Alastair
    27. Re:could it be... by NickFortune · · Score: 1
      Now now. You can hardly blame open source for the tendancy of people not to read all the posts on a popular mailing list. :D

      But you're right that a lot of projects get started and never get finished. That's part of the learning process. Some of them will decide they can have more fun engaged in other pastimes; some of them will move on to better researched projects; some of them will push on and complete the project even if it doesn't work; and some of them may succceed and produce something useful.

      Bear in mind that the there is a large faiulure rate for corporate computer development as well. The only difference is that, since no company wants to be associated with a failed project, the corporate falures tend to get quietly swept inder the carpet. The open source ones however languish on sourceforge for all to see,

      You still haven't shown me anything that looks like a failure of the open source development model.

      --
      Don't let THEM immanentize the Eschaton!
    28. Re:could it be... by CaptnMArk · · Score: 1

      Maybe for you.

      I'd take linux over windows any day of the week.

      And yes, I turned all fancy "Effects" on windows off.

      It just doesn't multitask well. The entire Explorer monster especially (even though I run it in multiple processes).

    29. Re:could it be... by aminorex · · Score: 1

      I must observe that my experience is opposite.
      Windows XP is horrific. The best of the bunch
      is Windows 2000 Professional, but even that is
      subject to terrible lags, lockups, and cpu-spinning
      overheads that I just don't see in a Linux/X11
      environment. Admittedly, I don't use KDE or Gnome,
      and I use kernels with real-time/low-latency
      patches.

      --
      -I like my women like I like my tea: green-
    30. Re:could it be... by Anonymous Coward · · Score: 0

      XP appears to be up and running faster, but notice that hourglass cursor. It's making you think it's up and running when it's still loading.

      I've noticed that when you log in to XP, it displays your desktop, with the hourglass cursor as you say. Then after it finishes the deceptive loading process, the entire desktop is redrawn...

      I think XP is effectively showing me a 'screenshot' of my desktop, to give the impression that it's booting faster.

    31. Re:could it be... by Anonymous Coward · · Score: 0

      Uhh, Mozilla has application-model dialogs.

    32. Re:could it be... by Brandybuck · · Score: 1

      I think XP is effectively showing me a 'screenshot' of my desktop, to give the impression that it's booting faster.

      Hmmm, not really. I do notice that everything seems to be redrawn after "loading", but it's not showing a screenshot. I can click on the start button and have it show as depressed, but I usually don't get the start menu popping up until after the initial loading is complete. Sometimes it will even pop up before, only to be taken down immediately. It's really strange behavior.

      --
      Don't blame me, I didn't vote for either of them!
    33. Re:could it be... by Anonymous Coward · · Score: 0

      I can click on the start button and have it show as depressed, but I usually don't get the start menu popping up until after the initial loading is complete.

      That's why I put screenshot in quotes - it has the appearance of being functional, but isn't. It's like a false store front or something.

      And I really *hate* it when it yanks the start menu away. I think it's usually because an app adds or changes tray icons, but it's bloody annoying. If I don't wait, I go through pain like "Start, programs, Mozilla... FUCK! Start, Programs, Mozilla... DAMN IT!". So much for quick boot times.

    34. Re:could it be... by Stiletto · · Score: 1

      OK. Highlight text. It's copied. Middle click. It's pasted.

    35. Re:could it be... by Pharmboy · · Score: 1

      You still haven't shown me anything that looks like a failure of the open source development model.

      Caldera Linux :)

      --
      Tequila: It's not just for breakfast anymore!
    36. Re:could it be... by esanbock · · Score: 1

      Well, I'm running KDE. Experience shows that although Windows behaves faster consitantly, it is also extremely unstable under load when compared to Linux/KDE. The system will slow down, but it won't crash. In Windows 2K it's a guaranteed crash.

    37. Re:could it be... by Froggie · · Score: 1

      The point I was trying to make was that it's all very well saying "X is fast because it uses shared memory and zero-copy sockets to communicate to clients" but this is simply not true in all cases. I'm not arguing that clients can communicate with each other via the X server, but that's not relevant here.

  10. Didn't Apple teach us anything? by daBass · · Score: 5, Insightful
    "This allows for one of the goals of JourneyOS, which is eventual Win32 compatibility"
    Oh no. Not just X, but also Win32 compatible.

    I doubt we'll ever see this project finish. When is anybody going to just start from scratch, like Apple did with OS X? Build it and they will come.

    1. Re:Didn't Apple teach us anything? by sql*kitten · · Score: 3, Insightful

      When is anybody going to just start from scratch, like Apple did with OS X?/i

      Umm, Apple didn't start from scratch. They bought an existing platform - OpenStep - and customized it. OpenStep and NeXTStep before it were both mature products in the MCCA space (mission critical custom app) for example financial applications, telecomms, etc.

      As an old NeXTStep user, in many ways OSX was a step backwards... still it is good to see that Apple are able to make a more of a mainstream success than NeXT did. NeXTStep was a great OS that should have owned the business desktop in the early 90s, if Jobs hadn't screwed up marketing it so badly. Businesses were banging on his door to buy it back then and he said no, we only sell to education, but he priced his machines at $10,000!

    2. Re:Didn't Apple teach us anything? by Squarewav · · Score: 1

      starting from scratch seems like a good idea at first to you realize that what you end up with is an OS that has no software, and is difficult to port to because you changed the API too much A.K.A beos (whoops we forgot mmap() sorry guys no mozilla for you) as far as apple doing it, well they didn't write from scratch they built on top of BSD and others and said basically "you want to write MacOS software your going to switch too it whether or not you want to because we are not supporting classic for much longer" and they had the money and the fan base to do it

    3. Re:Didn't Apple teach us anything? by Anonymous Coward · · Score: 0

      Just a small comment: BeOS has a working mozilla. Bezilla and other applications do suffer from other BeOS issues, which I won't get into.

    4. Re:Didn't Apple teach us anything? by daBass · · Score: 0, Flamebait

      I never said to rewrite the OS from scratch, just the windowing system.

      There isn't much wrong with Linux, it is great as a server and as base for a GUI desktop. But to be a true desktop OS, there needs to be a better windowing system, not some ancient pile of crap with 20 different "Window Managers" and awfull configuration utilities for the underlying OS.

      What it needs is a common look and feel, which customizable within reason. Then there should be a registry-type thing for system settings. I am not an OS X expert, but it seems Apple replaced all config files from /etc with some central config daemon, leaving the files only in place to inform us unix users of that fact with a comment inside of them.

      And quit installing 10 different apps to do the same thing (10 for mail, 10 for ftp, 10 media players, etc), none of which are very good or understandable by novices. We need only a single good one, maybe a second, but a distribution should only put in one.

      Then there should be a common installer, like windows has. Every application knows how to install itself so you do not have to wait untill a package is available for you version of your distribution. The current way is just insane.

      The problem is: this would mean people work together, putting their own ego-stroking aside for the common good. What Linux needs is to be more like Redmond. Not just have some people that decided what goes in the kernel, but have a group of people that decide what goes into the apps, as opposed to vendors just picking what is available. This way developers have standards to work to. If it isn't good enough, it doesn't get released and no egos get stroked at all.

    5. Re:Didn't Apple teach us anything? by DarkSarin · · Score: 1

      I agree with on the idea of not installing multiple versions. But the problem is that so many make unrelated apps dependent on Gnome or kDE, thus requiring you to install one or both when you prefer windowmaker.

      --
      "We don't know what we are doing, but we are doing it very carefully,..." Wherry, R.J. Personnel Psychology (1995)
    6. Re:Didn't Apple teach us anything? by esme · · Score: 2, Insightful

      I think what you're looking for is MacOSX.

      Existing OS, rewritten GUI, standard installer, one decent app for each task -- this sounds like MacOSX to the letter. Some of the config stuff is in a directory server (NetInfo) -- like the users, lookup, etc. The vast majority of config stuff is in XML files though.

      In the end, I don't think Linux is ever going to get there -- there are too many people who are independent and have no real motivation for coming together. Your best hope is one of the major distributions spending a lot of time on usability and polishing up the applications.

      Personally, I got tired of waiting for a decent distro where everything just worked. I bought a PowerBook with MacOSX and haven't regretted it once. I've still got my old Linux box chugging away as a NAT/file server, though. Linux has already made great inroads for servers (especially at the low end) and I expect it'll keep doing well in that space. In the desktop market, unless you're an extreme free-software advocate, I think MacOSX is a much better choice.

      -Esme

    7. Re:Didn't Apple teach us anything? by Anonymous Coward · · Score: 0

      > I think what you're looking for is MacOSX.

      Only if you don't mind only being able to use your chosen OS on a FUCKING EXPENSIVE CLOSED HARDWARE PLATFORM.

      Some of us, call us cheapskates, kind of like the hardware we already own, and don't want to have to buy a new computer along with the OS?

    8. Re:Didn't Apple teach us anything? by Anonymous Coward · · Score: 0

      ...not some ancient pile of crap with 20 different "Window Managers" and awfull configuration utilities for the underlying OS.... ...And quit installing 10 different apps to do the same thing... ...Then there should be a common installer, like windows has....

      Your beef isn't with windowing system or even Linux. You think that the distributions suck. Well... no argument there. However, coming up with a distribution that is both coherent and popular is a tightrope I don't think I could walk. What we see is Everything-and-the-kitchen-sink-and-some-python-sc ripts-to-tie-everything-together-sort-of distributions (Are you LISTENING RedHat?) and ditributions where someone tried to make sensable choices, but don't get used because 1,000,000,000 geeks all agree that they chose the "wrong" mail reader (Of course no 2 of those geeks agree on what the "right" mail reader would be)

      There is no Bill Gates (or even Steve Jobs) in LinuxLand who could say to the userbase "It's my way or the highway." If Linus tried, the user base would rail against those damn Swedes (Yes, I know...), rename the OS FREEDoom OS and go on with their project to write the ultimate mail reader.

    9. Re:Didn't Apple teach us anything? by daBass · · Score: 1

      Yup. Too bad hardware is very expensive. Luckily I am not a power junkie, just something that is fast enough to do what I want it to do comfortably (browse, code Java and Photoshop). I have become a laptop junkie nowadays, my desktop sits idle most of the time while I work/play on the couch. When the next upgrade cycle arrives (probably another 18 months or so) I will be very tempted to get a lower spec (affordable!) Mac laptop. (By that time that will probably a G4) I'll be using Linux, like yourself, only as server.

      I just don't have time to wait for hell to freeze over...

    10. Re:Didn't Apple teach us anything? by ShavenYak · · Score: 1

      I think the important thing for JourneyOS is to decide on a motto. I suggest "Any way you want it, that's the way you need it"!

      --

      Hey kids, there's only 5 days left 'til Yak Shaving Day!
    11. Re:Didn't Apple teach us anything? by daBass · · Score: 1

      Good point. Although I do believe the distros should make a good decision, none of the WMs out there are good enough in my view. But someone with the market power like RedHat or SuSe could easily go back to basics and do/organise what I propose.

      But I should stop talking about this because apperantly, making suggestions on how to make things better is now classified as flamebait...

      To anyone who scored my post as flamebait: flamebait is a deliberate attempt at causing trouble. My post clearly is not. If others take it as bait and start to flame, punish them, but don't shoot the messenger, I am just pointing out what in my view is wrong with the current attempts at Linux's holy grail: conquor the desktop. If this kind of proposal is not welcome here, please score it "Off topic".

    12. Re:Didn't Apple teach us anything? by rowanxmas · · Score: 1

      Great Journey ref. Hopefully some mods find this one.

    13. Re:Didn't Apple teach us anything? by jesse.k · · Score: 1

      if you even bothered to read their website, you'd see they have motto already, "Don't Stop Believing".

    14. Re:Didn't Apple teach us anything? by Anonymous Coward · · Score: 0

      Businesses were banging on his door to buy it back then and he said no, we only sell to education, but he priced his machines at $10,000!

      Jobs and NeXT had to sell them at outrageous prices. It was part of his severance agreement with Apple. Apple wasn't about to cut him from the company, then send him out to compete directly against themself.

    15. Re:Didn't Apple teach us anything? by Anonymous Coward · · Score: 0

      www.fresco.org

    16. Re:Didn't Apple teach us anything? by ShavenYak · · Score: 1

      Yeah, I saw it later, but that was stupid. My idea was better.

      --

      Hey kids, there's only 5 days left 'til Yak Shaving Day!
  11. My prediction by mst76 · · Score: 2, Insightful

    Yawn, yet another X alternative/replacement. My prediction is that 15 years from now we'll still be using X11. Probably still XFree86, even.

    1. Re:My prediction by twistedcubic · · Score: 2, Insightful

      I second that. I think the only people who think xfree is "slow" are the kids who like to play those video games.

    2. Re:My prediction by mbyte · · Score: 2, Insightful

      No. I think people who actually want to do *work* with linux think xfree is slow.

      Try win2k/ultraedit/mozilla vs. linux/(kde or gnome editor)/mozilla. The win2k machine is *way* faster.

      xfree as it is is slow. the culprit can be the drivers inside xfree (the nvidia driver *suck* for 2D performance !), it could be the broken toolkits (gtk2, qt), it could be something else.

      I find it strange that some nvidia guys are re-inventing XAA in their latest drivers to work around some XAA speed problems ...

    3. Re:My prediction by Anonymous Coward · · Score: 0

      I one of those kids that play video games. And X is faster (about 5-6 fps) than win32.

      I think we're not only going to use X but X11R6, since there currently isn't any need for updating the protocol. Just need some more extensions.

    4. Re:My prediction by twistedcubic · · Score: 1

      What aspect is slow? Rendering objects? Moving objects? I use Fluxbox, so I can't think of anything I consider slow. The "kde or gnome editor" I use is Emacs, and I can't imagine it being any faster, except for the startup time, which isn't related to X. My Mozilla speed is fine, but I think the slowness of Mozilla is caused by Mozilla, since Opera 7 renders pages faster. Also, a basic app I wrote with Imlib2 rendered images ridiculously fast. I wouldn't measure the speed of X using KDE or Gnome.

    5. Re:My prediction by Anonymous Coward · · Score: 0

      > Try win2k/ultraedit/mozilla vs. linux/(kde or gnome editor)/mozilla. The win2k machine is *way* faster.

      I can run X on a p200 with 128mb, have KDE 3.x + Mozilla and get a decent performance.
      I can't even hope to get any workable windows 2k or XP setup on that box.

      So... what are you talking about exactly?
      Sorry but what you say there is simply utter bullshit.

    6. Re:My prediction by Anonymous Coward · · Score: 0

      Games run really fast under XFree86, I don't know what you're talking about. It's the common desktop environments that have *really* bad drawing lag.

      My machine is an AMD 1.4GHz T-Bird with an NVidia Geforce 3 using the official Nvidia drivers (4363 i think), and believe me, the drawing speed is an embarrassment. I hate converting people to Linux only to hear them moan about this and me having to apologise for it "oh, people are working on it, it will get better in time.".

      If only some of you people would realise that it IS a problem! We don't all run TWM ffs! Something needs to happen to make QT/GTK run more optimised on top of XFree86. e.g. more offloading to my Graphics card's GPU (it's just sitting there!)...

      On the same machine, Windows 2000 absolutely blows it away in drawing speed. Also, Windows 2000 can change resolution/colour depth on the fly (Win has been able to for ages), and I've even seen it change drivers on the fly (only once though, weird). The current state of graphics on *nix is a joke, and the sooner people realise this, the better. Why would people moan so much if it wasn't a problem? Get your head out of your ass!

    7. Re:My prediction by Alioth · · Score: 1

      It's likely to be the toolkit, not X11.

      I was using X11R6 in the days of 80486 systems - the underlying X11 hasn't changed since then (a few more extensions here and there). Change WM to fvwm, and X11 is lightning-fast for desktop use. Of course, then the desktop isn't very pretty. But it's blindingly fast.

      As for games, I happily play RTCW:ET with Xfree86 in 1600x1200 with a GeForce 4.

    8. Re:My prediction by BZ · · Score: 1

      For Mozilla, let's not forget that MSVC++ (Windows Mozilla) produces code that's about half the size and far faster than the code produced from the same source by g++ (Linux Mozilla).

      In fact, going from g++ 2.9 t g++ 3.2 for Mozilla meant a 10% across-the-board speedup in all operations. Testing with current CVS g++ shows further speedups, bringing Linux Mozilla much closer to Mozilla on Windows.

  12. XML is saving the world again... by Anonymous Coward · · Score: 0

    I do not see how ASCII code is faster than binary, but XML is into everything... I have code-named it the Borg.

  13. Slashcode lookalikes by Pflipp · · Score: 2, Insightful

    How I hate Slashcode lookalikes as frontends for project homepages. You're spending hours looking to find a simple project introduction, FAQ or screenshots...

    --
    "We can confirm that Debian does *not* ship the version with the trojan horse. Our version predates it." [CA-2002-28]
    1. Re:Slashcode lookalikes by iantri · · Score: 1

      Amen! See the Coyote Linux site. It's IMPOSSIBLE to find anything. (The guy who runs it has even received comments to that effect and has said "Screw you.")

  14. Oh. my. god. by quigonn · · Score: 3, Insightful

    and uses XML as the communications protocol.

    Thanks, no, I never want to try this one. XML as communication protocol is a nice generalization on the paper, but in practice, it sucks. GUIs should be optimized for speed, and thus, the protocols should be specialized, too.

    --
    A monkey is doing the real work for me.
    1. Re:Oh. my. god. by Frit+Mock · · Score: 1


      Should GUI be optimized for speed ... yes, but speed is relative!

      As a developer, I for one welcome everthing that speeds up UI-development!

      I typicaly use 20-30% (perhaps up to 40%) of the time to develop the neccesary "functional" (data mangling) part of an project. The rest of the time to develop a nice GUI.
      A nice, generalized, extendable and flexible protocol (XML?) could speed up development a lot, would be a good idea to do so.

      In (my programming-)practice specialized protocols suck. Everytime you need to extend or change something in the protocol, you first throw away everything else based on a specialized protocol.
      Good, the data mangling stays intact, it is _just_ neccessary to rework the whole GUI!?

      The capabilities of graphics processing units develop that fast, that there is a need, for an flexible and extendable comunication layers between the different parts of the whole system to benefit from hardware improvements.
      If different parts of the whole graphics system communicate via a specialized protocols, then they are outdated within a few month and a rework of the protocol and the all parts of the GUI based on these protocols have to be reworked.

      Exactly that's why X is slow, you have a super power graphics card in your box, but don't use these super power features, because development is slowed down to almost null. The _specialized_ protocols have to be that _general_ to support _every_ underlying hardware and system. Specific features/extensions are either excluded by default in specialized protocols or are a lot of work to be included.

    2. Re:Oh. my. god. by vidarh · · Score: 4, Interesting
      The X protocol IS extensible. Exactly what do you think the shared memory extension uses? Or Xv? Or DRI? Or XRender? The X protocol was designed specifically with extension in mind. Now, I can think of quite a few thing in the X protocol that sucks, but lack of extensibility is not one of them.

      The "slowdown" of optimizations for X is not a result of the protocol, but of the complexity of the task. Look at all the alternative GUI's available for Linux, and take a look at the number of drivers they support and the feature set - most of them are highly specialized because the amount of work that needs to go into a general purpose GUI system to make it useful is simply staggering, and few people have the skills to do it well.

      Extending the X protocol is the easy, almost trivial, bit.

    3. Re:Oh. my. god. by volkris · · Score: 1

      Why wouldn't you want to try it?

      I wouldn't want to be responsible for getting such a monstrosity working with decent speed, but there's no harm in trying it.

      And then if you try it and it does somehow, against all odds, manage to work then you can be just that much more impressed.

  15. Why ask ? by Rosco+P.+Coltrane · · Score: 1

    It looks like it is OpenGL based and uses XML as the communications protocol. The biggest news is that it is supposed to have Xlib compatibility, but uses HyperQueues instead of Unix domain sockets. Could this get rid of the speed problems

    I suppose a gimp can run faster than Carl Lewis, but it'll take an awful lot to train him...

    --
    "A door is what a dog is perpetually on the wrong side of" - Ogden Nash
    1. Re:Why ask ? by quigonn · · Score: 1

      I suppose a gimp can run faster than Carl Lewis, but it'll take an awful lot to train him...

      "Of course KDE can run fast, just take some SuSE CDs, tie it onto a pig, and then kick it."

      --
      A monkey is doing the real work for me.
    2. Re:Why ask ? by hummassa · · Score: 2, Funny

      I suppose a gimp can run faster than Carl Lewis, but it'll take an awful lot to train him...
      To train Carl Lewis?

      --
      It's better to be the foot on the boot than the face on the pavement. ~~ tkx Kadin2048
  16. fragmentation? by dclaw · · Score: 1

    The primary focus of an xfree replacement would obviously be better speed overall. It wouldn't create fragmentation of the linux desktop if it was clearly a faster alternative.

    --
    feeling lonely? grab a balled up pillow for company
    1. Re:fragmentation? by Anonymous Coward · · Score: 0

      Enlighten me on how you can beat zero-copy(which Unix domain sockets are). Speed issues steems from toolkits not using shared mem in local systems.

    2. Re:fragmentation? by Froggie · · Score: 1

      You can beat zero-copy networking by having fewer context switches. Which can be done through a shared-memory system, admittedly, but making networking system calls will cause context switches, which are heavyweight on x86.

    3. Re:fragmentation? by Anonymous Coward · · Score: 0

      Ther are no system call with zero-copy domain sockets(it's memmapped). What, you didn't think we talked about this
      at the lkml?

    4. Re:fragmentation? by Anonymous Coward · · Score: 0

      That's something else. You are takling about somehow integrating the toolkit (or at least making a standard for naming widgets+some widget plugin thingy). That's another ballpark. Imagine if X originally came with motif as the only toolkit you could use. Just imagine the horrors...
      The problem is also that todays toolkits don't use the full power (shared mem on local connections comes to mind)

    5. Re:fragmentation? by Froggie · · Score: 1
      Ther are no system call with zero-copy domain sockets(it's memmapped). What, you didn't think we talked about this at the lkml?

      I'm curious: how do you indicate to a "domain socket" (I presume you mean one of "socket" or "unix domain socket") that you've written your data in this memmapped are and you now want it to be passed to the receiver? Do you have any design document references?

  17. Xlib compatable UI interface, nothing new by atcurtis · · Score: 1

    Look at project Everblue... on OS/2 Netlabs. Its not exactly news since it started around 1999. (There again, Slashdot doesn't report much on non-Linux news, especially in that era)

    http://everblue.netlabs.org/

    It has Xlib compatibility and maps it on to the OS/2 Presentation Manager UI.

    It's quite possible for someone to pick up the code and do it for their favorite UI.

    --
    -- The universe began. Life started on a billion worlds...
    -- Except on one where stupidity was there first.
  18. XML and Speed? by exa · · Score: 1

    I doubt they are going to get speed because they are using XML and "HyperQueues". They still might, if they are using a stellar opengl implementation, who knows :)

    --
    --exa--
    1. Re:XML and Speed? by xyote · · Score: 1

      Hyperqueues are faster because they go to 11. Otherwise, how would they be different than every other shared memory message queue implementation?

  19. total vaporware by rmm4pi8 · · Score: 5, Informative

    nobody seems to have read the project page yet, or you'd note that the 'journeyOS people' are exactly one, the 'founder', and that so far the product is a conceptual description of an OS and another of a GUI. yep, that's it, no programmers, no code.

    not that i think noble adventures dont start small, but if the tons of smart people working on wine cant keep full compatibility, and the xfree86 team is having trouble getting substantial performance improvements....well, i wish this guy luck.

    sure sometimes we need a fresh start, but it seems as though journeyOS has perhaps a little more ambition than is healthy (posix and win32 compatibility, in full, and with good performance), and little in the way of resources. perhaps he could ask hans reiser about just how hard it is to design a good FS?

    seems to have bitten off more than he could chew, and as another poster has already noted, may have made some bad strategic choices at the same time. why xml for screen drawing when metadata is so often repeated? why design the GUI for the libOS that doesnt have any programs supported, rather than those that do (ie, POSIX, win32)?

    perhaps all in all 'dream big' would be a better motto for them...

    --
    U.S. War Crimes blog. Email for free Mandriva support.
    1. Re:total vaporware by Anonymous Coward · · Score: 0

      All that's missing is a line claiming it will run under .NET and it's a certified troll. Come on, XML for a graphics system?

    2. Re:total vaporware by leandrod · · Score: 1
      > if the tons of smart people working on wine cant keep full compatibility

      Because MS-W32 is a pain. POSIX is much easier.

      > sometimes we need a fresh start

      Why?

      Point is, as far as alternatives go, the GNU Hurd is a much more interesting one, and it is already here... efforts spent on pie-in-the-sky efforts should go towards helping GNU Hurd reach its 1.0 release.

      --
      Leandro Guimarães Faria Corcete DUTRA
      DA, DBA, SysAdmin, Data Modeller
      GNU Project, Debian GNU/Lin
    3. Re:total vaporware by RdsArts · · Score: 1

      Point is, as far as alternatives go, the GNU Hurd is a much more interesting one, and it is already here... efforts spent on pie-in-the-sky efforts should go towards helping GNU Hurd reach its 1.0 release.

      Or better yet, they could work on improving Free/Net/OpenBSD or GNU/Linux, all systems which actually support modern hardware and are already rich and robust enviroments. I mean, after all, why reinvent the wheel for pie-in-the-sky systems that after roughly a decade still haven't hit 1.0? Or why not help out the OpenBeOS team with their OS, which is coming along quite well right now, and support a real alternative instead of yet another open *NIX kernel which is only "interesting" because it's from GNU?

      There are tons of projects I'm sure you'd much rather everyone abandon to support your toy kernel, but that doesn't make them any less worthy of their time.

    4. Re:total vaporware by leandrod · · Score: 1
      > they could work on improving Free/Net/OpenBSD or GNU/Linuxthey could work on improving Free/Net/OpenBSD or GNU/Linux

      But these are commonplace systems -- good and useful, but not flexible as this project strives to be. GNU Hurd is.

      --
      Leandro Guimarães Faria Corcete DUTRA
      DA, DBA, SysAdmin, Data Modeller
      GNU Project, Debian GNU/Lin
  20. X using sockets.. by Chris_Jefferson · · Score: 4, Informative

    OK, repeat after me... X is NOT SLOW BECAUSE IT USES SOCKETS!!! Please understand this! When you are on a local machine it uses optimised sockets, which are the fastest way of streaming information between programs, and were designed into linux for that specific purpose. Also.. you say "Speed up".. and they are going to use XML?? Sending information via a bloated ASCII (or even unicode)-based protocol? Yep, that will be fast won't it.. espically if they parse all the XML they recieve to make sure it is correct.. *sigh*

    --
    Combination - fun iPhone puzzling
    1. Re:X using sockets.. by countach · · Score: 3, Interesting

      I agree. I'm far from convinced that sockets have anything to do with X being slow. In any case, doesn't X have a shared memory option?

      The point is, let's see some benchmarks PROVING that sockets slow things up before going off at some tangent to replace them.

    2. Re:X using sockets.. by Anonymous Coward · · Score: 1, Informative

      No, despite you use optimized socket, for every pixel you want to draw,
      you still need to do context switch, one from your program to X server,
      and then X server switch back to your program, then performance is lost,
      if you have lots of pixesl want to draw, performance is reduced dramatically
      despite how fast linux can do in context switch.
      This is why Win32 is faster then X11, Win32 does not have such issu.e

    3. Re:X using sockets.. by Anonymous Coward · · Score: 0
      for every pixel you want to draw, you still need to do context switch, one from your program to X server, and then X server switch back to your program


      Complete and utter nonsense. There is most certainly not a context switch for each pixel draw.
    4. Re:X using sockets.. by Shimbo · · Score: 1

      OK, repeat after me... X is NOT SLOW BECAUSE IT USES SOCKETS!!! Please understand this! When you are on a local machine it uses optimised sockets, which are the fastest way of streaming information between programs

      No doubt you can explain the flaw in their benchmarking process that gave them a factor of 2 speed over sockets. Sockets are not slow. When people have gone away, produced something faster, and have figures to back it up, though, they gain some bragging rights.

      Code counts. 'Nothing can possibly be ever better than sockets' BS doesn't.

    5. Re:X using sockets.. by Anonymous Coward · · Score: 0

      unix domain sockets are zero-copy, so sockets are not a speed problem on local connections. Yes, X has a shared memory extension (but it is present in all X implementations). The problem is that very few toolkits use them for local connections. Toolktis are the problem, not X.

    6. Re:X using sockets.. by p3d0 · · Score: 1

      Yep. Taking a look at the HyperQueue page, it seems like this nonstandard IPC technique, using not much more than shared memory pages, only manages to run about 2.2 times faster than Unix Domain Sockets. That means they can transfer a gigabyte in 0.48 seconds rather than 1.1 seconds. Well, for a GUI, who cares? Who needs to double their transfer rate at the expense of portability, especially when I really doubt transfer rate is the bottleneck in X.

      --
      Patrick Doyle
      I mod down every jackass who puts his moderation policy in his sig. Oh, wait a sec....
    7. Re:X using sockets.. by spongman · · Score: 1

      no, X11 isn't slow because it uses sockets, X11 is slow because it uses Xlib. The density of your protocol is irrelevant if it can't support the kinds of data you're trying to send. For example, look at the Xlib traffic needed to communicate a simple button click using your favorite widget set (and the context switches involved). Sockets or not, that shit is SLOW.

    8. Re:X using sockets.. by walter. · · Score: 2, Interesting
      No doubt you can explain the flaw in their benchmarking process that gave them a factor of 2 speed over sockets. Sockets are not slow. When people have gone away, produced something faster, and have figures to back it up, though, they gain some bragging rights.

      There are no details about the benchmark on their page. A typical error is that the data isn't actually accessed on the receiving side. This may sound harmless, but it actually turns the results upside down due to cache issues.

    9. Re:X using sockets.. by kinnell · · Score: 1
      let's see some benchmarks PROVING that sockets slow things up

      Could it be that you didn't RTFA

      --
      If I seem short sighted, it is because I stand on the shoulders of midgets
    10. Re:X using sockets.. by Shimbo · · Score: 1

      one word: protability.

      Not even one word. ;)

      As for portability, why should they care? They are producing a window system for the OS they are selling, not everybody else's.

    11. Re:X using sockets.. by Anonymous Coward · · Score: 0

      Unless you ofcourse actually draws one pixel at a time. But that will be slow regardless of platform. Kind of like when you use getch(); to read 1 Gb on an unbuffred stream. It's just stupid. So you batch them together and do alot of stuff at once. X/Xlib ofcourse does this.

    12. Re:X using sockets.. by Shimbo · · Score: 1

      There are no details about the benchmark on their page. A typical error is that the data isn't actually accessed on the receiving side. This may sound harmless, but it actually turns the results upside down due to cache issues.

      Fair point. We don't have a lot to go on, and I would be very surprised if many of us have any experience of JourneyOs. I'm just surprised that folk got caught by Tim and his 'can this make Xfree86 faster?' troll; the article isn't about Linux or XFree86.

    13. Re:X using sockets.. by Shimbo · · Score: 1

      I agree. I'm far from convinced that sockets have anything to do with X being slow. In any case, doesn't X have a shared memory option? The point is, let's see some benchmarks PROVING that sockets slow things up before going off at some tangent to replace them.

      You are looking at things ass-backwards. These guys have written an Xlib compatibility library for an existing GUI system, which happens to have some custom message passing layer underneath.

      It's not about speeding up about X, even if the editorializing suggests it is.

    14. Re:X using sockets.. by joib · · Score: 1


      No doubt you can explain the flaw in their benchmarking process that gave them a factor of 2 speed over sockets.


      Factor this or that, but I think it's a clear flaw that he has compared a full-featured production kernel (linux 2.4.20) with his own minimal kernel. It's comparing apples to oranges, IMHO.

    15. Re:X using sockets.. by smallpaul · · Score: 1

      Also.. you say "Speed up".. and they are going to use XML?? Sending information via a bloated ASCII (or even unicode)-based protocol?

      I guess you didn't read the article: "the server will be implemented in such a way that it should be possible to move from XML to the ASN.1 message format to mitigate computational overhead of processing XML documents."

    16. Re:X using sockets.. by luisdom · · Score: 1

      RTFA. They don't use plain XML, they use WBXML. From the w3c abstract:
      This specification defines a compact binary representation of the Extensible Markup Language [XML]. The binary XML content format is designed to reduce the transmission size of XML documents, allowing more effective use of XML data on narrowband communication channels. Refer to the [WML] specification for one example use of the binary XML content format.

      The binary format was designed to allow for compact transmission with no loss of functionality or semantic information. The format is designed to preserve the element structure of XML, allowing a browser to skip unknown elements or attributes. The binary format encodes the parsed physical form of an XML document, ie, the structure and content of the document entities. Meta-information, including the document type definition and conditional sections, is removed when the document is converted to the binary format.


      So no ASCII.

    17. Re:X using sockets.. by joto · · Score: 1

      You are looking at things ass-backwards. These guys have written an Xlib compatibility library for an existing GUI system, which happens to have some custom message passing layer underneath.

      No, you are looking at things ass backwards. These guys have written some nice-looking web-pages where they have written a lot about software they haven't even started writing. They certainly haven't written a full Xlib compatibility library yet, as they don't even have a windowing system to write it for (or probably even a running kernel to run the windowing system on).

      I quickly looked through some of their CVS, and found nothing that wasn't tagged "original L4" or something like that. But it's possible they have made one or two changes.

      I will compliment them for their web-designer skills, though. For a moment. they fooled even me into believing this was a real project, that I just hadn't heard about. But at this stage in a real project, you should spend your time coding, not making webpages with "forums", and "login", or "register". They are two developers, they don't even need "mailing lists".

    18. Re:X using sockets.. by Brandybuck · · Score: 1

      look at the Xlib traffic needed to communicate a simple button click using your favorite widget set

      I count four events. Though this might seem like a lot, I count six events for the same action under Windows.

      --
      Don't blame me, I didn't vote for either of them!
    19. Re:X using sockets.. by man_of_mr_e · · Score: 1

      It's certainly not the fastest way. The author has benchmarks that his "HyperQueues" are 3x faster than both domain sockets and System V shared memory. I'm sure that there are other more efficient mechanisms than domain sockets as well.

    20. Re:X using sockets.. by man_of_mr_e · · Score: 1

      Er.. I meant System V message queues, not shared memory.

    21. Re:X using sockets.. by Nucleon500 · · Score: 1
      Um, no. In both Win32 and X11, writing pixel-by-pixel is horribly slow. This isn't because of context switching, but because of bandwidth - an individual request to write a pixel of a given color to a given location is more than 3 bytes. In both Win32 and X11, if you do choose to write pixel-by-pixel, there won't be many context switches, because the requests are buffered and asynchronous. I would argue that using sockets instead of designing an entirely new system-call scheme to pass these messages is more elegant, but that's another rant.

      The messages are more like "You got uncovered, please redraw here," "Draw a rectangle here, and a line from here to here." Multiple messages are queued (no context switch between each one). And for images, the data is transferred in a large block, is often kept server-side, and for a local system, uses shared memory (so only a pointer need be passed.)

      IMHO, the problem with X isn't that it's client-server or not in the kernel (those parts are good!), but that widgets must be handled by the clients. Server-side widget handling would allow a more consistent and easily changed UI, less communication overhead, and less wasted code (multiple toolkits), but would probably require a rewrite of X. Check out PicoGUI and Fresco.

    22. Re:X using sockets.. by spongman · · Score: 1

      how about the button rendering?

    23. Re:X using sockets.. by Brandybuck · · Score: 1

      That's one event assuming the button is one window. It could entail a lot of information being passed if the toolkit is naive, but still only one event.

      --
      Don't blame me, I didn't vote for either of them!
    24. Re:X using sockets.. by be-fan · · Score: 1

      You didn't read the article carefully. The hyperqueues document don't say that using sockets slows down X, but that sockets aren't as fast as the hyperqueue mechanism. Since sockets aren't the bottleneck, this doesn't matter. Also note that something like hyperqueues would never make it into the kernel. Hyperqueues depend on x86 segmentation, and are thus non-portable. Some CPUs (like the Itanium) have mechanisms that could be used to achieve the same thing, but a lot of important CPUs (AMD64) without segmentation also lack these other mechanisms.

      --
      A deep unwavering belief is a sure sign you're missing something...
    25. Re:X using sockets.. by Anonymous Coward · · Score: 0

      GTK+ and Qt use the MIT-SHM extension.

      What other toolkits are you concerned about? 99% of the applications I use, use one or the other.

    26. Re:X using sockets.. by Anonymous Coward · · Score: 0

      socket bandwidth is NEVER the problem.

      latency is what slows down X.

      on the local host, this is purely context switch overhead between X and the client.

      over a remote link, network latency (obviously) is the relevant factor.

      XCB and toolkit changes could get X up to local, in-process GUI speed.

      The trick is asynchronous requests. xlib can't do it. The X protocol can. A well written port of Qt3 and GTK+2 could solve 90% of X performance problems.

  21. X speed really isn't an issue by Anonymous Coward · · Score: 1, Interesting

    .. or at least not one of the more vital out there. The trick is most people view linux as an alternative to Windows, while it's infact a supplement. Linux is intended to be used for different things (workstation/server) than Windows (game/SOHO office machine). The mindset Unices have traditionally supported was stability in favor of features, and that shouldn't change.

    If you need a fast graphic system, stick with OSX (Macs are much better built from the inside than PCs, anyway) or Windows. Servers don't need X support at all (one more place to be exploited) and most workstations do fine with XFree. Live with it.

    There are other points to cover. The shell, binutils, textutils (sed, awk, perl, egrep, etc) are tremendously powerfull tools. Yet there aren't that many experts around. Read a good book on that and leave fast graphics to windows.

    There's an example I like to use regarding the issue. In world war II Germany, the very first jet engines were built. A German fighter could have easily won the war over Britain and delay Normandy for years, as it was significantly faster than anything else out there. The trouble was Hitler ordered to make a bomber out of it. The end result was that the decision was overturned just in time for Germany to loose the war. Considering the US will never make a bomber out of F-22, just why would you wish to add windows features to linux? Why favour speed to stability? Isn't that the very reason you took up linux in the first place?

    But I don't mean any disrespect to the hard-working developers of the project. I just mean this may not be the solution to be deployed in the masses.
    -i

    1. Re:X speed really isn't an issue by AntiOrganic · · Score: 1

      This is where you are mistaken. Unix was for servers and workstations. This was never the goal of Linux. Linux was created in order to have a free desktop Unix-like operating system. I still say that BSD is a better choice for a server environment.

      Furthermore, no one's saying that you have to use this, should it be completed. You can have speed if you want it, or stability if you value that more -- that's the beauty of open software built on open standards. If something's not doing what you need it to, you can gut it out and replace it with something more adequate. If this isn't working 100% to spec, rm -r /usr/X11R6 and install XFree instead.

      For the record, my system runs its Gentoo install much faster (bloated Gnome GUI and all) than its stripped-down Windows counterpart with Litestep/Salamander replacing Explorer.

  22. nice but.. by Squarewav · · Score: 1

    Its most likely vapor ware, every other day there is news about a new system to replace X, but none of them ever made it out of the tech preview stage at best, X really needs to be replaced for desktop/home based systems, for server/thin client based its OK, but its far too basic to truly support all GUI functions of windows/macos what I would like to see is something similar to how qnx works with X windows apps, ware it seems to load X in the background but displays the apps as if they are normal apps, I assume that this idea of xlibs comp. would mean that X apps can load hopefully without requiring a recompile. unfortunately at this point switching the GUI isn't feasible as it would require that video card drivers and software be made for it, and its hard enough getting hardware makers to release X drivers, much less drivers for another windowing system

  23. Ummm by DaEMoN128 · · Score: 1

    I dont know xml, or how it works or parses and crap. But wouldn't moving the system calls to the client speed up the server side but bog down the client with no effective gains to the end user? I dont program and am pretty ignorant when it comes to this stuff. Looking at the other posts though, the xml will slow down the server. With the client doing even more work (system calls) to the client, wont that also slow down the who damn thing? Could someone be kind enough to explain this to me.

    --
    Stop signs are only Suggestions
  24. Speed by nacturation · · Score: 1

    ...uses XML as the communications protocol... Could this get rid of the speed problems?

    So the problem now is too much speed? You need to introduce a bloated text format to slow down the framerate?

    I guess to answer the question, yes all speed problems are eliminated. The graphics are all uniformly slow.

    --
    Want to improve your Karma? Instead of "Post Anonymously", try the "Post Humously" option.
  25. Keep XFree86 by Anonymous Coward · · Score: 0

    i do not ever have problems with XFree86 it runs great for me. what usually causes problems in Linux is the big bloated desktop environments like Gnome & KDE, get rid of the bloated desktop environments and use a lighter alternative such as WindowMaker or XFce4 is nice, or ICEwm is nice too, and you will see that XFree86 is not the problem...

  26. My X replacement by gentoo_troll · · Score: 1


    After listening to all the vaporous hype, I decided to go ahead and write my own, fully Xlib compatible replacement for X:

    #!/bin/sh
    exec xinit

    1. Re:My X replacement by Anonymous Coward · · Score: 0, Funny

      Sounds great... but do you have a catchy name for it? And a project homepage. Your project needs a cool homepage with lots of screenshots and FAQs and tutorials and download pages and all that. You should do all that to show that you care about your users, you care about getting linux on the desktop, and if you don't I refuse to take you seriously. So there.

    2. Re:My X replacement by Anonymous Coward · · Score: 0

      Don't forget to patent it!
      "Process for easily executing X within a shell script contained in an executable ASCII-text file"

    3. Re:My X replacement by joto · · Score: 1
      Hmm, funny, it doesn't work through my X replacer. I have written a program that will replace every X, but when I run your program through it, it just doesn't work...

      tr xX yY

  27. Yummy by GerbilSocks · · Score: 0

    I eat Xlib for breakfast! *burp*

  28. The big question is, does HyperQueues run on... by Assmasher · · Score: 1

    ...anything but IA32 yet...?

    It used to only be faster because of some IA32 explicit advantages, otherwise HyperQueues is the same as another messaging method.

    --
    Loading...
    1. Re:The big question is, does HyperQueues run on... by julesh · · Score: 1

      OK, I'll admit to never having heard of these 'HyperQueues' myself, and the docs make it sound like something the developers had come up with themselves.

      I think the idea is interesting, its basically a pipelined approach to IPC that means that there don't have to be context switches in order to empty the receiving buffer as often (normally once per message in most messaging APIs). This kind of benefit can only come at some expense, and my guess is that when using the message API for RPC type usage (by far the most common use for messaging APIs, in my experience), it will have no benefit whatsoever, and might even be less efficient. It would be good for streaming applications though, so I would expect to see media handling in this system work quite well.

  29. not something everybody wants by msh104 · · Score: 1

    this is NOT something everybody wants. reasons are: OpenGL is displayed in overlay. thus you can not use it network transparant. XML is very bloated. and last but not least: i doubt that with an additional layer this Xlib is going to be much faster. (it is still limited to its design.)

    1. Re:not something everybody wants by serviscope_minor · · Score: 1

      OpenGL is displayed overlay. thus you can not use it network transparent.

      Er, no. GLX does GL over the network. On some X servers, like XSun and SGI, it is accelerated too. Under XFree it isn't, which is a shame. I think the reasoning is that it is slow anyway so why bother. But that's not a good reason unless you're doing something really heavy than QuakeIII, but to some people there's more to life than Quake.

      --
      SJW n. One who posts facts.
  30. ARGGH! X isn't where the slowdown is! by MarcQuadra · · Score: 5, Insightful

    Alright, people need to listen closely. XFree86 is NOT SLOW, the toolkits you lay on top of it are what bogs it down.

    I get full-window dragging and resizing in WindowMaker on my old 366MHz laptop, and it has an ATI Mach64 video chipset. Windows crawls when I do similar operations on the same hardware.

    I seriously suggest that if you think X is slow you check out a more lightweight window manager and apps. GNOME and KDE have a LOT of overhead because they run on top of an extra layer of abstraction (GTK+ and QT, respectively). WindowMaker is written in C to interface with X more directly and it shows.

    You can still use your GNOME/KDE apps under WindowMaker, I'm using konqueror as my file manager right now. Try it.

    As for this project, it sounds cool to me. I think X is plenty fast as it is, but that doesn't mean I think someone should take what we've learned over the last decade and apply it to a more modern 'ground-up' solution. It would be nice if there was an X replacement that had QT and/or GTK+ tied in more closely, or if we had a quartz-extreme-like OpenGL windowing system and font renderer with postscript-esque qualities (i.e. run my desktop at high resolution, but zoom everything appropriately for 'real-world' DPI).

    --
    "Sometimes, I think Trent just needs a cup of hot chocolate and a blankie." -Tori Amos on Nine Inch Nails
    1. Re:ARGGH! X isn't where the slowdown is! by 10Ghz · · Score: 2, Insightful
      I seriously suggest that if you think X is slow you check out a more lightweight window manager and apps.


      You are then comparing apples to oranges. You are comparing stripped-down WM to a fully featured GUI (in this case. Windows-GUI). In order to have a GUI with similar functionality, you need to run something like KDE or Gnome. And those certainly feel more sluggish than Win-GUI does.
      --
      Lesbian Nazi Hookers Abducted by UFOs and Forced Into Weight Loss Programs - -all next week on Town Talk.
    2. Re:ARGGH! X isn't where the slowdown is! by Anonymous Coward · · Score: 0

      "You are comparing stripped-down WM to a fully featured GUI (in this case. Windows-GUI)"

      I'll bite. What features does MSWindows have the WindowMaker doesn't. Now think to yourself, do those features slow down the operation of the machine. I'll make it easy for you, no.

      "In order to have a GUI with similar functionality, you need to run something like KDE or Gnome. And those certainly feel more sluggish than Win-GUI does."

      And what does this have to do with X being slow? Methinks you're clueless.

    3. Re:ARGGH! X isn't where the slowdown is! by Arker · · Score: 1

      I agree. The problems folks think they have with X are problems with software they're running on top of X, and often with lack of decent drivers. A new system isn't going to have things easier getting drivers, that's for certain.

      It would be nice if there was an X replacement that had QT and/or GTK+ tied in more closely

      That statement, however, I cannot agree with at all. One of the great advantages of X is toolkit-agnosticism. This allows innovation, evolution, progress that other platforms with builtin toolkits can't manage. It's a key factor explaining why X is still widely used today while other GUI systems cannot manage a fraction of its longevity.

      or if we had a quartz-extreme-like OpenGL windowing system and font renderer with postscript-esque qualities (i.e. run my desktop at high resolution, but zoom everything appropriately for 'real-world' DPI).

      Two words: support GnuStep.

      --
      =-=-=-=-=-=-=-=-=-=-=-=-=-=-
      Friends don't let friends enable ecmascript.
    4. Re:ARGGH! X isn't where the slowdown is! by Anonymous Coward · · Score: 1

      WindowManager still has that "wings" toolkit, thankfully. I'd hate to be the guy who had to maintain a window manager that only used straight Xlib.

      I suppose it's a bit quicker than Qt, and at the same level as Gtk+ without the amazingly bloated pixmap themes in an application that doesn't do any cross-process CORBA calls.

    5. Re:ARGGH! X isn't where the slowdown is! by Anonymous Coward · · Score: 0

      The WinXP GUI is horrifically slow. Once you bring a network into it, it's laughable: Windows has gotten worse over the years instead of getting better! XFree86 is quite snappy these days when it's on a single computer (which, btw, can be about half as fast as a Windows computer). Bring a network into it, and it's still sometimes faster than Windows XP running on a single machine.

    6. Re:ARGGH! X isn't where the slowdown is! by Anonymous Coward · · Score: 0

      Wow. Then you've got serious issues with your windows box. My P150 non-mmx laptop has little problem with window moves/resizes.

    7. Re:ARGGH! X isn't where the slowdown is! by Arker · · Score: 1

      Umm no, in all seriousness, it's MSWindows that's stripped down in comparison to WindowMaker. Every time I have to use Windows, I miss features that WindowMaker has, but in using WindowMaker I've never once missed something that MSWin has.

      I dare you, name any meaningful feature MSWin has that WindowMaker lacks.

      --
      =-=-=-=-=-=-=-=-=-=-=-=-=-=-
      Friends don't let friends enable ecmascript.
    8. Re:ARGGH! X isn't where the slowdown is! by noselasd · · Score: 1

      You are correct. However that has nothing to do whatsoever with X itself. (well, some faster/better gfx drivers might help, but that is a problem of any graphics system)

    9. Re:ARGGH! X isn't where the slowdown is! by RoLi · · Score: 1
      It's you who's doing the apples/oranges comparison.

      The Windows-GUI is at the level of FVWM, actually not even that because even in FVWM you get virtual desktops.

      Anyway, even with a 2 year old machine it's a moot point anyway as there are no performance problems neither in Windows nor in KDE/Linux for me.

    10. Re:ARGGH! X isn't where the slowdown is! by MarcQuadra · · Score: 4, Insightful

      That still doesn't make X slow. If you insist on KDE and GNOME you should be complaining about KDE, GNOME, Qt, and GTK+. XFree86 and Windows have similar graphics throughput, the Windows UI is a LOT lighter than KDE or GNOME, and it runs partially in kernel mode.

      If you have issues with the performance of your linux desktop you should be looking at the applications, desktop environments, and toolkits, because XFree86 is definitely the wrong tree to bark up.

      One thing you learn with computers is that you can speed things up only as much as the smallest bottleneck will allow. X is not at all the bottleneck for graphics performance on Linux machines.

      --
      "Sometimes, I think Trent just needs a cup of hot chocolate and a blankie." -Tori Amos on Nine Inch Nails
    11. Re:ARGGH! X isn't where the slowdown is! by Anonymous Coward · · Score: 0

      drag and drop support from applications/desktop to applications

    12. Re:ARGGH! X isn't where the slowdown is! by 10Ghz · · Score: 1
      The Windows-GUI is at the level of FVWM, actually not even that because even in FVWM you get virtual desktops.


      You can get virtual desktops for Windows through a tiny app that you can download from MS (was it Powertools or something?). On the other hand, FVWM doesn't even have desktop-icons...
      --
      Lesbian Nazi Hookers Abducted by UFOs and Forced Into Weight Loss Programs - -all next week on Town Talk.
    13. Re:ARGGH! X isn't where the slowdown is! by renoX · · Score: 1

      > Alright, people need to listen closely. XFree86 is NOT SLOW, the toolkits you lay on top of it are what bogs it down.

      So if you use a ugly looking desktop X is fast, but if you use a modern looking desktop X is slow, both with KDE and Gnome.

      There are two possibilities:
      - either KDE and Gnome are both slow
      - or X itself is not well adaptated to modern needs, so we could say that X is slow.

      BeOS feels much faster than KDE or Gnome, so it *is* possible to have a fast modern looking desktop, either it was because BeOS kernel was fast (doubtfull) or because it had a better GUI subsystem, or maybe because the apps were better designed..

    14. Re:ARGGH! X isn't where the slowdown is! by Arker · · Score: 1

      Drag and drop?

      WindowMaker has drag and drop and has for ages.

      Cut and paste on complex objects between applications?

      Which usually doesn't work properly in windows either, is never necessary, and rarely useful.

      --
      =-=-=-=-=-=-=-=-=-=-=-=-=-=-
      Friends don't let friends enable ecmascript.
    15. Re:ARGGH! X isn't where the slowdown is! by Anonymous Coward · · Score: 0

      Can you actually drag and drop a house drawn in AutoCad into Word? Will it display correctly without you having to perform lots of other steps? Will it screw over the stuff you have written already? If so, you might've been better off exporting the house as an eps file, then including it as an image, instead of as part of the document. This is how it would work in LaTeX, which doesn't require Windows.

      Go too far beyond cut and pasting of simple text, and there are problems involved. This doesn't include the Office suite, where you can apparently embed anything into anything else. Naturally, you pay for this in document size and vendor lock-in, but you have to make _some_ tradeoffs (or not. Use LaTeX and get all the features you need with no lock in).

    16. Re:ARGGH! X isn't where the slowdown is! by Arker · · Score: 3, Insightful

      What is 'desktop'? A mac metaphor, ripped off by windows, which has no place and is not needed in X.

      Quit trying to make your unix box act like a toy and start using it the way it was designed to work, and you'll quickly find out it's a lot better that way.

      --
      =-=-=-=-=-=-=-=-=-=-=-=-=-=-
      Friends don't let friends enable ecmascript.
    17. Re:ARGGH! X isn't where the slowdown is! by Anonymous Coward · · Score: 0

      >> Cut and paste on complex objects between
      >>applications?

      >Which usually doesn't work properly in windows
      >either, is never necessary, and rarely useful.

      Bull, on all counts.

      I use it all the time, it's very useful, and it works fine.

    18. Re:ARGGH! X isn't where the slowdown is! by Anonymous Coward · · Score: 0

      Wait wait wait. Let me get this straight. You ask; no dare him to name a feature "that MSWin has that WindowMaker lacks", and then when he does you flame him for using his computer as a "toy" and proceed to inform him that he didn't need that feature after all.

      So in other words, you believe that WindowMaker has everything you'll ever need, and anyone who disagrees must be an idiot because clearly, WindowMaker has everything you need, right? Who would dare disagree with you?

      Let me just conclude by telling you that I believe you are a fucking asshat.

    19. Re:ARGGH! X isn't where the slowdown is! by Anonymous Coward · · Score: 0

      KDE and Gnome are both slow.

      I don't like developping for X much, but X itself is not the bottleneck.

      I dunno about BeOS but Windows runs a lot of the GUI stuff in the kernel, and it also has a lot of cards with very specific acceleration for it - ie GDI stuff in hardware. X hardware acceleration seems much more generic in that sense...

      Even then, I've never considered the Windows GUI stuff to be terribly quick. Maybe it's because I came from the Amiga, but it's never reached that level of "snappiness" that the Amiga had. I know the Amiga's GUI was a lot more lightweight, but it was (on my original system) running on a 7.14MHz 68K....

      Part of the reason the Amiga's UI was so fast was down to design. It ran user-interactive parts of the GUI at a much higher priority - and, of course, had hardware graphics acceleration.

      BeOS felt better than most by a long way, IMHO. I suspect it's because it's been designed from the ground up to run a GUI.

      I don't think replacing X/XFree is the answer, though - I think improving the toolkits is the answer.

    20. Re:ARGGH! X isn't where the slowdown is! by Anonymous Coward · · Score: 0

      X itself is not slow. However writing to it is tedious which results in error prone code. It can also sometimes be mind-bendingly complicated.

      So, people end up writing 'abstraction layers' in order to disguise the mess. This has the effect of reducing performance and flexibility.

      Then other people come along and write layers on top of those..... and before you know it we have a desktop which performs like something Microsoft would write - and sometimes even worse !

    21. Re:ARGGH! X isn't where the slowdown is! by jandrese · · Score: 2, Interesting

      Don't you think that's a little disingenuous? When I'm writing reports, I frequently switch out to Excel to generate a chart which I then copy and paste into the Word document. Sometimes I'll copy over the cells instead, or I'll grab a drawing off of the Gimp. The copy and paste is very useful in these cases.

      I wish X was just a _little_ bit smarter with the copy and paste support and included a mimetype tag with the data in the cut buffer. That way your program could examine the mimetype to figure out how to handle the data. It would even be possible to transition by just adding a new function that specifies the mimetype in the cut buffer functions, if not specified (old application) assume text/plain. The X consortium moves soo slow though that I doubt I'll see anything like that anytime soon.

      --

      I read the internet for the articles.
    22. Re:ARGGH! X isn't where the slowdown is! by Patoski · · Score: 2, Interesting

      There are two possibilities:
      - either KDE and Gnome are both slow
      - or X itself is not well adaptated to modern needs, so we could say that X is slow.


      Check out XFce and you'll see that both KDE and Gnome are the bottleneck. It is definately possible to have a modern, sharp looking desktop that's easy on the memory and XFce provides this for me. It's very snappy on my p233 96 MB RAM laptop and uses GTK2 (the same toolkit Gnome uses). I've heard people with far slower boxes than mine say that XFce is snappy on their machines too.

      --
      G. Washington on Government "it is force. Like fire, it is a dangerous servant and a fearful master."
    23. Re:ARGGH! X isn't where the slowdown is! by martinde · · Score: 1

      (How is my last comment a troll?! I was replying to something that said "I dare you", and I'm the troll?! I've never been accused of trolling and now I've been moderated as a troll twice in a week!)

      > WindowMaker has drag and drop and has for ages.

      I used to use WindowMaker, now I use KDE, FWIW. I don't recall ever using drag and drop in WindowMaker, but maybe it was there when I used it and I simply didn't know.

      > Which usually doesn't work properly in windows either, is never necessary, and rarely useful.

      I don't know; it works pretty well inside MS Office, and copying from various apps and pasting to Office applications often works pretty well.

      I agree with the other person who said that this comment is disingenuous. You said "I dare you, name any meaningful feature MSWin has that WindowMaker lacks". Now you're saying you really meant "meaningful to me" ;-)

    24. Re:ARGGH! X isn't where the slowdown is! by irc.goatse.cx+troll · · Score: 3, Interesting

      Why is it doubtful that the kernel comes into play?
      You have no idea how much of a difference it makes (I'm not saying this to be derogatory, just expressing a point).
      A well configured kernel provides so much more usability, some examples of things to look into:
      - Anticapritory I/O Schedualer. -- Some disk read operations actually take multiple reads which get schedualed in a weird way when theres currently something being written to disk. The reads get schedualed in a way that the writes are between reads, causing the original read operation to take a lot longer due to the added latency. This patch will anticipate such situations, and cause each read to pause for a few msecs so that the next read can be schedualed instantly.
      - Interactive patches (preempt, ll, et al) -- Guess if an application is interactive based on how long it sleeps between reads. An app that constantly reads is probably not interactive, so it should have less priority. You know what they say, the slowest part of a program is the user, and that is kind of how this works. When a program sleeps for input between read its marked as interactive. This way bash responds with quickness, but gcc can wait for your interactive procceses.
      - IP QoS -- Not really X related, but really makes a huge performance diference. With QoS enabled, You can set it up so that small packets (500), then limit your outstream to a little less than your max so that SYN|ACKS can still get out. The result is that you can max your upload/download to your hearts content, but your latency NEVER takes a hit. I can even scp to my server while sshed in (both using the same sshd, which is why packet size comes in) and my ssh session still remains responsive.
      There are more, But these are just a few examples. I'm debating writing a paper on properly setting up a modern Linux system for maximum usability, as theres a huge difference and a lot of it is in the kernel.
      Sorry for any bad formatting, ironicly enough I typed this in lynx due to a few bad apps(python + wxwindows is the kiss of death, both soulseek and bittorrent tend to trash my usability). Still need to address that, heh.

      --
      Pain lasts, kid. Its how you know you're alive. Sometimes I think this growing up thing is just pain management-TheMaxx
    25. Re:ARGGH! X isn't where the slowdown is! by 4of12 · · Score: 2, Interesting

      If you have issues with the performance of your linux desktop you should be looking at the applications, desktop environments, and toolkits...

      Indirectly, though, isnt' that what these guys are proposing to do? Redesigning the lowest layer so that the upper layers don't have to be the way that they are now?

      Cheap graphics cards are so much more capable these days than what they were back when X was designed. OpenGL support (or DirectX, whatever you want to call your hardware acceleration) is more common and less expensive than in the mid 1980's. Getting graphics cards to handle more sophisticated 2D vector operations, if it's possible, should permit the lowest level of the API to be properly designed for it. Maybe then we wouldn't suffer all these layers of abstraction and interfaces that cause people to complain of sloth and bloat.

      I've used X for a long time and really like its stability and that it's a standard.

      The network client-server model is a nice idea, but could use a redesign to make it more useful for higher level operations (old X terminals didn't do OpenGL) and the idea of a secure, standardized kvm services over IP is still a great idea, especially if the underlying protocol makes better use of modern graphics hardware.

      I applaud the JourneyOS folks for daring to rethink the low layers of graphics. At the same time, I'd be scared that sloppy design and programming of a more complicated lower leel graphics model (especially with kernel interfaces) could lead to greater instability than I see with X (look at what happens to other OS).

      And I have doubts as to how the latency and bandwidth of WXML will scale.

      Until it is known whether these fears are founded or not, I still have standard X.

      There's room for improvement in X. Now if only Quartz were opened up...

      --
      "Provided by the management for your protection."
    26. Re:ARGGH! X isn't where the slowdown is! by MadChicken · · Score: 1

      I seem to remember flying right along with KDE 1.0 on my P166/32MB machine...

      KDE 2.0 killed that, though.

      --
      SYS 64738 NO CARRIER
    27. Re:ARGGH! X isn't where the slowdown is! by SnowZero · · Score: 1

      Somehow I'd guess that's not running XP. Its easy to have a snappy Win98 machine, but what do you do when MS stops releasing vulnerability patches for it? That's why people have to stick to comparing only currently maintained software. Unless you don't care about being a worm-infected drone, of course, but that will definitely cut into the speed of your GUI.

    28. Re:ARGGH! X isn't where the slowdown is! by dead_penguin · · Score: 1

      On the other hand, FVWM doesn't even have desktop-icons...

      And why should it? FVWM (and many other Unix window managers) follow the model that "objects" on the desktop are windows. You can have full, visible windows, and you can have minimized windows as icons. Microsoft copied this model for versions of Windows before 95 & NT4.

      It all depends on what you are used to, but in my mind, this sort of a desktop metaphor makes much more sense than having files and other random objects as icons on the desktop.

      --

      It's only software!
    29. Re:ARGGH! X isn't where the slowdown is! by luisdom · · Score: 1

      Alright, people need to listen closely. XFree86 is NOT SLOW, the toolkits you lay on top of it are what bogs it down.
      It is not slow. BUT XFree86 is OLD. Very. I'm serious. toolkits on top of it are slow partly because of this. Try to program on X (xlib, etc.), and you will find that semi-oo structures and the PITA it is to program.

      But you are right. It is NOT slow. But it needs a replacement, anyway (IMHO). Technology has advance a whole way since mid eighties.

    30. Re:ARGGH! X isn't where the slowdown is! by Arker · · Score: 1

      Don't you think that's a little disingenuous?

      No, I honestly don't.

      I do think that there is a problem here, but I have a different viewpoint on what the problem is. In my view the problem is not the way X behaves, but the way many users behave - expecting X to behave like a different system, instead of learning to use it the way it actually works. I find it far more useful than the alternatives, personally, and I cringe when I see people trying to fix things that aren't broken because they are unwilling to consider the possibility that X has it's own, in most respects superior, ways of handling these things and that they could be a lot more productive if they would learn them instead of breaking them to 'fix' them. In particular because it results in a very degraded 'user experience' and usability, for me, when I run into the ever increasing number of programs that do this.

      When I'm writing reports, I frequently switch out to Excel to generate a chart which I then copy and paste into the Word document.

      I've done this, and my coworkers do this - and I've seen it cause problems. For instance, graphs that are pictures when you want them to be actual graphs, and vice versa. Not that I'm disputing that it can be mildly useful at times - but when you realise that implementing it in X means breaking a very clean and useful paradigm, and that the lack of it just means you save the chart in the format you want, then import it to the document - it's a feature I'd rather do without. I think the negatives outweigh the positives.

      --
      =-=-=-=-=-=-=-=-=-=-=-=-=-=-
      Friends don't let friends enable ecmascript.
    31. Re:ARGGH! X isn't where the slowdown is! by Tet · · Score: 1
      Quit trying to make your unix box act like a toy and start using it the way it was designed to work, and you'll quickly find out it's a lot better that way.

      If I had mod points, I'd be dishing them out right about now. As it is, welcome to my friends list :-)

      --
      "The invisible and the non-existent look very much alike." -- Delos B. McKown
    32. Re:ARGGH! X isn't where the slowdown is! by jmorris42 · · Score: 1

      Another post slagging X by someone who couldn't be bothered to know what the hell they are talking about. The clipboard services offered by the X server are more than able to handle the job you describe. Nobody uses it, much like none of the 'modern' (read copying Windows) desktop environments bother to use X Resources, instead reinventing different and incompatible client side preference stoarge methods.

      --
      Democrat delenda est
    33. Re:ARGGH! X isn't where the slowdown is! by MarcQuadra · · Score: 1

      Not regular moves/resizes. I'm talking about those bloaty XP 'keep everything drawn all the time, re-render 20 times per second' moves and resizes. Your P150 can't do that no matter what you say.

      --
      "Sometimes, I think Trent just needs a cup of hot chocolate and a blankie." -Tori Amos on Nine Inch Nails
    34. Re:ARGGH! X isn't where the slowdown is! by renoX · · Score: 2, Funny

      >Why is it doubtful that the kernel comes into play?

      Because BeOs proponents usually talked about their GUI subsystem, or the multithreaded design of their apps, not of their kernel, that's why I don't think that the kernel

      >- Interactive patches (preempt, ll, et al)
      I installed the intertactive patches on the 2.4 kernel and I didn't see any difference in the responsiveness of the applications.

      >- IP QoS
      Uh? We're talking about the responsiveness of X locally..
      So IP has nothing to do with it..
      Beside as we're talking about X, X is not ideal for remote connections, I believe that a higher level protocol with more things done in the server would be more responsive and use less bandwith..

    35. Re:ARGGH! X isn't where the slowdown is! by killerkalamari · · Score: 1

      I've run X on Cygwin, and I agree 100% that X isn't slow. It loads right up and is ready to go. There are no slowdown problems, even in the hostile Windows environment.

      Why is KDE or Gnome so bloated and slow? It doesn't seem like much is really needed. In fact, as I understand it, Windows uses sepeate applications to provide much of the UI experience.

      By using separate applications, you could add or remove functionality as you decide (of course some things might have dependencies on another apps, quicklaunch wouldn't make much sense seperate of the taskbar).

      Here are some needed Windows-like apps, off the top of my head: taskbar (just the bar, and simple functionailty such as auto minimize), app buttons or tabs (dep. taskbar), system tray (dep. taskbar), clock (dep. taskbar), quick launch (dep. taskbar), start menu (dep. taskbar), desktop (just the pretty background pic and desktop icons, nothing fancy), explorer (when you open a folder, already exists afaik), trash can (dep. desktop), network browser (dep. desktop). Also, all the start menu applications can be seperate. No reason to have them be part of the start menu code (find, run, etc).

      Now, with this system, if you think the start menu is stupid, the solution is simple.. don't load it up! No reason to have a trash can on the desktop if you don't need it, etc.

      Does such a modular system exist? If not, I would love to get started on such a project. It would be fast, and compatible with the current system and apps.

      I can't see how all the bloat of Gnome or KDE is needed. Let the Window manager take care of what the apps look like. Let other apps tack on the rest of the UI elements. Should be simple and fast.

      calamari

    36. Re:ARGGH! X isn't where the slowdown is! by Sj0 · · Score: 1

      Ironically, for people who don't stay on the bleeding edge of security, Win95/98 is probably the best choice. Don't share your drives and you're immune to internet-borne viruses, don't use outlook, and you've killed the other ones. There's no stupid C$ crap, so once you kill off file sharing, it's actually disabled, which makes you suprisingly immune to the major viruses floating around which affect primarily NT based systems.

      --
      It's been a long time.
    37. Re:ARGGH! X isn't where the slowdown is! by flok · · Score: 1

      Not only that: the applications seem to be written a bit smarter then the linux variants. For example: internet explorer 6.0 runs at least 5 times faster UNDER WINE! then Konqueror or Opera.

      --

      www.vanheusden.com - home of Multitail, HTTPing, CoffeeSaint, EntropyBroker, rsstail, bsod, listener, nagcon, nagi
    38. Re:ARGGH! X isn't where the slowdown is! by Anonymous Coward · · Score: 0

      Indirectly, though, isnt' that what these guys are proposing to do? Redesigning the lowest layer so that the upper layers don't have to be the way that they are now?

      You can also push a car off a cliff to make it go faster, but neither is the proper solution.

    39. Re:ARGGH! X isn't where the slowdown is! by AJWM · · Score: 1

      Why is KDE or Gnome so bloated and slow?

      A couple of reasons. One is that the underlying toolkits (Qt and GTK+) are not optimized for X. They're both portable toolkits, so one expects some compromises, and they're both based directly on Xlib rather than on the X Toolkit Intrinsics (Xt). While theoretically this could make them faster than Xt-based kits, it deprives them of the years of performance tuning by expert X programmers that Xt has gone through.

      The other reason is that both KDE and Gnome are "desktop systems", not just window managers, and have tons of stuff going on in the background (such as their flavors of CORBA), plus processes for the taskbar, etc.

      By the way, KDE and Gnome are not monolithic apps as you seem to think, they do use separate apps for many of the tasks you mention -- but they're also all tied together by the corba-equivalent (so that, for example, a settings app can tell the desktop to change appearance), the messaging functions of which are provided in Windows by the OS layer (and which also duplicates a lot of what the X Server could do for you).

      (All that said, on any reasonable hardware not more than a few years old, KDE or Gnome should still be fast enough for most users. Most of the cycles are still going to be spent waiting for the user.)

      --
      -- Alastair
    40. Re:ARGGH! X isn't where the slowdown is! by Anonymous Coward · · Score: 0

      WinXP runs just fine on my PII 333 with 128MB and a TNT2. Granted I've disabled most unnecessary services and don't use themes, but even with themes turned on it's not slow at all.

    41. Re:ARGGH! X isn't where the slowdown is! by rifter · · Score: 1

      I don't know; it works pretty well inside MS Office, and copying from various apps and pasting to Office applications often works pretty well.

      That's not what they were talking about, though. I copy and paste in X all the time and it works better than windows; it is far more intuitive and powerful. However they were talking about things like copying the icon for a sound file and pasting that sound file into a word document, and similar stuff like embedding excel spreadsheets in word documents...

      Like some of those above, I have seen this work to some degree, and it is mildly amusing, but not truly useful, especially since it does actually caus problems and does not work reliably. I have seen objects embedded in a document or email become flat pictures and all sorts of other madness. And accessing the data was also far more resource intensive than launching the apps seperately, much less simply putting all the data into one damn document and having done. Embedding docs from various apps has always been a MS toy that just serves to frustrate people more than it ever provides any use.

    42. Re:ARGGH! X isn't where the slowdown is! by cdyson37 · · Score: 1

      Remember its the fact that X isn't too tightly bound to GTK+/QT that has enabled it to survive so long - if it was we'd still be using Athena widgets or whatever. There is no way *NIX/Linux running X would ever hit the desktop looking like that! And I think fonts on X seem pretty much sorted on any modern Linux distro at least - I actually got some (stolen) TTF fonts to work the other day without having to much phaffing (or messing with ghost-script, either - an experience I'd rather not repeat).

      Anyway, what's wrong with Mach64 - most reliable card I ever bought (won't be playing Half-Life 2 with it, though).

    43. Re:ARGGH! X isn't where the slowdown is! by Brandybuck · · Score: 1

      I seriously suggest that if you think X is slow you check out a more lightweight window manager and apps. GNOME and KDE have a LOT of overhead because they run on top of an extra layer of abstraction

      Yes and no. Yes, Windowmaker uses X11 more or less directly. No, because all Windowmaker is drawing when you're doing full-window dragging and resizing are the window frames. The application being dragged could still be a Qt and GTK+ application, and the dragging/resizing will not slow down.

      --
      Don't blame me, I didn't vote for either of them!
    44. Re:ARGGH! X isn't where the slowdown is! by man_of_mr_e · · Score: 1

      Hmm.. I fail to see how you can possibly think that X selections aren't broken. 2 simple examples that, AFAIK can't be accomplished with X selections but can in other OS's.

      1) Select a bit of text, copy it to clipboard, switch to another app, highlight a bit of text you want replaced with your clipboard selection and past it in, replacing the newly highlighted text. Can't do this with X selections because highlighting the new text loses the old selection.

      2) Clipboard stack, where you can copy multiple selections, the paste them into your document in reverse order.

      This isn't even getting into the mechanism that other OS's use to translate clipboard entries to acceptable formats (for instance, copy Visio diagram, paste it into word and it can convert it to a bitmap image instead).

    45. Re:ARGGH! X isn't where the slowdown is! by Pheersum · · Score: 1
      IP QoS -- Not really X related, but really makes a huge performance diference. With QoS enabled, You can set it up so that small packets (500), then limit your outstream to a little less than your max so that SYN|ACKS can still get out. The result is that you can max your upload/download to your hearts content, but your latency NEVER takes a hit
      How do you do this?
    46. Re:ARGGH! X isn't where the slowdown is! by Corgha · · Score: 1

      Wow! XFce has the most adorable logo I've ever seen!

      Now I've got to try it. Screw this waiting around for E17.

    47. Re:ARGGH! X isn't where the slowdown is! by Anonymous Coward · · Score: 0

      i agree, but keep your asshats on fark.com. this is slashdot. we are supposed to be above that.

    48. Re:ARGGH! X isn't where the slowdown is! by Anonymous Coward · · Score: 0
      I also agree with this sentiment.

      Whatever that desktop is, I think I want it on my desk, not on my computer screen.

      And I certainly don't need a trash can on my desk top.

    49. Re:ARGGH! X isn't where the slowdown is! by Slime-dogg · · Score: 1

      Hell, Enlightenment is the bomb too. It's fast and snappy, has those visual effects (if you want that kind of thing), and hopefully E.17 gets done soon.

      --
      You need to restart your computer. Hold down the Power button for several seconds or press the Restart button.
    50. Re:ARGGH! X isn't where the slowdown is! by Slime-dogg · · Score: 1

      Quotas are set in the kernel. The easiest way to do this is to run either

      Make menuconfig

      or

      Make xconfig

      QoS is somewhere in there, probably in the networking menu.

      --
      You need to restart your computer. Hold down the Power button for several seconds or press the Restart button.
    51. Re:ARGGH! X isn't where the slowdown is! by Progoth · · Score: 1

      For example: internet explorer 6.0 runs at least 5 times faster UNDER WINE! then Konqueror or Opera.

      NO WAY.

      Prove it.

      Firebird on my machine on windows is faster than IE6. Konq & Opera on my machine are both way faster than Firebird.

    52. Re:ARGGH! X isn't where the slowdown is! by BZ · · Score: 1

      You're talking about the PRIMARY buffer. CLIPBOARD supports #1 from your list, and if you run 'xclipboard' supports #2.

      PRIMARY is basically like drag and drop except you drop explicitly, not when you accidentally let up the mouse button.

      Oh, both CLIPBOARD and PRIMARY support tagging data with the type. It's just that most apps are dumb and don't do it. But Mozilla does. So does OpenOffice.

      Don't bash X for bugs in xterm and company.

    53. Re:ARGGH! X isn't where the slowdown is! by uchian · · Score: 1

      You can download the desktop manager in powertools, but it doesn't work in anywhere near a remotely useful way. Some of the more serious bugs :

      1. There is no way to move a window to a particular desktop other than to create it on that desktop.
      2. When a modal dialog or message box appears in an application, the applicaiton will automatically *move* to your current desktop.
      3. It doesn't work properly with Microsoft's own applications, such as Visual Studio. This alone makes it unusable for me at work.

      (We are talking XP here, ostensibly the most mature and feature complete of the windows desktops).

      Well, I could rant some more. Basically, the reason there is no desktop manager on windows is apparent as soon as you try to use one - they simply show up all of the gaping holes and design flaws in the underlying window manager, where no two windows behave in the same way.

      Ok, I'll stop ranting now and get back to coding. Thank heavens for KDE :-)

    54. Re:ARGGH! X isn't where the slowdown is! by man_of_mr_e · · Score: 1

      You're kidding me. xclipboard is a horrible hack designed to overcome the limitations I mentioned. It creates a new window that you can temporarily copy stuff into. This would be no different from you opening up a small text editor and copying data into it to use elsewhere. You still have to fumble with the clipboard selection weirdness, and it doesn't automatically remove stuff from the clipboard to allow stack popping.

      In any event, the large number of different and incompatible clipboard options offered by different applications is just making it difficult to implement any of them.

      Oh, and tagging data types doesn't allow the clip source to convert the data to the type requested by the clip destination. It only allows the app to know if it understands the type or not.

    55. Re:ARGGH! X isn't where the slowdown is! by Arker · · Score: 1

      1) Select a bit of text, copy it to clipboard, switch to another app, highlight a bit of text you want replaced with your clipboard selection and past it in, replacing the newly highlighted text. Can't do this with X selections because highlighting the new text loses the old selection.

      No, you can't do exactly that. So what? That's simply not the X way. In windows, or on my mac, I can't simply highlight the text I want and then yank it into another program without messing around with menu items or keyboard shortcuts. To me it seems like they're broken. But of course, objectively, neither are broken exactly, they just have a different paradigm.

      When I'm working on my mac I learn to do it the mac way. Why is it too much to ask that when you work on a unix box you learn to do it the unix way?

      Either way you accomplish the same thing, and the X way seems superior from the usability perspective, it involves far fewer steps. Yes, it does mean if you want to delete text you have to delete it, rather than pasting over... so? If you're used to the windows/mac behaviour, it may seem annoying at first, but how is it any worse than the annoyance I feel when I have to jump through hoops hitting menus and pushing keys to do something I could do in two quick mouse movements in X?

      2) Clipboard stack, where you can copy multiple selections, the paste them into your document in reverse order.

      I'm not even sure what you're talking about here.

      --
      =-=-=-=-=-=-=-=-=-=-=-=-=-=-
      Friends don't let friends enable ecmascript.
    56. Re:ARGGH! X isn't where the slowdown is! by soimless · · Score: 1

      but unix is all so much very fun as a toy

    57. Re:ARGGH! X isn't where the slowdown is! by jandrese · · Score: 1

      So how do we get application developers to start using this facility? I'd rather like to be able to copy a range of cells or an arbitrary graph out of a gnumeric sheet and paste it into koffice? It's very annoying that the only thing most programs will stick in the cut buffer is unformatted text. Heck, in MS Office, when I paste text into a word document, it even gives me the option of keeping the existing formatting, or reformatting it with the current text settings.

      People suggesting that you export the document and import it are nuts. That's a huge amount of effort, especially considering how spreadsheets and the like frequently have multiple charts and all sorts of stuff most people don't want in their documents.

      --

      I read the internet for the articles.
    58. Re:ARGGH! X isn't where the slowdown is! by Arker · · Score: 1

      Who can explain the ways of the moderators?

      Obviously it wasn't me, as I have not only posted I've also been banned from moderating for life, for no reason I've been able to figure.

      Anyway, I don't think you're a troll, but I do think you are perceiving things as broken simply because you're used to a different way, when actually they work very well.

      I used to use WindowMaker, now I use KDE, FWIW. I don't recall ever using drag and drop in WindowMaker, but maybe it was there when I used it and I simply didn't know.

      It's there. I can't imagine using WindowMaker and not using it occasionally - how else you do maintain your dock?

      It's true that you can't drag things and drop them on the 'desktop' because there is no 'desktop' - that's a construct of a different system. But anything you can accomplish using the desktop metaphor of another system can still be accomplished with WindowMaker, in ways I think anyone not already conditioned to expect the other way would recognise as being more efficient and effective.

      You said "I dare you, name any meaningful feature MSWin has that WindowMaker lacks". Now you're saying you really meant "meaningful to me" ;-)

      If you have two systems, and both can accomplish the same tasks, but in different ways, it's not fair to claim that one system is missing something because you're used to the other way. And if it were, then it would be just as fair either way - i.e. I could claim windows and mac are missing features because they don't implement copying the same way X does.

      --
      =-=-=-=-=-=-=-=-=-=-=-=-=-=-
      Friends don't let friends enable ecmascript.
    59. Re:ARGGH! X isn't where the slowdown is! by Anonymous Coward · · Score: 0

      I cut and paste tables between mozilla and open office all the time. I have no idea what you are talking about.

    60. Re:ARGGH! X isn't where the slowdown is! by irc.goatse.cx+troll · · Score: 1

      http://www.prout.be/qos/QoS-connection-tuning-HOWT O.html#toc4 is the reference I used. It should tell you everything you need to get it working, and the commands to enable it.
      I wrote a script to do it (since I have to run it every reboot), I'll see if I can get past the lameness filter;

      #!/bin/bash
      DEVICE="eth0"
      UPSTREAM="3 86" #kbit -- should not have a space, slashdot b0rked it
      DOWNSTREAM="3000" #kbit
      if [ `id -ur` != "0" ];then
      echo "Error: Must be root to run this script."
      fi

      if [ ! -e /sbin/iptables ];then
      echo "Error: IPTables not installed."
      echo "Suggestion: apt-get install iptables"
      fi

      if [ ! -e /sbin/tc ];then
      echo "Error: IProute not installed."
      echo "Suggestion: apt-get install iproute"
      fi

      INTERCLASS=`expr $DOWNSTREAM / 20`
      DATACLASS=`expr $UPSTREAM - $INTERCLASS`
      echo "i: $INTERCLASS d: $DATACLASS"
      iptables -t mangle -A OUTPUT -m length --length 0:500 -j MARK --set-mark 3
      iptables -t mangle -A OUTPUT -m length --length 500:1500 -j MARK --set-mark 4
      iptables -t mangle -A PREROUTING -m length --length 0:500 -j MARK --set-mark 3
      iptables -t mangle -A PREROUTING -m length --length 500:1500 -j MARK --set-mark 4
      tc qdisc add dev $DEVICE root handle 10: cbq bandwidth 10Mbit avpkt 1000 mpu 64

      tc class add dev $DEVICE parent 10:0 classid 10:1 cbq bandwidth 10Mbit \
      rate ${INTERCLASS}Kbit allot 1514 prio 1 maxburst 10 avpkt 100 isolated
      tc class add dev $DEVICE parent 10:0 classid 10:2 cbq bandwidth 10Mbit \
      rate ${DATACLASS}Kbit allot 1514 prio 8 maxburst 2 avpkt 1500 bounded

      tc filter add dev $DEVICE parent 10:0 protocol ip handle 3 fw flowid 10:1
      tc filter add dev $DEVICE parent 10:0 protocol ip handle 4 fw flowid 10:2

      --
      Pain lasts, kid. Its how you know you're alive. Sometimes I think this growing up thing is just pain management-TheMaxx
    61. Re:ARGGH! X isn't where the slowdown is! by irc.goatse.cx+troll · · Score: 1

      >I installed the intertactive patches on the 2.4 kernel and I didn't see any difference in the responsiveness of the applications.

      It depends on the apps you run. You'll probably still need to tweak it further (fe. making run at nice level 0 again instead of the -10 most distros set it at).
      You might want to try the 2.6-test series if you've got a non-production box to play with, They've gotten even better than the 2.4 patches.

      "Uh? We're talking about the responsiveness of X locally..
      So IP has nothing to do with it..
      Beside as we're talking about X, X is not ideal for remote connections, I believe that a higher level protocol with more things done in the server would be more responsive and use less bandwith.."

      Network latency has a lot to do with general slugish feeling. Though thats rarely the case, I felt I'd throw it in as its not something many know about (and its extremely useful). Though I will argue that a higher level protocol would not be as good as it sounds. Imagine needing the exact same qt/gtk version on every server and workstation.. it could become a mess. (assuming you're refering to toolkit level).

      --
      Pain lasts, kid. Its how you know you're alive. Sometimes I think this growing up thing is just pain management-TheMaxx
    62. Re:ARGGH! X isn't where the slowdown is! by renoX · · Score: 1

      >Imagine needing the exact same qt/gtk version on every server and workstation.. it could become a mess.

      Exactly the same version no.
      The interface would stay the same, even if the server change the way it displays..
      There is already the same problem with X: what do you do if your client wants to send information with an X extention that the server doesn't support?

    63. Re:ARGGH! X isn't where the slowdown is! by jmorris42 · · Score: 1

      The problem seems to be most of the GNOME/KDE developers were trained on Windows and thinking in terms of it, want to reinvent it smashing X into a pale echo of Win32, instead of having a deep knowledge and respect for what UNIX/GNU/X offers.

      --
      Democrat delenda est
  31. try Quake3 over X- THEN tell me X sucks. by SlightOverdose · · Score: 5, Interesting

    Yeah sure. in THEORY, the server-client overhead of X slows it down. I have, however, yet to notice it. Hell, I get a Higher framerate with Quake3 in Linux than in win32.

    To take the quake3 thing a bit further- one day I was setting up a quake3 server on a remote machine. However instead of running q3ded (the server), I ran quake3.x86 (the client) by mistake.

    Imagine my horror when the screen goes blank and I realise what I have done, and SURELY, this would fsck both boxes. Theres no way quake3 can X over a 100mbit network link (with the overhead of SSH thrown in). Or can it?

    A few seconds later up pops the menu. It ran fine. As a quick experiment, I loaded q3dm17. It worked, and I was getting a good 15fps- quite playable.

    Dont believe me? try it for yourself.

    I think that little demo alone is enough of a demonstration. X my have it's flaws- namely bloatedness, but it CERTAINLY doesn't seem slow to me.

    1. Re:try Quake3 over X- THEN tell me X sucks. by miruku · · Score: 1

      "and in other news, valve releases details on how the half-life 3 drm system will work.."

      --
      MilkMiruku
    2. Re:try Quake3 over X- THEN tell me X sucks. by Thoran · · Score: 1

      I basically agree with your point: X is not slow. But your argument is completely wrong in this case.

      X is not concerned with 3D stuffs except for the initialisation of the GL context.

      As soon as the app has its own GL context, it directly talks to the hardware. X has nothing to do with this business except in the forwarding of events (mouse, keyboard). Only the driver, the app and the 3D card play a role in this case.

      What I'm saying is true even in the case where quake is run in a window (ie: not fullscreen)

    3. Re:try Quake3 over X- THEN tell me X sucks. by Ari+Rahikkala · · Score: 5, Informative
      X is not concerned with 3D stuffs except for the initialisation of the GL context.

      As soon as the app has its own GL context, it directly talks to the hardware. X has nothing to do with this business except in the forwarding of events (mouse, keyboard). Only the driver, the app and the 3D card play a role in this case.

      The parent was running Quake3 remotely over X. This means that the client talks to the server in GLX (OpenGL encoded in X11 packets). What you're describing is DRI, which can be used only locally.

      Now, Quake3 can be expected to have a rather advanced renderer that pushes as little stuff as possible to the graphics card, so it's not such a big surprise that it can do with one hundred megabits. The bandwidth of AGP 1x is 266 megabytes per second, which does put the network one magnitude lower, but then again if you can get 10fps over the network where you can get 100fps locally, the values are in the ballpark.

      I've sort-of tried this with Half-life, but the client side ran Wine between HL itself and the network (which might cause a lot of overhead outside - or then not, I can't tell) and the server side had an old ISA network card, so I got at best something like one frame per second in the hazard course. 15 fps on much better hardware is, IMO, conceivable and credible.

    4. Re:try Quake3 over X- THEN tell me X sucks. by Performer+Guy · · Score: 1

      Wrong, networked GLX if fully supported in correctly configured X servers. Native hardware interfaces called through the DRI (for example) do get used when running natively to interface directly to the hardware but all GL calls have related GLX networking protocol and CAN and do work over a network connection on a remote display.

      Moreover when you use a remote display the OpenGL context on the remote system reports to your your application the querryable resources of that display.

      Display lists and textures are stored remotely and so the application performance of well written OpenGL code can be extremely fast when you run it remotely because the hardware capabilities of the server can still get used to their fullest.

      All of this is of course completely application transparent, you don't have to write a line of code, it just works.

      setenv DISPLAY is your friend.

    5. Re:try Quake3 over X- THEN tell me X sucks. by Performer+Guy · · Score: 1

      P.S. typo, that should read "GLX is fully supported.

      Also remember that an application displaying on a 'remote' X server is actually running on the X server that you're sitting in front of. So when I say the textures and display lists are stored remotely they're on the graphics card you're getting video from.

    6. Re:try Quake3 over X- THEN tell me X sucks. by Kashif+Shaikh · · Score: 1

      I think X is getting the blame, when honestly it's Linux's fault. I mean, the sluggish redraws and hiccups of mp3s + all interactivity(mouse+keyboard) go down whenever there is a lot of I/O to do(like copying or uncompressing or huge file).

      I mean, I've played Quake3 and UT2003 under linux, and its fast(though UT2003 is faster on my WindowsXp box). So it must be all the layers + latency causing problems.

      The only thing making X slow on modern distros is the advent of using AA *everywhere* for every font size. That shit IS causing slow redraws.

      Kashif

    7. Re:try Quake3 over X- THEN tell me X sucks. by j3110 · · Score: 1

      yeah, but most of OpenGL is mapping textures stored on the card to pixels. If anything, this shows how a system built with this in mind (the root of the story) could indeed be much faster than it being a side-effect. The main point is that X has very, very little to do with OpenGL rendering that a game like Quake does.

      The more likely scenario was that the remote machine was rendering the OpenGL locally, then sending it back to the client. The network would support up to 20fps at 640x480x16. If it had just loaded the textures onto the card on the local machine, then transferred only the Vectors, I'm sure we can both agree that 100fps would not be unreasonable for even a remote machine on a 100mbit network because there is no concievable way that it takes 100mbit* 1s/100fps=1mbit/f=976K per frame to transfer vertices and instructions. If you look at the benchmarks for cards, you'll see very quickly that bus speed to the card doesn't do much except let the game load textures onto the card quicker.

      In fact, if someone wants to argue enough about this, I may be driven to enough rage to write a stub opengl.so to put in your quake3 directory that just sends the function calls through some home brew RPC protocol to a client X app on the other end. Hell, I bet I could use XML and still see full frame rates.

      --
      Karma Clown
  32. X not slow by Anonymous Coward · · Score: 1, Interesting

    X is NOT slow. XFree86 may leave something to be desired, but if you whip out Xi Graphics' X server and take it for a spin, you'd be shocked at the difference in performance. Xi hasn't implemented all of the bells and whistles of XFree86 (actually, they've implemented different bells and whistles), but it clearly demonstrates that, under Linux at least, X can perform exceptionally well.

  33. to bad by msh104 · · Score: 1

    According to the website "exotic features of modern X servers such as the MIT shared memory extension, Xrender, Xv, and others will not be supported". Xrender and Xv are really needed if you would want me to switch. otherwise you still have to fall back on software rendering all the time. ( and thus this window manager will still be as slow as hell )

    1. Re:to bad by spitzak · · Score: 1

      Actually if their graphics interface is in any way not brain-dead, they should be able to emulate Xrender enough to run modern antialiased programs. I don't think they should list that as one of the unsupported things.

      I can understand why XSHM and Xv are not supported, though. XSHM may have to be emulated (perhaps without speedup), as many X programs assumme it is there.

  34. Hold on cowboy! by palad1 · · Score: 3, Informative

    Before everybody and their mothers starts flaming them because they use XML as their protocol, I would like to point out that they are using WBXML to send their messages.
    WBXML is a packed encoding for XML, thus saving space and all those that can be highly compressed. Just have a look at the specs, it's not because it has WAP tagged to it that it's a load of crap.
    And then, to those saying that the parser will kill the perfs, I'd like to point out that this protocol doesn't rely on string parsing but _byte_ parsing..

    1. Re:Hold on cowboy! by Anonymous Coward · · Score: 0

      Damn, I can no more complain about the stupidity of using XML for this... hmmm... Maybe they can transmit their packet in "IP over XML" instead of plain IP, then ?..

  35. Uh oh.. by joib · · Score: 2, Insightful


    Can we expect another alternative out there soon?


    Judging from the success of all the other zillion "I'm gonna create something new which will replace X"-projects, I suspect not.

  36. Are we going to now... by Cnik70 · · Score: 1

    report on every bit of Vaporware that emerges? Ideas for replacements for X are nice, and I appreciate the efforts to improve *nix in any way. But I's rather hear about something with a bit of 'meat' to it instead of yet another pipe dream. Maybe we need a Slashdot forum where we are able to post daily thoughts that cross our minds that others may be able to use to spark ideas for new and better applications/OS's, etc...

    --
    -Cnik
    1. Re:Are we going to now... by HBI · · Score: 1

      I like this. A 'Vaporware' topic that I can safely ignore. Instead of front page stories that are virtually meaningless and thus, filler.

      --
      HBI's Law: Frequency of calling others Nazis is directly correlated with the likelihood of the accuser being Communist.
    2. Re:Are we going to now... by EmagGeek · · Score: 1

      "Maybe we need a Slashdot forum where we are able to post daily thoughts that cross our minds that others may be able to use to spark ideas for new and better applications/OS's, etc... "

      They do. It's called a Journal.

    3. Re:Are we going to now... by Cnik70 · · Score: 1

      True, but maybe we need to add another category to the /. homepage where any and all vaporware ideas are placed so that it's easier to dig through. Digging though multiple journals isn't really an effective way to search for ideas.

      --
      -Cnik
  37. XML and Speed? by Anonymous Coward · · Score: 1, Interesting

    "uses XML as the communications protocol"
    "Could this get rid of the speed problems"

    Excuse me, XML is a text format, XLib last time I looked was a "binary" format. How in the world could XML ever be "faster" ??

    I know X took alot of memory and was realy slow on my onld 386/486. But I havent notis _any_ problems with X on my Pentium, and that machine is old today to.

    Its not X thats slow, its the drivers for the diffrent graphiccards that just isnt as good as the Windows counterparts.

  38. Competing wheels make better cars by MarcQuadra · · Score: 2, Insightful

    At least if an OSS project fails the code is available for other projects to scavenge and incorporate. Where's all that closed-source code written for the dot.coms now? It's GONE or in the hands of lawyers, it will do no good for anyone.

    OSS is great because it can pull in a thousand directions at once and still end up at the destination.

    Mozilla is a great example, the core application has been extended to include a bazillion features, but its actually a kickass suite. And now there's a layout engine (gecko) that can be used in other applications to provide kickass HTML support.

    GNOME and KDE are another great example, the rivalry has done more to further the project than anything else. Windows has come a LOT less far in the same time that KDE and GNOME have been around.

    Could we move faster if there weren't competition, sure, but we'd need a lot of MONEY and MANAGERS to keep everyone in line and on-task. Luckily we don't have the burden of pandering for money or slaving under managers to get what we want.

    --
    "Sometimes, I think Trent just needs a cup of hot chocolate and a blankie." -Tori Amos on Nine Inch Nails
    1. Re:Competing wheels make better cars by pmz · · Score: 0, Flamebait

      At least if an OSS project fails the code is available for other projects to scavenge and incorporate.

      Only other GPL projects. This is important to note, as the code is still not public domain, unless the previous maintainers change the license before dissolving the project.

    2. Re:Competing wheels make better cars by HiThere · · Score: 1

      That's fine with me. It insures that the code stays open, and that's well worth the cost of requiring that the code be open.

      If you think not, then tell me why the Mac OSX didn't rejuvenate the BSD community. The *nix systems with BSD licenses are solid performers. But they don't get as much community support, and this isn't pure happenstance. People are less willing to give things freely if they feel someone else may take them, improve them for his own advantage, and not share! (The experiments are slightly different, this is a loose paraphrase. But it's a report of published experimental results, no longer just an assertion based on reasonableness.)

      --

      I think we've pushed this "anyone can grow up to be president" thing too far.
  39. WBXML by DrXym · · Score: 5, Interesting
    WBXML compresses XML down to bytecodes. It's used in WAP and other places. It works off the DTD, assigning bytes to represent the various tags and attributes.


    But even if it were plain old text XML, it still poses some real advantages, not least of which you could transport it over SSL, web proxies and other barriers that would stop an X-session cold.


    Besides which the transport is probably not as important as the data you are send. If the schema had sophisticated drawing primitives ala SVG you might find it is considerably faster than X which might be forced to move bitmap data around for similar operations.

    1. Re:WBXML by sql*kitten · · Score: 3, Insightful

      WBXML compresses XML down to bytecodes. It's used in WAP and other places. It works off the DTD, assigning bytes to represent the various tags and attributes

      That might help, but you're still shipping a lot of redundant metadata around.

      But even if it were plain old text XML, it still poses some real advantages, not least of which you could transport it over SSL, web proxies and other barriers that would stop an X-session cold.

      You can quite happily tunnel anything you want over HTTP, even X11.

      If the schema had sophisticated drawing primitives ala SVG you might find it is considerably faster than X which might be forced to move bitmap data around for similar operations.

      Not if you want to remain fully compatible with existing XLib code.

    2. Re:WBXML by luisdom · · Score: 5, Informative

      Do you ever read sources?

      That might help, but you're still shipping a lot of redundant metadata around.
      From the WBXML specification abstract: ... Meta-information, including the document type definition and conditional sections, is removed when the document is converted to the binary format.

      Not if you want to remain fully compatible with existing XLib code.
      What? They provide a library that is xlib compatible and then extend it with more drawing primitives. What it makes xlib-incompatible is applications that use that specific primitives with plain X. xlib applications are not affected.

      It seems you dismissed the whole thing just after reading the post and you are just justifying that without checking other's arguments...

    3. Re:WBXML by ajs · · Score: 1

      Good points.

      Using WBXML is probably a bad idea, but I'll reserve judgement until I see it.

      I would like to point out, however, that SVG (and any other vector graphics system) is NOT inherently incompatible with the X protocol. In fact, X supports several scalable, vector-based formats today including PostScript and SVG.

      These formats are supported via standard (or in the case of SVG, proto-standard) extensions to the X protocol. To say "you can send your foobar-windowing-system client to any X server that supports X extension" is much better than not supporting X at all, and indicates to me a desire to produce a system that is usable, which is usually the first step in producing a system which is USED.

      I'm not saying it's all easy, and I'm not sure that X needs to be replaced (so much as the X protocol should be revised to match modern hardware and usage). The XML buzzword-compliance worries me, but I'll try this software out when/if it's usable and judge for myself.

      I'm convinced that the X protocol could be modified to suit everything that we need today, though. There are several things that we need: 1) more hardware acceleration features at a higher level in the protocol and better OpenGL support 2) a slightly higher level set of widgets beyond XWindow ... not GUI toolkit widgets, but the primatives on which they are most often built 3) much, much better text drawing 4) GC and XDrawing feature revamp to support antialiasing, vector graphic primatives (not all of a behemoth like PostScript or SVG, but again the most commonly used primatives) and perhaps some basic transformations 5) an overhaul to the XEvent structures, ICCCM, Atoms and D&D to give a unified event/data/management protocol.

      That would clearly be incompatible, but X12 has been long anticipated, and certainly any server that spoke this protocol could also speak X11. Also, there's no reason that X11 apps could not compile against a compatibility layer.

      You could probably even mock up a WBXML layer in front of X12 if you really wanted to program that way (or if you were writing your toolkit in a high-level language when XML DTD processing is native and much easier than talking to a binary protocol).

      Best of all worlds!

    4. Re:WBXML by ZorbaTHut · · Score: 1

      I've looked through the WBXML specs. You'll still have overhead, unless you design your DTD to be as un-XMLish as possible (which sort of defeats both purposes at the same time.)

      How much overhead, and how much it matters, depends entirely on the DTD, the data being sent, and what you're planning to do with it. However, I can't think of any reason you'd want to use WBXML for this - not only do you get added overhead, but you don't even get human-readability. It's the worst of both worlds! Go fad programming!

      --
      Breaking Into the Industry - A development log about starting a game studio.
    5. Re:WBXML by sql*kitten · · Score: 1

      are several things that we need: 1) more hardware acceleration features at a higher level in the protocol and better OpenGL support

      This is already there, altho' not really in XFree86 - SGI's GLX extensions work great and allow a remotely executing client to use the local X server's hardware acceleration capabilities.

    6. Re:WBXML by ajs · · Score: 1

      By "higher level in the protocol" I meant that existing features should have hooks to better support the use of hardware acceleration. To have an entirely separate hardware acceleration extension kind of misses the point.

      Still, it's nice to see tha this has been done. Adding extensions to X was originally intended as a way to test features that would be later integrated into the core protocol.

  40. How about speeding up the GUI, like KDE? by mrb000gus · · Score: 3, Insightful

    My biggest speed problem on X at the moment is the startup times etc of applications. KDE takes 20 seconds to start up and each application takes a couple of seconds to load. Could this be sped up by a faster X server? Or is the problem there more likely Qt, KDE libs, etc?

    1. Re:How about speeding up the GUI, like KDE? by Elbelow · · Score: 2, Informative

      KDE takes 20 seconds to start up and each application takes a couple of seconds to load.

      Prelinking the libraries and applications is supposed to help in this area. See the Gentoo guide to prelinking for more details.

    2. Re:How about speeding up the GUI, like KDE? by Anonymous Coward · · Score: 0

      The problem is (according to people who should know) all the different libraries that need to be dynamically linked, before anything happens.

  41. Not an X replacement... by Anonymous Coward · · Score: 0

    ...but a *proposal* for a whole new OS, indeed.

    Everything he says is beautiful. Exokernels aren't BS or pixie dust, they're just a way of saying 'all functionality lives in libraries.' Having functionality in modular libraries means you can add/replace them as you choose, conceivably making development easier and the user experience more pleasant. (No need to build device driver modules against a kernel version, hopefully "libOS" interfaces are better thought out and change less often. Beauty is that filesystems and *everything else* become equally modular, and you can conceivably support as many different wholly unrelated APIs/ABIs as you want, at once, though the more you throw in, the more it does look like any regular machine running a few copies of VMWare... but still, with less of a performance hit.)

    Seriously, let's not be down on it. It's beautiful, *if* they can pull it off. The windowing system architecture is "smart" given today's standards, if nothing shocking. I doubt there will be *major* performance gains or losses versus X, but some people might prefer the native API as the 'fresh start' you want.

    In the end, these designs give us back the flexibility that... gasp, horror... the Commodore Amiga had 20 years ago. The difference is that the Amiga/MetaComCo guys didn't *have* to invent 'HyperQueues' or other mechanisms for protected message passing; as an '80s-era personal computer, the Amiga just didn't have protected memory at all.

  42. Wasn't there just a /. article on XML... by Qbertino · · Score: 2, Insightful

    ...being one of the current software fashions? This would be a point in that case I guess.
    Mind you, XML is good. Especially because it's such an extremely picky data format. It's the only way to go for flexible document formats and all that, imho. But XML to shove grafics around a 2D space?
    Come on, give me a break.
    No, guys, nice try, but that guy with his XFree replacement called 'Y' a few days ago was much more promising.
    Next.

    --
    We suffer more in our imagination than in reality. - Seneca
  43. XLib Compatibility ? by Snarf · · Score: 1

    Is XLib compatibilty really an issue? How much software is written in native XLib these days? Isn't compatibility with the various widget sets what we really need in a X replacement?

    1. Re:XLib Compatibility ? by soccerisgod · · Score: 1

      And just what do you think those use? Xlib implements the most basic functions, and every widget library uses it. Just ldd your favorite widget's libraries...

      --
      If a train station is a place where a train stops, what's a workstation?
    2. Re:XLib Compatibility ? by Snarf · · Score: 1
      Xlib implements the most basic functions, and every widget library uses it


      True. But if there were a versions of, say, GTK for Fresco, PicoGUI, and JourneyOS then a GTK app would run on all of these without the need of any of them to support XLib.

      In the same way that the Windows version of GTK does not need to Window to support XLib.
    3. Re:XLib Compatibility ? by vidarh · · Score: 1

      And why exactly do you think providing the minimum set of X primitives that is needed to support most widget sets is any harder than porting several widget sets?

    4. Re:XLib Compatibility ? by Anonymous Coward · · Score: 0

      Yea, but after you support Xlib you automatically support Qt/Gtk/Fresco/wx/... Why port Gtk seperately when you can just port Xlib?

    5. Re:XLib Compatibility ? by Anonymous Coward · · Score: 0

      If you have XLib, you automatically have every X program ever written. However, if you want to be compatible with all the different higher-level libraries, you would need QT, GTK, SDL, Allegro, Xaw, Motif etc... Plus all the programs that speak native XLib, e.g. MPlayer.

    6. Re:XLib Compatibility ? by spitzak · · Score: 1

      Xlib compatability instantly ports *all* the toolkits in one step.

      The toolkits can still be ported if there is interest in making them run faster and better on this new system. But that won't happen unless the new system becomes popular, and that won't happen unless everybody's programs already work.

      This is absolutely necessary for a replacement for X to become popular and I fully agree with their decision to make Xlib compatability a goal.

    7. Re:XLib Compatibility ? by groomed · · Score: 1

      Xlib compatibility will automatically give you toolkit compatibility. Behold:

      $ ldd /usr/lib/libgtk-1.2.so.0.9.1
      libXi.so.6 => /usr/X11R6/lib/libXi.so.6 (0x40166000)
      libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x4016e000)
      libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x4017c000)

      $ ldd /usr/lib/qt-1.45/lib/libqt.so
      libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x401d5000)
      libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x402a4000)

      At least that's the theory.

  44. RFTA! WBXML not ascii XML by OMG · · Score: 1

    They plan to use WBXML and not XML. Still you need parsing. But serialization can be left out AFAIR. That's a huge improvement over Ascii XML.
    But still it is an extensible format.

    And they are looking into ways to move to ASN.1 too. See the link in the article.

  45. Just look at the name... by ShaggyShoggoth · · Score: 1

    I don't think that Journey is the best band to name a piece of software after. Just look at the precedent.

  46. X is fast enough by leoboiko · · Score: 4, Insightful

    I used to run ratpoison. As others have already pointed, X is actually very fast, the problem are the toolkits. It's nice to have alternatives, but IMHO toolkit optimization is much more urgent.

    Today I'm using Gnome. It's beautiful and useful, but the feature that hooked me was the superb i18n support (now I can finally do with X11 apps what I always did with Emacs: switch the input method! No more restarting apps to write multilingual Japanese/Portuguese texts!). But it is not fast, and that's in a Duron 800, 128Mb RAM. Gnome can be great for the third world, where we still have lots of Pentium 100s hanging around. Gnome and KDE are both excellent desktops, but they need speedups.

    The main problem with X is (still) video card support and configuration (ever played with Trident TGUIs 9680? I have an LTSP net full of them). There's a lot of work to do, but we have come very far in this aspect. I doubt a "modern window system" wannabe could easily offer similar support.

    --
    Prescriptive grammar:linguistics :: alchemy:chemistry. Stop being a nazi and learn some science.
    1. Re:X is fast enough by Srin+Tuar · · Score: 1

      > No more restarting apps to write multilingual Japanese/Portuguese texts!

      Do you use im-ja ?

    2. Re:X is fast enough by leoboiko · · Score: 1

      Exactly. It's great, isn't it?

      (Note to the clueless: want to write Japanese in GTK apps? Try it.

      --
      Prescriptive grammar:linguistics :: alchemy:chemistry. Stop being a nazi and learn some science.
    3. Re:X is fast enough by Brandybuck · · Score: 1

      The main problem with X is (still) video card support and configuration

      Bingo! Windows comes with optimized drivers for nearly every video card, with the remainder shipped by the manufacturers with the cards themselves. Just this level of support alone for XFree86 would strike the death-knell for Windows.

      But I would add one other thing to the mix: memory versus speed. Most (not all) open source software is not optimized for drawing, while most commercial Windows software, particularly games, is. Having written a few widget themes for Qt, I know that most are themes, and thus KDE itself, are not optimized for rapid drawing. There's a trade off between memory usage and speed, and the current complaint for KDE and GNOME is bloat and not sluggishness. But Windows users typically don't give a rat's ass about bloat, and will purchase an additional 512M RAM every time Bill Gates says "boo".

      --
      Don't blame me, I didn't vote for either of them!
    4. Re:X is fast enough by Ruach · · Score: 1

      Eh, way off topic, but have you had success with XFree86 4.x and the TGUI 9680s? If so, please let me know what you did to get them working. I have one that would blank screen on every 4.x I have thrown at it (currently holding at 3.3.6 yearg).

      Thanks! Ruach

    5. Re:X is fast enough by leoboiko · · Score: 1

      They worked with X 4.3 (that means I had to install LTSP 4). If yours don't, try reading this random thread, then getting these drivers (who needs God, Google is much better)

      --
      Prescriptive grammar:linguistics :: alchemy:chemistry. Stop being a nazi and learn some science.
  47. This guy is doing it right for once by brunes69 · · Score: 1

    For once, this guy is trying to do a GOOD open source project. He is starting form the ground up with design documents, sepc'ing everything he wants out before he starts coding.

    Projects that are designed properly from the beginning and stick to that design while coding are normally more robust, and the actual coding is quicker since you already solved a large number of potential difficulties during the planning phase.

    1. Re:This guy is doing it right for once by manifest37 · · Score: 1

      ummm there is code did any of you check out the sf page

    2. Re:This guy is doing it right for once by jejones · · Score: 1

      Yeah, but remember Gabriel's "Worse is Better," network effects, and the difficulty of unseating even a lousy product that occupies a given niche. (Not to say that X is lousy.)

  48. right on! by SHEENmaster · · Score: 2, Interesting

    I use OpenBox, also a slimmed down GUI.

    One unexpected benifit of switching was the increase in the speed with which I can use it. I just spin my mouse wheel, and I'm on another desktop or a window has been (un)shaded. There is no slow config app, I can do everything from the menus.

    Getting people to switch from one windowing system to another is not easy. Apple accomplished it by providing usable, if lousy, backward compatibility and a complete OS change. Microsoft accomplished it by half-ass backward compatibility that was dropped within a few years. None of the window managers will take the lead if they don't provide network transparency(why X rules), virtual terminals(Aqua doesn't respect them), a wide variety of possible window managers (I'm not leaving OpenBox), and a healthy supply of visible advantages (more than just eyecandy) and new applications.

    I really think that X can be extended to what we want. Maybe someone should draft another revision of the protocol. There's no reason to start from scratch, and it's a waste to do so in the hopeless attempt to avoid bloated libraries and gain an alpha channel.

    --
    You can't judge a book by the way it wears its hair.
  49. That's the Beauty of OSS by gnuLNX · · Score: 2, Interesting

    You see some of us don't care about extending what's out there. Some of us do. The great thing is that we are all free to move and create as we please. Sometimes it is done for the greater good of the community sometimes it is for our own selfish reasons. Perhaps you should quit assuming that we sit up late hours pounding out code to fit in with some master plan you or others have.

    BTW I am glad there are people thinking about how to continually make the old better, maybe they will fail, but plenty will be learned.

    --
    what?
  50. What a cool project! by Fefe · · Score: 1

    Forget about xlib compatibility for a moment. This is not just some software wrapper implementing xlib on top of some crackpot graphics interface (while this is tedious and time consuming work, it can be done by any programmer).

    This is someone fusing the microkernel and exokernel concepts, which is way more exciting than fusing some implementation stuff together. This is actually computer science research what this man is doing, not just code hacking. I wish the man all the best for his work, for new directions in operating systems research are sorely needed, and exokernels are a particularly interesting concept (the exokernel inventors at MIT showed some really incredible performance gains, but their exokernel implementation was never aspiring to be a general purpose OS like this project).

    I will try to monitor this project and maybe even help a little.

  51. Microsoft owns all patents for OpenGL by Anonymous Coward · · Score: 0

    I recall reading last year that SGI sold ownership of OpenGL patents to Microsoft. SGI was open with OpenGL; therefore, it became a de facto standard like JPEG and GIF image formats.

    Could Microsoft, however, use ownership of these patents at will to demand royalties from products (i.e GPUs) that implement OpenGL?

    How would OpenGL based applications like this be affected if Microsoft opted to SCOnicate OpenGL? Basing anything on OpenGL could be playing with fire.

    1. Re:Microsoft owns all patents for OpenGL by Assmasher · · Score: 2, Interesting

      I'm pretty sure that all SGI sold them were patents covering IP discovered while SGI worked with Nintendo and MS bought them just prior to the release of the XBox. AFAIK OpenGL still belongs to SGI and the ARB.

      --
      Loading...
  52. Before I dig into the article by AndroidCat · · Score: 1

    Did they decide to use XML because it has X in the name?

    --
    One line blog. I hear that they're called Twitters now.
    1. Re:Before I dig into the article by ShavenYak · · Score: 1

      Hey, it was good enough logic for the XFL, wasn't it?

      --

      Hey kids, there's only 5 days left 'til Yak Shaving Day!
  53. Re:Hrmm - commercial Xservers by TheAcousticMotrbiker · · Score: 1

    I've had foirst hand experience with a couple of those commercial Xservers when trying to get a wildcat card to work under Linux.

    Big fun, not.
    It was expensive (mainly the card, which cost over $2000) and slow and required linking with different libGLs.

    Doing the same with XF86 and an nvidia card (geforce 4 series) we got
    - better performance
    - much cheaper
    - no relinking necesary (the nvidia libGL.so can be plugged inplace of the mesa ones and will work).

    I've tried another (commercial) xserver on an older gateway laptop with ATI rage mobility card.

    One again it was an act of frustration comparable to my early days of XF4.0.0 (or actually 3.99.99) where you basically had to craft an entire XF86Config file by hand and pray it would work.

    When I finally had evrything up and runnign the 2D was slower (although only slightly) and the Xserver was simply not stable.

    The experimantal DRI patches for the 8M mobility were about as stable (cannot remember which one had a better framerate, but both allowed me to play quake3 .

    Having said all that though, this sounds like something really prmising, but unless they can get this towork on the latest geenration of GPUs (nvidia, ati, matrox) this will never take off.

    And of course, it would need to be network transparent, so that you can still run xbiff on your solaris box and have it display onyour linux X-screen

  54. What would you prefer? by alex_ant · · Score: 0, Offtopic

    REOSpeedwagOS?

  55. Re:Hrmm - commercial Xservers by dAzED1 · · Score: 0, Troll

    craft an entire config file? By hand? No freakin way. That's absurd.
    At what point did Linux start being used by people who wanted everything done for them? I don't want an OS that is configurable by the mainstream. Usable? Sure, what the hell. Don't care. Configurable? Not if they don't want to learn how to do a few things...

  56. XML is not a protocol! by asb · · Score: 2, Insightful

    What kind of dumbasses submit these articles?

    XML is not a protocol! XML is a method of formatting structured text data. In this case the protocol seems to be HyperQueue (whetever that is) and the payload is formatted in XML (and compressed).

    Using XML instead of a streamlined binary format and then compressing it to save bandwidth is double stupid.

    --
    Antti S. Brax - Old school - http://www.iki.fi/asb/
  57. get away from sockets? err...no by dAzED1 · · Score: 1

    everything is a socket. Its things that aren't that cause problems. Its supposed to be such. Its intended that way.
    That, and as has been pointed out - there are indeed fast commercial XF86 systems (so we know its possible...). What X needs is not a replacement, but a restructuring and attunement. You need the option of something built ground-up with GL support, and as an alternative (for the lil pda or whatever) something that isn't - have your happy little gui install determine ask you which you would prefer.
    Then the community needs to not write things that don't need the GL specifically for the GL version, and instead make it work on both. Only those things (games, video editing or viewing of any sort, etc) that need it should make use of the differences in libraries and such.

  58. Area you mad? by baadfood · · Score: 1

    Dude, the protocol is XML based. This is not a way to make anything - other than development time - faster.

  59. I am a Qt Developer by Anonymous Coward · · Score: 1, Insightful
    And i have noticed that GTK has become a lot slower with gtk 2.2 while QT 3.2 has become a lot faster? Why? Look for yourself

    Here is a crude diagram of how Qt works.
    KDE > QT calls > StyleEngine > QTKernel > XRENDER > X11 > GPU > Display
    GTK works like this.
    GNOME > Bonobo > Orbit > LibrSVG > GTKX11 > GTK back end > Glib > X11 > CPU > GPU > Display
    Athena works like this
    Xawlib > X11 > CPU > GPU > Display
    As you can see, Qt and athena have less abstraction layers to go through, and that makes it run a lot faster. Anyone who has used konqueror recently (kde cvs or 3.2 alpha) will love the speed. Heres why its much faster

    Mozilla
    Gecko > XPCOM > XUL > LIBXML parser > libpr0n > GTK > X11 > CPU > GPU > DISPLAY
    Konqueror
    KHTML KPART > KDE > QT > X11 > CPU > GPU > DISPLAY
    The reason why konqueror is much faster is because it uses native qt calls rather than a kludgy language called XUL which needs to be parsed and converted into GTK calls which goes through the usual slowdown! Thats why apple uses KHTML technology in its browser, no need to bog your new G5 with mozilla!

    X is not slow, just run a app through a tracing tool and see how many library calls GTK apps make compared to KDE apps, its insane!

    Hence because GTK is so slow, the gnome team had to strip their apps (read : remove features) to compensate for it.
    1. Re:I am a Qt Developer by licketyspit · · Score: 1

      too bad the QT libraries aren't available under the gpl for as many platforms as the gtk or I bet we'd all switch.

  60. Who cares?!? by Anonymous Coward · · Score: 0

    Why do the lame-assed UI crowd keep posting about these lame-assed UI/GUI's that don't stand a ghost of a chance of ever being adopted? Could it be that they think that the Linux/BSD/Open Source/Free Software cummunity is actually *STUPID* enough to work on their lame-assed ideas just so the UI crowd can come along later and claim all the credit for work they never did? Sure as hell sounds like it.

  61. solving nonexisting problems by Tom · · Score: 1

    Which speed problem? I've been working over ssh-tunneled remote X connections without even noticing.

    All these "X sucks, we're gonna make something better" projects bore me. We've had them at a rate of about 1 per year. So far, none of them have produced anything worth a 2nd look.

    Call back when you have a tech demo.

    --
    Assorted stuff I do sometimes: Lemuria.org
    1. Re:solving nonexisting problems by Eric+Ass+Raymond · · Score: 1

      I don't know what programs you're running and through what kind of a pipe, but Mozilla used remotely over a 512/512 DSL line is simply useless.

    2. Re:solving nonexisting problems by grolim13 · · Score: 1
      I don't know what programs you're running and through what kind of a pipe, but Mozilla used remotely over a 512/512 DSL line is simply useless.

      I suspect that this is mainly due to the latency of the DSL line, rather than the raw throughput, although 512kbit isn't really a lot for X to play with. Something like TightVNC will feel quite snappy - it's even usable on a 64kbit connection. On the other hand, over 100Mbit ethernet you will likely never notice the difference between a remote X app and an app running on the local machine unless you're doing something silly like streaming video or playing quake.

  62. Socket speed net necessarily significant by xyote · · Score: 1

    The 2x speed up was comparing to sockets and sysv message queues alone. It's possible, especially if you are avoiding syscalls and the sysv message queue implementation is particularly inept. But it depends on what the overall percentage of overhead is attributable to queueing vs. rendering. If queueing is only 4% of overhead, then a 2x improvement is only going to be a 2% performance improvement. Maybe if they really are writing to X pixel by pixel.

    1. Re:Socket speed net necessarily significant by Shimbo · · Score: 1

      The 2x speed up was comparing to sockets and sysv message queues alone.

      Agreed. You probably can't achieve significant overall speedup in X that way. That's not a good reason not to use the fastest available method if there is OS support.

      It may well be true that the small overall performance gain isn't worth the pain of adding new kernel interfaces to Linux. That's an architectural issue though.

      I'm just disappointed that this discussion has turned into yet another 'why socktes don't slow down X'. I guess the top-leve poster was too - this is just one of the articles where I wish I could mod the summary as a troll and get people to read the original FA.

  63. Chill, it's OK! by phrostie · · Score: 1

    it's a shame that everyone always get all up tight over replacements for X and Xfree86. i use Xfree86. it does what i need, and is more than fast enough for what i do(3D graphics). even still, if some one wants to come up with an alternative, Great!
    if they can make it compatable with the tools i already use, Even Better!
    I'll try it.
    if it is an improvement, then i'll keep it.
    if not, i'll go back to Xfree86. it has always served me well.

  64. Move along by Hard_Code · · Score: 1

    This is not the project you are looking for.

    Y: A Successor to the X Window System is.

    Now move along.

    --

    It's 10 PM. Do you know if you're un-American?
    1. Re:Move along by Anonymous Coward · · Score: 0

      No, it's not.

      XFree is fine where it is.

      For some reason, people insist on trying to fix that which is not broken.

  65. Personally by alex_ant · · Score: 1

    I wish I had more freedom to use non-shitty reinventions of the wheel. Something that OSS sadly has way too much of.

  66. hardware specs by Anonymous Coward · · Score: 1, Insightful

    > I get full-window dragging and resizing in WindowMaker on my old 366MHz laptop

    I got that on my 8Mhz RISCOS computer.. why are modern desktops so inefficient?

    1. Re:hardware specs by Anonymous Coward · · Score: 0

      If everyone ran slow computers, then software like this would be designed to run on them.

    2. Re:hardware specs by rpozz · · Score: 1

      RISC OS was designed to run on very specific hardware - and had some hardware acceleration (the VIDC chip). Also, because it was co-operatively multi-tasked, it single-tasked while moving/resizing windows - so it isn't really fair to compare it.

      However, it still rocked.

  67. Pseudo-Googlewhack by sward · · Score: 1

    Google for HyperQueue. It returns one hit (pointing to the JourneyOS homepage at SourceForge), plus a suggestion that you instead search for HyperQueer (Ooookay).

    (Okay, so this is one word and not two -- two being required for this to be a true Googlewhack).

  68. There's a nice discussion about X... by Trolling4Dollars · · Score: 1
    ...in a poll from a week or two ago:

    Started by me.

    I post this here mostly to clarify any misconceptions that folks might have about XF86. On the other hand I say bravo to anyone who can provide an alternative to XF86. We could use one. Even if this project turns out not to be "it". Personally I'm holding out for this one. And keep in mind folks, do not throw the baby out with the bathwater!

    1. Re:There's a nice discussion about X... by hughk · · Score: 1
      Yes, it was a forthright discussion wasn't it? However you are right, X isn't a GUI. I fire it up and I get a stippled grey over my monitor. Thats it.

      However, I love X - I still use its network transparency all the time. However XF86 ain't the bees knees but X is good. A faster driver would help a lot, especially if it could use some more hardware features when they are available.

      --
      See my journal, I write things there
    2. Re:There's a nice discussion about X... by Anonymous Coward · · Score: 0

      From directfb.org:

      DirectFB is a thin library that provides hardware graphics acceleration, input device handling and abstraction, integrated windowing system with support for translucent windows and multiple display layers on top of the Linux Framebuffer Device. It is a complete hardware abstraction layer with software fallbacks for every graphics operation that is not supported by the underlying hardware. DirectFB adds graphical power to embedded systems and sets a new standard for graphics under Linux.

      What about every other unix flavour? The BSDs? Solaris? Anything else that runs X that is not linux?

  69. XML has new capabilities? by SleezyG · · Score: 1

    uses XML as the communications protocol

    Last I checked, XML is a markup language (like HTML) and has no associated protocol specifically designed for transporting it. Note that HTML does have an associated protocol, it's called HTTP.

  70. HyperQueues? Get real. by frostfreek · · Score: 1

    I would have expected something like a 10x performance boost for something named "Hyper" Queues, rather than approximately a 2x boost. This 2x could easily by eaten up by the size of the messages, using XML messages instead of X11 protocol messages.

  71. Why I am tired of this "let's replace X" s&%@. by DrWhizBang · · Score: 3, Insightful

    "X is slow"
    "X is bloated"
    "X is old"
    "X needs to be rewritten"

    Blah, blah blah, blah, blah. Blah. I'm going to be honest here, workstation performance is abysmal on any of the recent flavours of Unix, expecially gnome/KDE, and expecially XF86. There are basically two reasons for this:
    1) XFree86 sucks
    2) and XF86 sucks
    (I am not being sarcastic - please hear me out...) Xfree86 sucks because it does not have good drivers. Many functions run unaccelerated on cards that have all kinds of cool acceleration features. It seems some of these features have been written, but not added to the tree ( or so I have been told.)
    XFree86 sucks because it has not been proactive in implementing the features/extensions required by the newer toolkits like gtk+/qt. Are you aware that gtk pushes everything as a bitmap through the X protocol for each expose event? XRender is probably the only instance where the toolkits waited for an X extension to be developed before added in a feature that required it - generally the toolkit authors, rather than wait for an X extension or piece of functionality, they will implement it in the toolkit so that the client just pushes the pixels dow to the X server.

    Do not look to discard X. X is in fact the one thing that we have that Windows and Mac do not have. It gives us years of backwards compatiblity, and an extensible, network transparent architecture. Instead, we should put our hopes in Xouvert and similar projects that are looking to give us a world-class X server, and the pieces that the toolkit authors need to optimize their toolkits for X.

    --
    Schrodinger's cat is either dead or really pissed off...
  72. Put Gnome and KDE in the kernel.... by hughk · · Score: 1
    and get rid of all those troublesome and time delaying context switches. I'm sure that X would then go much faster, and the kernel would panic faster too!!!!

    It was one of Microsoft's more brain dead ideas putting the GUI mostly in kernel space and then having interactions with drivers. The increased reliability is one area which I'm glad to pay for with slightly worse performance.

    --
    See my journal, I write things there
  73. desktop environments by DreadSpoon · · Score: 1

    sure, and my pure-text console screems on a p66.

    if GTK or Qt, both well designed toolkits, run slowly, chances are, it's *not them*. X has lots of problems forcing both of those toolkits to do a lot more work than they should need to in order to provide functionality to the user. if you bitch about apps being the problem, and to just remove the apps... what is the point of using my computer at all then?

    your previous post also goes on with some more nonsense facts, like how WindowMaker being C makes it noticably faster - I hate to tell you this, but just about all of GNOME is written in C, too. ;-)

    im not saying GTK/Qt/GNOME/KDE don't have problems (GTK still doesn't handle events as efficiently as it could, forcing more round trips and redraws then necessary), but they are far from the only problem.

    not even your WindowMaker can do some of the things OS X and Longhorn can(will) do, simply because basic 2D acceleration with a complete lack of things like transparency isn't enough. to say XFree86 is perfectly fine and speedy is like saying your tty is perfectly fine and speedy - technically true, but completely irrelevant of what *most* people actually use their computers for.

    1. Re:desktop environments by MarcQuadra · · Score: 1

      Alright, try running the KDE port for Win32 and show me how the problem is X. I guarantee that KDE on Win32 is slower than KDE on X.

      Even if you optimized it to hell it would still be faster on X because X is faster than Windows.

      --
      "Sometimes, I think Trent just needs a cup of hot chocolate and a blankie." -Tori Amos on Nine Inch Nails
    2. Re:desktop environments by Anonymous Coward · · Score: 0

      KDE for Win32 uses XFree86 and the very slow cygwin library, so that would prove nothing except that more software layers make thing slower.

      And there's no way you can say that X is faster than Windows GDI, simply because GDI exposes more hardware features of your video card.

    3. Re:desktop environments by Brandybuck · · Score: 1

      I have some Qt programs that I've built natively for XFree86 and for Win32 (not cygwin). I see no speed or responsiveness difference between them. None. Of course, this is subjective, because I've never sat down and benchmarked them.

      --
      Don't blame me, I didn't vote for either of them!
  74. Threads anyone? by hughk · · Score: 1

    Queueing messages in shared memory isn't new. Neither are spinlocks. Indeed, if you have done much threading on multiprocessing systems (with more than one thread active), you have probably already done this. However, a spinlock spinning is expensive.

    --
    See my journal, I write things there
  75. What are you? A dumbass? by gr8_phk · · Score: 1

    How stupid can they be? Ripping off a bunch of old Journey grahpics, and record titles. Sure, the name can be used because they're not making music (at least until they bundle an mp3 player) but the album cover images on the site are certainly ripped off and should not be used. BTW, I didn't see the license. Is it GPL? We don't need another "closable source" window system. Then again, we don't need GPLed projects running around with ripped-off logos.

  76. How was OS X a step backwards? by Anonymous Coward · · Score: 0

    Just curious, using OS X today and always wanted to use NeXT back then but could never afford to.

  77. also, by Anonymous Coward · · Score: 0

    the article states that they will be able to easily convert to ASN.1, which appears to be made for this kind of thing.

  78. PicoGUI by GoRK · · Score: 1

    I don't know where the submittor is going saying that PicoGUI has given up on X11 compatibility -- It has a native X11 output driver with root window support! AFAIK, it calls Xlib directly.

    Note that it also has an SDL driver that keeps everything inside a window, but that is simply just another output device to PicoGUI. It's not just a windowing toolkit after all...

    ~GoRK

    1. Re:PicoGUI by multi+io · · Score: 1
      I don't know where the submittor is going saying that PicoGUI has given up on X11 compatibility -- It has a native X11 output driver with root window support! AFAIK, it calls Xlib directly.

      Quite obviously, he was talking about X11/Xlib compatibility in the client-side APIs.

  79. Jabber by Anonymous Coward · · Score: 0

    That must be why jabber is so horribly slow. Completely unusable. Not.

    1. Re:Jabber by quigonn · · Score: 1

      Jabber is not designed for transporting low-level graphics information, you idiot.

      --
      A monkey is doing the real work for me.
  80. well, duh! there is xdirectfb you turds... by xshader · · Score: 1

    hey, didnt everyone hear the last time i shouted that XDirectFB does X compatibility for DirectFB? all we (as in everyone using X11 right now) has to do is fuck XFree86 RIGHT NOW and start using DirectFB.

    gtk2 has been ported to run nativly on DirectFB so all (most) gtk2 apps already run nativly. just all the rest of those other apps need to run in the X server (XDirectFB) till someone ports them over.

  81. the Windows WM doesn't have desktop icons either! by MarcQuadra · · Score: 1

    Alright, the Windows Window Manager doesn't have 'desktop icons' either, explorer.exe provides them, the file manager provides them. Don't believe me? open an app, and kill explorer.exe with the task manager, watch 'my computer' disappear.

    You can certainly run an external file manager that provides desktop icons under WindowMaker, and that would be the only fair way to compare these apples.

    --
    "Sometimes, I think Trent just needs a cup of hot chocolate and a blankie." -Tori Amos on Nine Inch Nails
  82. Proprietary? by LMCBoy · · Score: 1

    Infinity LibOS...has what is primarily a proprietary API with some POSIX compatibility where it is sensible.

    Is this just poor wording choice, or is he really trying to fork a GPL'd project and make it proprietary?

    There's nothing about licensing at the linked sourceforge site, and his CVS repository is just an import of Fiasco at this point, AFAICT.

    --
    Liberal (adj.): Free from bigotry; open to progress; tolerant of others.
    1. Re:Proprietary? by endrek · · Score: 1

      mmm... The kernel will be hacked up into an exo kernel... less than a micro kernel... it simply provides some hardware abstraction. All the API a program uses comes from OS libraries that sit ontop the exo kernel. So you can have as many APIs running at once. Currently journyos seems to have two oslibs planed. infinity, which will be as said, proprietary, and departure, which will be a posix/linux libos, i think with the goal of running linux binaries even maybe.

      So you're real beef is with infinity libos and i believe when they say proprietary api, they more mean, their own api, not mimicking anything thats already out there. Departure will do that. And I believe they eventually plan on looking at writing a windows libos as well. This would mean you could run linux and windows apps side by side in the same os, as well as infinity/journyos apps

  83. Journey OS... Heh. by Chordonblue · · Score: 0

    It seems to me that something that can 'faithfully' run xlib stuff 'any way you want it' and embrace XML with 'open arms' deserves a chance. Of course, going 'separate ways' on the Xfree86 compatibility could really put it in the 'line of fire'.

    My appologies, a Journey fan... ;)

    --
    "...Well, there's egg and bacon; egg sausage and bacon; egg and spam; egg bacon and spam; egg bacon sausage and spam..."
    1. Re:Journey OS... Heh. by Espressoman · · Score: 1

      Oh, you might make fun, but if you look at their site you will see an announcement that the JourneyOS site has been shut down due to a cease and desist from the lawyers of the band Journey. Doesn't that just do your head in!

      I hope they are joking.

  84. What happened to simplicity ? by master_p · · Score: 1

    Since the guy is to write a totally new O/S, I advise him the following:

    1) make the system full object-oriented inside-out, from kernel to applications.

    2) let the system manage the inter-object communication:

    a) if objects live in the same process, then they are linked together.

    b) if objects live in different processes, use an interprocess communication.

    c) if objects live in different machines, use an IPC communication.

    All the programmer must see is a 'object.foo(param1, param2, param3)' in all applications under all circumstances(in-process, inter-process, remote).

    The system will also manage security and access during object communication.

    After the object mechanism is well established, it would be trivial to:

    1) have GUI objects either in the same process, different processes or different machines.

    2) allow users to easily reuse GUI resources (fonts, bitmaps, etc)

    3) new functionality can be later implemented by simply replacing class X with subclass Y.

    4) older apps can be retrofitted by replacing old class with new class of same name; the system must do class versioning.

    This mechanism also extends into the non-GUI realm:

    1) information as objects (with reflection!!!)

    2) a consistent object model that all applications see.

    3) ability for scripts to use the same objects as statically compiled code.

  85. X IS slower (and why) by timeOday · · Score: 1
    I hate to say this, as I am the "linux guy" at work, and writing this on mozilla, etc, etc, but X is slower than Windows. Even under e.g. fvwm2 which is what I use. Just scroll up and down in any application, or move a window around. Windows is clearly more snappy.

    I think it's partially because the Windows GUI is in the kernel.

    It think it's also because X is based on messaging. Even when running locally, XLib serializes gui calls into messages, sends them through a socket, then the X server parses and interprets them. That is going to slow things down.

    The right way to do it is to have programs dynamically link to a different implementation of the GUI library, depending on whether they'll be running locally or remotely. Calling into the local version of the library should not construct any "messages," just a trap into protected mode when it comes time to access the hardware. If running remotely, then the gui library is a proxy which constructs and sends messages, like X.

    This could all be implemented while preserving Xlib compatibility, it just wouldn't use the X wire protocol. But honestly, who constructs their own X messages instead of using XLib?

    As for this idea of using XML, I think it's nuts. We've got to get "parsing" out of the equation, at least when running locally.

    1. Re:X IS slower (and why) by MarcQuadra · · Score: 1

      I call your error. X might _feel_ slower to you, but if properly configured it has incredible graphical performance. Your 'scrolling window' example inherently is relying on a third-party toolkitt that runs on top of X. A better comparison would be to grab a window and move it all over the place really fast, because that's going to be a lot more X and a lot less toolkit (oversimplification, I know).

      In Windows the scrollbar and it's function are rolled up into a single, integrated GUI package. In a non-xlib X app (like the one you're comparing to) the scroll functions belong to a toolkit that 'translates' down to X for function.

      Like I said before, if you don't believe me you can run KDE on Win32 and see for yourself, the core of X graphics and the core of Win32 graphics are both wicked fast, but on X most apps run through several layers of interpretation to get the job done, and on Windows they do not.

      Perhaps it's time to integrate GTK+ APIs into X, make it 'lower' and closer to the core, and see what happens when it doesn't have to translate down.

      --
      "Sometimes, I think Trent just needs a cup of hot chocolate and a blankie." -Tori Amos on Nine Inch Nails
    2. Re:X IS slower (and why) by Anonymous Coward · · Score: 0

      You might be the 'linux guy' at work, but you're missing one thing... Local sockets are almost as fast as any other shared memory system & far less disruptive than making system calls every time you want to move a window.

      Besides, last I checked, the win32 API was -also- based on a message passing paradigm; if you start giving programs too much direct control over graphics you run into a nightmare...

    3. Re:X IS slower (and why) by sander · · Score: 1

      Except you are completely wrong...

      * X is slower, and will always include more context switches for local display. This is the price you pay fopr networks transparency. It is slightly less slow (buts still slower) if you make use of say teh SHM extension

      * if you are moving that window over other windows, then X will do much worse ifg it lacks backing store or your widget set doesn't cope with it.

      * The scrollbar is *not* a integrated GUI package on Widows. Win32 has a similar abstraction between windowing and widgets like X, teh "default" toolkit on windows is not special in some way. You can implement custom widget and toolkits just as easily as under X.

      * integrating gtk+ into X is horribly bad idea and will not actually give you that many benefits.

  86. I'm working on one, too by warrior · · Score: 1

    I mentioned in this in a prevous post last summer (/. isn't working correctly now and I can't pull up the link, so if you can browse my user posts, it's in there somewhere)

    So far I've got the compositing of windows down, windows are displayed hierarchicly and can be composited with any of the gl blend functions, and any arbitrary gl rotation matrix (my switch desktops routeinis going to look somewhat like you're entering hyperspace in the Falcon, cheesey and unnecessary, yes, but definately has a high WOW factor.

    The communciation is over pipes and it is very fast, no problems there.

    The selection mechanism works great, I just render the window ids to the backbuffer and use glReadPixels to get the id and send window events to the clients. The events I send are just like xlib (no Expose events, though!! :D), so far I send enter/leave notify, button press/release, motion notify... windows default to a button grabbing mode and can pass grabs onto other windows, implimenting a popup menu system in a tk should be trivial.

    Currently I'm just about to impliment the font selection/drawing scheme (arbitrarily scaled/rotated fonts, resolution independence so you can have nice sized, crispy fonts, and possibly use hw routines to aid in anti-aliasing).

    So that's where the project stands. The programming model is similar to X w/o a lot of the cruft. Did I mention it's really fast? Hopefully I'll have a demo out on sourceforge soon, this is NOT vapor...

    Cheers, Mike

    --
    Intel transfer the difficult from Hadware to software, for get more power, programmer need more technology. -- chinaitn
  87. ASN.1, not XML for internal comm. [Re:bah.] by j.leidner · · Score: 0

    One of them being the retarded use of XML on an _internal_ data pipeline.

    Thanks for pointing out this obvious design flaw.
    If they need to specify a syntax for internal purposes, why did they not choose ASN.1 (ISO/IEC 8824-1) instead?

  88. I'd complain about KDE by Enahs · · Score: 1

    but it's plenty fast for me. And I don't even have that great of a machine. I should point out i've been running KDE CVS for a while, so don't bother griping about KDE 3.1/3.0/2.x/1.x. ;-D

    --
    Stating on Slashdot that I like cheese since 1997.
  89. Re:Hrmm - commercial Xservers by dAzED1 · · Score: 1

    LOL...troll? how was that troll?

    whatever. They give anyone mod points - even 6-digit folk.

  90. Major Copyright Volations .. by nurb432 · · Score: 1

    In their naming and logo conventions..

    Unless they got permission from the record label...

    Why ask for trouble like this..

    --
    ---- Booth was a patriot ----
  91. OpenGL? Pah... by Wienaren · · Score: 1

    Looking at the more or less crappy DRI drivers available currently, I doubt that OpenGL (based on DRI, ie open source) will ever suit as a stable ground for a secure and stable windowing system. Not even mentioning that vendors don't release docs (especially on the 3D part of the hardware) these days.

    --
    -- The Online Photo Editor - http://www.phixr.com
  92. Moore's Law? by KrackHouse · · Score: 1

    In a couple of years computers are going to be fast enough that even bloated XML will be good enough. Not only that but I just tried out the 2.6 test kernel and X is a lot more responsive. It's noticably better on slower machines.

    --
    What if Digg added local news and a Slashdot inspired comment karma system? ---
    http://houndwire.com
  93. Bad buzzword bingo joke by pjc50 · · Score: 1

    So, not only are they using one of the least efficient on-the-wire protocols known to man, they're using a ghettoised WAP-orientated XML binary format.

    And they are going to handle vectors with SVG.

    This is what you would get if you asked a marketer to write a press release for an X replacement. There's no technical merit shown here at all.

  94. Re:ARGGH! X isn't where the slowdown is! (offtopic by random735 · · Score: 1

    how'd you get full window resizing in windowmaker? I thought it wasn't supported (just dragging)

  95. Let me get this straight.... by AJWM · · Score: 1

    By replacing Unix domain sockets with hyperqueues (about twice as fast), and the X protocol with XML (an expansion of what, 5 times, 10 times?) you expect things to get faster? Somebody needs to check their math.

    How about just adding a hyperqueue option to X?

    (And yeah, I know, the X Server isn't the bottleneck anyway. Heck, you can implement an X server in Java and still get reasonable performance (well, to a point), so it's clearly not the bottleneck.)

    --
    -- Alastair
  96. Ah! by jav1231 · · Score: 1

    Does it require the newer Augeri kernel or will it run on the old Perry kernel? Okay, that was bad...ahemm...

  97. Bill Joy says by joshsnow · · Score: 1

    This quote by Bill Joy sums up XFree86 for me; That reflects a lack of design discipline, which means that as the system grows, so does the ambiguity of the software itself. The result is a system encrusted with multiple layers of things that weren't really designed in so much as bolted on

    The point is that users who desire to use a rich desktop environment (KDE or Gnome) suffer because of the extra layer of abstraction provided by the toolkit and needed to provide that richness.

    X may very well be quick, but to be truly usable, in the sense that we understand usability when speaking of modern GUIs, a toolkit and other functionality is needed. As soon as that is added, performance decreases.

    I think a redesign is needed and this project at lease takes steps to address that.

  98. Can't Resist.... by Tsali · · Score: 1
    [xml screenshot][name]B.S.O.D.[/]
    [author]Gates, B.[/][screen]
    [pixel][y]1024[/][x]635[/] [red]0[/][green]0[/][blue]255[/][saturation]0[/] [/pixel]
    [(...)]
    [/screen]
    [/xml]
    --
    This space for rent.
  99. What speed problem? by penguin7of9 · · Score: 1

    Could this get rid of the speed problems of XFree86 while still retaining Xlib compatibility?

    There is no "speed problem". XFree86 is a client/server window system, just like Windows and MacOS. All of them require IPC for clients to communicate with the server. Unlike Windows or MacOS, X11 has been designed for this mode of operation from the ground up, which is why most of its calls are asynchronous and why most toolkits can deal with that. In contrast, Windows and MacOS support applications and programmers that assume they are running no top of a framebuffer library. And the X11 protocol, Unix-domain sockets, and its shared memory mechanisms are about as efficient as you are going to get.

    These days, X11 desktops like Gnome and KDE are slow on low-end machines not because of anything having to do with X11 but because they are big, complex pieces of software that haven't been optimized or tuned very well.

  100. Hello????? by Anonymous Coward · · Score: 0

    "handhelds are also light on memory, so a more "cut-down" version of X..."

    I think X's memory consumption will pale to the use of XML.

  101. use HyperQueues with X11 by penguin7of9 · · Score: 1

    X11 is happy to use whatever transport protocol you like. It used to run over DECnet, and if HyperQueues are twice as fast as Linux UNIX-domain sockets, it may make sense to add HyperQueues support as an alternative transport mechanism for X11 in Linux.

    Adding this sort of thing to X11 is trivial because it has been designed from the ground up as a client/server system (unlike Windows or Macintosh, which have become client/server only comparatively recently).

    I guarantee you that running the standard X11 protocol over HyperQueues is going to be faster than running any kind of XML-based protocol over HyperQueues. (Note also that work is underway to add display-side stored SVG graphics to X11 to give you DisplayPDF-like capabilities.)

    Overall, with X11, you can get the best of all worlds: stay backwards compatible and actually be more efficient than Frontiers. There is no need to throw out X11 just to use a new transport mechanism.

  102. Re:the Windows WM doesn't have desktop icons eithe by 10Ghz · · Score: 1

    Who talked about WM's? Apparently you did, but I was talking about the entire desktop, not just the WM.

    --
    Lesbian Nazi Hookers Abducted by UFOs and Forced Into Weight Loss Programs - -all next week on Town Talk.
  103. X y: and others by ColeNielsen · · Score: 1

    It seems to me that once again we are utilizing the power of open source against ourselves. The plain truth is that X11 is HUGE!!! It's based on code that was developed to function on VERY primitive hardware. Instead of changing that code, It was simply added on to. This does make X11 run quite slow in some configurations, regardless of the windomwanager and whatnot.

    My suggestions - take what we have learned from X11 -> start a new windowing system from nothing and develop a system DESIGNED for todays insane hardware. I would volunteer but my coding is less than up to par to develop a fast windowing system.

    A nice option would be ports of the XFREE86 libraries which could utilize the new windowing system for those folks that want to continue utilizing lightweight X applications.

    Just my $0.02

  104. XML? by ay2b · · Score: 1
    Could this get rid of the speed problems of XFree86 while still retaining Xlib compatibility?

    Possibly, who knows?

    uses XML as the communications protocol.

    Well, I guess that answers the above question...No. Even if it may be technically possible to use XML and fix the speed problems, I wouldn't trust that someone who chose XML for this sort of protocol would actually be able to pull it off, until I saw the completed code.

    --
    "Those who would sacrifice essential liberty for temporary safety deserve neither liberty nor safety."
  105. X really does suck as an API, imho by dingbatdr · · Score: 1


    I am not an expert in X. Most of the X code I have written is for the very specific application of visualizing numerical data.

    I find X really difficult to use as a programming
    interface and I suspect many others do as well. There are ~10,000 pages of documentation of X and not an example in the bunch. I think this is why so many layers (Motif and on up) are built on top of X. If it is the upper layers that are slow, it is still the fault of the crappy API that the layers are necessary. It just shouldn't be as hard as it is to put up a window with a few buttons.

    --
    The truth is an offense, but not a sin.------R. N. Marley
    1. Re:X really does suck as an API, imho by X-Guy · · Score: 1

      X is not an API. Xlib is an API, but it's not X. It's just a low-level interface to the X11 protocol. I'm not sure the original authors ever intended people to write directly to Xlib but to use toolkits built on top of it, and there are plenty of toolkits built on top of Xlib so you don't have to deal with Xlib directly. High level widgets have no business being in a low-level protocol interface. All your complaint indicates is that you chose the wrong level to write to.

  106. Re:Why I am tired of this "let's replace X" s& by benjamindees · · Score: 3, Interesting

    Many functions run unaccelerated on cards that have all kinds of cool acceleration features... Are you aware that gtk pushes everything as a bitmap through the X protocol for each expose event?

    Thank You. No one knows that; or seems to care. I'm currently playing around with a P200 with an S3 Trio64 that gives better (single pixel) Xperf results with the VESA driver than with the (accelerated?) S3 driver. KDE seems to run faster with the unaccelerated driver, which is completely unexpected.

    XFree has little to no information on problems like this because they discourage discussion of performance to avoid playing favorites among video card manufacturers. There needs to be someplace that Joe User can go to get realistic advice on graphics performance in Linux, something besides the usual "buy an ATI/nVidia" spiel.

    I think it's a good thing that these type of articles get posted once a week because someone needs to start talking about this; it is a serious problem that most noobs think graphics performance on Linux sucks and everyone just tells them that it doesn't or that they should use something other than KDE/Gnome. It seems that graphics and, by extension, gaming are the only areas left to hinder Linux from widespread desktop adoption by the average Windows user.

    --
    "I assumed blithely that there were no elves out there in the darkness"
  107. Re:ARGGH! X isn't where the slowdown is! (offtopic by MarcQuadra · · Score: 1

    actually I had an app that drew it's own resize handle INSIDE the WindowMaker resizer and I used that.

    --
    "Sometimes, I think Trent just needs a cup of hot chocolate and a blankie." -Tori Amos on Nine Inch Nails
  108. I am NOT a Gtk+ Developer ... by bockman · · Score: 1
    but in your chain for Gnome, namely
    GNOME > Bonobo > Orbit > LibrSVG > GTKX11 > GTK back end > Glib > X11 > CPU > GPU > Display
    you include Bonobo & Orbit, which are not part ogf GTK+ last time I checked and only come into play for inter-process communications (in such situations, I believe KDE also uses Kparts or whatever has substituted it).

    BTW, you are only counting software layer by name, while you should consider how 'deep'(read: average number of internal sub-layer) each layer is: two tin layers can be faster of a thick one.

    I am not saying that GNOME is faster than KDE: only that your example show nothing.

    --
    Ciao

    ----

    FB

  109. Speed and responsiveness by Brandybuck · · Score: 1

    A lot of people are talking about speed and responsiveness issues with regards to XFree86, Win32 and the various X replacment projects. So I'll interject with a real-world example.

    At my work we design and build medical imaging systems that aquire their imaging data in realtime. Our current shipping system has been around for five years. It uses a i486 processor, 16MB to 256MB RAM (depending on configuration), a realtime UNIX OS, and a really old Xfree86. It's currently the number one premium system of its type.

    But new management has come in, and they're Windows people. So the new system to replace it is to be Windows based. The new system has a P4 1GHz, 1Gig RAM, Windows XP Embedded, and of course, Win32.

    The imaging data is aquired and displayed in a separate GUI layer at the rate of about about 16 FPS. Surprise! Win32 isn't fast enough for this. No, Win32 isn't drawing to that special layer, that's done in hardware, it's only drawing the labels and data fields on top. But it's too slow! In order to get any usefull performance out of the new system, they had to abandon Win32 for drawing and use DirectX.

    But the old system could handle it just fine. In other words, a XFree86/Motif system running on a 100MHz 486 could redraw GUI text faster than a XP/Win32 system running on a 1GHz P4. That's right. Win32 is significantly slower than XFree86 when it comes to your normal everyday widgets.

    --
    Don't blame me, I didn't vote for either of them!
  110. Hardware drivers solution. by ratfynk · · Score: 1

    The majority of comments have correctly pointed out that the problem with X is not the core. What Linux needs now more than ever is for hardware manufactures to help with sub-system optimisations. I still think the idea of a Linux friendly award might be a partial solution. Tux is becoming very well known, (especially in the asian market place), so a happy penguin sticker might work. The guys at RedHat and Suse could sponsor something like this. I have an cheap 1999 P11-P111 mainboard p6setML, it came with all the needed Linux drivers on a CDROM, amazing. Companies that do this need to be recognized for their efforts!

    --
    OH THE SHAME I fell off the wagon and use sigs again!
  111. X is slower than molasses going uphill. by rice_burners_suck · · Score: 1
    X is SO SLOW because it is coded in the most ineffecient way possible! It contains calls to subroutines, for crying out loud! Do you have any idea how much overhead is incurred for every push, call, and pop? It's almost frightening! I am running X on a manual processor (you have to carry out the instructions manually and pencil in the results on a big worksheet) with 128 sheets of 8.5x11 paper for RAM, with a display based on LEDs that are manually set with toggle switches (powered by six rats that run inside a generator, no less), over a TCP/IP connection based on smoke signals from my cave to the next mountain across the desert valley, and XFree86 has noticeable performance problems! Window dragging can be particularly choppy at times. THIS PROBLEM MUST BE FIXED!!!!

    I propose that we code XFree86 from scratch by putting an infinite number of monkeys at an infinite number of keyboards for an infinite amount of time.

  112. Don't stop believin'!! by oobar · · Score: 1
    Did anyone notice this on their project homepage link at sourceforge:
    JourneyOS has been temporarily shut down
    Following our recent publicity on a major news site, we have been politely requested to refrain from using the copyrighted material of the band Journey and their respective record labels. We have also been warned of possible future legal complications from using Journey album names and for the components of our project and using pseudonyms derived from the band members' names.

    Furthermore, we have been notified of some inherent design flaws in one of the core mechanisms of JourneyOS, which was to be used as part of our upcoming GUI system. We have received proof-of-concept code showing that use of the IA32 memory segmentation mechanism for IPC is an inherently dangerous practice, and consequently is not suitable for a general purpose operating system.

    We would like to thank you all for the newfound support and encouragement in our quest to create a proactively modern operating system. Unfortunately due to the sheer volume of mail we received we will be unable to reply to you all personally. However, if you would like to remain informed about what we are doing, we ask that you subscribe to the project mailing list where we will discuss where to go from here in the realm of JourneyOS development.

    Thank you for your patience and support
    - jc

    So, just in case there was any doubt that this entire project was entirely vaporware...
  113. RTFA by Anonymous Coward · · Score: 0

    Had you actually bothered to read the article, perhaps you would've noticed that they do talk about switching to ASN.1, and that they plan to start with the XML Schema language for debugging purposes so they can verify the correctness of protocol constructs being created by both their client libraries and the server. They even show how XML maps directly to ASN.1.

  114. What about Y by cuppm · · Score: 1

    What about the Y server that was brought up last week? That intends to follow X by keeping the things X does well and fixing those where it lacks.

    --
    I have no sig, the eyebrows seal the deal. That's right. Eyebrows.
  115. what the fuck? by Splork · · Score: 1

    you used "XML" and "could this get rid of speed problems" in the same sentence.

    not only are the two DIAMETRICALLY OPPOSED you show no evidence of X having serious speed problems.

  116. The Complication by Etriaph · · Score: 1
    I think a lot of people would agree with me on this if they knew the number of new Linux users I do. X is fast, very fast. Most new Linux users complain how slow it is until I tell them it *is* a good idea to install drivers for your video card. Just because the card *can* do 1280x1024 with a VESA driver doesn't mean your GUI's going to be fast. Installing your nVidia or ATI driver is going to dramatically speed up the windowing system (especially Nautilus for those who use it, the whole solid icon-selection box doesn't stutter when you've installed your specific driver). Many new Linux users that I know assume that due to the fact that a high resolution is possible means that X has loaded the appropriate driver.

    As we all know, this is wrong. I have a PIII 800 with a GeForce4MX and with nVidia's drivers installed KDE widgets (kdelibs on top of Qt) and windows display 30% faster. Having troubles with speed? Make sure you have the correct drivers installed.

    --
    "It's here, but no one wants it." - The Sugar Speaker
    1. Re:The Complication by superchkn · · Score: 1

      I agree with this, I don't find X to be slow. On the contrary, I've used GNOME 2.0 with a P233 w/64MB using an S3 ViRGE and didn't have any issues. I'm sure Mozilla, or any memory hungry app would be slow, but that's not the fault of the windowing system. Even the system I'm using right now is no speed demon (K6-2 400 w/384MB & ATI AIW 9000 Pro) yet I have no complaints about the speed of X even with multiple tabs open in Mozilla and some misc apps also.

      In fact, did anyone else notice that the project homepage only makes one small mention of the fact that the same toolkit ported to frontiers "may be faster"? Unfortunately there's some urban legend that using sockets is somehow crippling the performance of X, which the person that submitted this story used to incite more interest. (I tried to find a benchmark comparing unix domain sockets with a proposed better method, but I came up empty, if this was such a known issue I'd expect benchmarks to be everywhere.)

  117. XML is not a protocol, but this is by Anonymous Coward · · Score: 0

    XML is not a protocol, but this is.

  118. X? What a piece of junk! by thanasakis · · Score: 1

    BEN: Yes, indeed. If it's a fast ship.

    HAN: She's fast enough for you, old man.

  119. an inherently dangerous practice by Anonymous Coward · · Score: 0

    From http://journeyos.sourceforge.net/

    Furthermore, we have been notified of some inherent design flaws in one of the core mechanisms of JourneyOS, which was to be used as part of our upcoming GUI system. We have received proof-of-concept code showing that use of the IA32 memory segmentation mechanism for IPC is an inherently dangerous practice, and consequently is not suitable for a general purpose operating system.

  120. Copy and paste considered harmful? by leonbrooks · · Score: 1
    the lack of it just means you save the chart in the format you want, then import it to the document

    I'd like to see copy and paste, if offered at all beyond basic text and bitmap, offer a range of MIME types and have the pastee choose which one they want. If the cuttee is closed with stuff on the clipboard, it might have the choice of writing out all of the offered MIME types, reducing the offering to a few of the most common types and writing those out, leaving a stub active to handle any paste, exiting but being reinvoked (cuttee specifies how as part of the cut op) to handle any paste.

    If it had to be reduced to basic types I would like four: raw text, rich text, bitmap and vector-graphic. Probably the easiest way to do rich text right now would be an HTML subset, but a well-defined XML schema seems to be the path forward.

    Right now copy and paste is treated as completely different to import/export, and I believe this is a mistake. App writers have to create two completely separate sets of code, and rarely do both well. Compare what OOo and KOffice know how to import and export with what happens when you copy/paste around them.

    It should be possible to treat copy/paste as a special case of import/export, and an offer/accept MIME cycle would allow a "meeting of minds" between the apps to decide what format is best. "Paste special..." would be fabulous because you could select not just "Plain Text" etc but from a list of mutually acceptible MIME types, meaning that you could paste a graph as a graph if both apps understood it, or as a scalable vector, or as a bitmap, or as rich (possibly including the values graphed) text or plain text. Most importantly, the app (or library) author would only need one (albeit marginally more complex) set of code to do it, improving the odds of doing both well.

    --
    Got time? Spend some of it coding or testing
  121. SVG fun by Trejkaz · · Score: 1

    Fun! SVG -> Display via nothing but XSL:T! ;-)

    --
    Karma: It's all a bunch of tree-huggin' hippy crap!