Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Can't get DRI to work with r128/G4
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
Ikkakujyu
n00b
n00b


Joined: 30 Mar 2004
Posts: 9
Location: San Diego

PostPosted: Thu Sep 14, 2006 7:30 am    Post subject: Can't get DRI to work with r128/G4 Reply with quote

First time using Gentoo in a few years :D Quite a lot has changed, and it doesn't help that I've switched architectures.

I have a 400MHz Sawtooth G4 (AGP, 100MHz FSB, Rage 128 Pro video card) and I can't get DRI to work right. This new modular xorg is actually pretty tricky. I have everything set up properly in the kernel, as per the FAQ, but when starting xorg it spits this out:
Code:

X Window System Version 7.1.1
Release Date: 12 May 2006
X Protocol Version 11, Revision 0, Release 7.1.1
Build Operating System: Linux 2.6.17-gentoo-r7 ppc
Current Operating System: Linux Siegfried 2.6.17-gentoo-r7 #15 Wed Sep 13 23:51:17 PDT 2006 ppc
Build Date: 13 September 2006
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Wed Sep 13 23:53:40 2006
(==) Using config file: "/etc/X11/xorg.conf"
(WW) ****INVALID IO ALLOCATION**** b: 0xf0000400 e: 0xf00004ff correcting
(EE) end of block range 0xefffffff < begin 0xf0000000
(EE) R128(0): No DFP detected
(EE) AIGLX error: dlopen of /usr/lib/dri/r128_dri.so failed (/usr/lib/dri/r128_dri.so: cannot open shared object file:
No such file or directory)
(EE) AIGLX: reverting to software rendering


After that it starts fine, but no direct rendering ;_;

So... how the heck do I get this r128_dri.so file? There's other .so files in the same directory but none of them pertain to any ATi video cards.
Back to top
View user's profile Send private message
fb
l33t
l33t


Joined: 08 Dec 2003
Posts: 636
Location: New Zealand

PostPosted: Thu Sep 14, 2006 11:45 am    Post subject: Reply with quote

Can you post the result of "emerge --info" please?
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Thu Sep 14, 2006 1:21 pm    Post subject: Reply with quote

Did you build mesa with the r128 use flag set? This is where that file will come from.
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
Ikkakujyu
n00b
n00b


Joined: 30 Mar 2004
Posts: 9
Location: San Diego

PostPosted: Thu Sep 14, 2006 2:36 pm    Post subject: Reply with quote

Quote:
Did you build mesa with the r128 use flag set? This is where that file will come from.


That one's probably it. I compiled xorg the first time without knowing about the VIDEO_CARDS variable. I'll start the compile going and let you know how it turns up :D
Back to top
View user's profile Send private message
Ikkakujyu
n00b
n00b


Joined: 30 Mar 2004
Posts: 9
Location: San Diego

PostPosted: Thu Sep 14, 2006 3:03 pm    Post subject: Reply with quote

That was it! I knew it was going to be something stupid. Now everything works beautifully :D

Thanks a lot, guys!
Back to top
View user's profile Send private message
Rüpel
Guru
Guru


Joined: 06 Nov 2002
Posts: 316
Location: Berlin/Germany

PostPosted: Mon Mar 14, 2011 1:59 pm    Post subject: Reply with quote

Just for the record: I'm currently setting up an old machine with an ATI Rage 128 Pro in it and had to spent some time on gettting DRI to work.

It appears, that the current stable 7.9.* ebuilds of mesa don't handle the r128 driver the right way. There is no /usr/lib/dri/r128_dri.so installed at all.

The ebuild for mesa 7.10.1 does configure mesa the right way, if VIDEO_CARDS contains "r128".

Maybe this comment saves someone else half a day at some point in time ... :roll:
_________________
:wq
Back to top
View user's profile Send private message
mattst88
Developer
Developer


Joined: 28 Oct 2004
Posts: 422

PostPosted: Wed Mar 23, 2011 6:37 am    Post subject: Reply with quote

Rüpel wrote:
Just for the record: I'm currently setting up an old machine with an ATI Rage 128 Pro in it and had to spent some time on gettting DRI to work.

It appears, that the current stable 7.9.* ebuilds of mesa don't handle the r128 driver the right way. There is no /usr/lib/dri/r128_dri.so installed at all.

The ebuild for mesa 7.10.1 does configure mesa the right way, if VIDEO_CARDS contains "r128".

Maybe this comment saves someone else half a day at some point in time ... :roll:


Seems to have been a mistake. I have no idea why. I also don't have any idea why once it was noticed, mach64, mga, and r128 were only added back to the 7.10 ebuilds.
_________________
My Wiki page
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum