Slashdot Mirror


X11 Chrome Reportedly Outperforms Windows and Mac Versions

An anonymous reader writes "In a curious contrast to conventional wisdom, there are reports of X11 Chromium being faster than Windows or Mac versions. In the thread titled 'Why is Linux Chrome so fast?,' a developer speculates that it is due to the use of X11 capabilities: 'On X-windows [sic], the renderer backingstores are managed by the X server, and the transport DIBs are also managed by the X server. So, we avoid a lot of memcpy costs incurred on Windows due to keeping the backingstores in main memory there.' Has the design of X11 withstood the test of time better than people tend to give it credit for?"

99 of 542 comments (clear)

  1. Test of time by Anonymous Coward · · Score: 4, Funny

    "Has the design of X11 withstood the test of time better than people tend to give it credit for?"

    Yes of course it has. X11 is great and anyone who thinks otherwise doesn't understand it properly, or have an accurate idea of what it's genuine problems are actually due to.

    1. Re:Test of time by eugene2k · · Score: 5, Funny

      Why is this modded funny?

      --
      Apple has "Mac vs PC", Microsoft has "Laptop Hunters", Linux has recession
    2. Re:Test of time by Yvan256 · · Score: 4, Funny

      Forget about the gp, why is THIS modded funny?

    3. Re:Test of time by supersloshy · · Score: 4, Funny

      And God forbid that I continue the joke and say, "Why is /THIS/ modded funny!?"

      --
      "Our country is not nearly so overrun with the bigoted as it is overrun with the broadminded." -Archbishop Fulton Sheen
    4. Re:Test of time by Tetsujin · · Score: 3, Funny

      Forget about the gp, why is THIS modded funny?

      Because if you say "why is this modded funny" and "this" isn't modded funny, then people get confused...

      --
      Bow-ties are cool.
    5. Re:Test of time by Anonymous Coward · · Score: 3, Funny

      This is not funny.

    6. Re:Test of time by awshidahak · · Score: 4, Funny

      Ooh, ooh, I wanna be cool and popular. Why is /THIS/ modded funny!?!?!?!?!?!?!?. Dang, where's the confused smiley button.

    7. Re:Test of time by Thinboy00 · · Score: 3, Funny

      you guys are hilarious.

      Why isn't this modded redundant?

      --
      $ make available
  2. X11 Chromium on Mac? by Danathar · · Score: 3, Interesting

    Does anybody know if it's possible to compile a version of Chromium for X11 Mac?

  3. X11 has never been a problem. by miffo.swe · · Score: 5, Insightful

    X11 has never been a bottleneck in performance on the desktop. Many people have been confusing X11 with the desktop system/kernel/applications and wrongly blamed X11 for any slowness.

    --
    HTTP/1.1 400
    1. Re:X11 has never been a problem. by jellomizer · · Score: 5, Funny

      So you are saying it is not X11 that is slow but Linux... Oh man you are taking it out of the frying pan and into the fire.

      --
      If something is so important that you feel the need to post it on the internet... It probably isn't that important.
    2. Re:X11 has never been a problem. by pz · · Score: 5, Interesting

      X11 has never been a bottleneck in performance on the desktop. Many people have been confusing X11 with the desktop system/kernel/applications and wrongly blamed X11 for any slowness.

      Yes, exactly. X11 ran reasonably complicated applications 20 years ago on hardware that we throw out as woefully inadequate (or quaintly archaic) today, and did so with entirely acceptable speed. X11 isn't the problem -- hardware is what, two orders of magnitude faster now? -- it's all of the poor programming practices that have layer upon layer of abstraction and interpretation stacked tall and high.

      I had a 266 MHz laptop in the mid 1990s (about 15 years ago) that ran Linux (RedHat 6.2, mostly) and X11 perfectly well with a mere 64 MB of main memory. A while ago, I tried to load a Fedora release (9, if I recall correctly) on it. "Laughable" is a good term to describe the result. My current laptop has a 10x faster processor and 50x more memory. There's more cache on the processor in my new laptop than total system memory on the old one --- And yet, Fedora 11 feels sluggish on the new hardware. X11 is not the problem.

      --

      Put my fist through my alarm clock with its ding-dong death inside my ear. - The Blackjacks.
    3. Re:X11 has never been a problem. by domatic · · Score: 2, Informative

      I think he means applications where Linux or a BSD is the primary development environment and those APIs were the target. Agreed it is a sloppy use of "native". In the case of Firefox, XP is a the primary dev environment and it also benefits from Profile Guided Optimizations when compiled. The Linux port could in principle but the work hasn't been done (and probably won't be).

    4. Re:X11 has never been a problem. by MikeBabcock · · Score: 5, Informative

      To be fair I think the gp meant Linux exclusive, not native. But even then Firefox is a pretty bad choice, since its development has always had Linux in mind as well as other platforms.

      If you benchmark some random 3D games between Linux and Windows there is no Linux slow-down. If you benchmark the responsiveness of a well written GUI environment on Linux vs Windows, there's no slow-down. In fact, I've only rarely run into a situation where Linux is slower than Windows in a GUI or otherwise. The primary reason I've come to realize is lazy programmers writing slow client software, and in some cases, horribly inefficient GUI toolkits (Gtk, I'm looking at you).

      X11 isn't the bottleneck, and ever since a few tweaks were done for desktop users, the Linux kernel isn't either.

      --
      - Michael T. Babcock (Yes, I blog)
    5. Re:X11 has never been a problem. by OrangeTide · · Score: 3, Informative

      memcpy of 1000s of bytes is slower than sending a message. Many of these systems that provide direct access to RAM require lots of copying too. (OSX one example I'm most familiar with)

      X11 also supports direct access to memory, but it is only used in very specific circumstances because it's extra work to set up.

      --
      “Common sense is not so common.” — Voltaire
    6. Re:X11 has never been a problem. by Elbows · · Score: 5, Interesting

      I've never had performance issues running X11 over a LAN. VNC, on the other hand, is noticeably sluggish (RDP seems to work well though). I don't run apps over a WAN very often, except for the occasional emacs session (which is a bit laggy but useable).

      But more importantly, the X style of remote access is much, much more useful than VNC/RDP. Remote apps integrate seamlessly into my desktop, instead of being stuck in a separate window. And multiple people can run remote apps on the same machine, without interfering with each other or a user who's physically sitting at the machine.

      VNC and RDP are useful hacks for systems that weren't designed for remote access, but they're no replacement for real network transparency.

    7. Re:X11 has never been a problem. by thePowerOfGrayskull · · Score: 4, Informative

      The problem is that when monitoring processes, people can "see" X11 using CPU cycles, whereas in Windows they only "see" the application doing. It's six of one, half dozen of the other -- but it makes it look like X11 is CPU-resource intensive. In reality, the same cycles are used for windows based apps (perhaps more? I certainly don't know...), but they look like the app using the CPU which is somehow more expected.

    8. Re:X11 has never been a problem. by JesseMcDonald · · Score: 4, Informative

      The thing is, X11 gets network-transparency essentially for free. The system requires some sort of inter-process communication, even when running on a local machine, and Unix-domain sockets are one of the fastest IPC mechanisms available short of shared memory (which is orders of magnitude harder to get right). X11 supports shared memory for local processes, to speed up communication of large objects like pixmaps, but the core protocol is socket-based and there is absolutely no reason to change that. So long as this is the case, why not support network transparency? BSD network sockets are interchangeable with Unix-domain local sockets once the connection has been established, so it's not like there's much more effort involved.

      --
      "The state is that great fiction by which everyone tries to live at the expense of everyone else." - Bastiat
    9. Re:X11 has never been a problem. by Microlith · · Score: 5, Informative

      VNC and RDP give you the ability to interact in an explicitly remote sense, the windows in question operate on the remote server instance and will remain in existence regardless of what happens to the local system.

      That's one reason I stopped using X11 forwarding even though I could: If I lost connection on my laptop for any reason, every application I had open was dead. With VNC (or RDP), they were always running remotely.

      Also, if I have an application open on display :0 I have no way (that I know) of moving it from :0 to :10 and having it appear uninterrupted on my local display.

      I'd say that they're extremely useful hacks that solve issues that are, at least for me, unresolved in X11.

    10. Re:X11 has never been a problem. by jeremyp · · Score: 2, Insightful

      Yes, exactly. X11 ran reasonably complicated applications 20 years ago on hardware that we throw out as woefully inadequate (or quaintly archaic) today

      But that was in an environment where the average PC had a 640x480 display with 16 or maybe 256 colours. High end workstations had higher resolution but were often monochrome. The X server simply didn't have to do anywhere near as much work as a modern one.

      --
      All I want is a secure system where it's easy to do anything I want. Is that too much to ask ~~ Randall Munroe
    11. Re:X11 has never been a problem. by that+this+is+not+und · · Score: 2, Informative

      Why are you referencing the average PC of 20 years ago, which ran Windows 3.1, not X11, to the average workstation from back then, which the GP referred to as 'woefully inadequate' today? Did you know that there were actual framebuffer cards back then in typical use that cost more than your '386-DX 25 with 16MB of RAM' that all the secretaries were impressed by?

    12. Re:X11 has never been a problem. by JamesP · · Score: 4, Informative

      I've never had performance issues running X11 over a LAN.

      VNC and RDP are useful hacks for systems that weren't designed for remote access, but they're no replacement for real network transparency.

      Oh no you don't!

      Try using X11 over something slightly slower as LAN. Just try it, over ADSL, whatever

      I tried. And X11 is totally and utterly USELESS. A well configured VNC (and you have to really play with the knobs) is usable. RDP is the best (of course, it wasn't developed by Microsoft...)

      --
      how long until /. fixes commenting on Chrome?
    13. Re:X11 has never been a problem. by Bigjeff5 · · Score: 2, Interesting

      The modular nature multiplies the number of potential bugs by an order of magnitude for each layer. I.e. if the Client/Server model of X11 were merged into simply the X11 renderer, GUI applications would be an order of magnitude easier to write. It isn't too bad for X11 because it isn't that big or all that complicated, but the client/server nature of X11 creates the potential for a lot more bugs.

      The biggest example of the bug problem with modular systems is the GNU HURD kernel. It is modular, I believe it has 4-5 parts that must work in unison to function, and in 20 years Stallman and his group have yet to produce a working kernel. Compare that to Torvold's Linux kernel, which was integrated and took a couple years to develop pretty much by himself.

      Part of the problem with X11 is that it is NOT a complete package - it's the "last mile", so to speak, and you need three or four more layers to get a modern desktop. If you make an honest comparison of a complete desktop package based on X11 that matches Windows Vista/7 or Mac OSX and there is no question as far as quality. The X11 based setup is harder to use and generally less useful than the Windows or Mac counterparts. Incidentally, I've used OSX the least but found it the easiest to pick up - good design counts.

      --
      Security is mostly a superstition... Avoiding danger is no safer in the long run than outright exposure. - Helen Keller
    14. Re:X11 has never been a problem. by Anonymous Coward · · Score: 2, Informative

      Don't use X11 raw over remote links. Use NX. It meets your criteria from start to finish and actually brings to X11 the things you talk to with actual performance, when compared to the others.

    15. Re:X11 has never been a problem. by Anonymous Coward · · Score: 2, Insightful

      What are you talking about? I was using X-forwarding from the University back to my dorm in 2001, simply because the machine I had at home was faster than what the U had to offer. My (adsl) connection was 512kb/64kb at the time (may have been 128k up), and my applications ran flawless.

      Any chance you had enabled MIT-SHM over your wan connection, or any one of the other X extensions that were really intended to only be used when client and server were on the same PC?

    16. Re:X11 has never been a problem. by P-Nuts · · Score: 2, Informative

      The closest thing to screen for X11 that I know about: xpra. A bit rough around the edges, but usable.

    17. Re:X11 has never been a problem. by rrohbeck · · Score: 3, Informative

      If VNC is usable, you'll love NX. It is *far* more responsive for a given bandwidth/latency and it is persistent too (the session keeps running if your client disconnects.).

      You can even run VNC to other machines through NX and it feels faster on limited bandwidth (NX creates a session on the Linux client that runs a fullscreen vncviewer to another system.)

      It's my standard way of working remotely. My default work desktop lives on a Linux machine at the office and it resizes automatically depending on what screen size the client uses (as long as your Gnome or KDE version is recent.) Even at the office I run NX to my work session - over a LAN I can't tell the difference between local and NX.

    18. Re:X11 has never been a problem. by sootman · · Score: 2, Interesting

      Random tip: if you just want to run a single app from the remove machine, ssh -XC
      The X tells ssh to forward X and the C means compress. One particular app I used to run (connecting from anywhere to my Linux box at home, which was behind a 256k up DSL) launched in 30 seconds with -X and 10 seconds with -XC.
      Of course, different people's definitions of "usable" differ. :-)

      Otherwise, I hear good things about http://freenx.berlios.de/ .

      --
      Dear Slashdot: next time you want to mess with the site, add a rich-text editor for comments.
  4. Re:Windows and OS X versions, please. by Danathar · · Score: 3, Interesting

    Uh. Maybe you don't understand what I am saying....

    I KNOW that MacOS 10 is OS X.

    I'm asking if anybody has compiled a version of Chromium to use X11 instead of using Cocoa.

  5. Re:Even if X is usually slower... by Anonymous Coward · · Score: 5, Insightful

    I like how you took a bunch of graphics and video related words and threw them together in a post that sounds coherent, yet is totally wrong.

  6. Really? by complete+loony · · Score: 2, Informative

    From the later discussion on that topic, it seems the conclusion was that windows had a large history in the profile and may be bitblt'ing the first draw operation from main memory. Both of which have an impact on how slow it feels to the user.

    --
    09F91102 no, 455FE104 nope, F190A1E8 uh-uh, 7A5F8A09 that's not it, C87294CE no. Ah! 452F6E403CDF10714E41DFAA257D313F.
  7. 20% faster on his 20% faster machine.... by Thantik · · Score: 5, Insightful

    After doing a fresh install on both systems the guy determined that it was just some sort of freak occurrence. He had one laptop with a 2.0ghz processor and another with a 2.4ghz processor and after the reinstall on both systems, VOILA...it was only roughly a 20% difference...

    TFA - just keep reading further and further down the usenet post

  8. Re:Even if X is usually slower... by ArsonSmith · · Score: 2, Informative

    Framebuffer is an unaccelerated bitmap display, X11 is an accelerated graphics layer (that can use a framebuffer)

    something that writes directly to a framebuffer is going to need a lot of additional programming in order to be as fast as X11 is.

    --
    Paying taxes to buy civilization is like paying a hooker to buy love.
  9. Re:I read the article. So sue me. by Anonymous Coward · · Score: 2, Insightful

    We could also just move process creation to a background thread.
    Ok, that's just making the process and subsequent address space.

    An unused process might just get swapped out and be no cheaper to "make live" than it would be to create a new process.
    It sounds like process just being put into a pool - the process creation thread is holding onto the handle - and when someone wants a new process, the thread just hands over that one presumably the heap and stack for that process would be cleared.

    I don't see where there could be a security issues - but, then again, it's been 15 years since I worked on an OS, let alone an Intel based one; I have only 1 cup of coffee in me; I'm still drudging through the posts in the "article".

  10. So in other words by Anonymous Coward · · Score: 3, Interesting

    So in other words, those who programmed on X when X was the only big player are now older where you lose hair and sexual virility.

    Colour me surprised.

    Meanwhile X is still working better than Mac or Windows as a GUI framework.

    Thing I don't get is why so many guys have a hard-on for dissing X.

    Why?

    1. Re:So in other words by sarhjinian · · Score: 5, Interesting

      Because, from a user's perspective, it doesn't work all that well. Here's an example:

      On MacOS X, it's just about impossible to get into a situation where a) video tears or flickers, or b) menus and windows can "rub out" other menus or windows (eg, you can't drag a window around like a giant eraser on Mac OS). On X+whatever, it's pathetically easy to do either. Windows is somewhere in-between the two.

      To be fair to X, managing compositing et al isn't it's job---but it should be! Between X's by-design paucity of features and the number of combinations of video driver, X server, window manager and settings thereof, it's hard to get a decent, modern desktop experience. Had X been designed a little more smartly (eg, for actual people and not for computer scientists) this probably wouldn't be such a problem. Grafting things like multiple display support, accelerated 3D, video playback and now, compositing, have shown problems. Back in the day, when you could just buy IRIX (ro whatever) and be assured of a working, end-to-end X implementation this wasn't an issue. With the clusterfuck that is X.org+DRM+GEM+Mesa+KMS+GL/GLX/AIGLX+DRI/DRI2+UXA/EXA/XAA+whatever window manager is invovled, it's a crapshoot.

      By comparison, again, we have MacOS X's system, which again just works, even if in theoretical terms it's a little slower. Users don't care that much about GTK benchmarks; they do care if the user experience breaks down.

      The UNIX Hater's Handbook, which is a little bit out of date now, goes into the design errors of X. It's worth reading if you're wondering why X drives people nuts.

      --
      --srj/mmv
    2. Re:So in other words by Bigjeff5 · · Score: 4, Insightful

      The UNIX Hater's Handbook, which is a little bit out of date now, goes into the design errors of X. It's worth reading if you're wondering why X drives people nuts.

      The handbook may be out of date, but that section on X is just as true today as it was then. This part in particular hits the nail on the head:

      (The idea of a window manager was added as an afterthought, and it shows.)

      If X outperforms anything, it is by sheer luck and unexpected consequence. The planets align "just so" and for once it is the best implimentation for a particular task. It is not a common occurance. Coming to the conclusion that it "stood the test of time" based on a single piece of software is rather foolish. If X regularly out-performed Windows and Mac this would not be a surprise, but of course, it is a surprise.

      --
      Security is mostly a superstition... Avoiding danger is no safer in the long run than outright exposure. - Helen Keller
    3. Re:So in other words by JasterBobaMereel · · Score: 2, Informative

      The point is that while X is "an afterthought" and "badly designed" it has been fixed so well and so often by so many people (simply because there was nothing better) that it has already had all the major bottlenecks taken out of it ...

      It is an afterthought in that it is stacked on top of the rest of the system rather than integrated, and it has a client server model because originally the display was normally on a different machine than the server (this is often raised as a bad design), but this can actually help to isolate it from the rest of the system so it is not dependent on it, and because it was always (on very old hardware) considered very slow, it was optimised to be as fast as possible within the design limitations it had .... this means that it is now very fast on fast hardware ....

      --
      Puteulanus fenestra mortis
    4. Re:So in other words by Bigjeff5 · · Score: 4, Insightful

      , and it has a client server model because originally the display was normally on a different machine than the server (this is often raised as a bad design)

      You should read that section on X the GP posted, they actually tried to use X for its intended purpose (back when that actually was an intended purpose, and had not been hacked around yet) and found it nearly useless as a remote display server/client setup compared to other setups, most notably Sun's at the time. It was arbitrarily devided into client/server (and "client" and "server" roles were reversed from convention, for some strange reason) without much rhyme or reason, which made it a bandwidth hog and meant half the graphics application had to reside on the client (the end computer the graphics, not X's retarded definition of client) anyway.

      ...it was optimised to be as fast as possible within the design limitations it had

      Except that it wasn't. For the longest time X11 was the most bloated and slowest option out there, for remote and local applications alike. The only reason it is fast now is because hardware has moved so far beyond it that it is fast in spite of itself. It certainly isn't nearly as powerful as any other GUI system, and when you actually add on all the bells and whistles (which must be created separately by somebody else) it's still slower than anything around. Seriously, add the necessary components to make X11 match Windows XP/Vista/7 or Mac OSX, particularly a good window manager window dressing from Compiz, and you'll find almost everything GUI-based runs slower on X11.

      That Chrome is an exception is shocking, and is why everybody is surprised, hence TFA.

      --
      Security is mostly a superstition... Avoiding danger is no safer in the long run than outright exposure. - Helen Keller
    5. Re:So in other words by Tanktalus · · Score: 5, Informative

      (and "client" and "server" roles were reversed from convention, for some strange reason)

      What? Since when? I always thought that the X server was the behemoth application that ran, waiting for connections from other apps (the clients), consolidated the requests, acted on them, and responded back to those clients. You're telling me that X itself is termed the client, and those little apps that all connect to it are called servers? Yeah, that IS backwards!

      Oh, hold it, that's not what you're saying at all. You think that "server" is a designation of the size of the machine it runs on, not a designation of the model of communication the application itself uses. You do realise, though, that even a "web server" (which could just be a wall wart acts as a client for DNS querying, right? That "client" and "server" are fluid terms based on what the app is doing, and not where it is?

      A server responds to incoming request(s), usually from multiple sources. A client initiates those request(s), usually to a single target. That is all. X uses these terms perfectly. The application sitting on my desktop machine is the server, and the xterm I'm running on the Linux/zSeries box is the client. For this particular purpose. Of course, that Linux/zSeries box is also the ssh server that I use to connect to it in the first place, over which a tunnel is created in the reverse direction to allow that xterm to come up at all. It's not the convention that is being ignored. It's just that you're using the wrong definition.

    6. Re:So in other words by sarhjinian · · Score: 3, Informative

      When applications become too unresponsive to update under a compositing system their windows stay frozen, but do not get "erased" by dragging another window over them. Ever.

      I'm dragging a Firefox window over a dead RDP session right now. It's erasing the contents of the window. I've never, ever managed to do that on MacOS X and not often on Windows Vista.

      If I use a compositing window manager, that problem goes away, but in it's place comes a whole new set of issues. Ever notice how common "turn off Compiz/KWin compositing" comes up when people try to troubleshoot X issues? At least Vista is smart enough to turn it off for you when the situation merits it.

      "Tearing" of Windows during dragging is still a problem for all of these systems if somewhere along the line there's enough of a difference between refresh rates between devices and/or software.

      On no other platform do you ever have to think about syncing refresh rates. On X, you're at the mercy of the driver and window manager. On an nVidia card you're probably ok. On a recent Intel card you might be. On ATI it's a complete crapshoot. Throw in compositing and it gets even more complex.

      Meanwhile, on much of the same hardware, you could run a hacked version of Mac OS X and not see a lick of tearing or artifacting.

      I'm really not sure what day you were back in where dragging windows around in Irix didn't result in slow redraws over busy applications, I suspect that whatever it is you're smoking might have some fungus growing on it. Might be time to refresh your stash.

      I'm not saying that IRIX didn't do have that problem, but that, at the time, you could buy a commercial UNIX workstation and get a decently-integrated X server. The problem then was that you had to pay an astronomical sum to get the same window management performance that you took for granted on a Mac, and that a heck of a lot of tuning, testing and integration had to happen to get your (very expensive) video or 3D application to work, again, as well as a Mac.

      Nowadays, you don't have to spend a fortune tog get decent X. What you have instead is that you're stuck with one card family (nVidia) or checking experimental code out of various git respositories, and even then you're not guaranteed the level of seamless video behaviour that you'd see on a Intel-based machine running Windows Vista.

      I'm glad some people get decent X performance, but spending more than a little time on, say, Phoronix or Ubuntu's forums should disabuse you of the notion that everything works.

      --
      --srj/mmv
    7. Re:So in other words by johanatan · · Score: 3, Insightful

      I always thought of it this way: XServer provides display and I/O services to the client applications. Client and server may be on the same machine or not.

    8. Re:So in other words by awshidahak · · Score: 2, Funny

      My dragged windows don't tear. They wobble.

    9. Re:So in other words by Virak · · Score: 2, Insightful

      *drag*
      *drag drag drag*
      *drag all over the screen as fast as I can like an angry monkey on crack*
      Nope, don't see any tearing. CLOSED WORKSFORME

    10. Re:So in other words by wiredlogic · · Score: 2, Informative

      On MacOS X, it's just about impossible to get into a situation where a) video tears or flickers, or b) menus and windows can "rub out" other menus or windows (eg, you can't drag a window around like a giant eraser on Mac OS). On X+whatever, it's pathetically easy to do either. Windows is somewhere in-between the two.

      a) That is largely an issue of the video driver in use. Given the poor state of documentation on most video hardware these days it isn't difficult to understand why this might be happening. Back in the SVGA era you didn't see this happening because there was enough documentation of a standard interface to do things right. Some of this is server related as well. X was never designed to support opaque window moves. That has been grafted on in time.

      b) That is something that afflicts the X.org server. You don't see these sort of compositing flaws in commercial X servers. This is not a fundamental problem with X. Just a common implementation of the server.

      --
      I am becoming gerund, destroyer of verbs.
    11. Re:So in other words by wiredlogic · · Score: 2, Informative

      back when that actually was an intended purpose

      Lots of people still use X in its intended purpose. Many people in a corporate or academic environment who need to run X apps nowadays will run them on a server or compute cluster and have the display shown on their PC (Typically running Windows with Exceed or other server). Don't poo-poo that design feature just because you haven't made use of it. Everybody's hot to jump on the Citrix and VNC bandwagon these days to do what could be done with X 20 years ago.

      The performance issues you see from running remote apps largely stem from the abundance of eyecandy in modern window managers and applications that have to throw a lot of pixmaps across the network to get the job done. Before this was commonplace, remote apps worked as smoothly as a local one. Actually remote apps would be even faster in the days when typical X usage involved a low power, low memory workstation as the server. That model is what X was designed for. Most workstations would be brought to their knees with swapping if you tried to run a non-trivial application locally. It isn't fair to criticize an architecture developed in the 80's that was flexible enough to still be in use today even if some design decisions would be different in a clean architecture started now.

      --
      I am becoming gerund, destroyer of verbs.
    12. Re:So in other words by sarhjinian · · Score: 2, Interesting

      I think we said that: if you use Compiz or KWin, you don't get rub-out because all this is composited off-screen. (you might get tearing, if you don't have the right card and/or haven't precisely set up sync-to-blank). That's great.

      Now, if you turn on Compiz/KWin, you break tear-free video playback on some cards/drivers/versions. You might also break display of accelerated 3D in a window. That's not so great.

      Those of us who are complaining about tearing have probably forsaken Compiz/KWin+Compositing because we can stand a little rub-out versus video playback being shot. That you have to do this at all is kind of problematic, and the WORKSFORME (or, "get an nVidia card") attitude doesn't help. Even casual perusing of, say, Phoronix should tell you that this is a problem for a lot of people.

      --
      --srj/mmv
    13. Re:So in other words by Kalriath · · Score: 3, Informative

      I'm dragging a Firefox window over a dead RDP session right now. It's erasing the contents of the window. I've never, ever managed to do that on MacOS X and not often on Windows Vista.

      For RDP that makes sense- compositing doesn't happen over Terminal Services. What normally happens on Windows, is that when the Window Manager (not Aero) detects that an application has stopped responding to WM_PAINT messages, it actually swaps out the window for a special one that looks just like the last known good copy of the windows display surface. If it can't for some reason, it just dumps a plain white window with loading cursor instead.

      That's actually intentional.

      --
      For a site about things like basic rights, Slashdot users sure do like to censor "dissent".
    14. Re:So in other words by Schraegstrichpunkt · · Score: 2, Insightful

      By that user-centric logic, however technically incorrect it may be, X's names ARE reversed.

      Only in computers would you see people advocate for precise technical to be defined to be defined by non-experts.

      Nobody argues about what a "normal distribution" is, or what "adaptive chosen ciphertext attack" is, but if you talk about "client/server", now everyone has an opinion.

    15. Re:So in other words by icebike · · Score: 2, Interesting

      It is an afterthought in that it is stacked on top of the rest of the system rather than integrated

      Which, of course, is precisely why it has been able to survive, whereas display systems embedded in other platforms died with that platform.

      It is perfectly aligned with the best practices of unix, and a design largely retained by OSX (as if that confers any special blessing).

      There are as many performance gains to be realized by this method as there are drawbacks. With the advent of high performance GPUs, its only a matter of time before the entire X server is moved into the hardware on the video card, (where some say it belongs). Such compartmentalization would be harder if not impossible if it were embedded in the OS.

      You are also correct that any criticisms of the past are largely without foundation with current x servers, it has been optimized and extended more than any other component of the unix ecosystem.

      --
      Sig Battery depleted. Reverting to safe mode.
  11. Re:It's Chrome OS by MBGMorden · · Score: 2, Informative

    This doesn't say it's optimized for Linux - it says that it runs well on *X11*. X11 is used on almost all Unix derivatives, not just Linux. Most importantly though, all indications are that while Google intends to use Linux (the kernel) for ChromeOS, they have made some statements that would indicate that they likely will not use X11.

    --
    "People who think they know everything are very annoying to those of us who do."-Mark Twain
  12. Choosing the correct abstraction layer by FranTaylor · · Score: 5, Insightful

    If you choose your abstraction carefully, you can hide expensive details from user space.

    In the short term it may not gain you anything.

    But if the abstraction lives and thrives, then much can go on behind the scenes to improve the situation.

    Java is another example of this: they carefully designed the language so that it would be possible to make vast simplifiying assumptions and implement optimizations that really improve performance without impacting the "other side" of the wall. Originally java was slow, but hard work behind the scenes means that your java programs run much faster now, without any extra effort on the part of the application developer.

    X Windows is a great example of this. Originally we had dumb frame buffers with no acceleration at all. And yet X provides an abstraction that allows lots and lots of hardware optimizations to take place.

    The Windows and OSX abstractions for the display don't provide an API that allows these sorts of optimizations to be done behind the scenes. We have incredible display hardware with awesome features that go unused in these environments because the display abstractions do not allow for them.

    1. Re:Choosing the correct abstraction layer by Anonymous Coward · · Score: 2, Interesting

      Java is another example of this: they carefully designed the language so that it would be possible to make vast simplifiying assumptions and implement optimizations that really improve performance without impacting the "other side" of the wall. Originally java was slow, but hard work behind the scenes means that your java programs run much faster now, without any extra effort on the part of the application developer.

      I'm not sure that's how I would characterize java myself. Something like this is closer to the mark: A mediocre design made optimisation of the VM rather hard (particularly in the face of concurrency). However after many years and some heroic effort, VMs are now available which can mostly mitigate the poor designs and perform well.

    2. Re:Choosing the correct abstraction layer by MobyDisk · · Score: 2, Informative

      The Windows and OSX abstractions for the display don't provide an API that allows these sorts of optimizations to be done behind the scenes.

      That is not true. Windows GDI was designed for hardware acceleration. As an example: Circa 1998 I got an ISA Diamond Viper video card which performed orders of magnitude faster than comparable VESA cards because the drivers took advantage of the hardware rasterization. For example, dragging a window didn't redraw the window, it moved the bitmap from one place in video memory to another. Drawing/filling lines and shapes was absurdly fast because GDI offers primitives for those operations and the driver mapped those to the hardware functionality.

      Those same things happen today under Windows Vista, Windows 7, and OS X. That is a big part of why the driver model changed for Windows Vista/7: Microsoft wanted to expose even more layers through the video driver to permit those kinds of optimizations. X11 would have a hard time trying to do the Windows 7 alt-tab or OS X expose features where Windows move around in 3-dimensions on the screen. X11 doesn't expose that kind of stuff.

    3. Re:Choosing the correct abstraction layer by jedidiah · · Score: 2, Insightful

      Isn't DRI not so much a part of X11 as it was the original Linux "community" attempt to address the functionality that nvidia came by later and fixed?

      --
      A Pirate and a Puritan look the same on a balance sheet.
    4. Re:Choosing the correct abstraction layer by FranTaylor · · Score: 3, Insightful

      "X11 doesn't expose that kind of stuff."

      I'm not talking about the stuff that is exposed. I'm talking about the things that are NOT exposed. X11 runs great over the network because of all the things that they chose to NOT allow the user to do.

      Sure you can accelerate bit-blitting, that is really old school.

      Take a look at the fundamental model. When you move a window in Windows, the app is notified and it has to respond. Try moving the window of an unresponsive app, it does not redraw because Windows is asking the app to redraw it. When you move the window of an unresponsive app in X, the window redraws because X already knows what it needs to know about redrawing the window without having to make a trip back to the application.

      Those are the kinds of things that you DON'T expose. That way the driver and hardware are free to implement them as they see fit.

    5. Re:Choosing the correct abstraction layer by dpilot · · Score: 4, Interesting

      X itself is undergoing incredible levels of development and improvement. Way back when, "The Open Group" tried to say that X was "complete" with X11R6, and no more development was needed, though somehow defects and omissions let numbers start creeping in after the decimal point. IIRC it got to somewhere in the X11R6.3-X11R6.5 range. Then XFree86 took over, ramping up some innovation, though still slower than many liked. After that X.Org took over, decided it was high time for X11R7, (They did X11R6.9 as a stage to get there.) and things started moving faster.

      At this point, they're redrawing the lines (KMS, DRI/DRI2, DRM) between kernel and user space to (hopefully) get a better balance speed and stability/security. They've pretty much reworked the 2D acceleration (*XA) and are reworking the 3D acceleration (Gallium3D) which will also simplify driver development. The inteface has been reworked down near the protocol level (xcb) to improve speed and memory usage. One thing I've heard talk of is "inverting" the stack to put all primitives on top of the 3D hardware, since that's where most of the hardware performance work has been done.

      The next 6-12 months will be very interesting for X-Windows, but then again, the past few years have been interesting, too.

      --
      The living have better things to do than to continue hating the dead.
    6. Re:Choosing the correct abstraction layer by JasterBobaMereel · · Score: 5, Informative

      No X11 can do Windows 7 and Vista and OSX expose features ... and does so .....

      The whole point is that X11 does not draw Windows it draws tiles ... Window Managers draw windows ... and they can draw 3d glass dancing Windows on X11 without X11 caring about it ...

      On Windows the layers are Driver - GDI - Application
      On X11 the layers are Driver - Kernel - X11 - Window Manager - Application (there may be more ...)

      The point is that you do not need to Expose the low level stuff to the application. .. just to the window manager, the application should not have to worry about redrawing itself, or resizing the window etc... it should let the window manager worry about that

      --
      Puteulanus fenestra mortis
    7. Re:Choosing the correct abstraction layer by knarf · · Score: 3, Informative

      X11 would have a hard time trying to do the Windows 7 alt-tab or OS X expose features where Windows move around in 3-dimensions on the screen. X11 doesn't expose that kind of stuff.

      Uhhhh... have you seen Compiz, Beryl, Metisse, Gnome-Shell or any of the other whiz-bang screen-flipping and warping and cubing desktops? They do run X11 apps... through an X11 extension, be it AIGLX or XGL or something similar. X11 exposes whatever you want through the use of extensions, including the stuff needed to do 3D window manipulation. It did this when Vista was still Longhorn, let alone Windows come lately annex 7...

      --
      --frank[at]unternet.org
  13. Not trying to troll here... by MikeRT · · Score: 2, Interesting

    But the 4.X beta runs incredibly fast on my dual core Windows workstation. If the Linux version is significantly faster in rendering, I would be very surprised.

  14. Memcpy not the biggest problem for chrome/chromium by iamsquicky · · Score: 5, Interesting

    I'm pretty sure that the biggest slowdown for Chrome isn't the memcpy/bitblitting for the display - it's probably something to do with the insanely big history files it generates as part of it's searchable history.

    Files you can't limit in size, can't compress, can't optimise. Instead all you can do is to delete them and loose all your precious history information.
    It also has the bonus of providing a searchable address bar that performs significantly worse than firefox's searchable address bar !

    I use both firefox and chrome simultaneously at home and at work, dedicated each browser for different tasks I do. It's a real shame that Chrome is being seriously degraded over time by this fault - I've started switching back to firefox because of it as my laptop just struggles too much with it now...

  15. Re:Ummm... by Henry+V+.009 · · Score: 2, Funny

    Yeah, at least the first one was succinct.

  16. So, X11 gotta suck? The point? by Ilgaz · · Score: 2, Informative

    If you can take risk of re-compiling every X related app/library in case you give up in future, try the semi official/unofficial at http://xquartz.macosforge.org/ , it is newer than the Apple bundles. Install anything with the help of Fink/Macports like Konqueror from KDE 3 and see the amazing GUI speed, scroll speed, widget drawing speed.

    I don't understand, as an OS X user, why a modern x.org on a good, supported hardware should be surprising to give better results. Also remember the insane things x.org has to do on OS X like using Aqua layer.

  17. X11 is not bloated by dvh.tosomja · · Score: 5, Interesting

    X11 is not bloated nor slow, GTK is both. Put 100 or so spinedits on one form in Win32 and in GTK. On netbook or anything other than quadcore machine, you will see significant difference in speed. And it is not because of the graphics. Sometimes I think GTK render fractals somewhere just to keep processor busy. Meanwhile, when I draw 100 spinedits using only cairo, it is almost as fast as Win32 while giving the same output as GTK including shadows, gradients, etc... I've being noticing this GTK behavior since forever.

    GTK folks, please fix it.

  18. Other performance gains by Enderandrew · · Score: 4, Insightful

    How about a Qt build of Chromium as opposed to a GTK build of Chromium? I'd be real curious to see how it performs.

    I was also saddened to see the port team bitch and complain initially that they had to use GTK, because GTK is "the standard toolkit" for Linux, while in the same paragraph complaining that Linux doesn't simply have one standard toolkit. Last time I checked, Windows has a bevy of toolkits and APIs to choose from as well. They also complained that writing audio in Linux was difficult.

    If they had written a Qt app from day one, porting would be minimal, they wouldn't have to maintain this huge separate trunks, it would have worked from day 1 on Solaris, Mac, Linux, Windows, BSD, etc. Audio would have been very easy to code with Phonon.

    I'm curious to see if Chrome (the browser and OS) are indeed both developed with GTK, then will they both need some retrofits when GTK 3.0 ships, further complicating the matter?

    --
    http://blindscribblings.com - Tasty pop-culture in conceptual fashion.
    1. Re:Other performance gains by Anonymous Coward · · Score: 5, Funny

      A Qt build of chromium exists, and is normally known as "konqueror".

    2. Re:Other performance gains by BitZtream · · Score: 2, Interesting

      Windows does not have a bevy of toolkits to choose from out of the box.

      Windows has, the Win32 API, GDI and the common controls. They come with EVERY install of Windows, it is a requirement. Pretty much everything else sits on top and is optional. You can draw buttons, checkboxes, ect, that work across all apps the same with nothing else. You can add a layer of abstraction with MFC and ATL if you want, but most developers who have been doing it for long enough will avoid those as they are more trouble then they are worth.

      OS X has Cocoa, Quartz and some other APIs, same thing, included out of the box, required, and consistent.

      Linux or more accurately, X11, doesn't. You need GTK, or QT or SOMETHING if you want a widget set rather than coding your own buttons and UI interfaces using the raw X11 API and a bunch of pixmaps. You HAVE to use GTK unless you want to design your own controls, and have no consistency with other applications. X11 does not include any common set of controls. And like it or not, GTK is crap. Qt is definitely a step up, but they hung themselves with their retarded licensing moves over the years, and GTK took over, sadly.

      OS X has a standard audio interface.

      Windows has a standard audio interface.

      Linux does not, hence all the bitching and complaining done by more than just the Chromium people about audio in Linux. My recent looking into MythTV shows this.

      No one wants their windows app to look like Qt. Mac users most certainly don't want Qt.

      If it takes a bunch of work to 'retrofit' GTK 3 into apps, then once again, you have another reason why Linux app development is not worth the effort and something to bitch about. I have some non-trivial Windows apps that were built for Win95 that still run in Windows7. Outside of hello world, that is not true with GTK, hell, a Hello World app written for GTK won't even run any more on Linux since there have been several changes to things like vtables in the compiler.

      I have the distinct impression that neither you, nor the people who modded you insightful have dealt with developing for a consistent OS before. You have, inadvertently I'm sure, just pointed out why most commercial software developers don't target Linux. Too many choices can be a bad thing. The changes to get most Windows or OSX apps to work on the next release are trivial, and you've usually known about them for the last 2 major revisions at least.

      If they wanted the easy way out, they would have used wxWidgets, which at least feels native (by using the native toolkits) across Windows and Mac, and GTK on other Unixes. They did not. It probably wouldn't provide them with a low enough interface to do what they wanted to do, and now we're back to bitching about the lack of a standard toolkit on Linux. The two linux machines I have do not even have GTK installed. This of course is not Linux specific. My FreeBSD boxes are the same way. A few have GTK because they have some GTK apps installed. Some have Qt. Some have both, one has neither, no X at all, but thats a different story entirely and not really the point.

      --
      Persistent Volume manager for Kubernetes - https://github.com/dwimsey/openshift-pvmanager
    3. Re:Other performance gains by Enderandrew · · Score: 3, Informative

      Windows does not have a bevy of toolkits to choose from out of the box.

      Yet Windows developers often find the core Win32 API doesn't fit their needs, and waffle between toolkits like GTK, wxWidgets, Qt, and the usual cross-platform suspects. They also turn to .NET, Java (technically a whole language), MFC and others.

      I constantly run into issues where I need to download a runtime to run a Windows app, because many developers don't simply develop for what is out of the box with a standard Windows install.

      I've seen native X11 apps offer up checkboxes, form elements, and the like. So it is possible. It just doesn't look nice.

      Developing audio on Windows is not necessarily standard, not easy. That is why apps might ship with their own separate audio library like OpenAL, tie into QuickTime, etc.

      I have some non-trivial Windows apps that were built for Win95 that still run in Windows7.

      Sadly, there were many Windows 95 era apps that were still 16 bit, which don't work in x64 versions of Windows 7. Half of my games (mostly from the XP era, not Win95 era) wouldn't work properly in Windows 7. Windows breaks compatibility all the time, even with service packs. Saying you have a particular app that still works doesn't mean the Win32 API has stayed the same, because it hasn't.

      The GTK API has stayed mostly the same over the 2.x life-cycle. That is likely to change with GTK 3.

      Now, I'm not a fan of GTK by any means. However, the GTK 2.x API has been around since 2002. Anything written for that API should still work fine today.

      If they wanted the easy way out, they would have used wxWidgets, which at least feels native (by using the native toolkits) across Windows and Mac, and GTK on other Unixes.

      That is basically what I said, except you apparently didn't get that. I suggested they use Qt (like wxWidgets is a cross-platform toolkit). Qt makes more sense for a variety of reasons, such as native bindings to Webkit (the heart of Chrome), and very easy audio development where you write code once, and then the audio works on Windows, Mac, Linux, etc.

      --
      http://blindscribblings.com - Tasty pop-culture in conceptual fashion.
    4. Re:Other performance gains by JCholewa · · Score: 2, Informative

      Konqueror doesn't even run on Webkit.

      On my machine here, in Konqueror, you can go to the View Menu, select "View Mode", then click on "WebKit", to change Konqueror's renderer. So yes, it does. It just doesn't do so by default.

    5. Re:Other performance gains by shutdown+-p+now · · Score: 2, Insightful

      It's obvious if you work with Microsoft products that VS and SQL Server, for some reason, get little-to-none usability testing, as opposed to virtually everything else Microsoft creates.

      Well, as it happens, I work on Microsoft products - VS specifically - and particularly on common UI parts - main and context menus, toolbars, toolwindows, start page, switcher, options dialog, toolbox etc (though as a developer, not an UX/usability expert). So if you can point any specific usability flaws, shoot. Especially those in VS2010 betas.

      I know quite a few myself; for example, our toolbar customization dialog (Tools -> Customize) is atrocious from UX perspective. But it would be interesting to hear outside perspective.

      That said, it's not true that there's "little to no" usability testing and UI design review, for VS at least. I should know; I've fixed quite a few bugs that boil down to "this looks kinda wrong because there's an extra 1px spacing between icons here", or "keyboard navigation doesn't wrap around in toolbars with overflow" in this release cycle. And this kind of stuff has to be signed off with a dedicated UX team.

      Is that seriously the best example you have? I'm starting to form a theory that most programmers have no eye whatsoever for detail... you're kind of confirming my suspicions.

      Last version of Psi that I've regularly used was 2 major releases before the current one; I don't recall seeing that button there back then (or at least it didn't look as wrong as on the screenshot).

      Also: the text selection highlight is wrong, it's supposed to be a dark blue background using my theme.

      I've checked it out, and it seems to be wrong in the chat window output area (which is a custom rich text control), but all textboxes (which are stock Qt) use my system colors. So not really Qt fault here.

      And HOLY SHIT, Control-C to COPY doesn't work! COPY DOESN'T WORK! COPY DOES NOT WORK

      Again, chat output area - a badly written custom control. As you surely understand, it's just as easy to write one like that in raw Win32 API.

  19. What's with writing "[sic]" after "X-windows"? by nuckfuts · · Score: 2, Insightful

    It's been called X-Windows for a long time. Longer than the term "X11" has been around. It's not a misuse of Microsoft's Windows® brand name.

    1. Re:What's with writing "[sic]" after "X-windows"? by FauxPasIII · · Score: 3, Informative

      > It's been called X-Windows for a long time. ... incorrectly. It's actually the X Window System.

      http://en.wikipedia.org/wiki/X11

      --
      25% Funny, 25% Insightful, 25% Informative, 25% Troll
    2. Re:What's with writing "[sic]" after "X-windows"? by nuckfuts · · Score: 2, Informative

      I don't care what Wikipedia labels it. I've been around since back in the day, and nobody went around saying "The X Windows System". We called it "X Windows". Maybe we weren't being 100% correct, but I'm pretty sure it was acceptable enough that nobody would have quoted us with a snide little "[sic]".

  20. Read this yesterday, installed, then removed. by isolationism · · Score: 2, Interesting

    The font rendering settings are locked in. There are some Google Groups discussions about why this is so, but it was all white noise -- every other application can use .fonts.conf (even if it is a workaround to do so) and Chrome can't/won't for a while, so it got promptly uninstalled.

  21. What to make of X11? by Enderandrew · · Score: 2, Interesting

    I'm wary of any real old legacy code.

    I also know that graphic displays and inputs are vastly different today than they were 10 and 20 years ago.

    Do I know that X11 is inefficient? No, but I sure read plenty of other people making those claims. However, I suspect that X11 wasn't developed initially with today's needs in mind. I do know that the X team keeps promising features, cutting them, and then still shipping six months past their projected release dates.

    Novell has guys working on Mono, Evolution, OOo, KDE, Gnome, the kernel, etc. What I don't see a whole lot of is major distro companies (Red Hat, Novell, Canonical) paying for major upstream development with X. Maybe it just needs a little more love, some deprecation of old cruft, and a new forward-thinking design. There seems to be somewhat of a future direction (GEM, DRI2, MPX), but perhaps X needs a revolution.

    Is Wayland a step in the right direction?

    --
    http://blindscribblings.com - Tasty pop-culture in conceptual fashion.
  22. Re:Even if X is usually slower... by everynerd · · Score: 5, Funny

    Give the guy a break. He's only trying to create synergy among web-enabled paradigms.

  23. Guestimates by wye43 · · Score: 2, Insightful

    I read TFA and all there is are feelings of some people that its faster, no numbers. I guess that is what "reportedly" means. Weasel words.

  24. Re:Memcpy not the biggest problem for chrome/chrom by MikeBabcock · · Score: 2, Informative

    I had the same problem with Google Desktop. It was a great tool and worked well for a while, but eventually its little database file was immense and was dragging my system down with it.

    --
    - Michael T. Babcock (Yes, I blog)
  25. What to make of ignorant flamebait? by FranTaylor · · Score: 3, Interesting

    "I also know that graphic displays and inputs are vastly different today than they were 10 and 20 years ago."

    Really what is so different other than the number of pixels on the display?

    "I suspect that X11 wasn't developed initially with today's needs in mind."

    Then perhaps you should read about the original goals of the X window system.

  26. Re:Windows and OS X versions, please. by Xtravar · · Score: 5, Informative

    Funny, but the real answer is GDI.

    http://en.wikipedia.org/wiki/Graphics_Device_Interface

    --
    Buckle your ROFL belt, we're in for some LOLs.
  27. Re:I read the article. So sue me. by mea37 · · Score: 3, Informative

    I guess maybe I'm making bad assumptions, as I don't really know what Chrome's intent with multiple processes is... but I think the answer to your question is no, it wouldn't necessarily impact security and certainly wouldn't fully negate the multi-process approach's advantages.

    The major advantage to keeping separate tasks in separate processes, it seems to me, is that they have separate memory spaces. I can't sneakily inject code into another task's buffers if I'm not in the same process. In particular, if the browser spawns a process to execute some plug-in or whatever, there's less risk that the plug-in or whatever can trick the browser into executing malicious code. (Or cause it to crash, but that's more "stability" than "security".)

    In other words, the biggest security risk comes from two processes sharing the same process at the same time. I don't think re-use is as big a problem. Sure, if you did a bad job of wiping buffers, then in theory one process could see its predicessor's data; and I guess there are scenarios where that could be an issue, though I'm a little skeptical that a malicious process would go rooting around its uninitialized space "just in case" it was handed a process with something it would recognize as sensitive data from a previous task...

  28. Re:It's Chrome OS by MBGMorden · · Score: 2, Interesting

    No - ChromeOS is looking to be an actual honest to goodness OS built around the Linux kernel with a Google-developed graphics subsystem. They are mainly targetting it towards running their own web applications rather than bundling apps with it as is the case with most other OS's, so the only INCLUDED app might be Chromium, but all indications are that developers will be able to write/port other applications to the system if they desired.

    Personally I'm interested in seeing it. It's just an opinion, but most Linux distributions just have far too much legacy code and ways of doing things stacked on top of each other these days. I want an open source OS, but I think we kinda need to toss out a lot of what we currently use and start anew. Unfortunately it's not easy to do that without commercial backing, but Google pushing such an effort would really help things along.

    --
    "People who think they know everything are very annoying to those of us who do."-Mark Twain
  29. Re:Memcpy not the biggest problem for chrome/chrom by mea37 · · Score: 2, Interesting

    With all due respect, it sounds like you want to blame everything negative about Chrome on one feature you don't like. Just sayin', the developers might have a reason to think that the rendering speed has something to do with the windowing system - they're a lot less likely to be just guessing and calling their guess "pretty sure".

    But for the sake of argument - if the history files are the big slow-down for Chrome, why is that slowdown less pronounced on the X11 version?

  30. Uninformed and wrong by FranTaylor · · Score: 5, Interesting

    "For whatever reason, Linux drivers have NEVER taken advantage of this, and that is why Linux often looks clunky compared to Windows on the same hardware."

    This is just BLATANTLY WRONG.

    All you need to do is read the feature announcements for the nVidia and ATI display drivers, which you apparently DON'T DO.

    nVidia's REAL target market is the folks who work at animation companies, and the hard-core data visualization people. Their products are designed to fly in THIS environment. This market is VERY HEAVILY tilted toward Unix. That is WHY you can get such EXCELLENT display support under Linux. The rest of us are just piggybacking off of this.

  31. Re:Firefox did that already by Loki_666 · · Score: 2, Funny

    Quote: 500+ tabs open simultaneously

    You are shitting us? How the hell can you get anything done with 500+ tabs open simultaneously? I don't think its memory leaks thats your problem. I think its the sound of the entire OS deciding enough is enough and its going to take a break.

  32. Re:Even if X is usually slower... by jedidiah · · Score: 2, Insightful

    X has it's problems. It also has it's advantages. Some of those
    advantages aren't so much a matter of X itself but side effects
    of the old school Unix way of approaching a problem.

    Seeing MacOS going through vnc side by side with X apps being
    run remotely (and viewed locally) certainly gives me no
    burning desire to get rid of X.

    --
    A Pirate and a Puritan look the same on a balance sheet.
  33. Re:Even if X is usually slower... by Zordak · · Score: 3, Funny

    Really? I thought he was trying to leverage the cloud architecture to optimize his software services enterprise based on open standards.

    --

    Today's Sesame Street was brought to you by the number e.
  34. Re:Windows and OS X versions, please. by BitZtream · · Score: 3, Informative

    No.

    Explorer is a cross between your shell and your window manager, its like the Gnome or KDE window managers except most of the window manager functions are the responsibility of process itself in Windows, although they are provided by the standard libraries, which us things like the uxtheme.dll and company to provide a consistent interface until the app goes well out of its way to do otherwise. You can use cmd.exe in place of explorer and apps won't notice the difference unless they interact with explorer, such as things that put items in the notification area (systray to most). Apps do not talk to explorer to display windows any more than apps on Linux talk to Gnome or KDE, or Finder on OS X. None of them have to be installed or work in order for Windows to be displayed. You can kill all explorer.exe processes in windows and you just won't have a start menu or clickable desktop until it restarts. You can not kill the X11 client and do the same, all processes using it will be disconnected and exit or crash.

    Quartz is a toolkit/API used within the 'window_server', like DirectX to some extent on Windows. It is not the generic low level API like GDI is on Windows.

    'window_server' would be almost the direct equivalent of X11 on OS X in native applications, if you exclude X11 for OS X, which acts as a translator basically between X11 servers (applications) and your X11 client (the gui you see) and passes that along to the window_server process to display.

    In reality, all three of these systems use a different mix of the way these components interact and at which layer things are done due to their different designs. There isn't a 1 to 1 relationship between any of the components.

    I do not recall which process on Windows handles the GUI, but it is more or less untouchable, unlike in OS X and traditional UNIX where you can easily kill the gui portion, doing so in Windows traditionally would result in a blue screen, this is no longer strictly true in the Windows 6.x versions (Win2k8/Vista/Win7), but I don't recall what process owns that part of the system off the top of my head.

    --
    Persistent Volume manager for Kubernetes - https://github.com/dwimsey/openshift-pvmanager
  35. Re:Windows and OS X versions, please. by Anonymous Coward · · Score: 3, Insightful

    MS Windows = Explorer.exe
    Linux = X11
    MacOS = Quartz

    That this is marked up as informative really shows how bad slashdot has become. You losers are even shitty at being computer nerds.

  36. Re:Chrome vs Firefox by aardvarkjoe · · Score: 2, Informative

    It certainly works much faster than Firefox on Linux in most circumstances. One thing I have noticed, though, is that Flash applications seem to run much more slowly in Chrome than in Firefox (to the point where Chrome becomes unusable on my computer for some sites that run acceptably in Firefox.) That seems a little weird to me, since it's the same plugin. Hopefully it's a problem that will be corrected before the official Linux release.

    That and the lack of a decent ad blocker are the main things that keep me from switching from Firefox. I really like the speed and the interface is generally a big step forward, but I don't really like having to switch between two browsers.

    --

    How can we continue to believe in a just universe and freedom to eat crackers if we have no ale?
  37. Oh dear. So wrong. by Anonymous Coward · · Score: 5, Informative

    Let's just say you're wrong and I've seen flickering on plenty of Mac OS desktops.

    And with X11, the flickering you get is more likely due to the program ignoring X backing store and "doing their own thang". Well guess: their failure isn't the fault of X11, is it.

    "To be fair to X, managing compositing et al isn't it's job---but it should be!"

    Compiz: It IS!!!

    Sheesh.

    And Enlightenment had compositing freaking YEARS ago.

    " Between X's by-design paucity of features"

    You mean like C's "paucity of features" that means libraries that do whatever you damn well want?

    There is no "by-design paucity": by design X11 is extensible. See X extensions.

    "Had X been designed a little more smartly (eg, for actual people and not for computer scientists) this probably wouldn't be such a problem."

    Uh, what design WOULD have been for "actual people"? This statement, bald as it is, makes no sense.

    X11 is designed for the task it has to solve: drawing a GUI.

    One program: one purpose. Expose capability and don't impose process: someone may think of a use you never considered when writing it, so don' t write a program that will hate them for it.

    The UNIX way.

    Which, oddly enough, Apple have embraced to a large extent since bringing out Ten.

    "By comparison, again, we have MacOS X's system, which again just works, even if in theoretical terms it's a little slower."

    Two problems: the dissing of X is how slow it is. So Ten's system being slower should be more dissed, yes?

    Secondly, ten's system doesn't just works else there would be no problem with "But Mac can't support clones, they have to have a limited selected hardware to deliver the eXPerience!". Ignoring that this just works meme is wrong. I've seen it often just stop a lot.

    "The UNIX Hater's Handbook, which is a little bit out of date now, goes into the design errors of X "

    And here we see where you've been misled.

    The UNIX paradigm is extensibility. Policy is set by the use of the program. not by its programming. And the UNIX haters hate UNIX so hate the UNIX paradigm. Ergo they hate X too.

    Maybe they're just a little bit predisposed to a priori conclusions...

    And it's not the "why does X drive people nuts" it's why do people get a stiffy when the opportunity comes to diss X?

    (oh, and a quick look at that, hmm, *discourse* seems to be a person who gets a real big boner over getting to rant and rave about how X is teh devil. Could he be any less coherent?)

  38. Vive la X by petrus4 · · Score: 2, Interesting

    I've noticed that X unfortunately gets a lot of metaphorical rotten vegetables thrown at it from Linux users; even people who apparently are fans of Linux in every other respect.

    In my own opinion, however, X qualifies as one of the greatest pieces of software ever written. Put it in perspective, here; the system has been in continual use and evolution since 1984. That's 25 years this year. Granted, its' configuration process in particular has needed radical reform, and fortunately it has recently got it.

    I don't understand why people criticise its' stability, either; for me it has always been rock solid, particularly on FreeBSD.

    I'm also not really surprised that Chrome might run faster under X than under Windows or the Mac. If there's one thing that's always been true of UNIX in general, it's that the system doesn't include unnecessary frills. When you're wanting to be optimised for speed in particular, that can only be a good thing.

    I love X.

  39. Re:Windows and OS X versions, please. by Alef · · Score: 2, Insightful

    The only terminology I have ever heard of calls the X server "server" and applications using it "clients". Perhaps you are referring to the fact that the X server typically executes on the client computer (the user's computer), because that's where the keyboard and screen is, while the application (client) sometimes executes on a server computer, to which the user might have connected using a remote shell (such as SSH).

  40. What? by ratboy666 · · Score: 2, Informative

    - As to overwriting. This occurs because the update events follow behind the UI. The problem is resolved by the composite extension, or by enabling backing store -OR- by increasing network bandwidth. Some old X Servers didn't have backing store (and certainly no compositing), AND ran over constrained pipes. It hasn't been a problem with desktop X for years.

    - X is extensible by design. Multiple display support, accelerated 3D, video playback and compositing do work. For $DEITY sake, I use these features on my stinky little Acer Aspire One using Linpus! No particular problems -- "it just works" (tm). I don't like transparent windows, so I just don't bother, but it does work. Why the hell would a user want to know about the alphabet soup? Just use a packaged OS. The alphabet soup comes about because the development of X is an open process.

    - And, in comparison with the Mac, you do notice that Apple packages an X Server with OS X? When running in a heterogeneous environment, it's necessary.

    - Finally, you bring up the Unix Hater's Handbook. Ok, let's break it down:

    1 - xload, xterm and xclock are possibly among the LEAST used programs under modern X based systems. They weren't
    even installed on my Acer when I got it.

    2 - Motif isn't used anymore.

    3 - Cut and Paste really isn't an issue anymore, either.

    4 - ssh -Y is usually used to remote X servers - authentication isn't an issue anymore either.

    5 - Gnome and KDE provide the "customization methods"; since xterm isn't used anymore (or xcalc, or xedit),
    the xresources issues are also gone.

    6 - imake has been deprecated for YEARS.

    7 - Pretty much nobody uses raw X protocol or XLib anymore either.

    8 - NeWS was "killed" because IBM and DEC didn't want a repeat of NFS - they didn't want to send SUN any more money. So, they marketroids forced the issue. I agree the superior technology didn't win, but X is still around. Sucks to be the customer when they get what they have been told to ask for.

    The UGH was relevant in the early '90s. No longer.

    The "MAC UI Experience" could be planted on top of X. I am disappointed that Apple isn't driving that. It would involve developing several extensions that would be useful to X users. But, if Apple doesn't want to do it, others will:

    http://www.freedesktop.org/wiki/Software/CompositeExt
    http://en.wikipedia.org/wiki/XRender
    http://keithp.com/~keithp/talks/randr/randr/
    http://en.wikipedia.org/wiki/X_video_extension
    http://docs.sun.com/app/docs/doc/801-6662/6i1196cd6?l=ja&a=view

    The first four are generally implemented. The last is not (X/DPS). But, MAC OS X only implements a subset of X/DPS anyway (and, of course, it isn't compatible).

    --
    Just another "Cubible(sic) Joe" 2 17 3061
  41. For and against tighter integration of wm's by Tetsujin · · Score: 2, Insightful

    How much of the graphical user interface evolution on UNIX has been put back because the varying WMs and toolkits?

    It's better now that we're down to X.org and GTK or Qt, but years were wasted because you couldn't write an app that took advantage of, say, Display Postscript or multi-head or decent colour-correction or a given GUI toolkit without restricting your market.

    For a very long time---and ending not so long ago---state of the art, cross-platform GUI toolkits on UNIX started and ended with Motif. That's horrible.

    That doesn't really speak to the question of whether the window manager should be built-in...

    I mean, I don't want to sound like the situation is all roses here. Yes, as you say, there's been a lack of focus that has detracted from the overall experience. But, you gotta look at the bright side, too. Suppose Motif and/or mwm had been integrated tightly into the X server... Where would we be now? We'd still be stuck with it, probably... Would we really be happier knowing that a clear direction had been chosen, if that clear direction sucked?

    I think the lack of focus is an unavoidable consequence of a system that's developed without clear-cut, authoritative leadership. That's a down-side of using a system that's not been designed by a single group like Microsoft or Apple. But the up-shot is that a system like that is open to experimental ideas. The result isn't a true meritocracy of software (that is, no matter how good a piece of software you might write for a particular task, there are still practical problems in terms of getting people to invest themselves in using it) but there are always options...

    Going back to the question of tighter integration of the wm with the X server - I remain unconvinced. I could see how X could benefit from better compositing support and other features to make wm's behave better, but I don't see what the benefit would be of having the wm built right in to the X server. It seems like running it on the local machine is just as good...

    --
    Bow-ties are cool.
  42. Comment removed by account_deleted · · Score: 3, Informative

    Comment removed based on user account deletion

  43. Re:Windows and OS X versions, please. by Guy+Harris · · Score: 2, Informative

    Us losers? Are you implying that somehow you are exempt from being a loser while still posting to slashdot just because you are anonymous?

    An anonymous coward who knows what he or she is talking about is far more valuable than a poster with an account who doesn't.

  44. Wrong by Kludge · · Score: 2, Insightful

    The window manager should have been part of X from the get-go.

    The window manager should NOT be part of X. Choice of window managers is a good thing. And what is even better is choosing and changing window managers without logging out. Or running them in different windows (really handy sometimes.)
    99% of users don't do that you say? I don't care. It's nerdy goodness, and this is news for nerds.

  45. Re:Windows and OS X versions, please. by mr+exploiter · · Score: 2, Insightful

    I think it's only the persons that call the terminology reversed are the ones that are backwards. It's very logical to me.