Tuesday, March 11, 2008

Installing the Newest ATI Driver for Linux (cont.)

Following this guide.
http://wiki.cchtml.com/index.php/Ubuntu_Gutsy_Installation_Guide

Make sure the proper tools are installed.
sudo apt-get update
sudo apt-get install build-essential fakeroot dh-make debhelper debconf libstdc++5 dkms
Looks good. Only gawk was not installed.

Create the .deb package.
sudo sh ati-driver-installer-8-3-x86.x86_64.run --buildpkg Ubuntu/gutsy

Looks good.

I think I need to make sure that the old fglrx is un-installed.

I was wrong, the newest drive DOES install DRI.

Disabling old fglrx driver.
gksu gedit /etc/default/linux-restricted-modules-common
DISABLED_MODULES="fglrx"

Looks good.

Make sure that the fglrx is not blacklisted.
gksu gedit /etc/modprobe.d/blacklist-restricted

No such file.

Remove old fglrx debs.
sudo rm /usr/src/fglrx-kernel*.deb
There are none.

Install the new .debs.

sudo dpkg -i xorg-driver-fglrx_8.471-0*.deb fglrx-kernel-source_8.471-0*.deb fglrx-amdcccle_8.471-0*.deb

Problem

/usr/sbin/atieventsd: error while loading shared libraries: libGL.so.1: cannot open shared object file: No such file or directory

This may be an issue of not having libGL installed.
http://ubuntuforums.org/showthread.php?p=4487892

dpkg - l | grep -i libgl

The above command doesn't work. It is missing an action option.

I believe that I want to see if the package is present.

There is no -l option.

The space between the '-' and 'l' was the problem.

This works.

dpkg -l | grep -i libgl

Seems like Mesa is still installed.

The problem is that the permission are not correct on the file.

sudo chmod o+r /usr/lib/libGL.so.1.2

Trying to do the install again.

Failed again.

The privileges did not change :-(

sudo chmod 777 libGL.so.1.2

That finally changed the privileges.

Installing again.

Still failed. Looking for libGL.so.1 file.

I think that the link might be wrong.

Also the other link seems to set back to its original value.

Is it a hard or soft link?

Soft links are in blue. This is in black.

Hard links have not coller. Being root makes not difference.

Blast the link and try to make a new one or perhaps move the link.

OK, try again.

Failed again. Still looking for libGL.so.1 file.

OK, now I am point libGL.so.1 to libGL.so.1.2 file

Try again.

Looks like it work!!!!! :-)

Editing the /etc/X11/xorg.conf file by hand.

There is no 'ati' string. There is a 'fglrx' string.

Time to reboot.








OK



OK

No comments: