Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Nov 2015 17:46:57 -0800
From:      Oleksandr Tymoshenko <gonzo@freebsd.org>
To:        Adrian Chadd <adrian.chadd@gmail.com>
Cc:        "Eugene M. Zheganin" <emz@norma.perm.ru>, "freebsd-arm@freebsd.org" <freebsd-arm@freebsd.org>
Subject:   Re: misc/raspberrypi-userland port and xorg-server
Message-ID:  <2E64C6DD-6F86-48C1-9ABF-0E55B03E2955@freebsd.org>
In-Reply-To: <CAJ-Vmok_PSJ_Pv6ANqtf0ddnFmbWVRZY50gAnkty9xj8mzoM-g@mail.gmail.com>
References:  <564A446D.1020703@norma.perm.ru> <CAJ-Vmok_PSJ_Pv6ANqtf0ddnFmbWVRZY50gAnkty9xj8mzoM-g@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

> On Nov 16, 2015, at 3:11 PM, Adrian Chadd <adrian.chadd@gmail.com> =
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 <emz@norma.perm.ru> =
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=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2E64C6DD-6F86-48C1-9ABF-0E55B03E2955>