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 71740138C9D for ; Fri, 17 Apr 2015 15:53:47 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7FAF4E090B; Fri, 17 Apr 2015 15:53:41 +0000 (UTC) Received: from mail-qc0-f181.google.com (mail-qc0-f181.google.com [209.85.216.181]) (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 11B09E090B for ; Fri, 17 Apr 2015 15:53:40 +0000 (UTC) Received: by qcrf4 with SMTP id f4so26114735qcr.0 for ; Fri, 17 Apr 2015 08:53:40 -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=rNMhrPpR0bfMORciZt6tUWf4Q8hdGlYmEhCYstGPs88=; b=UcXjDgZ0nhSvl1sCO2zrqaP+5LSv5/lUtKoNqG1u66aS3pYzg4WHFNJ5xDntnpQBxe azQkt1cFkTXzuv5x/S4xL78DRLjwLnQ5lp8XlPVKFnF8k070sy3DI246A0y3V93PoqOx cf6hx09ctdAcDwk8mLmAqsugf1oXyen+7x3/l7vh38cjO9glEVprkBpSVltUVSWzLYud SKUK+njtsBrLk97FCkybDZdPRp3Q9VnOBMoWeACcZpW+C+a5uKWxjwZFn0tYKElH7VX0 hyK3V94Bj0pQ5/tEY6Fa8JwonbHjHuf8xDy40tdN8fi4brtx0eOXFOPCLHnjl3QXpyGq GMlA== 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.229.66.198 with SMTP id o6mr4399390qci.31.1429286020315; Fri, 17 Apr 2015 08:53:40 -0700 (PDT) Received: by 10.140.39.240 with HTTP; Fri, 17 Apr 2015 08:53:40 -0700 (PDT) In-Reply-To: <4521061429267328@web7o.yandex.ru> References: <4521061429267328@web7o.yandex.ru> Date: Fri, 17 Apr 2015 10:53:40 -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=001a11c30b868600530513ed9561 X-Archives-Salt: dff32030-dd04-4919-a17e-a91c2d4699ad X-Archives-Hash: 699268d9c4b7d18332f9f151972b3a3e --001a11c30b868600530513ed9561 Content-Type: text/plain; charset=UTF-8 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 > --001a11c30b868600530513ed9561 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Research on how to create a local overlay on the gentoo si= te. Will attempt when I get home. Thanks
On Fri, Apr 17, 2015 at 5:42 AM, Konstantin To= karev <annulen@yandex.ru> wrote:


16.04.2015, 20:10, "Herminio Hernandez, Jr." <herminio.hernandezjr@gmail.com>:
> There is common issue with the r300 driver in M= esa and Radeon cards on G4 Macs. When you have KMS enabled and to see if us= eing opengl you 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

--001a11c30b868600530513ed9561--