Warbo
August 23rd, 2006, 02:05 AM
Hi, I like the podcast, but I found a few of the points raised in episode 12 were a bit misleading. I'll try to add the limited knowledge I have garnered from the Internet here, and I hope it's useful.
Firstly, XGL and AIGLX are OpenGL accelerated X servers. They don't offer any fancy eyecandy, and you can run your regular GNOME or KDE in them and you won't notice any difference (although I have found video playback is terrible on XGL with the proprietary nvidia driver, even in regular GNOME/KDE). The fancy eyecandy (like the wobbly windows) is done by the window/compositing manager Compiz. Compiz is used to replace the current window manager (Metacity is the default for GNOME and Kwin is the default for KDE), but as well as managing the windows, it also manages the Composite functions of the X server (in AIGLX these need to be enabled like on a normal Xorg, but they are built into XGL with no explicit enabling needed). Composite has obviously been around for about a year (I originally switched to Ubuntu from Debian since the Breezy preview had beta packages available for KDE 3.5 [which comes with kcompmgr]) and offers translucency and shadows. Compiz manages these functions as well as the windows, since moving (and wobbling) windows and switching desktops (on a cube) obviously needs control over the window manager. Compiz requires an OpenGL accelerated X server, but it doesn't care if that is XGL or AIGLX. Since Compiz works on both, and it is Compiz which deals with the effects, AIGLX and XGL have exactly the same eyecandy effects.
I think the main confusion about them offering different features is out-dated, since XGL and Compiz were developed heavily behind closed doors (which is fine, since Novell don't have to release the source if they don't give anyone the software) and work well together. AIGLX was (is?) RedHat's effort, and they did it in a more communal way. Since AIGLX needs a compositing window manager as well, and Compiz hadn't been released yet, they made an unstable branch of Metacity called Luminocity. Luminocity implemented the basic translucency/shadows that xcompmgr et al already had, but also used wobbly windows and other effects like Compiz has. When XGL and Compiz were released Luminocity was abandoned because Compiz could just be ported to AIGLX instead (and it has been). Therefore the feature differences are actually differences between Luminocity and Compiz (there is obviously a difference because Luminocity was discontinued and all work has been on Compiz, since that is what both "sides" use)
Secondly, to me there is not a divide between Free Software graphics drivers and 3D graphics card drivers. My Radeon 9200 works perfectly out of the box with the Free Software 3D driver and I have never had to jump through the same hoops that I had to with my Nvidia card. The big problem with ATI cards is the lack of knowledge about the DRI drivers, because in the past everyone tried to use the proprietary driver. Since ATI have broken support for their older cards (which are the only ones with Free Software 3D drivers) many people are left without 3D. Most seem to be trying older versions of the driver, but I have managed to steer a few to DRI (I hang out in #ubuntu a lot). The tools which do not support this driver are currently the dpkg-reconfigure xserver-xorg system, and the automagic xorg.conf regeneration when switching a hard drive between ATI/Nvidia systems (I assume this also works for changing graphics card in a single system). It would be great to let more people know that Free 3D drivers exist for cards like the Radeon 9200, and there is a page with a how-to at help.ubuntu.com/community/RadeonDriver (which I wrote). [Note: When I say 3D driver, that is all I mean. Alpha/translucency is still handled by Mesa for the 9200 at least. This makes Compiz really slow, and even xcompmgr can get annoying with too many fades occuring at once]
Finally I would like to say that I have tried Compiz (in AIGLX and XGL, on ATI and Nvidia) and I don't think it is configurable enough for me to use day to day. Exactly as was mentioned, the wow-factor wears off quickly, and I just find myself with what is essentially a version of Metacity which is stuck with a Clearlooks theme. Even Metacity allows basic theming support (if only for the graphics) and I find myself craving E16 again. The first time I tried Compiz I was put off by the rotating cube, since it only allowed 4 desktops, and when I tried it recently I could use more than 4, but they all had to be in a horizontal line. I think Compiz is a nice experiment, but I don't see it as a sensible window manager until it gets the basics of window managing right. Developers and code contributors are obviously more interested in adding new 3D effects, but there is a band of users who think that running feature-lacking, unstable (very, in my experience), experimental software on their desktop is perfectly normal. This is obviously OK as it is their choice, but they clog support channels (a specialist #ubuntu-xgl IRC channel exists, but nobody seems to use it) and try to encourage others into their fold. Since edge-flipping the desktop "cube" (actually a prism these days) doesn't work very well with brightside I would have to say that the only useful feature Compiz offers is zoom, but X has a basic version of this no matter what window manager is being used.
Don't take these clarifications in the wrong way, I just feel that with such a large audience some unintended rumours and myths may start to spread (like AIGLX not offering the same eyecandy as XGL, or that 2D drivers can run a 3D desktop at anything approaching usable speed)
Firstly, XGL and AIGLX are OpenGL accelerated X servers. They don't offer any fancy eyecandy, and you can run your regular GNOME or KDE in them and you won't notice any difference (although I have found video playback is terrible on XGL with the proprietary nvidia driver, even in regular GNOME/KDE). The fancy eyecandy (like the wobbly windows) is done by the window/compositing manager Compiz. Compiz is used to replace the current window manager (Metacity is the default for GNOME and Kwin is the default for KDE), but as well as managing the windows, it also manages the Composite functions of the X server (in AIGLX these need to be enabled like on a normal Xorg, but they are built into XGL with no explicit enabling needed). Composite has obviously been around for about a year (I originally switched to Ubuntu from Debian since the Breezy preview had beta packages available for KDE 3.5 [which comes with kcompmgr]) and offers translucency and shadows. Compiz manages these functions as well as the windows, since moving (and wobbling) windows and switching desktops (on a cube) obviously needs control over the window manager. Compiz requires an OpenGL accelerated X server, but it doesn't care if that is XGL or AIGLX. Since Compiz works on both, and it is Compiz which deals with the effects, AIGLX and XGL have exactly the same eyecandy effects.
I think the main confusion about them offering different features is out-dated, since XGL and Compiz were developed heavily behind closed doors (which is fine, since Novell don't have to release the source if they don't give anyone the software) and work well together. AIGLX was (is?) RedHat's effort, and they did it in a more communal way. Since AIGLX needs a compositing window manager as well, and Compiz hadn't been released yet, they made an unstable branch of Metacity called Luminocity. Luminocity implemented the basic translucency/shadows that xcompmgr et al already had, but also used wobbly windows and other effects like Compiz has. When XGL and Compiz were released Luminocity was abandoned because Compiz could just be ported to AIGLX instead (and it has been). Therefore the feature differences are actually differences between Luminocity and Compiz (there is obviously a difference because Luminocity was discontinued and all work has been on Compiz, since that is what both "sides" use)
Secondly, to me there is not a divide between Free Software graphics drivers and 3D graphics card drivers. My Radeon 9200 works perfectly out of the box with the Free Software 3D driver and I have never had to jump through the same hoops that I had to with my Nvidia card. The big problem with ATI cards is the lack of knowledge about the DRI drivers, because in the past everyone tried to use the proprietary driver. Since ATI have broken support for their older cards (which are the only ones with Free Software 3D drivers) many people are left without 3D. Most seem to be trying older versions of the driver, but I have managed to steer a few to DRI (I hang out in #ubuntu a lot). The tools which do not support this driver are currently the dpkg-reconfigure xserver-xorg system, and the automagic xorg.conf regeneration when switching a hard drive between ATI/Nvidia systems (I assume this also works for changing graphics card in a single system). It would be great to let more people know that Free 3D drivers exist for cards like the Radeon 9200, and there is a page with a how-to at help.ubuntu.com/community/RadeonDriver (which I wrote). [Note: When I say 3D driver, that is all I mean. Alpha/translucency is still handled by Mesa for the 9200 at least. This makes Compiz really slow, and even xcompmgr can get annoying with too many fades occuring at once]
Finally I would like to say that I have tried Compiz (in AIGLX and XGL, on ATI and Nvidia) and I don't think it is configurable enough for me to use day to day. Exactly as was mentioned, the wow-factor wears off quickly, and I just find myself with what is essentially a version of Metacity which is stuck with a Clearlooks theme. Even Metacity allows basic theming support (if only for the graphics) and I find myself craving E16 again. The first time I tried Compiz I was put off by the rotating cube, since it only allowed 4 desktops, and when I tried it recently I could use more than 4, but they all had to be in a horizontal line. I think Compiz is a nice experiment, but I don't see it as a sensible window manager until it gets the basics of window managing right. Developers and code contributors are obviously more interested in adding new 3D effects, but there is a band of users who think that running feature-lacking, unstable (very, in my experience), experimental software on their desktop is perfectly normal. This is obviously OK as it is their choice, but they clog support channels (a specialist #ubuntu-xgl IRC channel exists, but nobody seems to use it) and try to encourage others into their fold. Since edge-flipping the desktop "cube" (actually a prism these days) doesn't work very well with brightside I would have to say that the only useful feature Compiz offers is zoom, but X has a basic version of this no matter what window manager is being used.
Don't take these clarifications in the wrong way, I just feel that with such a large audience some unintended rumours and myths may start to spread (like AIGLX not offering the same eyecandy as XGL, or that 2D drivers can run a 3D desktop at anything approaching usable speed)