T42 - ATI 9600 - Beryl/Compiz - Help with xorg.conf

Solaris, RedHat, FreeBSD and the like
Post Reply
Message
Author
PipeHitter
Posts: 6
Joined: Sat Dec 01, 2007 11:52 am
Location: Nashville, TN

T42 - ATI 9600 - Beryl/Compiz - Help with xorg.conf

#1 Post by PipeHitter » Wed Dec 12, 2007 5:06 pm

os = Debian "Lenny" with gnome

After several days of beating my head against the wall I've finally made some progress. I've succesfully install Beryl/Compiz on a T41 and it works perfectly. However that unit has a ati 7500. Now I'm trying to duplicate this on a T42 which has a 9600. Apparently the xorg.conf changes I made are not compatible.

I do have Beryl/Compiz running on the 9600, but everything is choppy, lags, and just generally unstable. I've posted the changes I made to the xorg.conf file below for your review. The only difference I made between the T41 and T42 is I had to disable fastwrite on the T42, as enabled it would not even launch X.

I'm using AIGLX as it worked fine on the T41. Also, I am using the open-source drivers as speed-wise the T41 was quite peppy. Would think the 9600 would be even better.

Any help is appreciated. Also, if any one has had success installing on a ati 9600 if they would like to post their xorg.conf I would appreciate it. Thanks again.

Here are my changes:

Code: Select all

under "Device" section after line: BusID

        VideoRam        32768
        Option          "AGPMode" "4"
        Option          "AGPSize" "32"
        Option          "DRI" "true"
        Option          "AGPFastWrite" "off" 
        Option          "EnablePageFlip" "true"
        Option          "XAANoOffscreenPixmaps" "true"
        Option          "AllowGLXWithComposite" "true"
        Option          "RenderAccel"   "true"

next in "screen" section, just after line: default depth

        Option "AddRGBGLXVisuals" "true"
        Option "DisableGLXRootClipping" "true"
        Option  "XAANoOffscreenPixmaps" "true"

at the bottom I added following sections:

Section "DRI"
        Mode    0666
EndSection

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

michaaa62
Posts: 24
Joined: Tue Dec 11, 2007 5:21 pm
Location: Berlin, Germany

#2 Post by michaaa62 » Fri Dec 14, 2007 12:50 pm

Hi pipehitter,
if

Code: Select all

Option "Render" "Enable"
in your Extention Section does not help, please post your complete xorg.conf and your xorg.log. May be the output of

Code: Select all

glxinfo
or

Code: Select all

LIBGL_DEBUG=verbose glxinfo
is helpful also.

cheers Micha
IBM X20 2661 Celeron 500 MHz
Lenovo X60T
sidux http://sidux.com/index.html
KDE 3.5.9
Opera

PipeHitter
Posts: 6
Joined: Sat Dec 01, 2007 11:52 am
Location: Nashville, TN

#3 Post by PipeHitter » Sat Dec 15, 2007 1:41 am

Hi Micha, thanks for the input. I tried your suggestion but it didn't make a difference. However, after googling I found some other entries to try. So I put them all in and found what works. So as of now I do have Compiz-Fusion working fairly well. I did post my xorg below in case someone else runs a similar setup and would like to save several hours of trial and error :).

I tried to make sense of most of the settings, googling and checking the radeon/xorg man pages, but I'm still not sure my xorg is as optimized as it can be. I did see a substantial jump in glxgears from 1323 to 1950ish. I did see 2246 but I can not duplicate it again. Any suggestions on more entries to try in order to improve performance are welcome and I'll report back.

Code: Select all

# 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"	#NOT NEEDED		
#        Load		"glx"	#NOT NEEDED
#        Load		"dbe"	#NOT NEEDED
#EndSection

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

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

Section "InputDevice"
	Identifier	"Synaptics Touchpad"
	Driver		"synaptics"
	Option		"SendCoreEvents"	"true"
	Option		"Device"		"/dev/psaux"
	Option		"Protocol"		"auto-dev"
	Option		"HorizScrollDelta"	"0"
EndSection

