Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Forum Archive > Main Support Categories > Multimedia & Video
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Hello, Unregistered You are browsing a READ only archive of the main support categories pre 4/21/2008. You will not be able to post or reply any threads in this section.

Multimedia & Video
Have multimedia question? ATI, Nvidia, Sound cards. Just ask here.

 
Thread Tools Display Modes
Old October 27th, 2007   #1
twizler
Just Give Me the Beans!
 
twizler's Avatar
 
Join Date: Oct 2007
Beans: 54
Gusty ati 8.42.3 fglrx - with AIGLX support how to

Quote:
HOW TO ATI AIGLX COMPIZ (NO XGL SERVER)
(card is x600 ati)

THIS IS NOT FOR THE NOOB --experts only ---WARNING--- no warranties or guaranty THIS IS HOW I GOT IT TO WORK and aiglx is SWEET---- may not work for you -- you can can really mess your world up if you do this wrong. If you don't know how to revert to a backup of ur xorg.conf quit know!!! This is for people that are not afraid of being in a terminal command shell and can go keyboard commando. This how to is a repost... Thanks to Forlong who wrote this how to :http://forlong.blogage.de/article/ad...t/796#comments
(32 bit ubuntu gusty 7.1 new ati driver 8.42.3)

I am running Compiz without Xgl on fglrx. Right now using new
ati 8.42.3 fglrx- finally with AIGLX support
COMPIZ IS SUPER FAST AND THE NEW DRIVER IS SHARP fonts are brighter...more crisp.
Here's the new driver

Quote:
Here is how I managed to get AIGLX to run on Ubuntu 7.10 Gutsy
DOWNLOAD NEW DRIVER ATI 8.42.3 - AIGLX support
Quote:
So to recap:
- Remove XGL
- Reboot
- Download ATi's new driver, make it executable, and run it
- add the restricted driver manager's FGLRX driver to the disabled modules list
- edit xorg.conf to ensure compositing is no longer disabled
- edit the compiz-manager configuration file to allow all GPU types
- reboot, and profit!

Update from flackmonkey
If you need to uninstall this new driver and roll back to the version in the Restricted Drivers Manager. I have not tested this personally - please give feedback if you do this!
Code:

#Remove fglrx from DISABLED_MODULES
sudo nano /etc/default/linux-restricted-modules-common

#Uninstall 8.4.23 driver.
sudo /usr/share/ati/fglrx-uninstall.sh

#Cleanup any left over stuff from restricted drivers. (Just in case apt thinks it's still installed.)
sudo apt-get remove xorg-driver-fglrx

#Reinstall restricted drivers.
sudo apt-get install xorg-driver-fglrx

#Reboot
sudo shutdown -r now

Then you should be able to install the driver again through the restricted manager.
1. Remove Xgl (whoohoo) (if present)
Quote:
sudo apt-get remove xserver-xgl
Quote:
Quote:
This is not my how to-- THANKS TO
Forlong who wrote this how to :http://forlong.blogage.de/article/ad...t/796#comments
2. Remove the old driver (if present)

Quote:
Go to System → Administration → Restricted Drivers Manager and choose disable.
Alternatively remove it yourself:

Quote:
sudo apt-get remove xorg-driver-fglrx

3. Delete old fglrx debs (might not be necessary)
Quote:
sudo rm -f /usr/src/fglrx-kernel*.deb
4. Blacklist old fglrx module

Quote:
Quote:
sudo gedit /etc/default/linux-restricted-modules-common
And insert fglrx - it should look like this then:

Quote:
DISABLED_MODULES="fglrx"

