Contents

aticonfig

Since version 8.18.6 the fglrx driver includes the aticonfig tool which simplifies xorg.conf editing. Here are some useful commands this tool offers (for a complete list see aticonfig --help).

Changes taking effect on startup

Changes will change the config file!

Initial setup (creates device section using fglrx)

sudo aticonfig --initial

Enable Video acceleration (Xv Overlay)

sudo aticonfig --overlay-type=Xv

Force fglrx to use kernel's AGP driver instead of own implementation (only use when internal agpgart doesn't work)

sudo aticonfig --internal-agp=off

Note: Newer fglrx driver versions do not include an internal AGPGART so the kernel agpgart is used no matter what.

Use extended desktop with two monitors (dual-head and big desktop)

Assuming you successfully completed the 'Ubuntu Gutsy Installation Guide' with two monitors connected:

sudo aticonfig --initial=dual-head --screen-layout=right

This command will generate a dual head configuration file with the second screen located to the right of the first screen.

sudo aticonfig --dtop=horizontal --overlay-on=1

This command will set up big desktop to horizontal and set overlay on the secondary display.

sudo aticonfig --set-pcs-val=MCIL,DigitalHDTVDefaultUnderscan,0

This command will disable underscan and saves the option until next driver update. Needed to remove black borders on some LCD displays by default.

If black borders doesnt remove try this :

aticonfig --query-monitor # to see monitors
aticonfig --query-dispattrib=tmds2 #to see supported values
aticonfig --set-dispattrib=tmds2,sizeX:1920 # to set X resolution
aticonfig --set-dispattrib=tmds2,sizey:1080 # to set Y resolution
aticonfig --set-dispattrib=tmds2,positionX:0 # to set X position to 0
aticonfig --set-dispattrib=tmds2,positionY:0 # to set Y position to 0

Now, black borders is really gone.

Changes taking effect immediately

Changes will not change the config file.

Print information about power states.

aticonfig --list-powerstates

Or, for us lazy folk, the shorter version is aticonfig --lsp

Set a power state to the lowest (battery friendly)

aticonfig --set-powerstate=1

Note: check out available power states using aticonfig --list-powerstates