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