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