<div dir="ltr">ERATA :)<div><br><div class="gmail_extra"><div class="gmail_quote">On Sun, Jan 13, 2013 at 2:57 AM, Andrei Gherzan <span dir="ltr"><<a href="mailto:andrei@gherzan.ro" target="_blank">andrei@gherzan.ro</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div><div class="h5">On Sat, Jan 12, 2013 at 8:08 PM, Otavio Salvador <span dir="ltr"><<a href="mailto:otavio@ossystems.com.br" target="_blank">otavio@ossystems.com.br</a>></span> wrote:<br>
</div></div><div class="gmail_extra"><div class="gmail_quote"><div><div class="h5">
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div><div>On Sat, Jan 12, 2013 at 4:00 PM, Eric Bénard <<a href="mailto:eric@eukrea.com" target="_blank">eric@eukrea.com</a>> wrote:<br>
> Le Sat, 12 Jan 2013 15:52:46 -0200,<br>
> Otavio Salvador <<a href="mailto:otavio@ossystems.com.br" target="_blank">otavio@ossystems.com.br</a>> a écrit :<br>
><br>
>> On Sat, Jan 12, 2013 at 3:49 PM, Eric Bénard <<a href="mailto:eric@eukrea.com" target="_blank">eric@eukrea.com</a>> wrote:<br>
>> > Le Sat, 12 Jan 2013 17:54:13 +0200,<br>
>> > Andrei Gherzan <<a href="mailto:andrei@gherzan.ro" target="_blank">andrei@gherzan.ro</a>> a écrit :<br>
>> ><br>
>> >> On Sat, Jan 12, 2013 at 4:15 PM, Otavio Salvador <<a href="mailto:otavio@ossystems.com.br" target="_blank">otavio@ossystems.com.br</a>>wrote:<br>
>> >><br>
>> >> > On Sat, Jan 12, 2013 at 11:59 AM, Eric Bénard <<a href="mailto:eric@eukrea.com" target="_blank">eric@eukrea.com</a>> wrote:<br>
>> >> > > Hi,<br>
>> >> > ><br>
>> >> > > has anyone here already seen this messages ?<br>
>> >> ><br>
>> >> > Yes; I started checking it but I still do not have an absolute answer<br>
>> >> > to how to fix it.<br>
>> >> ><br>
>> >> > The problem is xserver-xorg (when it has glx enabled) it depends on<br>
>> >> > mesa-dri. Both mesa-dri and GPU package libraries (the mx5 and mx6<br>
>> >> > ones) provide same (theorical) functionality of mesa-dri, libraries<br>
>> >> > and (most) headers leading to those errors.<br>
>> >> ><br>
>> >> > I did check how Xorg is compiled in LTIB and it doesn't has glx<br>
>> >> > enabled so my idea is to disable glx in Xorg and try to go this route.<br>
>> >> > This would allow for a clean build at cost of making xserver-xorg<br>
>> >> > machine specific. Do you have any other idea?<br>
>> >> ><br>
>> >><br>
>> >> Why do you need glx after all? We don't have opengl for imx53 right?<br>
>> >> And about the fix. Xorg with glx should depend on virtual/libgl (or gl)<br>
>> >> not mesa-dri.<br>
>> >><br>
>> > mesa-dri provides virtual/libgl which can explain why we find it here.<br>
>><br>
>> In fact mesa provides all them (GL ES2 and GL ES1 too).<br>
><br>
> yes, I was in Andrei's email context here.<br>
><br>
> meta-ti has the following lines in libgles-omap3.inc :<br>
> PROVIDES += "virtual/egl virtual/libgles1 virtual/libgles2"<br>
><br>
> RREPLACES_${PN} = "libegl libgles1 libgles2"<br>
> RREPLACES_${PN}-dev = "libegl-dev libgles1-dev libgles2-dev"<br>
> RREPLACES_${PN}-dbg = "libegl-dbg"<br>
><br>
> note they have the RREPLACES which are not in meta-fsl-arm's recipes.<br>
<br>
</div></div>Makes sense; but this fixes rootfs problem, not sysroot conflict. My<br>
mean concern here is now it behave in concurrent build?<br>
<br>
Let's say:<br>
<br>
- xserver-xorg building (so mesa-dri installed at sysroot)<br>
- qt4-x11 build start (so will install amd/vivante libraries at sysroot)<br>
<br>
As we don't have individual sysroot for every package in build, this<br>
is something that I don't know the end result.<br>
<br>
So I think the right fix is to get rid of glx for mx5 and make<br>
xserver-xorg glx to build with vivante libraries for mx6.<br>
<br>
What do you think?<br>
<div><div><br></div></div></blockquote><div> </div></div></div><div>I will tell you my point of view having into consideration imx6.</div><div><br></div></div></div></div></blockquote><div><br></div><div style>Obviously wrong. Fix comment: </div>
<div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">
<div></div><div>There are a couple of issues here:</div>
<div>1. in oecore the glx PACKAGECONFIG concludes dri flags and glx flags. Which, in my opinion is wrong. These should be separated. </div><div>2. xserver-xorg should be compiled with dri needed for vivante driver</div>
<div>3. glx for imx6 - as we have gl</div><div><br></div><div>Fix:</div><div>Split PACKAGECONFIG in glx and dri. Use PACKAGECONFIG_append_imx6qsabrelite = " glx dri ".</div><div>
<br></div><div>P.S.: I can take care of patches for imx6 in on this issue. </div><div><br></div></div></div></div></blockquote></div></div></div></div>