Gentoo Archives: gentoo-powerpc

From: Konstantin Tokarev <annulen@××××××.ru>
To: "Herminio Hernandez, Jr." <herminio.hernandezjr@×××××.com>
Cc: gentoo-powerpc <gentoo-powerpc@l.g.o>
Subject: Re: [gentoo-powerpc] Radeon 3D powerpc
Date: Tue, 21 Apr 2015 21:52:16
Message-Id: 1658501429653130@web28m.yandex.ru
In Reply to: Re: [gentoo-powerpc] Radeon 3D powerpc by "Herminio Hernandez
1 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.
2
3 20.04.2015, 22:30, "Herminio Hernandez, Jr." <herminio.hernandezjr@×××××.com>:
4 > It looks like to 3D working with the r300 driver you need set the default display to 16 in Xorg on gentoo.
5 >
6 > rican-linux@ibookG4-gentoo ~ $ LIBGL_DEBUG=verbose glxinfo |grep render
7 > libGL: screen 0 does not appear to be DRI3 capable
8 > libGL: pci id for fd 4: 1002:4e56, driver r300
9 > libGL: OpenDriver: trying /usr/lib/dri/tls/r300_dri.so
10 > libGL: OpenDriver: trying /usr/lib/dri/r300_dri.so
11 > direct rendering: Yes
12 > ššš GLX_MESA_multithread_makecurrent, GLX_MESA_query_renderer,
13 > ššš GLX_MESA_multithread_makecurrent, GLX_MESA_query_renderer,
14 > OpenGL renderer string: Gallium 0.4 on ATI RV350
15 > ššš GL_MESA_ycbcr_texture, GL_NV_blend_square, GL_NV_conditional_render,
16 > ššš GL_OES_element_index_uint, GL_OES_fbo_render_mipmap,
17 >
18 > On Sat, Apr 18, 2015 at 1:24 PM, Herminio Hernandez, Jr. <herminio.hernandezjr@×××××.com> wrote:
19 >> I have succesfully applied and installed mesa with the patch.
20 >> I needed to do the following
21 >>
22 >> move the ebuild to my overlay /usr/local/portage/media-libs/mesa
23 >>
24 >> then run the follwoing commands
25 >> ebuild pathtoebuild digest
26 >> ebuild pathtoebuils fetch
27 >> ebuild pathtoebuild unpack
28 >> then manuall apply patches
29 >> ebuild pathtoebuils compile
30 >> ebuild pathtoebuild install
31 >>
32 >> 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.
33 >>
34 >> rican-linux@ibookG4-gentoo ~/Desktop $ LIBGL_DEBUG=verbose glxinfo |grep render
35 >> libGL: screen 0 does not appear to be DRI3 capable
36 >> libGL: pci id for fd 4: 1002:4e56, driver r300
37 >> libGL: OpenDriver: trying /usr/lib/dri/tls/r300_dri.so
38 >> libGL: OpenDriver: trying /usr/lib/dri/r300_dri.so
39 >> libGL error: No matching fbConfigs or visuals found
40 >> libGL error: failed to load driver: r300
41 >> libGL: OpenDriver: trying /usr/lib/dri/tls/swrast_dri.so
42 >> libGL: OpenDriver: trying /usr/lib/dri/swrast_dri.so
43 >> libGL error: No matching fbConfigs or visuals found
44 >> libGL error: failed to load driver: swrast
45 >> Error: couldn't find RGB GLX visual or fbconfig
46 >>
47 >> On Fri, Apr 17, 2015 at 10:53 AM, Herminio Hernandez, Jr. <herminio.hernandezjr@×××××.com> wrote:
48 >>> Research on how to create a local overlay on the gentoo site. Will attempt when I get home. Thanks
49 >>>
50 >>> On Fri, Apr 17, 2015 at 5:42 AM, Konstantin Tokarev <annulen@××××××.ru> wrote:
51 >>>> 16.04.2015, 20:10, "Herminio Hernandez, Jr." <herminio.hernandezjr@×××××.com>:
52 >>>>> 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.
53 >>>>>
54 >>>>> rican-linux@ibookG4-gentoo ~ $ LIBGL_DEBUG=verbose glxinfo |grep render
55 >>>>> libGL: screen 0 does not appear to be DRI3 capable
56 >>>>> libGL: pci id for fd 4: 1002:4e56, driver r300
57 >>>>> libGL: OpenDriver: trying /usr/lib/dri/tls/r300_dri.so
58 >>>>> libGL: OpenDriver: trying /usr/lib/dri/r300_dri.so
59 >>>>> libGL error: No matching fbConfigs or visuals found
60 >>>>> libGL error: failed to load driver: r300
61 >>>>> libGL: OpenDriver: trying /usr/lib/dri/tls/swrast_dri.so
62 >>>>> libGL: OpenDriver: trying /usr/lib/dri/swrast_dri.so
63 >>>>> libGL error: No matching fbConfigs or visuals found
64 >>>>> libGL error: failed to load driver: swrast
65 >>>>> Error: couldn't find RGB GLX visual or fbconfig
66 >>>>>
67 >>>>> There are two ways to resolve this
68 >>>>>
69 >>>>> 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.
70 >>>>>
71 >>>>> 2. apply a patch found here
72 >>>>>
73 >>>>> 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!
74 >>>>
75 >>>> 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.
76 >>>>
77 >>>> --
78 >>>> Regards,
79 >>>> Konstantin
80
81
82 --
83 Regards,
84 Konstantin

Replies

Subject Author
Re: [gentoo-powerpc] Radeon 3D powerpc "Herminio Hernandez Jr." <herminio.hernandezjr@×××××.com>