[Hoary] xorg.conf advice

Matt Galvin matt.t.galvin at gmail.com
Fri Feb 25 22:22:56 UTC 2005


It appears you manually added a few things to your xorg.conf while
this is ok to do, what you really need to do is use fglrxconfig to
generate your config file for you. This forum thread talks about how
to do this:

http://www.ubuntuforums.org/showthread.php?t=3567

But to save you the trouble here is my xorg.conf. I manually merged
the fglrxconfig output with the default to come up with a cleaner,
nicer config.

--- snip ---

# /etc/X11/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 /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/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 commands:
#
#   cp /etc/X11/xorg.conf /etc/X11/xorg.conf.custom
#   sudo sh -c 'md5sum /etc/X11/xorg.conf >/var/lib/xfree86/xorg.conf.md5sum'
#   sudo dpkg-reconfigure xserver-xorg

Section "Files"
	FontPath	"unix/:7100"			# local font server
	RgbPath		"/usr/X11R6/lib/X11/rgb"
	
	# if the local font server has problems, we can fall back on these
	FontPath	"/usr/lib/X11/fonts/misc"
	FontPath	"/usr/lib/X11/fonts/cyrillic"
	FontPath	"/usr/lib/X11/fonts/100dpi/:unscaled"
	FontPath	"/usr/lib/X11/fonts/75dpi/:unscaled"
	FontPath	"/usr/lib/X11/fonts/Type1"
	FontPath	"/usr/lib/X11/fonts/CID"
	FontPath	"/usr/lib/X11/fonts/100dpi"
	FontPath	"/usr/lib/X11/fonts/75dpi"
        # paths to defoma fonts
	FontPath	"/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
	FontPath	"/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID"
	
	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/75dpi/"
	FontPath	"/usr/X11R6/lib/X11/fonts/100dpi/"
EndSection

Section "Module"
	Load	"bitmap"
	Load	"dbe"
	Load	"ddc"
	Load	"dri"
	Load	"extmod"
	Load	"freetype"
	Load	"glx"
	Load	"int10"
	Load	"record"
	Load	"type1"
	Load	"vbe"
	
	SubSection	"extmod"
		Option		"omit xfree86-dga"   # don't initialise the DGA extension
	EndSubSection
	
	Load	"type1"
EndSection

Section "InputDevice"
	Identifier	"Generic Keyboard"
	Driver		"keyboard"
	Option		"CoreKeyboard"
	Option		"XkbRules"	"xorg"
	Option		"XkbModel"	"pc104"
	Option		"XkbLayout"	"us"
	
	Option		"AutoRepeat"	"500 30"
EndSection

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

Section "Device"
	Identifier	"ATI Technologies, Inc. Radeon 9600 XT (RV350 AR)"
	Driver		"fglrx"
	
	Option "no_accel"                   "no"
	Option "no_dri"                     "no"
	Option "mtrr"                       "off" # disable DRI mtrr mapper,
driver has its own code for mtrr
	Option "DesktopSetup"               "0x00000000" 
	Option "MonitorLayout"              "AUTO, AUTO"
	Option "IgnoreEDID"                 "off"
	Option "HSync2"                     "unspecified" 
	Option "VRefresh2"                  "unspecified" 
	Option "ScreenOverlap"              "0" 
	Option "NoTV"                       "yes"     
	Option "TVStandard"                 "NTSC-M"     
	Option "TVHSizeAdj"                 "0"     
	Option "TVVSizeAdj"                 "0"     
	Option "TVHPosAdj"                  "0"     
	Option "TVVPosAdj"                  "0"     
	Option "TVHStartAdj"                "0"     
	Option "TVColorAdj"                 "0"     
	Option "GammaCorrectionI"           "0x00000000"
	Option "GammaCorrectionII"          "0x00000000"
	Option "Capabilities"               "0x00000000"
	Option "VideoOverlay"               "on"
	Option "OpenGLOverlay"              "off"
	Option "CenterMode"                 "off"
	Option "PseudoColorVisuals"         "off"
	Option "Stereo"                     "off"
	Option "StereoSyncEnable"           "1"
	Option "FSAAEnable"                 "no"
	Option "FSAAScale"                  "1"
	Option "FSAADisableGamma"           "no"
	Option "FSAACustomizeMSPos"         "no"
	Option "FSAAMSPosX0"                "0.000000"
	Option "FSAAMSPosY0"                "0.000000"
	Option "FSAAMSPosX1"                "0.000000"
	Option "FSAAMSPosY1"                "0.000000"
	Option "FSAAMSPosX2"                "0.000000"
	Option "FSAAMSPosY2"                "0.000000"
	Option "FSAAMSPosX3"                "0.000000"
	Option "FSAAMSPosY3"                "0.000000"
	Option "FSAAMSPosX4"                "0.000000"
	Option "FSAAMSPosY4"                "0.000000"
	Option "FSAAMSPosX5"                "0.000000"
	Option "FSAAMSPosY5"                "0.000000"
	Option "UseFastTLS"                 "2"
	Option "BlockSignalsOnLock"         "on"
	Option "UseInternalAGPGART"         "no"
	Option "ForceGenericCPU"            "no"
	Option "KernelModuleParm"           "agplock=0" # AGP locked user
pages: disabled
	BusID "PCI:1:0:0"    # vendor=1002, device=4152
	Screen 0
EndSection

Section "Monitor"
	Identifier	"Avitron"
	HorizSync	31.5 - 91.1
	VertRefresh	60 - 100
	Option		"DPMS"
EndSection

Section "Screen"
	Identifier	"Default Screen"
	Device		"ATI Technologies, Inc. Radeon 9600 XT (RV350 AR)"
	Monitor		"Avitron"
	DefaultDepth	24
	SubSection "Display"
		Depth		1
		Modes		"1600x1200" "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		4
		Modes		"1600x1200" "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		8
		Modes		"1600x1200" "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		15
		Modes		"1600x1200" "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		16
		Modes		"1600x1200" "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		24
		Modes		"1280x1024" "1152x864" "1024x768" "800x600" "640x480"
	EndSubSection
EndSection

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

Section "DRI"
	Mode	0666
EndSection

--- snip ---

glxgears gives me: 8078 frames in 5.0 seconds = 1615.600 FPS
fgl_glxgears gives me: 1962 frames in 5.0 seconds = 392.400 FPS

Hope this helps.

Matt

On Fri, 25 Feb 2005 11:58:03 -0600, Phil Cryer <phil at cryer.us> wrote:
> I have Hoary installed on my new box (3.2G HT Pen4 - 80G SATA HD - 512M
> DRR2 RAM
> - ATI x300 PCI-e video with 128M RAM).  I've installed the fglrx drivers, but
> when I run glxgears I only get ~700.  I expected this to be higher,
> even though
> this isn't a high end card.  I'm wondering if I have my xorg.conf setup well
> enough (please excuse me since this is the first non nVidia card I've
> run under
> Linux in years):
> 
> http://cryer.us/xorg.conf
> 
> I turned off Composite, Damage and Render, since glxgears fell to 140
> or so with
> those on!  If this speed is to be expected I'll live with it since I
> think it'll
> handle RTCW and UT2004 (maybe?) alright, and then pickup a PCI-e nVidia
> card in
> a few months.  But if not, please advise any suggestions to speed things up.
> Also, thanks to all Hoary devs, this looks like it is to be a great release.
> 
> P
> --
> "I'm celebrating my love for you with a pint of beer and a new tattoo"
> -- Billy
> Bragg
> 
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> http://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>




More information about the ubuntu-users mailing list