From owner-freebsd-arm@freebsd.org Tue Nov 17 02:19:00 2015 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 498CBA30F89 for ; Tue, 17 Nov 2015 02:19:00 +0000 (UTC) (envelope-from gonzo@id.bluezbox.com) Received: from id.bluezbox.com (id.bluezbox.com [45.55.20.155]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 17A4D15AD for ; Tue, 17 Nov 2015 02:18:59 +0000 (UTC) (envelope-from gonzo@id.bluezbox.com) Received: from [208.184.220.60] (helo=macbook-air-3.dolby.net) by id.bluezbox.com with esmtpsa (TLSv1:DHE-RSA-AES256-SHA:256) (Exim 4.85 (FreeBSD)) (envelope-from ) id 1ZyVMk-000FbZ-PA; Mon, 16 Nov 2015 17:47:32 -0800 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 9.1 \(3096.5\)) Subject: Re: misc/raspberrypi-userland port and xorg-server From: Oleksandr Tymoshenko In-Reply-To: Date: Mon, 16 Nov 2015 17:46:57 -0800 Cc: "Eugene M. Zheganin" , "freebsd-arm@freebsd.org" Content-Transfer-Encoding: quoted-printable Message-Id: <2E64C6DD-6F86-48C1-9ABF-0E55B03E2955@freebsd.org> References: <564A446D.1020703@norma.perm.ru> To: Adrian Chadd X-Mailer: Apple Mail (2.3096.5) Sender: gonzo@id.bluezbox.com X-Spam-Level: -- X-Spam-Report: Spam detection software, running on the system "id.bluezbox.com", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see The administrator of that system for details. Content preview: > On Nov 16, 2015, at 3:11 PM, Adrian Chadd wrote: > > hiya, > > I don't think gonzo@ (who has been championing getting videocore > support for rpi/rpi2 into -HEAD and now the library / application code > around it) has gotten to this piece. > > Alex? > > a- > > > On 16 November 2015 at 13:02, Eugene M. Zheganin wrote: >> Hi, >> >> So, from my understanding, to use RPi B+ GPU I should use port-specific >> versions of libEGL.so and libGLESV2.so. Thing is, they conflict with >> generic graphics/libEGL and graphics/libglesv2 (I'm sure you know it, I >> mostly summariza this for myself and others). So I attepmted to rebuild >> xorg-server, and xf86-video-scfb along with some other ports (luckily, >> not that numerous) using simple hacks of ports Makefiles - mostly by >> commenting out build requirement of GL and glesv2 and hoping it will be >> OK with installed misc/raspberrypi-userland. Sadly, it wasn't: >> misc/raspberrypi-userland misses several header files, at least the >> following ones: >> >> vcos_platform_types.h >> vcos_platform.h >> >> and they seem to contain vital definitions, because with these header >> commented out the build crashes on syntax. >> >> So, the question is, how do you guys build and launch xorg-server using >> misc/raspberrypi-userland port, instead of generic one ? And I'm not >> happy with generic one since it's not able to use GPU properly, from my >> understanding. [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP 0.0 HEADER_FROM_DIFFERENT_DOMAINS From and EnvelopeFrom 2nd level mail domains are different 0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [URIs: libegl.so] -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Nov 2015 02:19:00 -0000 > On Nov 16, 2015, at 3:11 PM, Adrian Chadd = wrote: >=20 > hiya, >=20 > I don't think gonzo@ (who has been championing getting videocore > support for rpi/rpi2 into -HEAD and now the library / application code > around it) has gotten to this piece. >=20 > Alex? >=20 > a- >=20 >=20 > On 16 November 2015 at 13:02, Eugene M. Zheganin = wrote: >> Hi, >>=20 >> So, from my understanding, to use RPi B+ GPU I should use = port-specific >> versions of libEGL.so and libGLESV2.so. Thing is, they conflict with >> generic graphics/libEGL and graphics/libglesv2 (I'm sure you know it, = I >> mostly summariza this for myself and others). So I attepmted to = rebuild >> xorg-server, and xf86-video-scfb along with some other ports = (luckily, >> not that numerous) using simple hacks of ports Makefiles - mostly by >> commenting out build requirement of GL and glesv2 and hoping it will = be >> OK with installed misc/raspberrypi-userland. Sadly, it wasn't: >> misc/raspberrypi-userland misses several header files, at least the >> following ones: >>=20 >> vcos_platform_types.h >> vcos_platform.h >>=20 >> and they seem to contain vital definitions, because with these header >> commented out the build crashes on syntax. >>=20 >> So, the question is, how do you guys build and launch xorg-server = using >> misc/raspberrypi-userland port, instead of generic one ? And I'm not >> happy with generic one since it's not able to use GPU properly, from = my >> understanding. I've just checked - these files are in = /usr/local/include/interface/vcos/pthreads directory in latest raspberrypi-userland port (20151105). I have never = tried to build xorg libs/apps against this port though. Could you describe what you're doing and how build fails? =20 Thanks=