[Buildroot] [PATCH v5 07/15] xdriver_xf86-video-imx-viv: new package
Jérôme Pouiller
jezz at sysmic.org
Wed Jan 21 08:41:58 UTC 2015
Hello All,
On Monday 19 January 2015 23:20:43 Yann E. MORIN wrote:
> Jérôme, All,
>
> On 2015-01-17 01:11 +0100, Jérôme Pouiller spake thusly:
> > On Friday 16 January 2015 17:15:33 Thomas Petazzoni wrote:
> > > Dear Jérôme Pouiller,
> > >
> > > On Fri, 16 Jan 2015 17:04:20 +0100, Jérôme Pouiller wrote:
> > >
> > > > > The world of OpenGL stuff will always surprise me. Why on earth does a
> > > > > X.org driver that uses a proprietary OpenGL implementation needs
> > > > > Mesa3D ?!?
> > > >
> > > > In fact, xf86-video-imx-viv does not depends directly on mesa3d. However, it
> > > > depend on xorg server compiled with --enable-dri --enable-glx. But, these
> > > > options are enabled only if BR2_PACKAGE_MESA3D_DRI_DRIVER is enabled.
> > >
> > > Maybe this should be changed, so that other drivers can enable it,
> > > without referencing Mesa related options, no?
> > >
> > > Also, the code in the xserver package does:
> > >
> > > ifeq ($(BR2_PACKAGE_MESA3D_DRI_DRIVER),y)
> > > XSERVER_XORG_SERVER_CONF_OPTS += --enable-dri --enable-glx
> > > XSERVER_XORG_SERVER_DEPENDENCIES += mesa3d xproto_xf86driproto
> > > else
> > > XSERVER_XORG_SERVER_CONF_OPTS += --disable-dri --disable-glx
> > > endif
> > >
> > > So it really builds mesa as well. Is this needed ?
> > We cannot use gpu-viv-bin-mx6q to compile Xorg with DRI and GLX since
> > it does not provide all necessary files. Especially, OpenGL headers
> > (GL/gl.h, GL/glx.h, ...) are missing[1]. We may solve this issue using
> > "opengl-registry" posted by Yann a few months ago. It may be
> > sufficient.
>
> For the records, I've posted an updated series:
> http://lists.busybox.net/pipermail/buildroot/2015-January/117642.html
>
> Care to see if it is posible to update your series to use the Khronos
> registry/ies? If so, it would great if you could review/ack the patches
> so they get applied soon, so you can in turn repost an updated series of
> yours! ;-)
I am able to build xorg-xserver w/ --enable-dri --enable-glx and
without mesa3d. Instead of mesa3d, I built opengl-registry and a libGL
provider (I used gpu-viv-bin-mx6q, but it should also work with
nvidia-driver).
In add, I need to manually add gl.pc, dri.pc and GL/internal/dri_interface.h
(picked from mesa3d)
I will try to generate a cleaner patch in order to begin a discussion
about this issue.
However, I think this work is an improvement of dri/glx support and is
not really related to "Xorg support for iMX6" series.
[...]
--
Jérôme Pouiller, Sysmic
Embedded Linux specialist
http://www.sysmic.fr
More information about the buildroot
mailing list