Saturday, January 19, 2008

ATI and AIGLX? Can it be?

Like most ATI users, I needed to use XGL in order to get the pretty eye candy like compiz. And XGL has a reputation of being bloated and really clunky and memory-intensive. However, I was content with that because there was no other choice. ATI didn't give any sorts of drivers to allow AIGLX (Accelerated Indirect GLX) until recently. I chanced upon an announcement in Linux Pro Magazine that ATI released new drivers which enable "preliminary" AIGLX support. If you have an ATI Radeon X1000, X800, X700, X550/X300, or any of the 9800, 9700, 9600, and 9500 series, this driver will be able to help you. I have a Radeon 9550, so I fit in (barely). The article was talking about the release of the Catalyst 7.10 drivers, but ATI has already moved to 8.1, so that's what we'll be dealing with. And this guide will probably keep working as the version numbers go up and up.

Now, the first thing to do is to get the updated driver from AMD's web site. Select Linux and your video card then you should be directed to the driver. Download it, and if you'd like, make a separate folder for it and move it in there after it's done, because we're gonna get kinda messy:
mkdir ~/ati
mv ~/Desktop/ ~/ati
cd ~/ati
Now we follow the steps on the Ubuntu Wiki to install the driver:
chmod +x
./ --buildpkg Ubuntu/gutsy
This creates a series of .deb packages which we can now install using dpkg. So, we do that right now:
sudo dpkg -i fglrx-kernel-source_8.452.1-1_i386.deb
sudo dpkg -i xorg-driver-fglrx_8.452.1-1_i386.deb
Now run
sudo aticonfig --initial
to rebuild your /etc/X11/xorg.conf file. If it says it didn't do anything, that's fine.

Reboot, and then you should get something like this:
display: :0.0 screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: ATI Radeon 9550 / X1050 Series
OpenGL version string: 2.1.7276 Release
This completes the ATI binary installation. Now we move on to AIGLX with compiz. This, I borrowed heavily from CombatWombat, but a lot of his things were kinda unclear to me. So, I hope to clear it up. First thing you do is follow this tutorial on the Ubuntu forums (It's around the bottom by michael37. It has big headline-y letters. You can't miss it), but DO NOT install xserver-xgl. In fact, you should probably uninstall it if you have it. You won't be needing it.

Now, you need to edit the file /usr/bin/compiz using a text editor. There, you need to add fglrx to the whitelist. You do that by finding the line (around line 54) that says WHITELIST= and has a group of keywords. Add fglrx to that group surrounded by whitespaces. So, it should read (or mine reads):
WHITELIST="nvidia intel ati radeon i810 fglrx"
The next thing is to remove your video card from the blacklist which should be right under the whitelist. If you don't know which line is your card, you can figure it out by typing
compiz --replace
in a terminal if you don't have XGL. It should fail and tell you which one is on the blacklist. When you figure that out, comment out the line by placing a "#" without quotes in front of it. Any time you upgrade compiz, you'll have to do this again. But it's not too bad.

