[GRLUG] linux and fglrx driver for Radeon card

Roberto Villarreal rvillarreal at mktec.com
Sat Jul 15 20:13:07 EDT 2006


I have some experience with it... and it wasn't pleasant.  All I can really 
say is... good luck, it doesn't play nice with the binary driver, and it can 
only be used in 24-bit color.  Nothing about your config sticks out, but I've 
attached mine (which is working).  There's some junk in there from trying to 
debug the issue that can be disregarded.  

Good luck!

Roberto

On Saturday 15 July 2006 6:39 pm, Eric Hartwell wrote:
> Hi all,
>
> anyone have experience with fglrx driver? I've attached the xorg.conf and
> noticed that no matter what video ram i specify in bios (128M dedicated and
> up to 128M more can be shared ) i cant use the glx driver.
>
> thanks,
>
> eah
-------------- next part --------------
# **********************************************************************
# DRI Section
# **********************************************************************
Section "dri"
# Access to OpenGL ICD is allowed for all users:
    Mode 0666
# Access to OpenGL ICD is restricted to a specific user group:
#    Group 100    # users
#    Mode 0660
EndSection

# **********************************************************************
# Module section -- this  section  is used to specify
# which dynamically loadable modules to load.
# **********************************************************************
#
Section "Module"

# This loads the DBE extension module.

    Load        "dbe"  	# Double buffer extension

# This loads the miscellaneous extensions module, and disables
# initialisation of the XFree86-DGA extension within that module.
    SubSection  "extmod"
      Option    "omit xfree86-dga"   # don't initialise the DGA extension
    EndSubSection

# This loads the Type1 and FreeType font modules
    Load        "type1"
    Load        "freetype"

# This loads the GLX module
    Load        "glx"   # libglx.a
    Load        "dri"   # libdri.a

EndSection

# **********************************************************************
# Files section.  This allows default font and rgb paths to be set
# **********************************************************************

Section "Files"

# The location of the RGB database.  Note, this is the name of the
# file minus the extension (like ".txt" or ".db").  There is normally
# no need to change the default.

    RgbPath	"/usr/X11R6/lib/X11/rgb"

# Multiple FontPath entries are allowed (which are concatenated together),
# as well as specifying multiple comma-separated entries in one FontPath
# command (or a combination of both methods)
# 
# If you don't have a floating point coprocessor and emacs, Mosaic or other
# programs take long to start up, try moving the Type1 and Speedo directory
# to the end of this list (or comment them out).
# 

#    FontPath   "/usr/X11R6/lib/X11/fonts/local/"
    FontPath   "/usr/X11R6/lib/X11/fonts/misc/"
    FontPath   "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
    FontPath   "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
    FontPath   "/usr/X11R6/lib/X11/fonts/Type1/"
#    FontPath   "/usr/X11R6/lib/X11/fonts/Speedo/"
    FontPath   "/usr/X11R6/lib/X11/fonts/75dpi/"
    FontPath   "/usr/X11R6/lib/X11/fonts/100dpi/"

# The module search path.  The default path is shown here.

#    ModulePath "/usr/X11R6/lib/modules"

EndSection

# **********************************************************************
# Server flags section.
# **********************************************************************

Section "ServerFlags"

# Uncomment this to cause a core dump at the spot where a signal is 
# received.  This may leave the console in an unusable state, but may
# provide a better stack trace in the core dump to aid in debugging

#    Option "NoTrapSignals"

# Uncomment this to disable the <Crtl><Alt><BS> server abort sequence
# This allows clients to receive this key event.

#    Option "DontZap"

# Uncomment this to disable the <Crtl><Alt><KP_+>/<KP_-> mode switching
# sequences.  This allows clients to receive these key events.

#    Option "Dont Zoom"

# Uncomment this to disable tuning with the xvidtune client. With
# it the client can still run and fetch card and monitor attributes,
# but it will not be allowed to change them. If it tries it will
# receive a protocol error.

#    Option "DisableVidModeExtension"

# Uncomment this to enable the use of a non-local xvidtune client. 

#    Option "AllowNonLocalXvidtune"

# Uncomment this to disable dynamically modifying the input device
# (mouse and keyboard) settings. 

#    Option "DisableModInDev"

# Uncomment this to enable the use of a non-local client to
# change the keyboard or mouse settings (currently only xset).

#    Option "AllowNonLocalModInDev"

EndSection

# **********************************************************************
# Input devices
# **********************************************************************

# **********************************************************************
# Core keyboard's InputDevice section
# **********************************************************************

Section "InputDevice"

    Identifier	"Keyboard1"
    Driver	"kbd"
# For most OSs the protocol can be omitted (it defaults to "Standard").
# When using XQUEUE (only for SVR3 and SVR4, but not Solaris),
# uncomment the following line.

#    Option "Protocol"   "Xqueue"

    Option "AutoRepeat" "500 30"

# Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
#    Option "Xleds"      "1 2 3"

#    Option "LeftAlt"    "Meta"
#    Option "RightAlt"   "ModeShift"

# To customise the XKB settings to suit your keyboard, modify the
# lines below (which are the defaults).  For example, for a non-U.S.
# keyboard, you will probably want to use:
#    Option "XkbModel"   "pc102"
# If you have a US Microsoft Natural keyboard, you can use:
#    Option "XkbModel"   "microsoft"
#
# Then to change the language, change the Layout setting.
# For example, a german layout can be obtained with:
#    Option "XkbLayout"  "de"
# or:
#    Option "XkbLayout"  "de"
#    Option "XkbVariant" "nodeadkeys"
#
# If you'd like to switch the positions of your capslock and
# control keys, use:
#    Option "XkbOptions" "ctrl:swapcaps"

