From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id E4148138CA2 for ; Mon, 20 Apr 2015 19:30:10 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 28214E084C; Mon, 20 Apr 2015 19:30:08 +0000 (UTC) Received: from mail-qg0-f43.google.com (mail-qg0-f43.google.com [209.85.192.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id ACE68E084C for ; Mon, 20 Apr 2015 19:30:07 +0000 (UTC) Received: by qgeb100 with SMTP id b100so57806799qge.3 for ; Mon, 20 Apr 2015 12:30:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=YyGrJgl5vsq1t/zjGPfd7Bo2d9Vdwyhq+CK4BjOKVGo=; b=Xr55iLh6NkZXcxs1UJC2lZZVmDxHp4tZy7cFejepartCc6F5L9JHCfWK0Hv8zNpnzW 5mQgEZ0HSt2Z6653WETHVpfA8n+VLOp4zqzbGGGRlavFPywyHSF/pGHn8M/qzBgIIuJX X6bZ4qJaWohuvYvSMeHohqsO6nRl65UTVN+GzBYEp+lSFNoj1FMxKavTy3jHRxAR83K7 uOAFA7VpQzpgnEdhC4GTNElBIEdTjJqv9hY++P3P6ebdCkT2DO6m5tYQmA3WhHEB5saO SI7dwry4CWSnTALXOAKibxblrUoeVQnlfl8ulBW+8fpzleddX9RiNPdQcFm1sgAybaN0 ZgpQ== Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo on PowerPC X-BeenThere: gentoo-powerpc@gentoo.org X-BeenThere: gentoo-powerpc@lists.gentoo.org MIME-Version: 1.0 X-Received: by 10.140.107.139 with SMTP id h11mr18532534qgf.63.1429558207022; Mon, 20 Apr 2015 12:30:07 -0700 (PDT) Received: by 10.140.39.240 with HTTP; Mon, 20 Apr 2015 12:30:06 -0700 (PDT) In-Reply-To: References: <4521061429267328@web7o.yandex.ru> Date: Mon, 20 Apr 2015 14:30:06 -0500 Message-ID: Subject: Re: [gentoo-powerpc] Radeon 3D powerpc From: "Herminio Hernandez, Jr." To: Konstantin Tokarev Cc: gentoo-powerpc Content-Type: multipart/alternative; boundary=001a113951f81d8d3c05142cf5bb X-Archives-Salt: 7517a9f7-c53b-41c7-9af5-9f7257c98d48 X-Archives-Hash: fbea9d0c6051e8407d35bfdb26f0c412 --001a113951f81d8d3c05142cf5bb Content-Type: text/plain; charset=UTF-8 It looks like to 3D working with the r300 driver you need set the default display to 16 in Xorg on gentoo. rican-linux@ibookG4-gentoo ~ $ LIBGL_DEBUG=verbose glxinfo |grep render libGL: screen 0 does not appear to be DRI3 capable libGL: pci id for fd 4: 1002:4e56, driver r300 libGL: OpenDriver: trying /usr/lib/dri/tls/r300_dri.so libGL: OpenDriver: trying /usr/lib/dri/r300_dri.so direct rendering: Yes GLX_MESA_multithread_makecurrent, GLX_MESA_query_renderer, GLX_MESA_multithread_makecurrent, GLX_MESA_query_renderer, OpenGL renderer string: Gallium 0.4 on ATI RV350 GL_MESA_ycbcr_texture, GL_NV_blend_square, GL_NV_conditional_render, GL_OES_element_index_uint, GL_OES_fbo_render_mipmap, On Sat, Apr 18, 2015 at 1:24 PM, Herminio Hernandez, Jr. < herminio.hernandezjr@gmail.com> wrote: > I have succesfully applied and installed mesa with the patch. > I needed to do the following > > move the ebuild to my overlay /usr/local/portage/media-libs/mesa > > then run the follwoing commands > ebuild pathtoebuild digest > ebuild pathtoebuils fetch > ebuild pathtoebuild unpack > then manuall apply patches > ebuild pathtoebuils compile > ebuild pathtoebuild install > > 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. > > rican-linux@ibookG4-gentoo ~/Desktop $ LIBGL_DEBUG=verbose glxinfo |grep > render > libGL: screen 0 does not appear to be DRI3 capable > libGL: pci id for fd 4: 1002:4e56, driver r300 > libGL: OpenDriver: trying /usr/lib/dri/tls/r300_dri.so > libGL: OpenDriver: trying /usr/lib/dri/r300_dri.so > libGL error: No matching fbConfigs or visuals found > libGL error: failed to load driver: r300 > libGL: OpenDriver: trying /usr/lib/dri/tls/swrast_dri.so > libGL: OpenDriver: trying /usr/lib/dri/swrast_dri.so > libGL error: No matching fbConfigs or visuals found > libGL error: failed to load driver: swrast > Error: couldn't find RGB GLX visual or fbconfig > > > On Fri, Apr 17, 2015 at 10:53 AM, Herminio Hernandez, Jr. < > herminio.hernandezjr@gmail.com> wrote: > >> Research on how to create a local overlay on the gentoo site. Will >> attempt when I get home. Thanks >> >> On Fri, Apr 17, 2015 at 5:42 AM, Konstantin Tokarev >> wrote: >> >>> >>> >>> 16.04.2015, 20:10, "Herminio Hernandez, Jr." < >>> herminio.hernandezjr@gmail.com>: >>> > 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. >>> > >>> > rican-linux@ibookG4-gentoo ~ $ LIBGL_DEBUG=verbose glxinfo |grep >>> render >>> > libGL: screen 0 does not appear to be DRI3 capable >>> > libGL: pci id for fd 4: 1002:4e56, driver r300 >>> > libGL: OpenDriver: trying /usr/lib/dri/tls/r300_dri.so >>> > libGL: OpenDriver: trying /usr/lib/dri/r300_dri.so >>> > libGL error: No matching fbConfigs or visuals found >>> > libGL error: failed to load driver: r300 >>> > libGL: OpenDriver: trying /usr/lib/dri/tls/swrast_dri.so >>> > libGL: OpenDriver: trying /usr/lib/dri/swrast_dri.so >>> > libGL error: No matching fbConfigs or visuals found >>> > libGL error: failed to load driver: swrast >>> > Error: couldn't find RGB GLX visual or fbconfig >>> > >>> > There are two ways to resolve this >>> > >>> > 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. >>> > >>> > 2. apply a patch found here >>> > >>> > 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! >>> >>> 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. >>> >>> -- >>> Regards, >>> Konstantin >>> >> >> > --001a113951f81d8d3c05142cf5bb Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
It looks like to 3D working with the r300 driver you need = set the default display to 16 in Xorg on gentoo.

rican-linux@ibookG4= -gentoo ~ $ LIBGL_DEBUG=3Dverbose glxinfo |grep render
libGL: screen 0 d= oes not appear to be DRI3 capable
libGL: pci id for fd 4: 1002:4e56, dri= ver r300
libGL: OpenDriver: trying /usr/lib/dri/tls/r300_dri.so
libGL= : OpenDriver: trying /usr/lib/dri/r300_dri.so
direct rendering: Yes
= =C2=A0=C2=A0=C2=A0 GLX_MESA_multithread_makecurrent, GLX_MESA_query_rendere= r,
=C2=A0=C2=A0=C2=A0 GLX_MESA_multithread_makecurrent, GLX_MESA_query_= renderer,
OpenGL renderer string: Gallium 0.4 on ATI RV350
=C2=A0=C2= =A0=C2=A0 GL_MESA_ycbcr_texture, GL_NV_blend_square, GL_NV_conditional_rend= er,
=C2=A0=C2=A0=C2=A0 GL_OES_element_index_uint, GL_OES_fbo_render_mip= map,




On Sat, Apr 18, 2015 at 1:24 PM, Herminio Hernandez, Jr. <herminio.hernandezjr@gmail.com> wrote:
I have succesfully applied and installed mesa with the patch.
I needed to do the following

move the ebuild to my over= lay /usr/local/portage/media-libs/mesa

then run the follwoing = commands
ebuild pathtoebuild digest
ebuild pathtoebuils f= etch
ebuild pathtoebuild unpack
then manuall apply patche= s
ebuild pathtoebuils compile
ebuild pathtoebuild install=

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 d= o not have that option in gentoo.

rican-linux@ibookG4-gentoo ~/Deskt= op $ LIBGL_DEBUG=3Dverbose glxinfo |grep render
libGL: = screen 0 does not appear to be DRI3 capable
libGL: pci id for fd 4: 1002= :4e56, driver r300
libGL: OpenDriver: trying /usr/lib/dri/tls/r300_dri.s= o
libGL: OpenDriver: trying /usr/lib/dri/r300_dri.so
libGL error: No = matching fbConfigs or visuals found
libGL error: failed to load driver: = r300
libGL: OpenDriver: trying /usr/lib/dri/tls/swrast_dri.so
libGL: = OpenDriver: trying /usr/lib/dri/swrast_dri.so
libGL error: No matching f= bConfigs or visuals found
libGL error: failed to load driver: swrast
= Error: couldn't find RGB GLX visual or fbconfig


On Fri, Apr 17, 2015 at 10:53 AM, Herminio Hernandez, J= r. <herminio.hernandezjr@gmail.com> wrote:
<= blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px= #ccc solid;padding-left:1ex">
Research on how to create a = local overlay on the gentoo site. Will attempt when I get home. Thanks

On Fri= , Apr 17, 2015 at 5:42 AM, Konstantin Tokarev <annulen@yandex.ru> wrote:


16.04.2015, 20:10, "Herminio Hernandez, Jr." <herminio.hernandezjr@gm= ail.com>:
> There is common issue with the r300 driver in Mesa and Radeo= n cards on G4 Macs. When you have KMS enabled and to see if useing opengl y= ou get this.
>
> rican-linux@ibookG4-gentoo ~ $ LIBGL_DEBUG=3Dverbose glxinfo |grep ren= der
> libGL: screen 0 does not appear to be DRI3 capable
> libGL: pci id for fd 4: 1002:4e56, driver r300
> libGL: OpenDriver: trying /usr/lib/dri/tls/r300_dri.so
> libGL: OpenDriver: trying /usr/lib/dri/r300_dri.so
> libGL error: No matching fbConfigs or visuals found
> libGL error: failed to load driver: r300
> libGL: OpenDriver: trying /usr/lib/dri/tls/swrast_dri.so
> libGL: OpenDriver: trying /usr/lib/dri/swrast_dri.so
> libGL error: No matching fbConfigs or visuals found
> libGL error: failed to load driver: swrast
> Error: couldn't find RGB GLX visual or fbconfig
>
> There are two ways to resolve this
>
> 1. set you default display to 16 in xorg.conf, but on PowerBook you re= ally see the drop in depth bot so much in iBooks.
>
> 2. apply a patch found here
>
> I would much rather do option 2 and test that, however I am having som= e difficulty learning how to apply patches and reinstall in gentoo. In debi= an or ubuntu i would apt-get source the package, apply the patch, then reco= mpile and reinstall. Can someone point me to resource that can help. I real= ly cannot find it in the gentoo wiki, but I admit it may be I am not search= for the correct thing. Thanks!

You create local overlay, copy ebuilds you want to change from = main portage tree to you overlay, modify ebuild (e.g. add patch), then exec= ute `ebuild filename.ebuild digest`. After that you emerge the same package= name as before and it gets installed from your overlay.

--
Regards,
Konstantin



--001a113951f81d8d3c05142cf5bb--