Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
XFree86 DRI on SPARCstation5 (CG6 gfx)
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
n.haedecke
n00b
n00b


Joined: 09 Jun 2003
Posts: 18

PostPosted: Mon Jun 16, 2003 9:56 am    Post subject: XFree86 DRI on SPARCstation5 (CG6 gfx) Reply with quote

Hi all,

after installing Gentoo 1.4_rc4 on a SPARCstation5 and successfully emerging XFree 4.3 (takes two and a half days to compile on a 170MHz machine), I am now trying to get DRI support working for SUN CG 6 (driver: suncg6) graphics. Everytime I call 'glxinfo' I get a Segmentation Fault and a short message saying that the "XFree-DRI" extension is not enabled. I checked my XF86Config but from what I found here in the Gentoo forums, everything seems to be okay with that. Also, XFree86.log says that it has loaded the DRI extension. What did I miss?!
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: Mon Jun 16, 2003 3:23 pm    Post subject: Reply with quote

This is a problem with xfree-4.3.xxx & glx on sparc: See topic 49500
on this forum and my progressive comments at bug#19776.

I hope you still have the build for xfree in /var/tmp/portage, because
to fix this you have to patch the source for libglx. and regenerate that
library, which will take a while. What I ended up doing looks like this:
ebuild /usr/portage/x11-base/xfree/xfree-4.3.0-r2.ebuild fetch compile install qmerge

Go into "/var/tmp/portage/xfree-4.3.0-r2/work/xc/lib/GL/glx" and fix
the source as described in the bug #19776 (Comment #8 )

make; cd ..; make

Now, "cd GL" (so you are in .../xc/lib/GL/GL), and just
cp libGL.so.1.2 /usr/lib/opengl/xfree/lib
(or something equivalent. You are fixing /usr/lib/opengl/xfree/lib/libGL.so)


Now, glxinfo, glxgears, and so on should work. I just ignore the
"DRI not enabled" warning: I get it with a CG6 on a Sparc20 and with
an Elite-3D on an Ultra-2 (but if I recall correctly, not with a Creator-3D
on the same Ultra-2). I don't remember if I ever figured out what it is
talking about, but I do not find it to be a useful message.

Hope this helps,
Regards,
Ferris
Back to top
View user's profile Send private message
n.haedecke
n00b
n00b


Joined: 09 Jun 2003
Posts: 18

PostPosted: Tue Jun 17, 2003 7:49 am    Post subject: Thanks! Reply with quote

First of all, thank you for the quick reply. Unfortunately, I had to clean my /var/tmp/portage directory due to limited diskspace :( . So for now I will not recompile X11. But I'll get back to fixing this problem in the near future.
Back to top
View user's profile Send private message
crazy-bee
Apprentice
Apprentice


Joined: 03 Jan 2003
Posts: 170

PostPosted: Tue Jul 08, 2003 10:50 am    Post subject: Reply with quote

Damn. I'm having exactly the same problem described, with an Elite3D. I checked the bug information, and it seems like I have to go got another 5h of X11 compilation :-(

Thanks for the information, though!
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