1 |
I have succesfully applied and installed mesa with the patch. |
2 |
I needed to do the following |
3 |
|
4 |
move the ebuild to my overlay /usr/local/portage/media-libs/mesa |
5 |
|
6 |
then run the follwoing commands |
7 |
ebuild pathtoebuild digest |
8 |
ebuild pathtoebuils fetch |
9 |
ebuild pathtoebuild unpack |
10 |
then manuall apply patches |
11 |
ebuild pathtoebuils compile |
12 |
ebuild pathtoebuild install |
13 |
|
14 |
how ever I an still not getting 3D. The only difference I am seeing is that |
15 |
in Debian i needed to install linux-frimware-nonfree and I do not have that |
16 |
option in gentoo. |
17 |
|
18 |
rican-linux@ibookG4-gentoo ~/Desktop $ LIBGL_DEBUG=verbose glxinfo |grep |
19 |
render |
20 |
libGL: screen 0 does not appear to be DRI3 capable |
21 |
libGL: pci id for fd 4: 1002:4e56, driver r300 |
22 |
libGL: OpenDriver: trying /usr/lib/dri/tls/r300_dri.so |
23 |
libGL: OpenDriver: trying /usr/lib/dri/r300_dri.so |
24 |
libGL error: No matching fbConfigs or visuals found |
25 |
libGL error: failed to load driver: r300 |
26 |
libGL: OpenDriver: trying /usr/lib/dri/tls/swrast_dri.so |
27 |
libGL: OpenDriver: trying /usr/lib/dri/swrast_dri.so |
28 |
libGL error: No matching fbConfigs or visuals found |
29 |
libGL error: failed to load driver: swrast |
30 |
Error: couldn't find RGB GLX visual or fbconfig |
31 |
|
32 |
|
33 |
On Fri, Apr 17, 2015 at 10:53 AM, Herminio Hernandez, Jr. < |
34 |
herminio.hernandezjr@×××××.com> wrote: |
35 |
|
36 |
> Research on how to create a local overlay on the gentoo site. Will attempt |
37 |
> when I get home. Thanks |
38 |
> |
39 |
> On Fri, Apr 17, 2015 at 5:42 AM, Konstantin Tokarev <annulen@××××××.ru> |
40 |
> wrote: |
41 |
> |
42 |
>> |
43 |
>> |
44 |
>> 16.04.2015, 20:10, "Herminio Hernandez, Jr." < |
45 |
>> herminio.hernandezjr@×××××.com>: |
46 |
>> > There is common issue with the r300 driver in Mesa and Radeon cards on |
47 |
>> G4 Macs. When you have KMS enabled and to see if useing opengl you get this. |
48 |
>> > |
49 |
>> > rican-linux@ibookG4-gentoo ~ $ LIBGL_DEBUG=verbose glxinfo |grep render |
50 |
>> > libGL: screen 0 does not appear to be DRI3 capable |
51 |
>> > libGL: pci id for fd 4: 1002:4e56, driver r300 |
52 |
>> > libGL: OpenDriver: trying /usr/lib/dri/tls/r300_dri.so |
53 |
>> > libGL: OpenDriver: trying /usr/lib/dri/r300_dri.so |
54 |
>> > libGL error: No matching fbConfigs or visuals found |
55 |
>> > libGL error: failed to load driver: r300 |
56 |
>> > libGL: OpenDriver: trying /usr/lib/dri/tls/swrast_dri.so |
57 |
>> > libGL: OpenDriver: trying /usr/lib/dri/swrast_dri.so |
58 |
>> > libGL error: No matching fbConfigs or visuals found |
59 |
>> > libGL error: failed to load driver: swrast |
60 |
>> > Error: couldn't find RGB GLX visual or fbconfig |
61 |
>> > |
62 |
>> > There are two ways to resolve this |
63 |
>> > |
64 |
>> > 1. set you default display to 16 in xorg.conf, but on PowerBook you |
65 |
>> really see the drop in depth bot so much in iBooks. |
66 |
>> > |
67 |
>> > 2. apply a patch found here |
68 |
>> > |
69 |
>> > I would much rather do option 2 and test that, however I am having some |
70 |
>> difficulty learning how to apply patches and reinstall in gentoo. In debian |
71 |
>> or ubuntu i would apt-get source the package, apply the patch, then |
72 |
>> recompile and reinstall. Can someone point me to resource that can help. I |
73 |
>> really cannot find it in the gentoo wiki, but I admit it may be I am not |
74 |
>> search for the correct thing. Thanks! |
75 |
>> |
76 |
>> You create local overlay, copy ebuilds you want to change from main |
77 |
>> portage tree to you overlay, modify ebuild (e.g. add patch), then execute |
78 |
>> `ebuild filename.ebuild digest`. After that you emerge the same package |
79 |
>> name as before and it gets installed from your overlay. |
80 |
>> |
81 |
>> -- |
82 |
>> Regards, |
83 |
>> Konstantin |
84 |
>> |
85 |
> |
86 |
> |