misc/raspberrypi-userland port and xorg-server

Oleksandr Tymoshenko gonzo at freebsd.org
Tue Nov 17 02:19:00 UTC 2015

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

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?  


More information about the freebsd-arm mailing list