DRI

John Venter yellowdog-newbie@lists.terrasoftsolutions.com
Wed, 16 Jul 2003 19:47:17 +0100


Hi there.. I'm not sure which Mac you have but I had a similar problem
on my iBook 600 with ATI Graphics.

Try this fix: (from the yellowdog site)

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


_________

Hope this helps!

:-)

-----Original Message-----
From: yellowdog-newbie-admin@lists.terrasoftsolutions.com
[mailto:yellowdog-newbie-admin@lists.terrasoftsolutions.com] On Behalf
Of LingWitt@insightbb.com
Sent: 16 July 2003 18:52
To: yellowdog-newbie@lists.terrasoftsolutions.com
Subject: Re: DRI

On Wednesday 16 July 2003 13:42, Longman, Bill wrote:
> This error and the KDE problem you are having both seem like you need
to
> install the kernel-source. Run "rpm -qa | grep kernel" to see which
one you
> have. You should see kernel-source-2.4.20-8d at least.
>
> I have glibc-kernheaders installed and I just compiled xplanet
successfully
> on my PB. You might just need glibc-devel and glibc-common. I'd
probably
> start there.

The kernel is alright. I can also select my card and driver in the
Display 
settings, but it won't let me select hardware support. As a result, 3D
games 
are really slow.

How do I know what kind of headers I have and where do I get the ones I
need?
_______________________________________________
yellowdog-newbie mailing list
yellowdog-newbie@lists.terrasoftsolutions.com
http://lists.terrasoftsolutions.com/mailman/listinfo/yellowdog-newbie