# These are the default XKB settings for XFree86
#    Option "XkbRules"   "xfree86"
#    Option "XkbModel"   "pc101"
#    Option "XkbLayout"  "us"
#    Option "XkbVariant" ""
#    Option "XkbOptions" ""

#    Option "XkbDisable"

    Option "XkbRules"	"xfree86"
    Option "XkbModel"	"pc104"
    Option "XkbLayout"	"us"

EndSection


# **********************************************************************
# Core Pointer's InputDevice section
# **********************************************************************

Section "InputDevice"

# Identifier and driver

    Identifier	"Mouse1"
    Driver "mouse"
    Option "Protocol"   "ImPS/2"
    Option "ZAxisMapping"   "4 5"
    Option "Device"     "/dev/input/mice"

# When using XQUEUE, comment out the above two lines, and uncomment
# the following line.

#    Option "Protocol"   "Xqueue"

# Baudrate and SampleRate are only for some Logitech mice. In
# almost every case these lines should be omitted.

#    Option "BaudRate"   "9600"
#    Option "SampleRate" "150"

# Emulate3Buttons is an option for 2-button Microsoft mice
# Emulate3Timeout is the timeout in milliseconds (default is 50ms)

#    Option "Emulate3Buttons"
#    Option "Emulate3Timeout"    "50"

# ChordMiddle is an option for some 3-button Logitech mice

#    Option "ChordMiddle"

EndSection


# **********************************************************************
# Other input device sections 
# this is optional and is required only if you
# are using extended input devices.  This is for example only.  Refer
# to the XF86Config man page for a description of the options.
# **********************************************************************
#

# **********************************************************************
# Monitor section
# **********************************************************************

# Any number of monitor sections may be present

Section "Monitor"
	Identifier	"CRT"
	Option		"DPMS"
EndSection

Section "Monitor"
        Identifier      "Widescreen"
        Option          "DPMS"
	HorizSync	74-75
	VertRefresh	60
EndSection

Section "Monitor"
        Identifier      "LCD"
        Option          "DPMS"
	HorizSync	80
	VertRefresh	75
EndSection


# **********************************************************************
# Graphics device section
# **********************************************************************


# === ATI device section ===
 
Section "Device"
	Identifier	"ati_std"
	Driver		"radeon"
#	Option		"MergedFB" "0"
#	Option		"CRT2Position" "LeftOf"
#	Option		"CRT2HSync" "80"
#	Option		"CRT2Refresh" "75"
#	Option		"MetaModes" "1600x1200-1280x1024"
	Screen	0
        BusID           "PCI:02:01:0"
EndSection

Section "Device"
	Identifier	"ati_std(2)"
	Driver		"radeon"
#	Option		"MergedFB" "0"
#	Option		"CRT2Position" "RightOf"
	Screen	1
        BusID           "PCI:02:01:0"
EndSection

Section "Device"
	Identifier	"ati_onboard"
	Driver		"fglrx"
	BusID		"PCI:01:05:0"
EndSection

Section "Device"
	Identifier	"generic"
	Driver		"s3virge"
	BusID		"PCI:02:01:0"
EndSection

Section "Device"
	Identifier	"nvidia"
	Driver		"nv"
	Screen		0
	BusID		"PCI:02:02:0"
EndSection

Section "Device"
	Identifier	"nvidia(2)"
	Driver		"nvidia"
	Screen 		1
	BusID		"PCI:02:02:0"
EndSection

Section "Device"
	Identifier	"new_nvidia"
	Driver		"nv"
	BusID		"PCI:02:01:0"
EndSection
# **********************************************************************
# Screen sections
# **********************************************************************

Section "Screen"
        Identifier      "Center"
	Device		"ati_onboard"
        Monitor         "Widescreen"
        DefaultDepth    24
        SubSection "Display"
                Depth           24
                ViewPort        0 0
                Modes           "1920x1200" "1152x870" "1280x1024" "1024x768"
        EndSubSection
EndSection

Section "Screen"
        Identifier      "Right"
#	Device		"nvidia(2)"
	Device		"new_nvidia"
#	Device		"ati_std(2)"
#	Option		"ConnectedMonitor" "CRT-1"
        Monitor         "LCD"
        DefaultDepth    24
        SubSection "Display"
                Depth           24
                ViewPort        0 0
                Modes           "1600x1200" "1280x1024" "1024x768"
        EndSubSection
EndSection

Section "Screen"
        Identifier      "Left"
#	Option		"ConnectedMonitor" "CRT-0"
	Device		"nvidia"
#	Device		"ati_std"
        Monitor         "CRT"
        DefaultDepth    24
        SubSection "Display"
                Depth           24
                ViewPort        0 0
                Modes           "1600x1200" "1280x1024" "1024x768"
        EndSubSection
EndSection

# **********************************************************************
# ServerLayout sections.
# **********************************************************************

Section "ServerLayout"
    Identifier  "Server Layout"
    Screen  "Left"
#	Screen "Right" RightOf "Left"
	Screen "Center" RightOf "Left"
	Screen "Right" RightOf "Center"
#	Screen  "Right" RightOf "Left"
    InputDevice "Mouse1" "CorePointer"
    InputDevice "Keyboard1" "CoreKeyboard"

EndSection

### EOF ###

Section "ServerFlags"
       Option          "Xinerama" "true"
EndSection



More information about the grlug mailing list