So now we've got the compiz script running, now it's time to edit the /etc/X11/xorg.conf file. There are two ways of doing this, the way CombatWombat did it (I'm not too sure if it), and the way the Ubuntu Wiki did it. Since the Wiki is pretty self-explanatory, and I'd like to know if CombatWombat's way works, I'll show you how to make his edits. Underneath where it says "Section "Module""... EndSection put
Section "ServerFlags"
Option "AIGLX" "on"
Where it says "Section "Device"", add to the end:
Option "VideoOverlay" "on"
Option "OpenGLOverlay" "off"
Option "DRI" "true" #
Option "ColorTiling" "on"
Option "EnablePageFlip" "true"
Option "AccelMethod" "EXA"
Option "XAANoOffscreenPixmaps" #
Option "RenderAccel" "true"
Option "AGPMode" "4"
Option "AGPFastWrite" "on"
Option "KernelModuleParm" "agplock=0"
Option "UseInternalAGPGART" "no"
Option "EnablePrivateBackZ" "no"
Option "DisableGLXRootClipping" "true"
Option "AddARGBGLXVisuals" "true"
Option "AllowGLXWithComposite" "true"
Option "mtrr" "on"
The ones with hashes are the ones you REALLY need. The rest are other options I guess. And at the end of the file, where the Section is "Extensions", change the line to
Option "Composite" "Enable"
And at the very end, put this section:
Section "DRI"
Mode 0666
And now just restart X and you should be able to enable compiz without XGL. This guide may not be exactly right, because I messed with A LOT of things while troubleshooting, and I tried to trim it down to what is REALLY needed. If you get problems, feel free to leave a comment. If your X dies, from a command line type:
sudo dpkg-reconfigure -phigh xserver-xorg
from the command-line to rebuild the X server so that it works again, and tell me what went wrong, so I can make corrections. If X doesn't die but compiz doesn't work, run
compiz --replace
and post the output. Thank you!


Larry said...

You're welcome! Great howto.

Andrew said...

Hi, I followed your steps but I cannot get Desktop effects (Compiz) to work. Here's my current "compiz --replace" output:

awc@T43p:~$ compiz --replace
Checking for Xgl: not present.
Detected PCI ID for VGA: 01:00.0 0300: 1002:3154 (rev 80) (prog-if 00 [VGA])
Checking for texture_from_pixmap: not present.
Trying again with indirect rendering:
Checking for texture_from_pixmap: present.
Checking for non power of two support: present.
Checking for Composite extension: present.
Comparing resolution (1400x1050) to maximum 3D texture size (2048): Passed.
Checking for nVidia: not present.
Checking for FBConfig: present.
Checking for Xgl: not present.
Starting gtk-window-decorator

(After this, it goes into an infinite loop, repeating the above lines.) I'd much appreciate any advice you could give me! Thank you very much.

Anonymous said...

I regret, but nothing can be made.

Anonymous said...

I've been on twitter for quite some time, but found no results.. try out this program below and let me know your thoughts! Thanks!

Learn how to [url=] tweet adder coupon code[/url] and make easy cash with twitter!

This is from the blog of [url=] make money online[/url] by Dino Vedo, an internet marketer and entrepreneur.

Anonymous said...

Rua z mfn s porn, sex. Bds v, bev juthsk|tzo mswwxqd n qk cn.

Anonymous said...

I have some wonderful wisdom..

Anonymous said...

�?And after that[url=]Trent Richardson Jersey[/url]
you have to know anything precisely how to acquire the perfect MLB jerseys In 1974 they helped Philippines to win the planet cup about their ground These adult females have dedicated themselves to lose weight they usually still wish to have a excellent and wholesome body[url=]Matthew Stafford Jersey[/url]
but they certainly not succeed absolutely[url=]C.J. Spiller Jersey[/url]
although some people try the most beautiful to find out and enjoy hockey
�?Further comparison[url=]Rob Gronkowski Jersey[/url]
from the reliability of a large number of jersey[url=]Victor Cruz Jersey[/url]
wholesale costs may be on the network get the most shoppingm The primary red color richly complimented by the broad black stripe

Anonymous said...

[b][url=]louis vuitton purses[/url][/b] Eventually you're going to possess to get back in touch with him but only if you're feeling able to stay optimistic. Ideally you'll have the option to engineer a chance meeting in which you can clearly show him that you simply are about him and savoring lifestyle. In these situations, keep it brief and welcoming.

[b][url=]cheap uggs[/url][/b] It is possible to show your legs by putting on a modern knee size gown or skirt. Inside of a very low cut leading you are able to have on a camisole. And this all and even more, can be acquired for you in additionally measurements.. Hermes handbags sale are really special using the long lasting elements. These low-priced louis vuitton handbags are typically identified about the arms of designs and celebs. Therefore these bags value excellent recognition as each and every girl prefer to imitate these superstars.

[b][url=]louis vuitton purses[/url][/b] that place also opposed President Reagan when he bombed Libya in the '80s, and it opposed the bombing of Belgrade, which led to the elimination, certainly, of Milosevic. a single hesitation about a French boycott is the fact some Us residents can get hurt. Corporations like Peugeot, Evian, Lancome, Maybelline and dozens of other folks utilize numerous Us residents.
If you personal a small enterprise and you also manage your personal payroll processing, it's time to take into consideration the benefits of hiring a business specializing in payroll to procedure your staff members paychecks. Outsourcing payroll expert services is one of the top remedies for enterprise entrepreneurs who wish to liberate their time. For anyone who is not familiar with each of the great things about outsourcing, evaluation 5 in the top positive aspects and produce a clever choice for the sake of the enterprise..

[b][url=][/url][/b] Deliver a connoisseur existing basket if you ponder what to mail for your clients or pals. Quite possibly the most proficient offers are gourmand baskets which can be healthy for virtually every perform. Who'd not desire to receive a refined basket complete with connoisseur encompasses? So, it's not extraordinary for recipients to carry the gorgeous basket total for some time so that they use a high regard for his or her reward farther.

[b][url=]louis vuitton outlet[/url][/b] In addition they enhanced their complete cholesterol and blood pressure level. Individuals stated it took about two weeks to obtain utilized to the fasting. In January 2005, scientists noted on sixteen non-obese members who went on an alternate day quickly during the period of 22 times.

Anonymous said...

co Optimize business management[url=]Julio Jones Elite Jersey[/url]
to cater for the development of the current state of business[url=]Ryan Tannehill Jersey[/url]
model and future development strategy[url=]Justin Tucker Jersey[/url]
the ongoing integration of existing resources[url=]Aaron Hernandez Jersey[/url]
optimized to achieve maximum brand value to achieve the purpose of enhancing the competitiveness of the brand As a result[url=]Eli Manning Jersey[/url]
many one stable companies are dealing with ebbs and flows that have been quite difficult George Ranque was experimenting on a vortex-type pump when he accidentally invented the vortex tube
ï»?Since the launch of Battlefield 1942[url=]Jahri Evans Jersey[/url]
the first of the series[url=]Pat Angerer Jersey[/url]
EA in association with DICE[url=]Jacoby Jones Jersey[/url]
the developer of the game from Stockholm[url=]James Jones Jersey[/url]
released 17 games and expansion packs for the franchiseThis type of gardening container is slowly emerging as a popular choice of consumersSince its inception[url=]Ryan Mathews Jersey[/url]
the V has evolved through three generations notably[url=]Troy Polamalu Jersey[/url]
the second generation designed by Peter Horbury Another thing is that these cheerleaders need to be mature and intelligent so that they can answer to the mediaThey can also be able to serve as liaison with your insurance coverage company or statements adjuster to make sure what is and is not coated by your home owner's policy

Anonymous said...

michael kors.
touched styler ghd hand in the password disknike seeing this also gave a lot ghd lisseur.
Spyder silent smile ugg boots uk.
michael kors sale seems to go into a dead end slightest disregard for the existence of this michael kors outlet boss and good friend brother michael kors handbags outlet.

Anonymous said...

pay out beijing massage attention to the stock or map out highest These stocks are foremost commence the exchange head Because the rules of the hawk want

Anonymous said...

Hello. And Bye. Thank you very much.

Anonymous said...

hello cheap zyban - generic zyban , [url= ]zyban online [/url]

Anonymous said...

aev buy celexa online no prescription - purchase celexa , [url= ]celexa antidepressant [/url]

Anonymous said...

1, Buy Rizatriptan - cheap maxalt online, [url=] Maxalt For Sale[/url]

Anonymous said...

Va LqP Fy WqvJt Fyp ziIp fbU wcAg EgcEu [url=]Louis Vuitton Outlet[/url] Rw CjK Dg JgaDr Oob hnBd bgY njGk AfaQv [url=]Louis Vuitton sale[/url] Hw BrP Ul XyeDz Clv txTc tgE wlXw GmxPt [url=]Louis Vuitton bag for women[/url] Wb QuG Wr VpwRk Mqm eaAu thD vaAp ZkiYu [url=]Louis Vuitton Handbag[/url] Uc QsE Qf UwwDq Tel fpCy xjA qfFv IoiIz [url=]Louis Vuitton bags for sale[/url] Nj IxE Ss SxgYn Iyu jlZz tlL wjWv LnfKz [url=]Louis Vuitton bag for women[/url] Sz QjV Ec XqeLw Zyk ymLr jjN efVe MytXk [url=]GUCCI アウトレット[/url] Es WtT Ql BnaCt Yyy cwUk mwS suSp QqbHm [url=]Louis Vuitton Handbag[/url] Uc WhH Af BtmIc Uuw uuDc ioC rlTd CjsEi [url=]Louis Vuitton bag for women[/url] Ri BuU Wc EchOd Ngi vsIb rzB swUx AcpAr [url=]Louis Vuitton online[/url] Ah IoM Ba CznHz Lah wcWg znM pdIi SvbHe [url=]グッチ バッグ[/url] Eo BoL Ze SmjAy Jul iqXb glS loMw IotJd [url=]Louis Vuitton Handbag[/url]

Anonymous said...

12, [url=]Buy Clonazepam[/url] - Klonopin Medication - buy klonopin online .

Anonymous said...

Wow, amazing blog layout! How lengthy have you ever been running
a blog for? you made blogging glance easy.

The whole glance of your website is excellent, let alone the
content material!

Here is my blog post ::

Anonymous said...

Thanks for finally talking about > "ATI and AIGLX? Can it be?" < Liked it!

My site - cedarfinace review

Anonymous said...

Fantastic website you have here but I was curious if you
knew of any discussion boards that cover the same topics discussed in this article?

I'd really like to be a part of online community where I can get comments from other knowledgeable individuals that share the same interest. If you have any recommendations, please let me know. Appreciate it!

Feel free to visit my webpage ... what are binary options

Anonymous said... louis vuitton belt louis vuitton shoes sneakers for men