Section "Device"
	Identifier	"ATI Technologies Inc RV350 [Mobility Radeon 9600 M10]"
	Driver		"radeon" #or try ati?
	BusID		"PCI:1:0:0"
        Option          "XAANoOffscreenPixmaps" "true"	# NEEDED FOR COMPIZ-FUSION
	Option		"AGPMode" "4"			# improves fps
#        Option		"AGPFastWrite" "off"		# NOT NEEDED
#        Option		"DisableGLXRootClipping" "true"	# NOT NEEDED
#        Option		"AddARGBGLXVisuals" "true"	# NOT NEEDED
#        Option		"AllowGLXWithComposite" "true"	# NOT NEEDED
        Option		"EnablePageFlip" "true"		# improves fps
EndSection

Section "Monitor"
	Identifier	"Generic Monitor"
	Option		"DPMS"
EndSection

Section "Screen"
	Identifier	"Default Screen"
	Device		"ATI Technologies Inc RV350 [Mobility Radeon 9600 M10]"
	Monitor		"Generic Monitor"
	DefaultDepth	24
	SubSection "Display"
		Modes		"1400x1050"
	EndSubSection
EndSection

Section "ServerLayout"
#        Option          "AIGLX"         "true"	#NOT NEEDED
	Identifier	"Default Layout"
	Screen		"Default Screen"
	InputDevice	"Generic Keyboard"
	InputDevice	"Configured Mouse"
	InputDevice	"Synaptics Touchpad"
EndSection

#Section "DRI"		#NOT NEEDED
#        Mode 0666	#NOT NEEDED
#EndSection		#NOT NEEDED
        
Section "Extensions"
       Option "Composite" "Enable"	# NEEDED FOR COMPIZ-FUSION
EndSection

michaaa62
Posts: 24
Joined: Tue Dec 11, 2007 5:21 pm
Location: Berlin, Germany

#4 Post by michaaa62 » Sat Dec 15, 2007 2:24 pm

Here is what i had as xorg.conf when using radeon as driver.
BUT i had a Radeon Mobility X700

Code: Select all

Section "ServerLayout"
	Identifier	"XFree86 Configured"
	Screen		0	"Screen0"	0	0
	InputDevice	"Keyboard0"		"CoreKeyboard"
# PS/2 Mouse not detected
# Serial Mouse not detected
	InputDevice	"USB Mouse"		"CorePointer"
# ALPS TouchPad not detected
# Synaptics TouchPad not detected
EndSection

Section "ServerFlags"
	Option		"AllowMouseOpenFail"	"true"
	
EndSection

Section "Files"
	FontPath	"/usr/share/fonts/X11/misc"
	FontPath	"/usr/share/fonts/X11/100dpi/:unscaled"
	FontPath	"/usr/share/fonts/X11/75dpi/:unscaled"
	FontPath	"/usr/share/fonts/X11/100dpi"
	FontPath	"/usr/share/fonts/X11/75dpi"
	# path to defoma fonts
	FontPath	"/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
	Load		"ddc"		# ddc probing of monitor
	#Load		"GLcore"
	Load		"dbe"
	Load	"dri"
#	Load		"extmod"
	SubSection  "extmod"
	  Option  "omit xfree86-dga"
	EndSubSection
	Load	"glx"
	Load		"bitmap"	# bitmap-fonts
	Load		"type1"
	Load		"freetype"
	Load		"record"
# TouchPad not detected
EndSection

Section "InputDevice"
	Identifier	"Keyboard0"
	Driver		"kbd"
	Option		"CoreKeyboard"
	Option		"XkbRules"		"xorg"
	Option		"XkbOptions"		"altwin:super_win"
	Option		"XkbModel"		"pc105"
	Option		"XkbLayout"	"de"
	Option		"XkbVariant"		"nodeadkeys"
EndSection

Section "InputDevice"
	Identifier	"Serial Mouse"
	Driver		"mouse"
	Option		"Protocol"		"Microsoft"
	Option		"Device"		"/dev/ttyS0"
	Option		"Emulate3Buttons"	"true"
	Option		"Emulate3Timeout"	"70"
	Option		"SendCoreEvents"	"true"
EndSection

Section "InputDevice"
	Identifier	"PS/2 Mouse"
	Driver		"mouse"
	Option		"Protocol"		"IMPS/2"
	Option		"ZAxisMapping"	"4 5"
	Option		"Device"		"/dev/psaux"
	Option		"Emulate3Buttons"	"true"
	Option		"Emulate3Timeout"	"70"
	Option		"SendCoreEvents"	"true"
EndSection

Section "InputDevice"
	Identifier	"USB Mouse"
	Driver		"mouse"
	Option		"Device"		"/dev/input/mice"
	Option		"SendCoreEvents"	"true"
	Option		"Protocol"		"IMPS/2"
	Option		"ZAxisMapping"		"4 5"
	Option		"Buttons"		"5"
EndSection

Section "InputDevice"
	Identifier	"ALPS TouchPad"
	Driver		"synaptics"
	Option		"Device"	"/dev/psaux"
	Option		"Protocol"		"auto-dev"
	Option		"LeftEdge"		"120"
	Option		"RightEdge"		"830"
	Option		"TopEdge"		"120"
	Option		"BottomEdge"		"650"
	Option		"FingerLow"		"14"
	Option		"FingerHigh"		"15"
	Option		"MaxTapTime"		"180"
	Option		"MaxTapMove"		"110"
	Option		"EmulateMidButtonTime"	"75"
	Option		"VertScrollDelta"	"20"
	Option		"HorizScrollDelta"	"20"
	Option		"MinSpeed"		"0.7"
	Option		"MaxSpeed"		"3"
	Option		"AccelFactor"		"0.025"
	Option		"EdgeMotionMinSpeed"	"15"
	Option		"EdgeMotionMaxSpeed"	"15"
	Option		"UpDownScrolling"	"1"
	Option		"CircularScrolling"	"1"
	Option		"CircScrollDelta"	"0.1"
	Option		"CircScrollTrigger"	"2"
EndSection

Section "InputDevice"
	Identifier	"Synaptics TouchPad"
	Driver		"synaptics"
	Option		"Device"		"/dev/psaux"
	Option		"Protocol"		"auto-dev"
	Option		"LeftEdge"		"1700"
	Option		"RightEdge"		"5300"
	Option		"TopEdge"		"1700"
	Option		"BottomEdge"		"4200"
	Option		"FingerLow"		"25"
	Option		"FingerHigh"		"30"
	Option		"MaxTapTime"		"180"
	Option		"MaxTapMove"		"220"
	Option		"VertScrollDelta"	"100"
	Option		"MinSpeed"		"0.06"
	Option		"MaxSpeed"		"0.12"
	Option		"AccelFactor"		"0.0010"
	Option		"SHMConfig"		"on"
	Option		"Repeater"		"/dev/ps2mouse"
EndSection

# Auto-generated by sidux mkxf86config

Section "Monitor"
	Identifier	"Monitor0"
	Option	"DPMS"	"true"
#	HorizSync    28.0 - 78.0 # Warning: This may fry very old Monitors
	HorizSync    28.0 - 96.0 # Warning: This may fry old Monitors
	VertRefresh  50.0 - 75.0 # Very conservative. May flicker.
