[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

XFree86 with acceleration on PowerBook G4



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello together,

currently i'm working with a non-accelerated Xserver over the aty128fb - Frambuffer Device. This is OK, but it's too slow to watch DVDs. So i'm trying to get it accelerated.

So, I compiled a 2.4.17-kernel with benh-patch with dri and all the other things needed for fast graphics.

If I start my Xserver with the config below, nearly everything looks fine, but i get an error in the Logs, which says: Static buffer allocation failed, need at least 10xxx KB Video RAM - but as i have only 8 MB, i just wonder how to get it to work. After the Xserver starts, there's only a black screen with some blue and green lines (looks different every startup) - and i can't use it.
(Switching back to the old config works just fine.)

Here's my XF86Config-4:

Section "Files"
#	FontPath	"unix/:7110"			# local X-TT font server
#	FontPath	"unix/:7100"			# local font server
	# 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/X11R6/lib/X11/fonts/defoma/CID"
	FontPath	"/usr/X11R6/lib/X11/fonts/defoma/TrueType"
	FontPath	"/usr/lib/X11/fonts/Type1"
	FontPath	"/usr/lib/X11/fonts/Speedo"
	FontPath	"/usr/lib/X11/fonts/100dpi"
	FontPath	"/usr/lib/X11/fonts/75dpi"
	FontPath	"/usr/share/fonts/truetype"
EndSection

Section "ServerFlags"
	AllowMouseOpenFail
	Option	"PCI Type"	"UniNorth"
EndSection

Section "Module"
	Load	"type1"
	Load	"speedo"
	Load	"extmod"
	Load	"freetype"
	Load	"ddc"
	Load	"GLcore"
	Load	"dbe"
	Load	"glx"
	Load	"dri"
	Load	"pex5"
	Load	"record"
	Load	"xie"
	Load	"bitmap"
	Load	"vbe"
	Load	"int10"
EndSection

Section "InputDevice"
	Identifier	"Generic Keyboard"
	Driver		"keyboard"
	Option		"CoreKeyboard"
	Option		"XkbRules"	"xfree86"
	Option		"XkbModel"	"macintosh"
	Option		"XkbLayout"	"de"
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

# this was the old config with the FrameBuffer
#Section "Device"
#	Identifier	"FrameBuffer"
#	Driver		"fbdev"
#EndSection

Section "Device"
	Identifier	"Rage128"
	Driver		"r128"
	Option		"UseFBDev"
	BusID		"0:16:0"
EndSection


Section "Monitor"
	Identifier	"Apple PowerBook G4"
	HorizSync	30-102
	VertRefresh	50-160
#	Option		"DPMS"
# Modeline "1152x768" 64.995 1152 1213 1349 1472 768 771 777 806 #-HSync -VSync
#	Modeline "1152x768" 86 1152 1248 1416 1536  768 770 775 800
Modeline "1152x768" 100.001 1152 1168 1176 1192 768 784 792 808 - -HSync -VSync
EndSection

Section "Screen"
	Identifier	"Default Screen"
#	Device		"FrameBuffer"
	Device		"Rage128"
	Monitor		"Apple PowerBook G4"
	DefaultDepth	24
#	SubSection "Display"
#		Depth		1
#		Modes		"default"
#		Modes		"1152x768" "1024x768" "800x600" "640x480"
#	EndSubSection
#	SubSection "Display"
#		Depth		4
#		Modes		"default"
#		Modes		"1152x768" "1024x768" "800x600" "640x480"
#	EndSubSection
	SubSection "Display"
		Depth		8
#		Modes		"default"
#		Modes		"1152x768" "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		15
#		Modes		"default"
#		Modes		"1152x768" "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		16
#		Modes		"default"
#		Modes		"1152x768" "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		24
#		Modes		"current"
		Modes		"1152x768" "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


I don't know what is wrong and i can't find an accelerated config file on the net - if you have one, please send it to me. Otherwise any ideas are welcome!

Thanx,

Daniel


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (Darwin)
Comment: For info see http://www.gnupg.org

iD8DBQE8cTeX6ZxlNr4k5qgRAqv2AKCjxVIJQxuC8dXFYT/9idr34mum2gCeOGbH
IhGHoi0q8NpqrKfPzK4ZPps=
=srJa
-----END PGP SIGNATURE-----



Reply to: