Enhanced FGLRX X11 driver


If you connect your PC to a data projector or plasma screen and it shows an image which appears to be "shimmering" and is hard to read, you need an enhanced video driver.

For ATI Radeon-based graphics, this is the fglrx driver. For other chipsets there are other drivers.

There has been a lot of debate on Linux Web site blogs about the fglrx driver and difficulties in using it. Indeed I ran into problems recently with Gentoo's ati-driver package. Quite simply it does not work (IMHO)!

It is fortunately still possible to download fglrx from the ATI Web site and install it directly. I tend to put this kind of "external" source in /usr/local/src. There are in fact many open-source tools which can be installed separatly from the main system.

Once deployed you will need to edit your Xll configuration. Current Linux systems use xorg. You can generate a sample configuration file as follows:

???

This can be tested using

X11 -config ???

After a bit of "tweaking" it works.

xorg.conf


The config which I currently have working on my laptop system (dual headed for console and projectors) is as follows. This is not the place to discuss xorg.conf syntaxm as there are many other HOWTO sites on this subject which I acknowledge for the help they provided. It is recorded here in case I loose it or it can be of benefit to someone.

If anyone spots any mistakes please let me know...


Section "ServerLayout"
# Screen "aticonfig Screen 1" Above "aticonfig Screen 0"
Identifier "X.org Configured"
Screen 0 "aticonfig Screen 0" 0 0
InputDevice? "Mouse0" "CorePointer"
InputDevice? "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
RgbPath? "/usr/share/X11/rgb"
ModulePath? "/usr/lib64/xorg/modules"
FontPath? "/usr/lib64/X11/fonts/misc/"
FontPath? "/usr/lib64/X11/fonts/TTF/"
FontPath? "/usr/lib64/X11/fonts/Type1/"
FontPath? "/usr/lib64/X11/fonts/CID/"
FontPath? "/usr/lib64/X11/fonts/75dpi/"
FontPath? "/usr/lib64/X11/fonts/100dpi/"
FontPath? "/usr/lib64/X11/fonts/120dpi/"
EndSection

Section "Module"
Load "extmod"
Load "dbe"
Load "record"
Load "xtrap"
Load "glx"
Load "type1"
Load "freetype"
Load "dri"
EndSection

Section "ServerFlags"
Option "AIGLX" "off"
EndSection

Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbLayout" "en_gb.utf-8"
EndSection

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/input/mice"
EndSection

Section "Monitor"
#DisplaySize 300 230 # mm
# HorizSync?
# VertRefresh?
Identifier "Monitor0"
VendorName? "IDT"
ModelName? "2"
VertRefresh? 60.0 - 60.0
ModeLine? "1400x1050" 108.0 1400 1448 1560 1640 1050 1051 1054 1065
EndSection

Section "Monitor"
Identifier "aticonfig Monitor 0"
EndSection

Section "Monitor"
Identifier "aticonfig Monitor 1"
EndSection

Section "Device"
### Available Driver options are:-
### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
### [arg]: arg optional
Identifier "Card0"
Driver "ati"
VendorName? "ATI Technologies Inc"
BoardName? "RV350 [Mobility Radeon 9700]"
Option "VideoOverlay" "off"
#Option "UseInternalAGPGART" "no"
#Option "NoAccel" # [<bool>]
#Option "SWcursor" # [<bool>]
#Option "Dac6Bit" # [<bool>]
#Option "Dac8Bit" # [<bool>]
#Option "BusType" # [<str>]
#Option "CPPIOMode" # [<bool>]
#Option "CPusecTimeout" # <i>
#Option "AGPMode" # <i>
#Option "AGPFastWrite" # [<bool>]
#Option "AGPSize" # <i>
#Option "GARTSize" # <i>
#Option "RingSize" # <i>
#Option "BufferSize" # <i>
#Option "EnableDepthMoves" # [<bool>]
#Option "EnablePageFlip" # [<bool>]
#Option "NoBackBuffer" # [<bool>]
#Option "DRIReinit" # [<bool>]
#Option "PanelOff" # [<bool>]
#Option "DDCMode" # [<bool>]
#Option "MonitorLayout" # [<str>]
#Option "IgnoreEDID" # [<bool>]
#Option "UseFBDev" # [<bool>]
#Option "VideoKey" # <i>
#Option "MergedFB" # [<bool>]
#Option "CRT2HSync" # [<str>]
#Option "CRT2VRefresh" # [<str>]
#Option "CRT2VRefresh" "60"
#Option "CRT2Position" # [<str>]
#Option "MetaModes" # [<str>]
#Option "MergedDPI" # [<str>]
#Option "NoMergedXinerama" # [<bool>]
#Option "MergedXineramaCRT2IsScreen0" # [<bool>]
#Option "DisplayPriority" # [<str>]
#Option "PanelSize" # [<str>]
#Option "ForceMinDotClock" # <freq>
#Option "RenderAccel" # [<bool>]
#Option "SubPixelOrder" # [<str>]
#Option "ShowCache" # [<bool>]
#Option "DynamicClocks" # [<bool>]
#Option "VGAAccess" # [<bool>]
#Option "LVDSProbePLL" # [<bool>]
#Option "ReverseDDC" # [<bool>]
#Option "BIOSHotkeys" # [<bool>]
# BoardName? "RV350 [Mobility Radeon 9600 M10]"
BusID? "PCI:1:0:0"
EndSection

Section "Device"
Identifier "ATI Graphics Adapter 0"
Driver "fglrx"
Option "(null)"
Option "VideoOverlay" "off"
Option "OpenGLOverlay" "off"
BusID? "PCI:1:0:0"
EndSection

Section "Device"
Identifier "ATI Graphics Adapter 1"
Driver "fglrx"
Option "DesktopSetup" "clone"
Option "VideoOverlay" "off"
Option "OpenGLOverlay" "off"
BusID? "PCI:1:0:0"
Screen 1
EndSection

Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultDepth? 24
SubSection? "Display"
Viewport 0 0
Depth 1
EndSubSection?
SubSection? "Display"
Viewport 0 0
Depth 4
EndSubSection?
SubSection? "Display"
Viewport 0 0
Depth 8
EndSubSection?
SubSection? "Display"
Viewport 0 0
Depth 15
EndSubSection?
SubSection? "Display"
Viewport 0 0
Depth 16
EndSubSection?
SubSection? "Display"
Viewport 0 0
Depth 24
EndSubSection?
SubSection? "Display"
Viewport 0 0
Depth 32
EndSubSection?
EndSection

Section "Screen"
Identifier "aticonfig Screen 0"
Device "ATI Graphics Adapter 0"
Monitor "aticonfig Monitor 0"
DefaultDepth? 24
SubSection? "Display"
Viewport 0 0
Depth 24
EndSubSection?
EndSection

Section "Screen"
Identifier "aticonfig Screen 1"
Device "ATI Graphics Adapter 1"
Monitor "aticonfig Monitor 1"
DefaultDepth? 24
SubSection? "Display"
Viewport 0 0
Depth 24
EndSubSection?
EndSection

Section "DRI"
Mode 0666
EndSection

Section "Extensions"
Option "Composite" "Disable"
EndSection

Topic revision: r1 - 16 Jan 2009 - 15:05:14 - TWikiAdminUser
 
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback