Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
DRI + Creator3d
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on Sparc
View previous topic :: View next topic  
Author Message
smeets_marc
Tux's lil' helper
Tux's lil' helper


Joined: 25 Oct 2002
Posts: 98
Location: NL

PostPosted: Thu Mar 11, 2004 1:04 pm    Post subject: DRI + Creator3d Reply with quote

I'm new to DRI.
I just found out that the creator3d card isn't that bad of a card. It should even be able to accelerate 3d. So rebuilded my kernel (2.6.3) so I could load the ffb module. Now I only need X to use it. In the module section of XF86Config I load glx and dri. Both are loaded well without any errors. In /usr/X11R6/lib/modules/dri I see there is a driver ffb_dri.so.
Now when I use that driver in the driver propertie of the card section in XF86Config, it says it can not be found. When I use the regular sunffb driver I can start X, but running glxinfo segfaults.
When I want to use DRI/DRM/DRX (what is it called these days?) what driver do I need to load for my card?
Back to top
View user's profile Send private message
Ferris
Retired Dev
Retired Dev


Joined: 13 Jan 2003
Posts: 426
Location: N. Virginia (USA)

PostPosted: Thu Mar 11, 2004 2:57 pm    Post subject: Reply with quote

I can't comment on the kernel 2.6.3 problem, but I can comment on the rest.

The Segfault is bug 19776, which see. It is sparc specific, independent of
kernel version.

The short answer is that when you build xfree on sparc, of you want to
use (xfree's) opengl, you must apply the December 6, 12 patches during
the build process.

ffb_dri.so is a variation on the same theme. ffb_dri.so is sunffb's helper
for hardware acceleration; it is not a Creator driver (which is sunffb).

xfree+sunffb try to load ffb_dri.so when you are set up like you describe.
Unfortunately, they can't. ffb_dri.so is not complete: it is supposed to
pretty much take over from sunffb in your situation, but the low-level code
to talk directly to the ffb card was never finished, and the interface between
the source module to do that and OpenGL is way out of date.

I don't know why xfree even tries to build ffb_dri.so because it doesn't
compile the critical source module. ffb_dri.so cannot ever load because
there is an unresolved external: the entry to to the module that won't
compile. :roll:

So, your best approach is to rebuild X with the 19776 fixes and to use
sunffb. Then glxinfo will spin its gears.

Hope this helps. (There is a detailed description of all this buried in 19776).
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on Sparc 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