Y e l l o w  D o g  S o l u t i o n s


Topic: How to configure accelerated 3D on the IBook



Introduction:
Do you want accelerated 3D so you can have some fun on your new PPC Linux Box? Of course you do! Follow these EZ steps and you'll be accelerating in no time.

Setup 3D
Become the root user and open up the X config file for editing:
su - [ENTER]
pico /etc/X11/XF86Config-4 [ENTER]
Now scroll down using your arrow keys until you see the line that looks like this:
#load dri [ENTER]
Delete the comment so it looks like this:
load dri [ENTER]
Now keep scrolling down until you see this section (it's close to the bottom):
        Identifier	"Screen0"
        Device		"Card0"
        Monitor		"Monitor0"   
        DefaultDepth 15
        DefaultDepth 25
		
... modify the "25" to "16". Now add a this section to the file (make sure it is not under any other sections):
Section "DRI" [ENTER]
Mode 0666 [ENTER]
EndSectionHit [ENTER]
... hit CTRL-X and then "y" to save and exit.


Test 3D
Restart X , log in as a normal user, open up a terminal and type:
glxinfo [ENTER]
If you see the line "direct rendering: Yes" then your doing good. It is at the very top.

Finally run:
glxgears [ENTER]
See those gears spin! They should be spinning WELL over 100fps. Go download Tuxracer and have some fun!
This HOWTO was written by Kurt Hein



 
          Copyright ® 1999-2010. Fixstars Corporation. All rights reserved.
YDL.net Fixstars Corporation