#	VertRefresh  50.0 - 62.0 # Extreme conservative. Will flicker. TFT default.
	#  Default modes distilled from
	#      "VESA and Industry Standards and Guide for Computer Display Monitor
	#       Timing", version 1.0, revision 0.8, adopted September 17, 1998.
	#  $XFree86: xc/programs/Xserver/hw/xfree86/etc/vesamodes,v 1.4 1999/11/18 16:52:17 tsi Exp $
	# 640x350 @ 85Hz (VESA) hsync: 37.9kHz
	# 640x400 @ 85Hz (VESA) hsync: 37.9kHz
	# 720x400 @ 85Hz (VESA) hsync: 37.9kHz
	# 640x480 @ 60Hz (Industry standard) hsync: 31.5kHz
	# 640x480 @ 72Hz (VESA) hsync: 37.9kHz
	# 640x480 @ 75Hz (VESA) hsync: 37.5kHz
	# 640x480 @ 85Hz (VESA) hsync: 43.3kHz
	# 800x600 @ 56Hz (VESA) hsync: 35.2kHz
	# 800x600 @ 60Hz (VESA) hsync: 37.9kHz
	# 800x600 @ 72Hz (VESA) hsync: 48.1kHz
	# 800x600 @ 75Hz (VESA) hsync: 46.9kHz
	# 800x600 @ 85Hz (VESA) hsync: 53.7kHz
	# 1024x768i @ 43Hz (industry standard) hsync: 35.5kHz
	# 1024x768 @ 60Hz (VESA) hsync: 48.4kHz
	# 1024x768 @ 70Hz (VESA) hsync: 56.5kHz
	# 1024x768 @ 75Hz (VESA) hsync: 60.0kHz
	# 1024x768 @ 85Hz (VESA) hsync: 68.7kHz
	# 1152x864 @ 75Hz (VESA) hsync: 67.5kHz
	# 1280x960 @ 60Hz (VESA) hsync: 60.0kHz
	# 1280x960 @ 85Hz (VESA) hsync: 85.9kHz
	# 1280x1024 @ 60Hz (VESA) hsync: 64.0kHz
	# 1280x1024 @ 75Hz (VESA) hsync: 80.0kHz
	# 1280x1024 @ 85Hz (VESA) hsync: 91.1kHz
	# 1600x1200 @ 60Hz (VESA) hsync: 75.0kHz
	# 1600x1200 @ 65Hz (VESA) hsync: 81.3kHz
	# 1600x1200 @ 70Hz (VESA) hsync: 87.5kHz
	# 1600x1200 @ 75Hz (VESA) hsync: 93.8kHz
	# 1600x1200 @ 85Hz (VESA) hsync: 106.3kHz
	# 1792x1344 @ 60Hz (VESA) hsync: 83.6kHz
	# 1792x1344 @ 75Hz (VESA) hsync: 106.3kHz
	# 1856x1392 @ 60Hz (VESA) hsync: 86.3kHz
	# 1856x1392 @ 75Hz (VESA) hsync: 112.5kHz
	# 1920x1440 @ 60Hz (VESA) hsync: 90.0kHz
	# 1920x1440 @ 75Hz (VESA) hsync: 112.5kHz
	# Additional modelines
	# Extended modelines with GTF timings
	# 640x480 @ 100.00 Hz (GTF) hsync: 50.90 kHz; pclk: 43.16 MHz
	# 768x576 @ 60.00 Hz (GTF) hsync: 35.82 kHz; pclk: 34.96 MHz
	# 768x576 @ 72.00 Hz (GTF) hsync: 43.27 kHz; pclk: 42.93 MHz
	# 768x576 @ 75.00 Hz (GTF) hsync: 45.15 kHz; pclk: 45.51 MHz
	# 768x576 @ 85.00 Hz (GTF) hsync: 51.42 kHz; pclk: 51.84 MHz
	# 768x576 @ 100.00 Hz (GTF) hsync: 61.10 kHz; pclk: 62.57 MHz
	# 800x600 @ 100.00 Hz (GTF) hsync: 63.60 kHz; pclk: 68.18 MHz
	# 1024x600 @ 60.00 Hz (GTF) hsync: 37.32 kHz; pclk: 48.96 MHz
	# 1024x768 @ 100.00 Hz (GTF) hsync: 81.40 kHz; pclk: 113.31 MHz
	# 1152x864 @ 60.00 Hz (GTF) hsync: 53.70 kHz; pclk: 81.62 MHz
	# 1152x864 @ 85.00 Hz (GTF) hsync: 77.10 kHz; pclk: 119.65 MHz
	# 1152x864 @ 100.00 Hz (GTF) hsync: 91.50 kHz; pclk: 143.47 MHz
	# 1280x768 @ 60.00 Hz (GTF) hsync: 47.70 kHz; pclk: 80.14 MHz
	# 1280x800 @ 60.00 Hz (GTF) hsync: 49.68 kHz; pclk: 83.46 MHz
	# 1280x960 @ 72.00 Hz (GTF) hsync: 72.07 kHz; pclk: 124.54 MHz
	# 1280x960 @ 75.00 Hz (GTF) hsync: 75.15 kHz; pclk: 129.86 MHz
	# 1280x960 @ 100.00 Hz (GTF) hsync: 101.70 kHz; pclk: 178.99 MHz
	# 1280x1024 @ 100.00 Hz (GTF) hsync: 108.50 kHz; pclk: 190.96 MHz
	# 1368x768 @ 60.00 Hz (GTF) hsync: 47.70 kHz; pclk: 85.86 MHz
	# 1400x1050 @ 60.00 Hz (GTF) hsync: 65.22 kHz; pclk: 122.61 MHz
	# 1400x1050 @ 72.00 Hz (GTF) hsync: 78.77 kHz; pclk: 149.34 MHz
	# 1400x1050 @ 75.00 Hz (GTF) hsync: 82.20 kHz; pclk: 155.85 MHz
	# 1400x1050 @ 85.00 Hz (GTF) hsync: 93.76 kHz; pclk: 179.26 MHz
	# 1400x1050 @ 100.00 Hz (GTF) hsync: 111.20 kHz; pclk: 214.39 MHz
	# 1440x900 @ 60.00 Hz (GTF) hsync: 55.92 kHz; pclk: 106.47 MHz
	# 1440x1050 @ 60.00 Hz (GTF) hsync: 65.22 kHz; pclk: 126.27 MHz
	# 1600x1200 @ 100.00 Hz (GTF) hsync: 127.10 kHz; pclk: 280.64 MHz
	# 1680x1050 @ 60.00 Hz (GTF) hsync: 65.22 kHz; pclk: 147.14 MHz
	# 1920x1200 @ 60.00 Hz (GTF) hsync: 74.52 kHz; pclk: 193.16 MHz
