Stories
Slash Boxes
Comments

News for nerds, stuff that matters

Xr Renamed to Cairo

Posted by CowboyNeal on Sat Aug 30, 2003 12:46 PM
from the pharaohs-and-pixels dept.
Charles Goodwin writes "Xr, the vector graphics extension for XFree86 that Keith Packard, Carl Worth, and a few others have been hard at work on, has been renamed and is now officially called Cairo. Keith and Carl recently gave a detailed presentation on Cairo (then known as Xr) which should be a useful read for those wishing to understand it a little better. There is already a useful Gtk+ rendering backend that uses Cairo, as well as an SVG test suite. This, along with Gnome2's subtle adoption of SVG and the inception of Xouvert (which now has goals for both the short term and long term, and an initial plan which includes coexisting with XFree86), spells a bright future for the eye candy of an X desktop."
This discussion has been archived. No new comments can be posted.
Display Options Threshold:
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
  • Well now, that's just great. (Score:2, Insightful)

    by AntiOrganic (650691) on Saturday August 30 2003, @12:49PM (#6833827)
    (http://www.madtasty.com/)
    That's all good and well, so when are we getting alpha-blending in X? It's really annoying having "almost" transparent terminals that copy my background.
    • Re:Well now, that's just great. (Score:5, Insightful)

      by Rooktoven (263454) on Saturday August 30 2003, @12:53PM (#6833849)
      (http://slashdot.org/)
      In some ways almost transparent is easier on the eyes. I know when I have 4 or 5 mac terminals open the overlay can be confusing-- not to mention if (assuming a dark background) a light colored application ends up behind a terminal.

      I know it's nice for the "see what is possible" factor, but pseudo-transparency has it's place. I might even opt for it at times if I had the choice.
      [ Parent ]
      • Re:Well now, that's just great. (Score:4, Insightful)

        by Jon Abbott (723) on Saturday August 30 2003, @02:00PM (#6834219)
        (http://monogon.org/)
        I can't remember where I read this quote, but it went something like, "In the publishing industry, tons are spent and much effort is made to ensure that the paper is thick enough so that the reader can't see the words underneath the current page... In the computer industry, it seems that the effort spent is for the opposite effect." :^)
        [ Parent ]
      • 1 reply beneath your current threshold.
    • Re:Well now, that's just great. by Webmonger (Score:2) Saturday August 30 2003, @12:53PM
    • KDE3? (Score:5, Informative)

      QT3 has translucent menu items and such. I haven't checked to see if they cheat by reading from the screen, or if they have implimented an alpha layer.

      The big issue with an alpha layer is that someone has to have the authority to impliment such a change in the X11 protocol, it can't be done as an extension. Anyone who uses the fucked up protocol won't be able to display their app on a different X server. This breaks compatibility with thin clients.

      What I want is complete revamping of the X protocol with backward compatibility maintained (permanently), such that new apps can take advantage of new server-side widgets without breaking compatibility. Wouldn't it be sweet if GTK+ apps could run as well over a 256kb/s line as XAW apps do?
      [ Parent ]
      • Re:KDE3? by rmull (Score:2) Saturday August 30 2003, @01:08PM
      • Re:KDE3? (Score:5, Informative)

        by IamTheRealMike (537420) on Saturday August 30 2003, @01:13PM (#6833968)
        (http://plan99.net/~mike/)
        They do cheat, yes. There is no need to break backwards compatability, in fact the protocol already has what's needed, it's mostly a matter of XFree engineering and getting it effecient enough to not kill performance. If you want GTK apps to run sweet over a modem even, look into NX compression. Again, no need to break X.
        [ Parent ]
        • Re:KDE3? by Daniel Phillips (Score:2) Sunday August 31 2003, @11:48AM
      • Re:KDE3? by bhtooefr (Score:1) Saturday August 30 2003, @01:15PM
        • Re:KDE3? by Breakfast Pants (Score:1) Saturday August 30 2003, @05:24PM
      • Re:KDE3? by andrewl6097 (Score:3) Saturday August 30 2003, @01:30PM
      • by HanzoSan (251665) on Saturday August 30 2003, @01:37PM (#6834095)
        (http://geeks4dean.com/ | Last Journal: Wednesday October 01 2003, @11:42AM)


        I think the whole friggin GUI should be vectors. The Icons should be vectors, and these vectors should be manipulated in realtime via the video card/hardware.

        Forget software rendering, we need hardware rendered GUI, using SVG for the interface and icons.

        We also need to somehow maybe via OpenGL or some technique, to get the special effects of the video card applied to the GUI.

        Then someone can write KDE4 or whatever, and the eyecandy/special effects should be plugins, a person should be able to code an effect via a scripting or programming language, someone should be able to download say, the motion blur or sparkle plugin, and then I click it and suddenly my menus motion blur or sparkle with fairy dust when I move them.

        You could break the effects up into groups.

        Scaling effects
        Trails for cursor
        Trails for menu
        Icon effects/animations

        etc, and when this is done, then people can write themes easily etc and we can innovate.

        The key should be a system that allows a newbie who isnt a coding genius to actually manipulate a video card either via scripting, or some high level interface.

        What I want is complete revamping of the X protocol with backward compatibility maintained (permanently), such that new apps can take advantage of new server-side widgets without breaking compatibility. Wouldn't it be sweet if GTK+ apps could run as well over a 256kb/s line as XAW apps do?

        I dont care so much about backward compatibility and I dont think most desktop users do. Servers sure as hell wont be running this. But if back compatbility is so important that can be handled to.

        QT3 has translucent menu items and such. I haven't checked to see if they cheat by reading from the screen, or if they have implimented an alpha layer.


        Fake translucency is not what people want, we want alpha channeling. This will only happen when the whole interface changes from pixel based to SVG based and then an OpenGL backend to access the video cards.

        I think Evas has the right idea here, now its just time to have X catch up to it.
        [ Parent ]
      • Re:WTF? by uhmmmm (Score:3) Saturday August 30 2003, @01:20PM
        • Re:WTF? by Carlos Laviola (Score:1) Saturday August 30 2003, @02:09PM
      • 3 replies beneath your current threshold.
    • 2 replies beneath your current threshold.
  • great (Score:4, Funny)

    but when do we get an ASCII renderer for it?
    • yesterday. by pb (Score:2) Saturday August 30 2003, @02:12PM
  • by Anonymous Coward on Saturday August 30 2003, @12:52PM (#6833842)
    This is the code name for Windows NT. This is a blantant and illegal DMCA violation, and a dilution and sullying of Windows NT's good name. They will be served.
  • by justsomebody (525308) on Saturday August 30 2003, @12:56PM (#6833872)
    (Last Journal: Thursday January 15 2004, @06:55PM)
    According to publications they are going to contact as many organisations and support as many standards as possible. That's something that XFree never did.

    They even plan to contact Freedesktop.org.
  • by HanzoSan (251665) on Saturday August 30 2003, @01:03PM (#6833911)
    (http://geeks4dean.com/ | Last Journal: Wednesday October 01 2003, @11:42AM)


    Why are we posting this when this happened like a month ago?

    Anyway where can I donate money to Cairo development?I mean I dont have A PHD in software engineering and cannot help with the actual development, so how about accepting donations people?
  • sub-pixel aliasing? (Score:1, Interesting)

    by Anonymous Coward on Saturday August 30 2003, @01:14PM (#6833974)
    Does anybody know if sub-pixel anti-aliasing is planned for this -- or any other vector drawing APIs? Smooth anti-aliased lines look nice, but they look bad in comparison when they're next to sub-pixel anti-aliased text on an LCD screen.
    • 1 reply beneath your current threshold.
  • Not eye candy!!! (Score:5, Interesting)

    by G3ckoG33k (647276) on Saturday August 30 2003, @01:22PM (#6834002)
    "right future for the eye candy of an X desktop"

    This is essentially untrue. Accepting vector graphics as the default in computers may alter our perception of what is eye candy completely. As far as I'm concerned the Fresco/Berlin project was the right way already several years ago. Today, the hardware has caught up and there is nothing to be lost in user space with vector graphics everywhere.

    In fact, we have no idea what kind of possibilities may open up here. If we're unlucky, yes, it might be a can of worms... ;)
    • Re:Not eye candy!!! by jsebrech (Score:1) Saturday August 30 2003, @02:56PM
    • Re:Not eye candy!!! (Score:5, Informative)

      by penguin7of9 (697383) on Saturday August 30 2003, @03:11PM (#6834603)
      As far as I'm concerned the Fresco/Berlin project was the right way already several years ago. Today, the hardware has caught up and there is nothing to be lost in user space with vector graphics everywhere.

      X11 doesn't support "vector graphics" any more or less than it used to. What has changed is that X11 now has an imaging model similar to PostScript (subpixel addressing, antialiasing, etc.) in addition to its older bitblit model (pixel-accurate, using boolean operations for drawing).

      (Subpixel addressing also allows you to do zoomable or "resolution independent" graphics, while the bitblit model is resolution dependent. However, the term "resolution independent" is somewhat of a misnomer--even if your imaging model supports arbitrary zooming, you can't just zoom user interfaces up and down and expect them to be usable.)

      When people talk about "vector graphics" in the context of window systems, that usually means the use of display lists: you give the server a list of "objects" to display (lines, triangles, rectangles, etc.), and the server takes care of displaying them when needed. But they might mean something else as well.

      Display lists in X11 are still handled the way it has always been handled: by client-side libraries. Eventually, there may be a server-side extension for handling display lists and perhaps even the ability to transfer display lists and structured graphics in the form of SVG data. That would give you Quartz-like redrawing and rescaling, although while that looks nice it has few real advantages.

      Now, what about Berlin vs. X11? First of all, one big thing in Berlin is the incorporation of GUI components into the server. That is an anathema to X11 designers. Also, while resolution-independent graphics is nice (the same thing X11 now supports with Cairo), it is a poor choice as the only graphics model: well-designed application for low-resolution and/or low-depth screens (e.g., a 160x160 Palm) must be able to draw with pixel-accurate drawing operations and precisely predictable results on every bit on the screen.

      I don't think Berlin "got it right". Berlin concentrated on the obvious, convenient, clean, high-level stuff. Berlin would give you slick-looking OS X-like desktops if it ever caught on, but the Berlin designers have neglected the other imaging models that are really important to real window systems, and they have put way too much policy into the server.

      Fortunately, the way X11 is evolving, we won't have to make a choice: you can have all the slick antialiased, structured graphics you like, and yet still have pixel-accurate drawing in a bounded memory X11 implementation. The only difference will be that X11 still won't enforce policy on the server side, and that's a good thing as far as I am concerned. But the market will decide that issue.

      In fact, we have no idea what kind of possibilities may open up here. If we're unlucky, yes, it might be a can of worms... ;)

      There is no "can of worms". We have had window systems with antialiased drawing, structured graphics, and all that at least since the 1980s; maybe you remember NeXT and NeWS. The feature is nice, but it doesn't radically change what people do with GUIs.
      [ Parent ]
    • Re:Not eye candy!!! by Ed Avis (Score:2) Sunday August 31 2003, @04:43AM
  • by Vexalith (684137) on Saturday August 30 2003, @01:26PM (#6834020)
    I like the sound of Xr/Cairo, seems pretty cool. But how long is it going to take for this to turn in to something I can actually use? I guess the eventual goal is to have GTK and QT running on top of Cairo (maybe with extensions to do explicitly vector things?), but this strikes me as something that's not going to happen fast. Maybe I'm just being impatient.
  • by f1ipf10p (676890) on Saturday August 30 2003, @01:26PM (#6834024)
    Stuffed on the finest of herring no doubt!

    Great news on the arrival of rasterized graphics output for Xfree86. That should allow for some superb gaming, visual modeling, and graphic apps for Linux.

    XrStroke is sure to be a popular command...
    maybe that explains the contented look... randy penguin!

    If you are lost with these references, you might enjoy "Why a penguin?" and "linux" together as a google search.
  • Finally, buffering. (Score:5, Insightful)

    by TheRaven64 (641858) on Saturday August 30 2003, @01:36PM (#6834089)
    (http://theravensnest.org/ | Last Journal: Tuesday November 27, @07:07AM)
    From the short term goals:

    Provide an option to force backingstore on all windows.
    This is the one I've been waiting for for a while. When RAM was $500 for 64K it made sense not to buffer windows, but now it is insane not to, forcing redraws which drain CPU and networt bandwidth (on remote displays).
  • by marcovje (205102) on Saturday August 30 2003, @01:43PM (#6834134)
    ... for one of the w9x window's versions.

    Bad, bad :-)
  • Who names these things? (Score:5, Interesting)

    by IntelliTubbie (29947) on Saturday August 30 2003, @02:29PM (#6834392)
    Whatever happened to descriptive naming? Who would instinctively associate "Cairo" with "vector graphics for XFree86"? Why not name it something sensible, like "XVector" (if that's not already taken)?

    In all seriousness, I think that poor name choices hurt the adoption of free software. Think about "Photoshop" vs. "The GIMP," or "Internet Explorer" vs. "Mozilla." Rather than something simple, descriptive, and catchy, we usually opt for indecipherable codenames, stupid recursive acronyms, or lame in-jokes that few people but the developers themselves will get.

    Poor naming limits the spread of the software meme to those who are already in the know, especially when the names are designed to enforce an only-the-anointed-get-it, us-vs-them mentality.

    Cheers,
    IT
  • Everything is coming together (Score:4, Interesting)

    by smallpaul (65919) <paul@@@prescod...net> on Saturday August 30 2003, @02:34PM (#6834409)

    Over the next few years, desktop graphical environments will move increasingly towards vector graphics and away from bitmaps. The Mac is already there. Windows and Linux are both in the development stage (Longhorn and Cairo respectively) and it will be interesting to see who gets there first. Desktops will finally scale properly to different sized monitors and there will be no excuse for apps that do not scale properly.

    Once every operating system supports vectors natively, SVG will become a no-brainer. Why would we use vectors for everything on the desktop and then dumb it down to bitmaps for transmission over comparitively thin network pipes to devices of arbitrary size and shape? It would make no sense whatsoever. So SVG will replace a huge number of the GIFs and PNGs on the Web, to say nothing of Flash files.

    A wonderful side effect of this will be that people will finally be able to have richly rendered text on the Web without resorting to binary formats like GIF and Flash. Imagine being able to cut and paste text even when it is embedded in highly stylized corporate graphics (as is becoming more and more common!).

    There are really so many follow-on effects that we could have a long thread discussing them. Congratulations to the Cairo and X teams for taking a few more steps down the path!

  • Uh oh (Score:1, Interesting)

    by Anonymous Coward on Saturday August 30 2003, @02:54PM (#6834513)
    "Cairo" as a product-in-development label has a untasteful history of missed deadlines, deadends, failed architectural implementations and organizational embarassment.

    But...who knows. Maybe this Cairo won't be a wasted excursion in the desert...

  • by maxmo74 (597969) on Saturday August 30 2003, @03:00PM (#6834551)
    ...to be moved. The Xouvert project team, instead of being a "hot head" and planning to just develop something terribly different, fast, slow and maybe also very unstable or even NOT planning at all, decided that the first step has to be taken on april 2004. Gee... when I saw the very first page of Xouvert I was excited about this fork. Just a little later I found out that it's not a fork but a "development branch" therefore no question about license change (would't have been great to have it GPL finally?), that the development speed is surely nothing like I am used to (KDE, linux, mozilla...) and that the final result would be nothing more and nothing less than the same XFree we are using since a long ago. Yes, there have been improvements, surely many in the last two years, but I think many were/are waiting for something "different", even if unstable at the beginning (I had KDE crashing 10 times aday until january). A question: why is it so difficult to create a REAL fork from XFree? Making it GPL also would maybe make more developers decide to contribute. XFree could not get the changes and improvements back? Is it that bad when such a new software would be used by everyone instead of XFree? If it doesn't work out they might switch to X11/MIT license back and recontribute the (little) changes back to XFree.
  • by Kakurenbo Shogun (64436) on Saturday August 30 2003, @03:03PM (#6834569)
    (http://antone.geckotribe.com/)
    Better be careful--unless this stuff is getting developed in Egypt, the WTO might sue to force them to change the name.
  • X r == "Cairo" (Score:5, Informative)

    by musselm (209468) on Saturday August 30 2003, @03:32PM (#6834737)
    Pronounce the Greek letters.

    X == Chi

    r == Rho

    Okay
  • Not really a rename, is it? (Score:1, Redundant)

    by fishbowl (7759) <jmcgill@email.a r i z o n a.edu> on Saturday August 30 2003, @03:42PM (#6834777)
    XR (or XP) can be read as "Chi Rho" ...
    • by Fnkmaster (89084) on Saturday August 30 2003, @04:49PM (#6835088)
      Very interesting, I never thought of that. And IANAPOS (I am not a professor of symbology), but "chi rho" was the classical symbolic representation of the name of Christ (written in the Greek as "XP" of course, and often rendered with the P superimposed on top of and through the middle of the X). In Greek, of course, chi and rho form the first two letters of "Christos", or Christ.


      Makes you wonder what that "XP" in Windows XP and Athlong XP really stands for. A plot by the religious right to infiltrate Microsoft? Hmmm...

      [ Parent ]
  • by Radical Rad (138892) on Saturday August 30 2003, @10:32PM (#6836249)
    (http://www.factcheck.org/)
    "We're on the road to Cairo" he was right but his timing was just a little off.
  • All I know is I want.. (Score:3, Interesting)

    by mattr (78516) <<moc.ydobelet> <ta> <rttam>> on Sunday August 31 2003, @01:32AM (#6836804)
    (http://telebody.com | Last Journal: Tuesday July 30 2002, @07:28AM)
    That awesome icon resizing wheel widget you get in SGI desktops. I've wanted one for years and years, didn't get one with BeOS, and now finally I'm gonna get one!! Hooray!!

    For anyone who has not used an SGI machine before, windows often have one or two widgets (if two then one would be oriented on the horizontal axis, the other on the vertical) which resemble long, thin, ridged wheels. When you click and drage so as to rotate the wheel showing in a file manager window the file icons will all resize automatically in realtime and smoothly, since it is all drawn in vectors. To me this would make a graphic desktop in linux a lot more useable.

    That, and the way you can use a mouse and three buttons in OpenInventor windows to navigate/manipulate in three dimensions are a couple of the best things about SGI user interfaces to my mind.

    A picture of an IRIX desktop with an icon resizing wheel is here [nekochan.net]

  • by AntiOrganic (650691) on Saturday August 30 2003, @12:53PM (#6833853)
    (http://www.madtasty.com/)
    They are. It's slated for inclusion in 2.4, if I recall correctly.
    [ Parent ]
  • Re:Windows NT 4.0 (Score:1)

    by pohl (872) on Saturday August 30 2003, @12:54PM (#6833861)
    (http://screaming.org/)
    At least some version of NT was code-named "Cairo", back in the days when NeXT was working on "Mecca" and IBM had the "Workplace OS" version of OS/2 in the works. I don't think much of the "Cairo" feature-set actually made it to market. It was supposed to have some lovely object-database filesystem or something, wasn't it?
    [ Parent ]
  • Re:eye candy? (Score:2, Interesting)

    by log2.0 (674840) on Saturday August 30 2003, @12:56PM (#6833873)
    I have always thought vectors were the way to go. The mac implementation is really good (I used mac os X for the first time yesterday). Although having a nicer looking desktop (as long as its optimized) is a good thing. Of course, at first, you wouldnt expect it to go very fast but it should get faster and stable in good time.
    [ Parent ]
  • Re:Windows NT 4.0 (Score:2)

    by ultrabot (200914) on Saturday August 30 2003, @12:57PM (#6833875)
    ISTR it was Windows 95.
    [ Parent ]
  • Re:Windows NT 4.0 (Score:3, Interesting)

    by KoolDude (614134) on Saturday August 30 2003, @12:59PM (#6833880)

    Actually, it was Windows XP which was code-named Cairo. X and P refer to Greek Letters Chi and Rho. Possibly Xr changed to Cairo using the same logic. Just a guess, though.

    [ Parent ]
  • Re:Dumb name of the month (Score:1, Redundant)

    by Mooncaller (669824) on Saturday August 30 2003, @01:07PM (#6833931)
    Whys it dumb? Chi = X, Rho = r. Together they are pronounced Cairo.
    [ Parent ]
    • 1 reply beneath your current threshold.
  • Re:Windows NT 4.0 (Score:1)

    by BigBadBri (595126) on Saturday August 30 2003, @01:08PM (#6833937)
    Cairo was what was proposed for NT5 - or Win2K as it turned out.

    They never got the OO filesystem to work, though, so NTFS lives on.

    [ Parent ]
  • You have no need to upgrade. (Score:4, Interesting)

    by HanzoSan (251665) on Saturday August 30 2003, @01:08PM (#6833941)
    (http://geeks4dean.com/ | Last Journal: Wednesday October 01 2003, @11:42AM)


    Cairo is not for you! someone like you should use the old version of Xfree86 because you dont like cutting edge, you dont like polish, you dont need eye candy.

    But please do not hold the rest of us back because you dont want progress.There's the commandline and original Xfree86 for people like you, we also need to attract desktop users, and this requires eyecandy.

    They will not switch from Windows if Windows is better.
    [ Parent ]
  • Re:eye candy? (Score:2, Interesting)

    by oc255 (218044) <milkfilk AT yahoo DOT com> on Saturday August 30 2003, @01:13PM (#6833970)
    (http://hexameter.com/)

    One of the parts in the article mentions a user-specified error tolerance to control quality vs performance. I'd be curious to see how this performs in the real world.

    There's already a gnome theme by the name of scalable gorilla [ximian.com] that uses vector graphics. It runs a little slow on slow CPUs, but it looks fantastic and it's easily configurable. With a bitmap icon, I have to recreate the graphics file, with the Scalable Gorilla theme, I change text in a XML file. Another thing to keep in mind is the size of the hi-res bitmaps that would be required to compete with the computer synthesized perfection of vector graphics.

    Isn't this a disk space vs CPU tradeoff? I have to store a bitmap where I have to compute a vector? I'm all for using my untapped CPU cycles instead of disk storage.

    [ Parent ]
  • Re:eye candy? (Score:3, Interesting)

    The lack of vector graphics was on of the major arguments citing why X11 doesn't work very well over low-bandwidth links.

    Is having X over low bandwidth eye candy?
    [ Parent ]
    • Re:eye candy? by fault0 (Score:2) Saturday August 30 2003, @02:17PM
      • Re:eye candy? by fireboy1919 (Score:2) Saturday August 30 2003, @02:48PM
        • Re:eye candy? by fireboy1919 (Score:2) Saturday August 30 2003, @08:03PM
          • 1 reply beneath your current threshold.
        • 1 reply beneath your current threshold.
  • by arkane1234 (457605) on Saturday August 30 2003, @01:37PM (#6834094)
    (Last Journal: Thursday March 20 2003, @12:22PM)
    I think you missed the "good" and "solid" part of that sentence.
    [ Parent ]
  • by KingRamsis (595828) <kingramsis@gma[ ]com ['il.' in gap]> on Saturday August 30 2003, @04:21PM (#6834954)
    care to enlight us about whats wrong with the name "cairo" ?


    disclaimr: I'm biased. [slashdot.org]
    [ Parent ]
  • Re:eye candy? (Score:1)

    by usotsuki (530037) on Saturday August 30 2003, @07:38PM (#6835731)
    (http://sourceforge.net/projects/dapple)
    "Beauty is truth, truth beauty; that is all
    Ye know on earth, and all ye need to know."

    qp?

    -uso.
    [ Parent ]
  • Re:eye candy? (Score:3, Insightful)

    by TRACK-YOUR-POSITION (553878) on Saturday August 30 2003, @07:58PM (#6835799)
    Steve Jobs doesn't want you to theme your Aqua eye candy--which kinda defeats the purpose, IMHO. Not to mention that Mac OS X doesn't let you exploit the most important benefit of vector graphics--resolution independence.
    [ Parent ]
  • Re:Windows NT 4.0 (Score:2)

    by AgTiger (458268) on Saturday August 30 2003, @08:06PM (#6835832)
    (http://slashdot.org/)

    See the following link. Cairo is listed as "Originally Windows NT 4.0, later a designation of technologies, which were planned partly for NT 4 and/or NT 5. Cancelled.

    Bink.nu: Microsoft Codenames [bink.nu]

    [ Parent ]
  • 21 replies beneath your current threshold.