Jun 28, 07 | Ubuntu Dapper, Dell E521, and ATI x1300

As noted in the previous post, I have been having nothing but trouble with getting drivers to work with my video card (an ATI x1300 Pro 256mb) under Linux on my Dell E521. The reason I mention the make and model is that, apparently, this is part of the problem. However, after much, much time and effort, I have found a solution! This post is a step-by-step tutorial to getting 3D acceleration, provided you have a system configuration similiar to my own. And, while this tutorial is intended for Dapper, it should also work with Edgy (but not Feisty, don’t ask me why). Please let me know of any hangups.

First do a clean install of Ubuntu Dapper (6.06 LTS)

Enable universe and multiverse repositories by editing the sources list:

sudo gedit /etc/apt/sources.list

Uncomment all repositories (you can change this back later if you feel unsafe).

Next open the terminal and type:

sudo apt-get update

This will reload and update the repository list. Afterwards reboot.

For installation, you will need several extra packages in order to build the driver, so type the following:

sudo apt-get install module-assistant build-essential
sudo apt-get install fakeroot dh-make debconf libstdc++5 linux-headers-$(uname -r)

Download version 32.5 of the ati proprietary driver, which can be found here:
8.32.5

The reason we use this driver and not the most recent is that all other versions are broken for this computer, kernel, xorg version, or video card. Thanks ATI!

Open the terminal, navigate to the folder to which you downloaded the file, and type:

sudo sh ./ati-driver-installer-8.32.5-x86.6.x86_64.run --buildpkg Ubuntu/dapper
sudo dpkg -i *.deb
sudo module-assistant prepare
sudo module-assistant update
sudo module-assistant build fglrx
sudo module-assistant install fglrx
sudo depmod -a

ATI would tell you to run aticonfig –initial at this point, but that can lead to segmentation faults. So, we will change our xorg.conf manually:

sudo gedit /etc/X11/xorg.conf

First find the “Device” section and replace “vesa” or “ati” with “fglrx”. Then add the following:

Driver "fglrx"
Option "mtrr" "off"
Option "UseFastTLS" "2"
Option "EnablePrivateBackZ" "on" # Gentoo Ati Driver Howto recommends this for X1300
Option "UseInternalAGPGART" "no" # allow xorg to use the intel_agp module

At the end of the file add:

Section "Extensions"
Option "Composite" "false"
Option "XVideo" "Enable"
Option "DAMAGE" "no"
EndSection

Save xorg.conf and close the window. Our final step is to enable overlay, to do this ATI would recommend just typing aticonfig –overlay-type=Xv, however, this too can lead to segmentation errors. Instead, first exit your Xwindows session back pressing:

CTRL+ALT+F1

Now you may have to login again, that’s fine. Once in, type:

sudo aticonfig --overlay-type=Xv

Everything should be golden, so reboot:

sudo shutdown -r now

When Ubuntu comes back up, run fglrxinfo in the terminal. It should say that you are direct rendering. Run glxgears, and they you should see gears moving with FPS output in the terminal. FPS may seem slower than usual, but this is the price you pay for having the ATI x1300 PRO.

If you have Ubuntu Edgy instead of Dapper, I hear the 33.6 driver will work as well as the 32.5 used here. So just replace every instance of Dapper with Edgy, and 32.5 with 33.6. The 33.6 driver can be found here: 8.33.6

Hope this helps! Let me know if you get stuck.

14 comments

06/29/07 | leszek

The easiest way is to install the newer version (Feisty 7.04) and then follow the official documentation which is much more easy:
https://help.ubuntu.com/community/BinaryDriverHowto/ATI

06/29/07 | Jeff Rasmussen

Thanks for putting this together. Just a note Feisty Fawn had a working driver for the X1300 under an earlier kernel but is currently not working.

See this bug report.
https://bugs.launchpad.net/ubuntu/+source/linux-restricted-modules-2.6.20/+bug/96279

This bug was fixed in newer versions of fglrx, which is now available
in Gutsy.

There are no plans to add fglrx 8.37.6 to Feisty officially, but I’ve
created .debs for Feisty users needing this fix. These are available
at http://people.ubuntu.com/~bryce/Testing/fglrx-8.37.6-Feisty/
Despite being unofficial, please feel welcome to report new bugs with
these packages to launchpad.

Please help spread word and help fellow users in installing it!

06/29/07 | etano

leszek:

While that you appear easier, it really is currently broken, though Jeff seems to have a solution.

Jeff:

May I inquire what the rest of you system specs are before I try your fix? It would be fantastic if it worked; I’ve been wanting Feisty for a while, but I am hesitant due to previous mishaps.

07/12/07 | Barahagwin

Thank you for this how-to. I was trying to make this card work for months now. I tried several times with feisty and even gutsy but didn’t work. Works for me with dapper. Googgleearth work fine but the 3d screensaver is very slow. Do you have the same problem ? Is there any solution ?
I also got sometime a bug under my mouse pointer. Any solution ?

07/13/07 | etano

I have the same slow screensaver problem and have yet to find a solution. I do not have the mouse pointer problem, so I’m not sure about that one. You may want to try Jeff’s fix with Feisty. The only thing is when I tried to build his files, I got errors. Anyways, glad I could help.

07/20/07 | Regis

I have a DELL C521 with AMD46 and ATI X1300 pro and same problems. I have been trying to run fiesty with ATI driver for the past few days and nothing worked. Tried different driver version, 64 & 32 bit os, even the 8.37.6 drivers patched from Ubuntu didn’t build. Going to try Dapper tonight. Any other solution ?

07/20/07 | etano

This is the only solution that I have found to work. Sucks don’t it?

08/21/07 | Barahagwin

It works now with feisty and the last driver from ati. Managed to make 3d work with kernel 2.6.20-12 and driver ati 8.39.4.
Good luck.

08/21/07 | etano

Did you have to do anything special?

I tried to get this to work with the more recent version of the kernel 2.6.20-16, and it does not work. Do you know if any version other than 8.39.4 will work with kernel 2.6.20-16?

09/06/07 | Kevin Martin

FWIW, I just put Mythbuntu alpha (Gutsy Gibbon) on an AMD X64 with a Visiontec X1300 PCIe 256MB that I’ve had for a while now. (Weird mobo, a “KN88″ or something like that, which will only accept certain PCIe video cards.)

I added Kubuntu desktop to the Mythbuntu install using apt and it was usable with vesa as the driver, but obviously not accelerated.

Went into System Settings, Monitor & Display, and selected fglrx/proprietary. It kept the config of 1280×1024, 24 colors, didn’t have to touch that. Rebooted, and fgl_glxgears is now giving me over 514 fps. glxgears is over 2500 (!).

Chromium is cranking out the frames as well, and that’s been my “yes/no” test for whether acceleration is enabled for a while now. :)

09/07/07 | Kevin Martin

PS: my “uname -a” returns this for kernel version:
2.6.22-10-generic #1 SMP Wed Aug 22 07:42:05 GMT 2007 x86_64 GNU/Linux

09/10/07 | etano

Thanks Kevin. I might try that to confirm it works on this particular dell with which a few of us seem to be having trouble.

In other news Barahagwin’s solution has been confirmed for Feisty kernel2.6.20-12. However, it is broken for the newer kernel versions.

10/17/07 | Barahagwin

At least, it works perfectly! I’ve just installed Gutsy and the Ati driver 8.40.4. I’ve installed GLX and I even have the 3d desktop effects.

05/21/08 | etano

Thanks guys!

Have something to say? Feel free to comment.

respond