Gentoo Archives: gentoo-dev

From: Michael Rychlik <michael.rychlik@×××××.com>
To: gentoo-dev@g.o
Subject: [gentoo-dev] xfree-4.2.0-r4
Date: Fri, 25 Jan 2002 11:04:15
Message-Id: 3C5173C8.9080602@welho.com
1 I did an emerge of xfree-4.2.0-r4 after unmasking it locally.
2 Everything seemed to work just fine. Except once again there was no 3d
3 acceleration for my Voodoo 3 card (I always seem to get this). I tried
4 all the debugging steps suggested on dri.sourceforge.net and they all
5 indicated that DRI was working. Trouble was it was not !
6 So I created an xfree-4.2.0-r5.ebuild on my machine with the following
7 lines added:
8
9 echo "#define XF86CardDrivers vga tdfx mga ati i810" >>
10 config/cf/host.def
11 echo "#define BuildXF86DRI YES" >> config/cf/host.def
12 echo "#define HasGlide3 YES" >> config/cf/host.def
13
14 If you look at the ebuild you will see where to put these after:
15
16 echo "#define DefaultCCOptions -ansi" >> config/cf/host.def
17
18 Then I copied the r4 digest to an r5 digest:
19
20 #cp /usr/portage/x11-base/xfree/files/digest-xfree-4.2.0-r4
21 /usr/portage/x11-base/xfree/files/digest--xfree-4.2.0-r5
22
23 and did:
24
25 emerge x11-base/xfree-4.2.0-r5
26
27 Many hours later I have gears running at 222.2 FPS instead of 33, ta da !
28 OK this only an old K6 266 box so this quite good I think.
29
30 This assumes you have glide 3 installed already I guess.
31
32 3dfx has always failed for me with Gentoo (And every other distro I
33 have tried). Perhaps we need a "USE 3dfx" variable to fix this. Sorry
34 I don't have time to get serious about this just now.
35
36 Anyway I hope this helps someone.
37
38
39 Michael Rychlik.
40
41 In sunny Finland.