[ydl-gen] Slow ibook X11 (2D)

Stephen Harker sjh at adfa.edu.au
Fri Jan 16 22:54:19 MST 2009


Hi,

> I just installed YDL 6.1 on an ibook g4 800 Mhz and the 2D graphics  
> are definitely not accelerated. Does anyone know how to enable  
> graphics acceleration on this machine? (I did a default installation).

I have accelerated X11 with my iBook G4 (late 2005) and ydl6.1.  In
fact there was a great improvement with ydl6.1 over ydl6 as my
accelerated graphics had glxgears going from around 400fps to around
1200fps (the chip in these later iBook G4's was only partly supported
with the earlier Xorg).  I will attach my manualy edited xorg.conf and
/etc/X11/fs/config that is at least partly relied upon.  Check and
compare with yours.

-- 
Stephen Harker                           s.harker at adfa.edu.au
PEMS
UNSW at ADFA
-------------- next part --------------
# Xorg configuration created by system-config-display

Section "Files"

# RgbPath is 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.
# Multiple FontPath entries are allowed (they are concatenated together)
# By default, Red Hat 6.0 and later now use a font server independent of
# the X server to render fonts.

	FontPath     "unix/:7100"
EndSection

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

Section "InputDevice"

# Change "XkbModel" to "macintosh_old" if you are using
# the deprecated adb keycodes.
	Identifier  "Keyboard0"
	Driver      "kbd"
	Option	    "XkbModel" "macintosh"
	Option	    "XkbLayout" "us"
EndSection

Section "InputDevice"
	Identifier  "Mouse0"
	Driver      "mouse"
	Option	    "ZAxisMapping" "4 5"
	Option	    "Protocol" "IMPS/2"
	Option	    "Device" "/dev/input/mice"
EndSection

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

# Any number of monitor sections may be present

Section "Monitor"
	Identifier   "TFT"
	ModelName    "LCD Panel 1024x768"
### Comment all HorizSync and VertSync values to use DDC:
	#HorizSync    31.5 - 48.5
	#VertRefresh  40.0 - 90.0
	Option	    "DPMS"
EndSection

Section "Monitor"
    Identifier  "ExternalMonitor"
EndSection

Section "Device"

	### Available Driver options are:-
	#Option	"SWcursor"
	Identifier  "Card0"
	Driver      "radeon"
	VendorName  "ATI Technologies Inc"
	BoardName   "ATI Radeon Mobility M10/M11"
	Option	    "HWcursor"
	Option	    "fbdev" "/dev/fb0"
	#Option	    "UseFBDev" "true"
	Option      "CloneMode" "1024x768"
	#BusID       "PCI:0:16:0"
        #Option "MergedFB"	"on"
	#Option "MergedNonRectangular" "true"
        Option      "AGPMode" "2"
	#Option "AccelMethod" "XAA"
	Option "AccelMethod" "EXA"
        Option      "EnablePageFlip" "On"
        Option "LVDSProbePLL" "true"
	Option "CRT2VRefresh" "40.0-90.0"
        #Option  "CRT2Position" "Clone"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "TFT"
        DefaultDepth     24
        SubSection "Display"
                Depth     8
                Modes    "1024x768"
        EndSubSection
        SubSection "Display"
                Depth     16
                Modes    "1024x768"
        EndSubSection
        SubSection "Display"
                Depth     24
                Modes    "1024x768" "800x600" "640x480"
        EndSubSection
EndSection

Section "Screen"
	Identifier "Screen1"
	Device     "Card0"
	Monitor    "ExternalMonitor"
	DefaultDepth     24
	SubSection "Display"
		Depth     8
		Modes    "1024x768"
	EndSubSection
	SubSection "Display"
		Depth     16
		Modes    "1024x768"
	EndSubSection
	SubSection "Display"
		Depth     24
		Modes    "1024x768" "800x600" "640x480"
	EndSubSection
EndSection

Section "ServerLayout"
	Identifier     "dual head configuration"
	Screen      0  "Screen0" # LeftOf "Screen1"
	#Screen	    1	"Screen1" 0 0
        #Option "Xinerama" "true"
        #Option "MergedFB" "On"
	#Option "Clone" "On"
	InputDevice    "Mouse0" "CorePointer"
	InputDevice    "Keyboard0" "CoreKeyboard"
	#Option	    "OffTime" "10"
EndSection

Section "DRI"
	Group        0
	Mode         0666
EndSection

-------------- next part --------------
#
# Default font server configuration file for Red Hat Linux
#

# allow a max of 10 clients to connect to this font server
client-limit = 10

# when a font server reaches its limit, start up a new one
clone-self = on

# alternate font servers for clients to use
#alternate-servers = foo:7101,bar:7102

# where to look for fonts
#
catalogue = /usr/share/X11/fonts/misc:unscaled,
	/usr/share/X11/fonts/75dpi:unscaled,
	/usr/share/X11/fonts/100dpi:unscaled,
	/usr/share/X11/fonts/100dpi,
	/usr/share/X11/fonts/75dpi,
	/usr/share/X11/fonts/Type1,
	/usr/share/fonts/default/Type1,
	/usr/share/fonts/bitmap-fonts,
	/usr/share/fonts/bitstream-vera,
	/usr/share/fonts/default/ghostscript,
	/usr/share/fonts/msfonts,
	/usr/share/fonts/msfonts-style,
	/usr/local/share/ghostscript/fonts,
	/usr/share/X11/fonts/TTF,
	/usr/local/TeX/texmf-dist/fonts/truetype/public/belleek,
	/usr/share/fonts/ISO8859-2/75dpi:unscaled,
	/usr/share/fonts/ISO8859-2/100dpi:unscaled,
	/usr/share/fonts/ISO8859-2/75dpi,
	/usr/share/fonts/ISO8859-2/100dpi
# in 12 points, decipoints
default-point-size = 120

# 100 x 100 and 75 x 75
default-resolutions = 75,75,100,100

# use lazy loading on 16 bit (usually Asian) fonts
deferglyphs = 16

# how to log errors
use-syslog = on

# don't listen to TCP ports by default for security reasons
no-listen = tcp


More information about the yellowdog-general mailing list