EndSection

Section "Device"
	### Available Driver options are:-
	# sw_cursor is needed for some ati and radeon cards
	#Option		"sw_cursor"
	#Option		"hw_cursor"
	#Option		"NoAccel"
	#Option		"ShowCache"
	#Option		"ShadowFB"
	#Option		"UseFBDev"
	#Option		"Rotate"
	Identifier	"Card0"
	# The following line is auto-generated by sidux mkxf86config
	Driver	"radeon"
	VendorName	"All"
	BoardName	"All"
	Option		"MonitorLayout" "LVDS,Auto"
	BusID		"PCI:1:0:0"
	Option "AGPFastWrite" "off"
	Option "AGPMode" "8"
	Option "DynamicClocks" "on"
	Option "ColorTiling" "on" 
	Option "EnablePageFlip" # improves performance on 3d acceleration
	Option "AGPMode"  "1/2/4/8" # agp speed (choose one)
	Option "AGPSize"  "32/64/128" # manually set agp aperture, kinda like shared memory (choose one)
	Option "AccelMethod"  "xaa"  # exa is still rigged, use xaa until they solve the 2d acceleration issues.
	Option "XAANoOffscreenPixmaps" # generic optimization for 2d acceleration, disables XAA offscreen pixmaps which for some reason actually slow down 2d rendering 
Option "DynamicClocks" "on"
Option "ColorTiling" "on"
Option "FBTexPercent" "95"
EndSection

Section "Screen"
	Identifier	"Screen0"
	Device		"Card0"
	Monitor		"Monitor0"
	DefaultColorDepth 16
	SubSection "Display"
		Depth	8
		Modes "1280x800" "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth	16
		Modes "1280x800" "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth	24
		Modes "1280x800" "1024x768" "800x600" "640x480"
	EndSubSection
EndSection

Section "DRI"
	Mode	0666
EndSection

Section "Extensions"
	Option      "Composite"	"1"
 	Option      "RENDER"	"1"
EndSection
Then i found that threat about EXA as render accel method:
http://www.sidux.com/index.php?name=PNp ... river+xorg

Reducing the default color depth may help and check which apps and processes are running and may be reducing performance.

Good luck
Micha
IBM X20 2661 Celeron 500 MHz
Lenovo X60T
sidux http://sidux.com/index.html
KDE 3.5.9
Opera

Post Reply
  • Similar Topics
    Replies
    Views
    Last post

Return to “Linux Questions”

Who is online

Users browsing this forum: No registered users and 0 guests