Stories
Slash Boxes
Comments

News for nerds, stuff that matters

Slashdot Log In

Log In

Create Account  |  Retrieve Password

Novell Makes Public Release of Xgl Code

Posted by ScuttleMonkey on Wed Feb 08, 2006 02:31 AM
from the walking-the-walk dept.
hamfactorial writes "Novell has announced the public availability of the Xgl code, an openGL accelerated X server layer. Available binaries ought to be coming soon for distributions running the modular X.org 7.0 release (possibly 6.9, though unconfirmed). A temporary page for Xgl information is up at the openSUSE website. This is the same code that was running in the Novell Linux Desktop 10 preview videos as seen earlier. Further information is also available at Miguel De Icaza's blog."
+ -
story
This discussion has been archived. No new comments can be posted.
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More
Loading... please wait.
  • Window manager land (Score:5, Interesting)

    by Gopal.V (532678) on Wednesday February 08 2006, @02:43AM (#14667687) Homepage Journal
    Should I kill my fluxbox and use compiz as my default window manager ? Or can compiz actually live along side a normal windowmanager which has about half a year of short-cuts that I use heavily ?

    I would love if someone could actually tell me if fluxbox (or indeed xfwm4) will work with XGl out of the box.

    • It's an X.org extension. It's in no way like a window manager at all. At least you don't use gnome or kde, I suppose...
      • by nathanh (1214) on Wednesday February 08 2006, @03:59AM (#14667968) Homepage
        Compiz is just a compositing manager. As I understand it, it exists independently of Metacity or any other window manager you choose to use.

        You understand incorrectly. Compiz is both a window manager and a compositing manager. There were technical reasons as to why it was done this way. Metacity will also be incorporating composite code directly rather than have a separate userspace process.

        • Metacity will also be incorporating composite code directly rather than have a separate userspace process.

          Which doesn't quite answer the question. Can *any* window manager be used, or only those that have incorporated the compositing code? Is it possible to use a standalone compositor (say, at the expense of some performance), or does it have to be part of the window manager? If it's the latter, than the obvious route is to make it a shared library, which the wm can dlopen() as appropriate. That way, you

          • Which doesn't quite answer the question. Can *any* window manager be used,

            No.

            or only those that have incorporated the compositing code?

            Only Compiz; the different compositors are not feature compatible.

            Is it possible to use a standalone compositor (say, at the expense of some performance),

            No.

            or does it have to be part of the window manager?

            Yes.

            If it's the latter, than the obvious route is to make it a shared library,

            No.

            which the wm can dlopen() as appropriate.

            No.

            • Novell was initially reluctant to release this code -- after all, they didn't have to because the X11 license doesn't contain any forced sharing, copyleft [gnu.org] provisions. The Open Source community had [livejournal.com] to complain [blogspot.com] loudly [blogspot.com] before Novell decided it didn't want to risk losing support from independent developers. One reason they might have wanted to keep the modifications closed was to make a big splash for the release of the Novell Linux Desktop. Another possible reason is that Ximian (and Nat Friedman, who was Xim
  • by Max Romantschuk (132276) <max@romantschuk.fi> on Wednesday February 08 2006, @02:46AM (#14667698) Homepage
    Most people who dislike eye candy do so because it slows things down or clutters the UI. Watching these videos and seeing what Apple has done with OS X made me realize that eye candy can make the interface more intuitive when done right. The virtual destop cube -thingy really looked like something usable for a change.

    I suspect the possibilities created by hardware accelerated UIs will lay the groundwork for a whole new set of UI paradigms, but the real implications are probably still years away.
    • by ardor (673957) on Wednesday February 08 2006, @02:59AM (#14667754)
      I agree. Furthermore, the current state actually does not make much sense. Considering that, for example, nvidia-chips do not have a dedicated 2D core anymore, the driver has to emulate 2D for the legacy 2D APIs that have been used until now. Essentially, dedicated 2D development is dead; its nonsense to have a 2D core since the 3D one can do everything 2D-related much faster and with extras like blending or shaders.

      So right now we have an artificial distinction between 2D and 3D. The vendors have to deal with composite stuff AND with opengl acceleration, sometimes simultaneously. Using OpenGL as the base for everything is much better, since opengl already has a client/server-architecture, driver development gets easier, X as a whole becomes leaner, responsiveness and look-n-feel of X improve, and the CPU does not have to deal with fake transparency stuff.

      So its all about moving the 2D/3D-distinction away from the driver into the X server.
      • by nathanh (1214) on Wednesday February 08 2006, @04:15AM (#14668015) Homepage
        What bothers me is that the FOSS community didn't seem to take this technology seriously until Microsoft announced it was going into Vista.

        What bothers me is that you can make such statements with such conviction when they are entirely untrue. The FOSS community have been working on features like this since at least early 2004. The Xorg/XFree86 split was partially due to arguments over the Composite and Render extensions that are necessary foundations for this demo.

        This technology hasn't appeared on your radar because you aren't looking at the right places. If you read xorg-devel, or planet gnome, or freedesktop, then you would be aware that this technology has been treated seriously. The Novell demo came from out of the blue but the FOSS community has been working on the technology for ages.

      • by Macka (9388) on Wednesday February 08 2006, @06:36AM (#14668400)
        OS X is fine for users trying to run two or three windows but for serious users that run ten or twenty programs at once it just is in the way
        You need to learn how to use the OS X desktop more effectively then.

        1. Map your Exposé functions to the screen corners from the "Dashboard and Exposé" option in System Preferences. I've got the following mapped: Top-Left-Application-Windows, Top-Right-All-Windows, Bottom-Left-Start-Screen-Saver, Bottom-Right-Desktop. Its way faster than having to hunt out F9-12 between mouse movements.

        2. Make better use of Command-H to hide an app and its associated windows instead of iconizing. It keeps the dock from getting cluttered up

        3. If things are getting too busy on the desktop use Option-Command-H to hide all the other apps except the one you're working on. Instant clarity.

        4. Remember that you can bring an app (and all its associated windows) to the foreground by clicking the app icon in the dock.

        As a serious user who's been using Mac OS X for 3-4 years now, full time, for both work and home I can tell you that the OSX desktop does not get in the way if you make full use of the available features. On the contrary, its a pleasure to use.

        • OS X and windows has the same problem, cluttered Dekstops. As you say you need to hide the programs. When on UNIX I don't have overlapping windows, I use virtual desktops. It doesn't clutter and works really well. I manually position my programs the way I like to have them, that way I know where they are. On Win and OS X the windows can be all over the place where there is enough space at the moment. I don't see anything you just explained that changes that. No thanks. I don't want to search for my programs
        • There is one instance when I've found transparency to be very useful in OS X- and that is with the terminal. It is incredibly nice to be able to code in a terminal window and have documentation open beneath the terminal so that you can simply look through the code to see you're documentation.
          The thing about transparency isn't that you want to have all your windows transparent, it's that you want to be able to have one window open full screen and still be able to quickly reference another window.
          • As an alternative, you can have focus-follows-mouse and put the docs on top of the terminal.

            One of many reasons I hate click-to-focus, autoraise, and other things that force the window with focus to also be the on top.
            • Yeah, I need every bit of CPU-power to surf the web, draw images, check email... I guess I could reduce my compile-times by 0.3% if I eliminated all eye-candy. But OTOH, that would make my computer-usage a bit less enjoyable, so I fail to see the benefit.

              And to be honest, that screenshot looks like crap and it's very unproductive IMO. Just because something looks like crap does not mean that it's "efficient". and just because something looks good does not mean that it's inefficient.
  • Finally! (Score:5, Insightful)

    by rsilvergun (571051) on Wednesday February 08 2006, @02:49AM (#14667709)
    Real Transparency! But who's providing the hardware accel? This is still kinda sticky, right now your choices boil down to nvidia's closed source driver (not that I have a problem with that), ATI's bug fest (sorry, but it's true), or a really old Radeon. Oh yeah, while I'm idly wondering, what are the odds of this making it into mainstream desktops ( stock gnome/kde )?
    • Re:Finally! (Score:3, Informative)

      The open source R300 drivers (http://r300.sourceforge.net/ [sourceforge.net] - now part of Mesa/DRM + X.Org source trees) for the 9600 and 9800 series of ATi Radeons seem to be currently at least somewhat usable.

      I mean, at least Planet Penguin Racer (ex-Tuxracer) seemed to work fine, 3D acceleration and all..! :P

      • They've always been rock solid (not to mention easy to install) for me, across multiple GeForce generations. This is on Red Hat and multiple incarnations of Fedora with SMP systems. Many, many hours of gaming, with FSAA and all effects on. I think I may have had what appeared to be a graphics hang *once* in all the time I've used them (about three years).
      • From my experience the nvidia drivers aren't very stable.

        That's odd. What card(s)/motherboard(s)/kernel version(s)/nVidia driver version(s)?

        They've always been perfectly stable with my GeForce 4 MX and GeForce FX 5700. A motherboard with Via AGP and an nForce 2 motherboard (all nVidia chipsets, nVidia AGP etc). Stable on Arch Linux, Gentoo Linux, kernels compiled with GCC 3.3.x, 3.4.x, and now 4.1 beta, and stable with both the kernel's AGP driver and the nVidia driver's built in driver.

        The only trouble I
      • I'd like to know what kind of hardware they used to create the demo's. From my experience the nvidia drivers aren't very stable.

        In my experience, stability hasn't been a problem for nVidia drivers released over the past few years (it was a problem 4 or 5 years ago but they seem to have sorted it). There are still some niggling bugs (not usually stability related) which would've been fixed a long time ago if the drivers were open though... I think a public bugzilla would also help so we can see the progress
  • Whoa (Score:5, Funny)

    by strider44 (650833) on Wednesday February 08 2006, @02:49AM (#14667710)
    This is a great advertisement for Novell here - their servers have lasted something like ten minutes already after posting 4 videos on Slashdot!
  • A little preemptive. (Score:5, Informative)

    by Stalyn (662) on Wednesday February 08 2006, @02:52AM (#14667724) Homepage Journal
    "Xgl has already been checked into the public repositories, Compiz will be checked in after David Reveman's presentation at the X conference."

    Which is Feb, 8th at 10am PST. [x.org]. Also the XGL code has been available for some time. Browse the CVS [freedesktop.org]. I'm somewhat expecting an update of the code tomorrow too.
  • Debian (Score:5, Funny)

    by Saxophonist (937341) on Wednesday February 08 2006, @02:52AM (#14667729)
    Wow! I can't wait until this hits Debian stable, probably in the Debian 15.8 release in 2028.
    • You give them too much credit.

      I predict version 5 by that time, and Xgl will still be in an unstable apt repo.
    • Re:Debian (Score:3, Informative)

      <TrollFodder>

      Clearly this is contradictory. If you "can't wait" until it hist Debian stable then you are looking for a release which is less stable than Debian stable.

      The reality is, of course much simpler. Odds are that given it's optional "runs on top of Xorg" nature it will be available in Debian testing within 3 months and will consequently be released next time the 16000 or so Debian packages are declared stable enough for a release.

      </TrollFodder>

      • That may be a valid point for libraries or server-related packages, but for anything that has to do with a windows manager, you're just wrong about your concept of stable. You're looking at "unstable" or "testing", or Ubuntu which isn't any more stable than any of those two BTW.

        It's just that their choice of names is a tad misleading.
  • by BerkeleyDude (827776) on Wednesday February 08 2006, @03:20AM (#14667826)
    This is great news! Weren't we waiting for the Xgl?

    Why is everyone complaining about Novell, graphics drivers, Debian, and lots of completely irrelevant topics?

    Nothing can make Slashdotters happy...
  • by semiotec (948062) on Wednesday February 08 2006, @03:23AM (#14667838)
    I watched the demo movies, the last one (Spinning Cube) especially looks quite impressive.

    However, I am wondering if the step from 2D to 3D desktop is as significant as say, going from commandline to GUI.

    It doesn't seem like these 3D desktops actually offer much more functionality than existing 2D desktops. For example, the screen captures of Looking Glass 3d desktop from Sun doesn't seem to offer much more than just some eye candies. Or in case of the spinning cube demo, it doesn't seem to offer (functionally) more than virtual desktops, essentially a fancy way of changing from one desktop to another, which probably can still be done faster with some keyboard shortcut.

    I am trying not to sound like some diehard stubborn conservative who wants to bring back the glory days of command line only interface, rather, I am asking if 3D desktops will change the way that we interact with computers, in the sense that barely anyone remember what it was like to work in DOS? Is this a step towards to (gasp shock horror) VR-based interfacing? Will a new hardware tool be needed like the mouse was necessary for the transition away from commandline?
    • Well, its a new tool for UI design. As with all tools, one has to learn how to use it properly first. For example, OSX shows that alphablending can be useful.

      The main advantage is the sheer responsiveness. Everything feels more fluent, and lags are no longer noticeable.
    • Forget 3D desktops - the real beauty of Xgl is that allows the use of OpenGL to render parts of your desktop, which means your video card won't just be using 1% of its potential anymore. This is done by OSX and it means faster and sleeker graphical desktops.

      Also, combined with the new X.Org extensions (Compositing, Damager, Cairo) it means, of course, eyecandy [novell.com] galore :)
      • Forget 3D desktops - the real beauty of Xgl is that allows the use of OpenGL to render parts of your desktop, which means your video card won't just be using 1% of its potential anymore.

        What about those of us with crappy notebook display cards that use main memory, you insensitive clod?!

        • I don't think so, no. Atleast, until real 3D displays become available. A 3D desktop like that Xgl demo is nice to look at, but doesn't really improve usability, IMHO. It's a solution for a problem that doesn't exist.

          I recall trying an addon for Windows that placed the desktop on a sphere. Nice, but not really useful. The spinning desktop on the video is very similar to 3D-Desktop [sourceforge.net], which only adds a nifty way to switch between virtual desktops. It's really cool to look at, but, say, an horizo
    • I had a few [oneandoneis2.org] thoughts [oneandoneis2.org]about desktops going 3D a while ago, if you're interested.

      It basically says that, instead of making 2D windows go 3D, we should throw away the whole concept of "windows" and switch to multiple 3D layers instead

    • There are many things this can do. Functionally, the fastest way of minimising a window is to simply make it disappear. This, however, can be confusing because it is not obvious where the window went. A fancy window shrinking effect like on OS X thus improves usability. If done correctly you will not lose time on it either.

      Functionally, the fastest way of switching virtual desktop is to simply make the old one disappear and the new one show up. This, however, makes most users think all their applications cr
  • by idlake (850372) on Wednesday February 08 2006, @03:35AM (#14667884)
    I think what will be more important than XGL will be the Windows and OS X versions; the currently available free X11 servers on those platforms tend to be slow and feature-limited. Apple's X11, for example, doesn't handle international keyboard input correctly, doesn't implement RANDR, and doesn't adapt to changes in screen resolution correctly.
  • Finally! (Score:3, Informative)

    by sepelester (794828) on Wednesday February 08 2006, @03:41AM (#14667908)

    I've been waiting a long time for this. And this [gnome.org], and this [beaglewiki.org], and this [nat.org].

    I'd sure like to see 3d GTK+ widgets and window decoration, all following the same global illumination, complete with specular maps [3dtotal.com] and all the advanced pixel shader techniques available the desktop could become truly beautiful.

    • "I've been waiting a long time for this. And this, and this, and this."
      GNOME Storage: Dead.
      Beagle: Braindead.
      Dashboard: oh dear christ.

      The one thing about the whole GNOME project which is about to uproot me and make my move back to QT, is their extreme dependance on Mono. Not only does this put them in legal limbo, it doesn't fix the problems underneath, thus it's building a zoo on top of a house of cards.

      I've played around with GNOME Storage, it was a disaster. (No wonder it died; installing a ke
  • Look is important (Score:5, Insightful)

    by William Baric (256345) on Wednesday February 08 2006, @03:50AM (#14667938)
    I can't understand why there is so many posts saying that eye candy are not important. For people who can't judge the internal quality of a software, how it looks is what tell them if it's good or not. You can't impress a PHB with some C code, but you can sure impress him with a lot of eye candy. I need this very badly to be able to "sell" linux to my client as a desktop and I need it BEFORE Microsoft do it.
  • by Arandir (19206) on Wednesday February 08 2006, @02:24PM (#14671788) Homepage Journal
    From the article: "...we're not going to cede 3D graphics acceleration to proprietary software."

    But will we be required to use a proprietary video driver to get it? It would be nice if Novell were putting its resources behind open source drivers or pressuring the release of hardware specs. Proprietary firmware doesn't bother me at all, but the drivers (both kernel and user mode) for open source systems need to be open source themselves.
    • by Organic_Info (208739) on Wednesday February 08 2006, @02:54AM (#14667732)
      The project is fresh out development and your already whining for what it might not have.

      And to think when the news first broke that this would be initially developed in house there was outrage, but you comment exemplifies why they started development away from the "community".

      Question is are you going to do anything to help the project?
      • You are aware that your sig line is originally attributed to Diogenes of Sinope. And Tyler and Diogenes have really really much in common (to the point where you could say Chuck wanted to create a Diogenes with a masterplan and cool fighting skills). Except that Diogenes was a real person (in both senses, he wasn't the imaginary evil twin of anyone and also not a character in some fictional work). At least there are more indications for Diogenes to have actually existed than for Jesus.

        Not to take anything a
    • Re:Wow (Score:5, Informative)

      by ardor (673957) on Wednesday February 08 2006, @03:03AM (#14667772)
      Then again, guess I'll have to go get that high end video card just to run the next distro. :)

      No, actually not. The rendering presented in the video does not need a 7800. This is basic 3D rendering most on-board graphics chipsets can handle. This functionality has been around for a decade in consumer cards.
    • In xgl you should disable it, the extension is present anyway (no matter whats written in the xorg.conf).
      Also, if you have a nvidia hardware, you should disable it in xorg.conf.
    • You mean you can't? With the nvidia binary drivers you have to add Option "AllowGLXWithComposite" "true" to the Device section since glx stuff isn't properly composited, but it still works.
      • Indeed. I've tried compositing on my XFCE desktop and a nNvida FX5200 with the binary drivers, and i had these beautiful window shadows and the ability to set window transparency. It works, and works now.

            Unfortunately, nVidia binary drivers still don't properly support glx (OpenGL) if compositing is enabled. The option you mention forces it, but you still get weird graphical glitches everywhere. For the time being, if you can live without glx, try compositing. Really cool stuff.
        • It isn't properly supported - any GLX stuff won't have transparency, and, because of how composite works, you may well find that if you hide glx windows the glx stuff is still visible on top of everything else. But it mostly works, and I know I only use glx for fullscreen things anyway.
    • It is a bit more complicated than that. Xgl doesn't work all by itself - it relies on having a working OpenGL enviroment. In this case - Xorg. So you run Xgl on top of Xorg and Xgl implements RENDER and GLX, by passing relevant calls to the OpenGL system of the underlying Xserver. COMPOSITE is also turned on by default in Xgl, but it does NOT use the underlying server's COMPOSITE.

      It will take some time until all this is finally merged into Xorg and we have an OpenGL-accelerated desktop without the need of

    • by Bazzalisk (869812) on Wednesday February 08 2006, @05:41AM (#14668257) Homepage
      Just to point out that it can be quite beneficial to have a slight pause before submenus open - it prevents button-bounce from causing you to select the first item in the menu immediately instead of having a chance to choose one ... yes I have had that problem personaly when menu delays weren't setup correctly in a program and it was a real sumbitch to use the damned thing.

      Moral of the story: best and most usable interface design is not necessarily obvious at first glance.