Alternatively remove the linux-restricted-modules-* package for your kernel (that's what I did, because I don't need them - don't do this, if you use an Atheros chip).


1.
Quote:
You may want to reboot now. I did.

5. Download the driver installer to your home folder
6. Install necessary packages
Quote:
sudo apt-get install module-assistant build-essential fakeroot dh-make debhelper debconf libstdc++5 linux-headers-generic

7. Create .deb packages

Quote:
bash ./ati-driver-installer-8.42.3-x86.x86_64.run --buildpkg Ubuntu/gutsy

8. Install .deb packages

Quote:
sudo dpkg -i fglrx-kernel-source_8.42.3-1_i386.deb xorg-driver-fglrx_8.42.3-1_i386.deb

9. Compile kernel module

Quote:
sudo m-a prepare,update

sudo m-a build,install fglrx-kernel

sudo depmod

10. Set up the driver

Quote:
sudo gedit /etc/X11/xorg.conf

Make sure "fglrx" is set for the Driver in the Section "Device".

And if present,
Quote:
______ edit your xorg.conf
Quote:
What i had to add in my xorg.conf file to make it work
In the file had to add/ change.
Here is my working xorg.conf file using aigxl

WORKING XORG.CONf
# xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by failsafeDexconf, using
# values from the debconf database and some overrides to use vesa mode.
#
# You should use dexconf or another such tool for creating a "real" xorg.conf
# For example:
# sudo dpkg-reconfigure -phigh xserver-xorg
Section "Files"
EndSection

Section "Module"

Load "dri"
Load "v4l"
Load "dbe"
Load "glx"

EndSection

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "true"
EndSection
Section "Monitor"
Identifier "DELL 2407WFP"
Option "DPMS"
EndSection

Section "Device"
Identifier "Generic Video Card"
Driver "fglrx"
BusID "PCI:1:0:0"
Option "AIGLX" "true"

EndSection

Section "Screen"
Identifier "Default Screen"
Device "Generic Video Card"
Monitor "DELL 2407WFP"
DefaultDepth 24
SubSection "Display"
#The virtual is only for my funk $$*** 22inch monitor
Virtual 1792 1344

Modes "1680x1450" "1920x1200" "1680x1680" "1600x1200" "1280x1024" "1152x864" "1024x768" "800x600" "720x400" "640x480"
EndSubSection
EndSection

Section "DRI"
Mode 0666
EndSection

Section "Extensions"
Option "Composite" "Enable"
EndSection


###########THEN I WORKED FOR ME!!!!############

11.
Quote:
Reboot

12. Enjoy Test it out.
In terminal type:

Quote:
SKIP_CHECKS=yes compiz
(necessary because fglrx is not on Ubuntu's whitelist)

13. Once you have compiz working make an autostart script for compiz.


This will edit the file that starts Compiz in gnome and will run "autoMagic'ly" when you log in
Quote:
A better way to Auto start Compiz in UBUNTU Gusty:

Quote:
cd /etc/xdg/compiz/
Quote:
vi compiz-manager
Edit the file and add this to the end ( it is in Red Below)

# Ubuntu specifc compiz-manager configuration file
# goes into /etc/xdg/compiz/compiz-manager
# works with git://anongit.compiz-fusion.org/fusion/misc/compiz-manager
COMPIZ_BIN_PATH="/usr/bin/"
PLUGIN_PATH="/usr/lib/compiz/"
COMPIZ_NAME="compiz.real"
SKIP_CHECKS="yes"
( another way of doing it is listed below... not as good but some people may like this way _ the above is a better way.... but you could use this script. I personally use the above - and edited the compiz-manager file.
mkdir -p ~/.config/compiz && echo SKIP_CHECKS=yes >> ~/.config/compiz/compiz-manager
So to recap:
- Remove XGL
- Reboot
- Download ATi's new driver, make it executable, and run it
- add the restricted driver manager's FGLRX driver to the disabled modules list
- edit xorg.conf to ensure compositing is no longer disabled
- edit the compiz-manager configuration file to allow all GPU types
- reboot, and profit!

Quote:
WORST CASE ---


Update from flackmonkey --THNAKS
If you need to uninstall this new driver and roll back to the version in the Restricted Drivers Manager. I have not tested this personally - please give feedback if you do this!
Code:

#Remove fglrx from DISABLED_MODULES
sudo nano /etc/default/linux-restricted-modules-common

#Uninstall 8.4.23 driver.
sudo /usr/share/ati/fglrx-uninstall.sh

#Cleanup any left over stuff from restricted drivers. (Just in case apt thinks it's still installed.)
sudo apt-get remove xorg-driver-fglrx

#Reinstall restricted drivers.
sudo apt-get install xorg-driver-fglrx

#Reboot
sudo shutdown -r now

Then you should be able to install the driver again through the restricted manager.

Last edited by twizler; November 6th, 2007 at 01:07 AM..
twizler is offline   Reply With Quote
Old October 27th, 2007   #2
jpittack
Way Too Much Ubuntu
 
jpittack's Avatar
 
Join Date: Sep 2007
Location: Nebraska, US
Beans: 235
Ubuntu 9.04 Jaunty Jackalope
Send a message via AIM to jpittack
Re: Gusty ati 8.42.3 fglrx - with AIGLX support how to

did you do this in 32 bit or 64 bit? I have been having a world of trouble in the amd64 build.
__________________
Be kind to others. Even those that are not kind to you. You never know if their mom just died.
-My Mom
jpittack is offline   Reply With Quote
Old October 28th, 2007   #3
jw5801
Dark Roasted Ubuntu
 
jw5801's Avatar
 
Join Date: Jun 2007
Location: Melbourne, Australia
Beans: 1,168
Send a message via MSN to jw5801
Re: Gusty ati 8.42.3 fglrx - with AIGLX support how to

Quote:
Originally Posted by jpittack View Post
did you do this in 32 bit or 64 bit? I have been having a world of trouble in the amd64 build.
I'm also having issues building the .deb in amd64. I believe the problem is caused by
Code:
dh_install -pxorg-driver-fglrx "usr/X11R6/lib/modules/dri"     "usr/lib32"
cp: cannot stat `./usr/X11R6/lib/modules/dri': No such file or directory
dh_install: command returned error code 256
make: *** [binary] Error 1
Removing temporary directory: fglrx-install.bo7224
As /usr/X11R6/lib/modules/dri/ does not exist. However the installer is attempting to copy it to /usr/lib32/ and I already have a dri folder in /usr/lib32/ so as far as I can tell the build is failing on a completely pointless step and I have no idea how to bypass it. Anyone have any ideas?

EDIT: A known issue apparently.

EDIT2: A fix is described here, although it is slightly confusing.

Last edited by jw5801; October 28th, 2007 at 09:11 AM..
jw5801 is offline   Reply With Quote
Old October 27th, 2007   #4
davbren
Quad Shot of Ubuntu
 
Join Date: Mar 2007
Location: Bucks, United Kingdom
Beans: 436
Ubuntu 9.10 Karmic Koala
Re: Gusty ati 8.42.3 fglrx - with AIGLX support how to

This isn't working for me :S I wish I never touched it now.

I tried reinstalling the restricted and now compiz looks like crap!

Someone please help!

Xorg:

Code:
# xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
#   sudo dpkg-reconfigure -phigh xserver-xorg

Section "Files"
EndSection

Section "Module"

	Load "dri"
	Load "v4l"
	Load "dbe"
	Load "glx"
EndSection

Section "InputDevice"
	Identifier	"Generic Keyboard"
	Driver		"kbd"
	Option		"CoreKeyboard"
	Option		"XkbRules"	"xorg"
	Option		"XkbModel"	"pc105"
	Option		"XkbLayout"	"us"
EndSection

Section "InputDevice"
	Identifier	"Configured Mouse"
	Driver		"mouse"
	Option		"CorePointer"
	Option		"Device"		"/dev/input/mice"
	Option		"Protocol"		"ImPS/2"
	Option		"ZAxisMapping"		"4 5"
	Option		"Emulate3Buttons"	"true"
EndSection

Section "InputDevice"
	Driver		"wacom"
	Identifier	"stylus"
	Option		"Device"	"/dev/input/wacom"
	Option		"Type"		"stylus"
	Option		"ForceDevice"	"ISDV4"		# Tablet PC ONLY
EndSection

Section "InputDevice"
	Driver		"wacom"
	Identifier	"eraser"
	Option		"Device"	"/dev/input/wacom"
	Option		"Type"		"eraser"
	Option		"ForceDevice"	"ISDV4"		# Tablet PC ONLY
EndSection

Section "InputDevice"
	Driver		"wacom"
	Identifier	"cursor"
	Option		"Device"	"/dev/input/wacom"
	Option		"Type"		"cursor"
	Option		"ForceDevice"	"ISDV4"		# Tablet PC ONLY
EndSection

Section "Device"
	Identifier	"Generic Video Card"
	Driver		"fglrx"
	BusID		"PCI:4:0:0"
	Option 		"AIGLX" "true"
EndSection

Section "Monitor"
	Identifier	"Philips 190C"
	Option		"DPMS"
EndSection

Section "Screen"
	Identifier	"Default Screen"
	Device		"Generic Video Card"
	Monitor		"Philips 190C"
	DefaultDepth	24
	SubSection "Display"
		Modes		"1440x1440" "1440x900" "1280x1024" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
	EndSubSection
EndSection

Section "ServerLayout"
	Identifier	"Default Layout"
	Screen		"Default Screen"
	InputDevice	"Generic Keyboard"
	InputDevice	"Configured Mouse"

# Uncomment if you have a wacom tablet
#	InputDevice     "stylus"	"SendCoreEvents"
#	InputDevice     "cursor"	"SendCoreEvents"
#	InputDevice     "eraser"	"SendCoreEvents"
EndSection

Section "DRI"
	Mode 0666
EndSection

Section "Extensions"
	Option 		"Composite" "Enable"
EndSection
davbren is offline   Reply With Quote
Old October 27th, 2007   #5
xlr8ed
5 Cups of Ubuntu
 
Join Date: Apr 2007
Beans: 28
Re: Gusty ati 8.42.3 fglrx - with AIGLX support how to

Quote:
Originally Posted by davbren View Post
This isn't working for me :S I wish I never touched it now.
.
xlr8ed is offline   Reply With Quote
Old October 27th, 2007   #6
twizler
Just Give Me the Beans!
 
twizler's Avatar
 
Join Date: Oct 2007
Beans: 54
Re: Gusty ati 8.42.3 fglrx - with AIGLX support how to

This is in 32 bit mode on my box.
twizler is offline   Reply With Quote
Old October 27th, 2007   #7
macabro22
Way Too Much Ubuntu
 
macabro22's Avatar
 
Join Date: Apr 2007
Location: Sao Paulo
Beans: 232
Ubuntu 9.04 Jaunty Jackalope
Send a message via ICQ to macabro22 Send a message via MSN to macabro22 Send a message via Skype™ to macabro22
Re: Gusty ati 8.42.3 fglrx - with AIGLX support how to

What is the advantage of AIXGL over XGL?

I am afraid to try this out. What will be the pay-off?
__________________
Life sux, then you die.
macabro22 is offline   Reply With Quote
Old October 28th, 2007   #8
erikcw
Just Give Me the Beans!
 
Join Date: Aug 2006
Beans: 79
Ubuntu 8.04 Hardy Heron
Re: Gusty ati 8.42.3 fglrx - with AIGLX support how to

Seems to have worked great for me....
erikcw is offline   Reply With Quote
Old October 29th, 2007   #9
jinx31
First Cup of Ubuntu
 
Join Date: Oct 2007
Location: GA, US
Beans: 2
Ubuntu 7.10 Gutsy Gibbon
Re: Gusty ati 8.42.3 fglrx - with AIGLX support how to

twizler - this definitely did the trick for me too. I ran through several different issues before coming across this post - thanks!
jinx31 is offline   Reply With Quote
Old October 29th, 2007   #10
stillka
First Cup of Ubuntu
 
Join Date: Nov 2006
Beans: 10
Re: Gusty ati 8.42.3 fglrx - with AIGLX support how to

Hello, compiz is working for me only on 1LCD configuration, in Big desktop mode doesn't work.

Is working on 2 LCD's in "Bigdesk mode" for someone? Thank you.
stillka is offline   Reply With Quote

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 10:40 PM.


vBulletin ©2000 - 2010, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. bilberry