* mesa-dri vs amd-gpu-x11-bin-mx51
@ 2013-01-12 13:59 Eric Bénard
2013-01-12 14:15 ` Otavio Salvador
0 siblings, 1 reply; 11+ messages in thread
From: Eric Bénard @ 2013-01-12 13:59 UTC (permalink / raw)
To: meta-freescale@yoctoproject.org
Hi,
has anyone here already seen this messages ?
I got that using master for imx53qsb, starting from scratch with :
bitbake qte-in-use-image meta-toolchain-qte
and then :
bitbake qt-in-use-image meta-toolchain-qt
which lead to this log :
WARNING: The recipe mesa-dri is trying to install files into a shared area when those files already exist. Those files and their manifest location are:
/scratch/eb/mx53qsb/setup-scripts/build/tmp-defaultsetup-eglibc-eglibc/sysroots/imx53qsb/usr/lib/libGLESv2.so.2
Matched in manifest-imx53qsb-amd-gpu-x11-bin-mx51
/scratch/eb/mx53qsb/setup-scripts/build/tmp-defaultsetup-eglibc-eglibc/sysroots/imx53qsb/usr/lib/libEGL.so
Matched in manifest-imx53qsb-amd-gpu-x11-bin-mx51
/scratch/eb/mx53qsb/setup-scripts/build/tmp-defaultsetup-eglibc-eglibc/sysroots/imx53qsb/usr/lib/libGLESv1_CM.so
Matched in manifest-imx53qsb-amd-gpu-x11-bin-mx51
/scratch/eb/mx53qsb/setup-scripts/build/tmp-defaultsetup-eglibc-eglibc/sysroots/imx53qsb/usr/lib/libGLESv1_CM.so.1
Matched in manifest-imx53qsb-amd-gpu-x11-bin-mx51
/scratch/eb/mx53qsb/setup-scripts/build/tmp-defaultsetup-eglibc-eglibc/sysroots/imx53qsb/usr/lib/libGLESv2.so
Matched in manifest-imx53qsb-amd-gpu-x11-bin-mx51
/scratch/eb/mx53qsb/setup-scripts/build/tmp-defaultsetup-eglibc-eglibc/sysroots/imx53qsb/usr/lib/libEGL.so.1
Matched in manifest-imx53qsb-amd-gpu-x11-bin-mx51
/scratch/eb/mx53qsb/setup-scripts/build/tmp-defaultsetup-eglibc-eglibc/sysroots/imx53qsb/usr/include/KHR/khrplatform.h
Matched in manifest-imx53qsb-amd-gpu-x11-bin-mx51
/scratch/eb/mx53qsb/setup-scripts/build/tmp-defaultsetup-eglibc-eglibc/sysroots/imx53qsb/usr/include/GLES/egl.h
Matched in manifest-imx53qsb-amd-gpu-x11-bin-mx51
/scratch/eb/mx53qsb/setup-scripts/build/tmp-defaultsetup-eglibc-eglibc/sysroots/imx53qsb/usr/include/GLES/glplatform.h
Matched in manifest-imx53qsb-amd-gpu-x11-bin-mx51
/scratch/eb/mx53qsb/setup-scripts/build/tmp-defaultsetup-eglibc-eglibc/sysroots/imx53qsb/usr/include/GLES/glext.h
Matched in manifest-imx53qsb-amd-gpu-x11-bin-mx51
/scratch/eb/mx53qsb/setup-scripts/build/tmp-defaultsetup-eglibc-eglibc/sysroots/imx53qsb/usr/include/GLES/gl.h
Matched in manifest-imx53qsb-amd-gpu-x11-bin-mx51
/scratch/eb/mx53qsb/setup-scripts/build/tmp-defaultsetup-eglibc-eglibc/sysroots/imx53qsb/usr/include/EGL/eglplatform.h
Matched in manifest-imx53qsb-amd-gpu-x11-bin-mx51
/scratch/eb/mx53qsb/setup-scripts/build/tmp-defaultsetup-eglibc-eglibc/sysroots/imx53qsb/usr/include/EGL/egl.h
Matched in manifest-imx53qsb-amd-gpu-x11-bin-mx51
/scratch/eb/mx53qsb/setup-scripts/build/tmp-defaultsetup-eglibc-eglibc/sysroots/imx53qsb/usr/include/EGL/eglext.h
Matched in manifest-imx53qsb-amd-gpu-x11-bin-mx51
/scratch/eb/mx53qsb/setup-scripts/build/tmp-defaultsetup-eglibc-eglibc/sysroots/imx53qsb/usr/include/GLES2/gl2platform.h
Matched in manifest-imx53qsb-amd-gpu-x11-bin-mx51
/scratch/eb/mx53qsb/setup-scripts/build/tmp-defaultsetup-eglibc-eglibc/sysroots/imx53qsb/usr/include/GLES2/gl2ext.h
Matched in manifest-imx53qsb-amd-gpu-x11-bin-mx51
/scratch/eb/mx53qsb/setup-scripts/build/tmp-defaultsetup-eglibc-eglibc/sysroots/imx53qsb/usr/include/GLES2/gl2.h
Matched in manifest-imx53qsb-amd-gpu-x11-bin-mx51
Please verify which package should provide the above files.
Eric
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: mesa-dri vs amd-gpu-x11-bin-mx51
2013-01-12 13:59 mesa-dri vs amd-gpu-x11-bin-mx51 Eric Bénard
@ 2013-01-12 14:15 ` Otavio Salvador
2013-01-12 15:54 ` Andrei Gherzan
0 siblings, 1 reply; 11+ messages in thread
From: Otavio Salvador @ 2013-01-12 14:15 UTC (permalink / raw)
To: Eric Bénard; +Cc: meta-freescale@yoctoproject.org
On Sat, Jan 12, 2013 at 11:59 AM, Eric Bénard <eric@eukrea.com> wrote:
> Hi,
>
> has anyone here already seen this messages ?
Yes; I started checking it but I still do not have an absolute answer
to how to fix it.
The problem is xserver-xorg (when it has glx enabled) it depends on
mesa-dri. Both mesa-dri and GPU package libraries (the mx5 and mx6
ones) provide same (theorical) functionality of mesa-dri, libraries
and (most) headers leading to those errors.
I did check how Xorg is compiled in LTIB and it doesn't has glx
enabled so my idea is to disable glx in Xorg and try to go this route.
This would allow for a clean build at cost of making xserver-xorg
machine specific. Do you have any other idea?
--
Otavio Salvador O.S. Systems
E-mail: otavio@ossystems.com.br http://www.ossystems.com.br
Mobile: +55 53 9981-7854 http://projetos.ossystems.com.br
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: mesa-dri vs amd-gpu-x11-bin-mx51
2013-01-12 14:15 ` Otavio Salvador
@ 2013-01-12 15:54 ` Andrei Gherzan
2013-01-12 16:44 ` Otavio Salvador
2013-01-12 17:49 ` Eric Bénard
0 siblings, 2 replies; 11+ messages in thread
From: Andrei Gherzan @ 2013-01-12 15:54 UTC (permalink / raw)
To: Otavio Salvador; +Cc: meta-freescale@yoctoproject.org
[-- Attachment #1: Type: text/plain, Size: 1013 bytes --]
On Sat, Jan 12, 2013 at 4:15 PM, Otavio Salvador <otavio@ossystems.com.br>wrote:
> On Sat, Jan 12, 2013 at 11:59 AM, Eric Bénard <eric@eukrea.com> wrote:
> > Hi,
> >
> > has anyone here already seen this messages ?
>
> Yes; I started checking it but I still do not have an absolute answer
> to how to fix it.
>
> The problem is xserver-xorg (when it has glx enabled) it depends on
> mesa-dri. Both mesa-dri and GPU package libraries (the mx5 and mx6
> ones) provide same (theorical) functionality of mesa-dri, libraries
> and (most) headers leading to those errors.
>
> I did check how Xorg is compiled in LTIB and it doesn't has glx
> enabled so my idea is to disable glx in Xorg and try to go this route.
> This would allow for a clean build at cost of making xserver-xorg
> machine specific. Do you have any other idea?
>
Why do you need glx after all? We don't have opengl for imx53 right?
And about the fix. Xorg with glx should depend on virtual/libgl (or gl)
not mesa-dri.
ag
[-- Attachment #2: Type: text/html, Size: 1507 bytes --]
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: mesa-dri vs amd-gpu-x11-bin-mx51
2013-01-12 15:54 ` Andrei Gherzan
@ 2013-01-12 16:44 ` Otavio Salvador
2013-01-12 17:49 ` Eric Bénard
1 sibling, 0 replies; 11+ messages in thread
From: Otavio Salvador @ 2013-01-12 16:44 UTC (permalink / raw)
To: Andrei Gherzan; +Cc: meta-freescale@yoctoproject.org
On Sat, Jan 12, 2013 at 1:54 PM, Andrei Gherzan <andrei@gherzan.ro> wrote:
> On Sat, Jan 12, 2013 at 4:15 PM, Otavio Salvador <otavio@ossystems.com.br>
> wrote:
>>
>> On Sat, Jan 12, 2013 at 11:59 AM, Eric Bénard <eric@eukrea.com> wrote:
>> > Hi,
>> >
>> > has anyone here already seen this messages ?
>>
>> Yes; I started checking it but I still do not have an absolute answer
>> to how to fix it.
>>
>> The problem is xserver-xorg (when it has glx enabled) it depends on
>> mesa-dri. Both mesa-dri and GPU package libraries (the mx5 and mx6
>> ones) provide same (theorical) functionality of mesa-dri, libraries
>> and (most) headers leading to those errors.
>>
>> I did check how Xorg is compiled in LTIB and it doesn't has glx
>> enabled so my idea is to disable glx in Xorg and try to go this route.
>> This would allow for a clean build at cost of making xserver-xorg
>> machine specific. Do you have any other idea?
>
>
> Why do you need glx after all? We don't have opengl for imx53 right?
> And about the fix. Xorg with glx should depend on virtual/libgl (or gl) not
> mesa-dri.
Yes; mx5 GPU libraries do not support GL and glx can be disabled for
those but mx6 GPU libraries does support GL but it seems Xorg code
forces use of mesa newer than 7.1 from what I checked in configure.
--
Otavio Salvador O.S. Systems
E-mail: otavio@ossystems.com.br http://www.ossystems.com.br
Mobile: +55 53 9981-7854 http://projetos.ossystems.com.br
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: mesa-dri vs amd-gpu-x11-bin-mx51
2013-01-12 15:54 ` Andrei Gherzan
2013-01-12 16:44 ` Otavio Salvador
@ 2013-01-12 17:49 ` Eric Bénard
2013-01-12 17:52 ` Otavio Salvador
1 sibling, 1 reply; 11+ messages in thread
From: Eric Bénard @ 2013-01-12 17:49 UTC (permalink / raw)
To: Andrei Gherzan; +Cc: meta-freescale@yoctoproject.org, Otavio Salvador
Le Sat, 12 Jan 2013 17:54:13 +0200,
Andrei Gherzan <andrei@gherzan.ro> a écrit :
> On Sat, Jan 12, 2013 at 4:15 PM, Otavio Salvador <otavio@ossystems.com.br>wrote:
>
> > On Sat, Jan 12, 2013 at 11:59 AM, Eric Bénard <eric@eukrea.com> wrote:
> > > Hi,
> > >
> > > has anyone here already seen this messages ?
> >
> > Yes; I started checking it but I still do not have an absolute answer
> > to how to fix it.
> >
> > The problem is xserver-xorg (when it has glx enabled) it depends on
> > mesa-dri. Both mesa-dri and GPU package libraries (the mx5 and mx6
> > ones) provide same (theorical) functionality of mesa-dri, libraries
> > and (most) headers leading to those errors.
> >
> > I did check how Xorg is compiled in LTIB and it doesn't has glx
> > enabled so my idea is to disable glx in Xorg and try to go this route.
> > This would allow for a clean build at cost of making xserver-xorg
> > machine specific. Do you have any other idea?
> >
>
> Why do you need glx after all? We don't have opengl for imx53 right?
> And about the fix. Xorg with glx should depend on virtual/libgl (or gl)
> not mesa-dri.
>
mesa-dri provides virtual/libgl which can explain why we find it here.
Eric
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: mesa-dri vs amd-gpu-x11-bin-mx51
2013-01-12 17:49 ` Eric Bénard
@ 2013-01-12 17:52 ` Otavio Salvador
2013-01-12 18:00 ` Eric Bénard
0 siblings, 1 reply; 11+ messages in thread
From: Otavio Salvador @ 2013-01-12 17:52 UTC (permalink / raw)
To: Eric Bénard; +Cc: meta-freescale@yoctoproject.org
On Sat, Jan 12, 2013 at 3:49 PM, Eric Bénard <eric@eukrea.com> wrote:
> Le Sat, 12 Jan 2013 17:54:13 +0200,
> Andrei Gherzan <andrei@gherzan.ro> a écrit :
>
>> On Sat, Jan 12, 2013 at 4:15 PM, Otavio Salvador <otavio@ossystems.com.br>wrote:
>>
>> > On Sat, Jan 12, 2013 at 11:59 AM, Eric Bénard <eric@eukrea.com> wrote:
>> > > Hi,
>> > >
>> > > has anyone here already seen this messages ?
>> >
>> > Yes; I started checking it but I still do not have an absolute answer
>> > to how to fix it.
>> >
>> > The problem is xserver-xorg (when it has glx enabled) it depends on
>> > mesa-dri. Both mesa-dri and GPU package libraries (the mx5 and mx6
>> > ones) provide same (theorical) functionality of mesa-dri, libraries
>> > and (most) headers leading to those errors.
>> >
>> > I did check how Xorg is compiled in LTIB and it doesn't has glx
>> > enabled so my idea is to disable glx in Xorg and try to go this route.
>> > This would allow for a clean build at cost of making xserver-xorg
>> > machine specific. Do you have any other idea?
>> >
>>
>> Why do you need glx after all? We don't have opengl for imx53 right?
>> And about the fix. Xorg with glx should depend on virtual/libgl (or gl)
>> not mesa-dri.
>>
> mesa-dri provides virtual/libgl which can explain why we find it here.
In fact mesa provides all them (GL ES2 and GL ES1 too).
--
Otavio Salvador O.S. Systems
E-mail: otavio@ossystems.com.br http://www.ossystems.com.br
Mobile: +55 53 9981-7854 http://projetos.ossystems.com.br
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: mesa-dri vs amd-gpu-x11-bin-mx51
2013-01-12 17:52 ` Otavio Salvador
@ 2013-01-12 18:00 ` Eric Bénard
2013-01-12 18:08 ` Otavio Salvador
0 siblings, 1 reply; 11+ messages in thread
From: Eric Bénard @ 2013-01-12 18:00 UTC (permalink / raw)
To: Otavio Salvador; +Cc: meta-freescale@yoctoproject.org
Le Sat, 12 Jan 2013 15:52:46 -0200,
Otavio Salvador <otavio@ossystems.com.br> a écrit :
> On Sat, Jan 12, 2013 at 3:49 PM, Eric Bénard <eric@eukrea.com> wrote:
> > Le Sat, 12 Jan 2013 17:54:13 +0200,
> > Andrei Gherzan <andrei@gherzan.ro> a écrit :
> >
> >> On Sat, Jan 12, 2013 at 4:15 PM, Otavio Salvador <otavio@ossystems.com.br>wrote:
> >>
> >> > On Sat, Jan 12, 2013 at 11:59 AM, Eric Bénard <eric@eukrea.com> wrote:
> >> > > Hi,
> >> > >
> >> > > has anyone here already seen this messages ?
> >> >
> >> > Yes; I started checking it but I still do not have an absolute answer
> >> > to how to fix it.
> >> >
> >> > The problem is xserver-xorg (when it has glx enabled) it depends on
> >> > mesa-dri. Both mesa-dri and GPU package libraries (the mx5 and mx6
> >> > ones) provide same (theorical) functionality of mesa-dri, libraries
> >> > and (most) headers leading to those errors.
> >> >
> >> > I did check how Xorg is compiled in LTIB and it doesn't has glx
> >> > enabled so my idea is to disable glx in Xorg and try to go this route.
> >> > This would allow for a clean build at cost of making xserver-xorg
> >> > machine specific. Do you have any other idea?
> >> >
> >>
> >> Why do you need glx after all? We don't have opengl for imx53 right?
> >> And about the fix. Xorg with glx should depend on virtual/libgl (or gl)
> >> not mesa-dri.
> >>
> > mesa-dri provides virtual/libgl which can explain why we find it here.
>
> In fact mesa provides all them (GL ES2 and GL ES1 too).
yes, I was in Andrei's email context here.
meta-ti has the following lines in libgles-omap3.inc :
PROVIDES += "virtual/egl virtual/libgles1 virtual/libgles2"
RREPLACES_${PN} = "libegl libgles1 libgles2"
RREPLACES_${PN}-dev = "libegl-dev libgles1-dev libgles2-dev"
RREPLACES_${PN}-dbg = "libegl-dbg"
note they have the RREPLACES which are not in meta-fsl-arm's recipes.
Eric
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: mesa-dri vs amd-gpu-x11-bin-mx51
2013-01-12 18:00 ` Eric Bénard
@ 2013-01-12 18:08 ` Otavio Salvador
2013-01-13 0:57 ` Andrei Gherzan
2013-01-13 1:00 ` Andrei Gherzan
0 siblings, 2 replies; 11+ messages in thread
From: Otavio Salvador @ 2013-01-12 18:08 UTC (permalink / raw)
To: Eric Bénard; +Cc: meta-freescale@yoctoproject.org
On Sat, Jan 12, 2013 at 4:00 PM, Eric Bénard <eric@eukrea.com> wrote:
> Le Sat, 12 Jan 2013 15:52:46 -0200,
> Otavio Salvador <otavio@ossystems.com.br> a écrit :
>
>> On Sat, Jan 12, 2013 at 3:49 PM, Eric Bénard <eric@eukrea.com> wrote:
>> > Le Sat, 12 Jan 2013 17:54:13 +0200,
>> > Andrei Gherzan <andrei@gherzan.ro> a écrit :
>> >
>> >> On Sat, Jan 12, 2013 at 4:15 PM, Otavio Salvador <otavio@ossystems.com.br>wrote:
>> >>
>> >> > On Sat, Jan 12, 2013 at 11:59 AM, Eric Bénard <eric@eukrea.com> wrote:
>> >> > > Hi,
>> >> > >
>> >> > > has anyone here already seen this messages ?
>> >> >
>> >> > Yes; I started checking it but I still do not have an absolute answer
>> >> > to how to fix it.
>> >> >
>> >> > The problem is xserver-xorg (when it has glx enabled) it depends on
>> >> > mesa-dri. Both mesa-dri and GPU package libraries (the mx5 and mx6
>> >> > ones) provide same (theorical) functionality of mesa-dri, libraries
>> >> > and (most) headers leading to those errors.
>> >> >
>> >> > I did check how Xorg is compiled in LTIB and it doesn't has glx
>> >> > enabled so my idea is to disable glx in Xorg and try to go this route.
>> >> > This would allow for a clean build at cost of making xserver-xorg
>> >> > machine specific. Do you have any other idea?
>> >> >
>> >>
>> >> Why do you need glx after all? We don't have opengl for imx53 right?
>> >> And about the fix. Xorg with glx should depend on virtual/libgl (or gl)
>> >> not mesa-dri.
>> >>
>> > mesa-dri provides virtual/libgl which can explain why we find it here.
>>
>> In fact mesa provides all them (GL ES2 and GL ES1 too).
>
> yes, I was in Andrei's email context here.
>
> meta-ti has the following lines in libgles-omap3.inc :
> PROVIDES += "virtual/egl virtual/libgles1 virtual/libgles2"
>
> RREPLACES_${PN} = "libegl libgles1 libgles2"
> RREPLACES_${PN}-dev = "libegl-dev libgles1-dev libgles2-dev"
> RREPLACES_${PN}-dbg = "libegl-dbg"
>
> note they have the RREPLACES which are not in meta-fsl-arm's recipes.
Makes sense; but this fixes rootfs problem, not sysroot conflict. My
mean concern here is now it behave in concurrent build?
Let's say:
- xserver-xorg building (so mesa-dri installed at sysroot)
- qt4-x11 build start (so will install amd/vivante libraries at sysroot)
As we don't have individual sysroot for every package in build, this
is something that I don't know the end result.
So I think the right fix is to get rid of glx for mx5 and make
xserver-xorg glx to build with vivante libraries for mx6.
What do you think?
--
Otavio Salvador O.S. Systems
E-mail: otavio@ossystems.com.br http://www.ossystems.com.br
Mobile: +55 53 9981-7854 http://projetos.ossystems.com.br
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: mesa-dri vs amd-gpu-x11-bin-mx51
2013-01-12 18:08 ` Otavio Salvador
@ 2013-01-13 0:57 ` Andrei Gherzan
2013-01-13 1:20 ` Andrei Gherzan
2013-01-13 1:00 ` Andrei Gherzan
1 sibling, 1 reply; 11+ messages in thread
From: Andrei Gherzan @ 2013-01-13 0:57 UTC (permalink / raw)
To: Otavio Salvador; +Cc: meta-freescale@yoctoproject.org
[-- Attachment #1: Type: text/plain, Size: 3329 bytes --]
On Sat, Jan 12, 2013 at 8:08 PM, Otavio Salvador <otavio@ossystems.com.br>wrote:
> On Sat, Jan 12, 2013 at 4:00 PM, Eric Bénard <eric@eukrea.com> wrote:
> > Le Sat, 12 Jan 2013 15:52:46 -0200,
> > Otavio Salvador <otavio@ossystems.com.br> a écrit :
> >
> >> On Sat, Jan 12, 2013 at 3:49 PM, Eric Bénard <eric@eukrea.com> wrote:
> >> > Le Sat, 12 Jan 2013 17:54:13 +0200,
> >> > Andrei Gherzan <andrei@gherzan.ro> a écrit :
> >> >
> >> >> On Sat, Jan 12, 2013 at 4:15 PM, Otavio Salvador <
> otavio@ossystems.com.br>wrote:
> >> >>
> >> >> > On Sat, Jan 12, 2013 at 11:59 AM, Eric Bénard <eric@eukrea.com>
> wrote:
> >> >> > > Hi,
> >> >> > >
> >> >> > > has anyone here already seen this messages ?
> >> >> >
> >> >> > Yes; I started checking it but I still do not have an absolute
> answer
> >> >> > to how to fix it.
> >> >> >
> >> >> > The problem is xserver-xorg (when it has glx enabled) it depends on
> >> >> > mesa-dri. Both mesa-dri and GPU package libraries (the mx5 and mx6
> >> >> > ones) provide same (theorical) functionality of mesa-dri, libraries
> >> >> > and (most) headers leading to those errors.
> >> >> >
> >> >> > I did check how Xorg is compiled in LTIB and it doesn't has glx
> >> >> > enabled so my idea is to disable glx in Xorg and try to go this
> route.
> >> >> > This would allow for a clean build at cost of making xserver-xorg
> >> >> > machine specific. Do you have any other idea?
> >> >> >
> >> >>
> >> >> Why do you need glx after all? We don't have opengl for imx53 right?
> >> >> And about the fix. Xorg with glx should depend on virtual/libgl (or
> gl)
> >> >> not mesa-dri.
> >> >>
> >> > mesa-dri provides virtual/libgl which can explain why we find it here.
> >>
> >> In fact mesa provides all them (GL ES2 and GL ES1 too).
> >
> > yes, I was in Andrei's email context here.
> >
> > meta-ti has the following lines in libgles-omap3.inc :
> > PROVIDES += "virtual/egl virtual/libgles1 virtual/libgles2"
> >
> > RREPLACES_${PN} = "libegl libgles1 libgles2"
> > RREPLACES_${PN}-dev = "libegl-dev libgles1-dev libgles2-dev"
> > RREPLACES_${PN}-dbg = "libegl-dbg"
> >
> > note they have the RREPLACES which are not in meta-fsl-arm's recipes.
>
> Makes sense; but this fixes rootfs problem, not sysroot conflict. My
> mean concern here is now it behave in concurrent build?
>
> Let's say:
>
> - xserver-xorg building (so mesa-dri installed at sysroot)
> - qt4-x11 build start (so will install amd/vivante libraries at sysroot)
>
> As we don't have individual sysroot for every package in build, this
> is something that I don't know the end result.
>
> So I think the right fix is to get rid of glx for mx5 and make
> xserver-xorg glx to build with vivante libraries for mx6.
>
> What do you think?
>
>
I will tell you my point of view having into consideration imx6.
There are a couple of issues here:
1. in oecore the glx PACKAGECONFIG concludes dri flags and glx flags.
Which, in my opinion is wrong. These should be separated.
2. xserver-xorg should be compiled with dri needed for vivante driver
3. no glx for imx6 - as we don't have libgl
Fix:
Split PACKAGECONFIG in glx and dri. Use PACKAGECONFIG_append_imx6qsabrelite
= " dri ".
P.S.: I can take care of patches for imx6 in on this issue.
ag
[-- Attachment #2: Type: text/html, Size: 4957 bytes --]
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: mesa-dri vs amd-gpu-x11-bin-mx51
2013-01-12 18:08 ` Otavio Salvador
2013-01-13 0:57 ` Andrei Gherzan
@ 2013-01-13 1:00 ` Andrei Gherzan
1 sibling, 0 replies; 11+ messages in thread
From: Andrei Gherzan @ 2013-01-13 1:00 UTC (permalink / raw)
To: Otavio Salvador; +Cc: meta-freescale@yoctoproject.org
[-- Attachment #1: Type: text/plain, Size: 2788 bytes --]
On Sat, Jan 12, 2013 at 8:08 PM, Otavio Salvador <otavio@ossystems.com.br>wrote:
> On Sat, Jan 12, 2013 at 4:00 PM, Eric Bénard <eric@eukrea.com> wrote:
> > Le Sat, 12 Jan 2013 15:52:46 -0200,
> > Otavio Salvador <otavio@ossystems.com.br> a écrit :
> >
> >> On Sat, Jan 12, 2013 at 3:49 PM, Eric Bénard <eric@eukrea.com> wrote:
> >> > Le Sat, 12 Jan 2013 17:54:13 +0200,
> >> > Andrei Gherzan <andrei@gherzan.ro> a écrit :
> >> >
> >> >> On Sat, Jan 12, 2013 at 4:15 PM, Otavio Salvador <
> otavio@ossystems.com.br>wrote:
> >> >>
> >> >> > On Sat, Jan 12, 2013 at 11:59 AM, Eric Bénard <eric@eukrea.com>
> wrote:
> >> >> > > Hi,
> >> >> > >
> >> >> > > has anyone here already seen this messages ?
> >> >> >
> >> >> > Yes; I started checking it but I still do not have an absolute
> answer
> >> >> > to how to fix it.
> >> >> >
> >> >> > The problem is xserver-xorg (when it has glx enabled) it depends on
> >> >> > mesa-dri. Both mesa-dri and GPU package libraries (the mx5 and mx6
> >> >> > ones) provide same (theorical) functionality of mesa-dri, libraries
> >> >> > and (most) headers leading to those errors.
> >> >> >
> >> >> > I did check how Xorg is compiled in LTIB and it doesn't has glx
> >> >> > enabled so my idea is to disable glx in Xorg and try to go this
> route.
> >> >> > This would allow for a clean build at cost of making xserver-xorg
> >> >> > machine specific. Do you have any other idea?
> >> >> >
> >> >>
> >> >> Why do you need glx after all? We don't have opengl for imx53 right?
> >> >> And about the fix. Xorg with glx should depend on virtual/libgl (or
> gl)
> >> >> not mesa-dri.
> >> >>
> >> > mesa-dri provides virtual/libgl which can explain why we find it here.
> >>
> >> In fact mesa provides all them (GL ES2 and GL ES1 too).
> >
> > yes, I was in Andrei's email context here.
> >
> > meta-ti has the following lines in libgles-omap3.inc :
> > PROVIDES += "virtual/egl virtual/libgles1 virtual/libgles2"
> >
> > RREPLACES_${PN} = "libegl libgles1 libgles2"
> > RREPLACES_${PN}-dev = "libegl-dev libgles1-dev libgles2-dev"
> > RREPLACES_${PN}-dbg = "libegl-dbg"
> >
> > note they have the RREPLACES which are not in meta-fsl-arm's recipes.
>
> Makes sense; but this fixes rootfs problem, not sysroot conflict. My
> mean concern here is now it behave in concurrent build?
>
> Let's say:
>
> - xserver-xorg building (so mesa-dri installed at sysroot)
> - qt4-x11 build start (so will install amd/vivante libraries at sysroot)
>
> As we don't have individual sysroot for every package in build, this
> is something that I don't know the end result.
>
> So I think the right fix is to get rid of glx for mx5 and
>
Why? As we have libgl xserver should be compiled with glx (imx53).
[-- Attachment #2: Type: text/html, Size: 4072 bytes --]
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: mesa-dri vs amd-gpu-x11-bin-mx51
2013-01-13 0:57 ` Andrei Gherzan
@ 2013-01-13 1:20 ` Andrei Gherzan
0 siblings, 0 replies; 11+ messages in thread
From: Andrei Gherzan @ 2013-01-13 1:20 UTC (permalink / raw)
To: Otavio Salvador; +Cc: meta-freescale@yoctoproject.org
[-- Attachment #1: Type: text/plain, Size: 3557 bytes --]
ERATA :)
On Sun, Jan 13, 2013 at 2:57 AM, Andrei Gherzan <andrei@gherzan.ro> wrote:
> On Sat, Jan 12, 2013 at 8:08 PM, Otavio Salvador <otavio@ossystems.com.br>wrote:
>
>> On Sat, Jan 12, 2013 at 4:00 PM, Eric Bénard <eric@eukrea.com> wrote:
>> > Le Sat, 12 Jan 2013 15:52:46 -0200,
>> > Otavio Salvador <otavio@ossystems.com.br> a écrit :
>> >
>> >> On Sat, Jan 12, 2013 at 3:49 PM, Eric Bénard <eric@eukrea.com> wrote:
>> >> > Le Sat, 12 Jan 2013 17:54:13 +0200,
>> >> > Andrei Gherzan <andrei@gherzan.ro> a écrit :
>> >> >
>> >> >> On Sat, Jan 12, 2013 at 4:15 PM, Otavio Salvador <
>> otavio@ossystems.com.br>wrote:
>> >> >>
>> >> >> > On Sat, Jan 12, 2013 at 11:59 AM, Eric Bénard <eric@eukrea.com>
>> wrote:
>> >> >> > > Hi,
>> >> >> > >
>> >> >> > > has anyone here already seen this messages ?
>> >> >> >
>> >> >> > Yes; I started checking it but I still do not have an absolute
>> answer
>> >> >> > to how to fix it.
>> >> >> >
>> >> >> > The problem is xserver-xorg (when it has glx enabled) it depends
>> on
>> >> >> > mesa-dri. Both mesa-dri and GPU package libraries (the mx5 and mx6
>> >> >> > ones) provide same (theorical) functionality of mesa-dri,
>> libraries
>> >> >> > and (most) headers leading to those errors.
>> >> >> >
>> >> >> > I did check how Xorg is compiled in LTIB and it doesn't has glx
>> >> >> > enabled so my idea is to disable glx in Xorg and try to go this
>> route.
>> >> >> > This would allow for a clean build at cost of making xserver-xorg
>> >> >> > machine specific. Do you have any other idea?
>> >> >> >
>> >> >>
>> >> >> Why do you need glx after all? We don't have opengl for imx53 right?
>> >> >> And about the fix. Xorg with glx should depend on virtual/libgl
>> (or gl)
>> >> >> not mesa-dri.
>> >> >>
>> >> > mesa-dri provides virtual/libgl which can explain why we find it
>> here.
>> >>
>> >> In fact mesa provides all them (GL ES2 and GL ES1 too).
>> >
>> > yes, I was in Andrei's email context here.
>> >
>> > meta-ti has the following lines in libgles-omap3.inc :
>> > PROVIDES += "virtual/egl virtual/libgles1 virtual/libgles2"
>> >
>> > RREPLACES_${PN} = "libegl libgles1 libgles2"
>> > RREPLACES_${PN}-dev = "libegl-dev libgles1-dev libgles2-dev"
>> > RREPLACES_${PN}-dbg = "libegl-dbg"
>> >
>> > note they have the RREPLACES which are not in meta-fsl-arm's recipes.
>>
>> Makes sense; but this fixes rootfs problem, not sysroot conflict. My
>> mean concern here is now it behave in concurrent build?
>>
>> Let's say:
>>
>> - xserver-xorg building (so mesa-dri installed at sysroot)
>> - qt4-x11 build start (so will install amd/vivante libraries at sysroot)
>>
>> As we don't have individual sysroot for every package in build, this
>> is something that I don't know the end result.
>>
>> So I think the right fix is to get rid of glx for mx5 and make
>> xserver-xorg glx to build with vivante libraries for mx6.
>>
>> What do you think?
>>
>>
> I will tell you my point of view having into consideration imx6.
>
>
Obviously wrong. Fix comment:
> There are a couple of issues here:
> 1. in oecore the glx PACKAGECONFIG concludes dri flags and glx flags.
> Which, in my opinion is wrong. These should be separated.
> 2. xserver-xorg should be compiled with dri needed for vivante driver
> 3. glx for imx6 - as we have gl
>
> Fix:
> Split PACKAGECONFIG in glx and dri.
> Use PACKAGECONFIG_append_imx6qsabrelite = " glx dri ".
>
> P.S.: I can take care of patches for imx6 in on this issue.
>
>
[-- Attachment #2: Type: text/html, Size: 5756 bytes --]
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2013-01-13 1:20 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-12 13:59 mesa-dri vs amd-gpu-x11-bin-mx51 Eric Bénard
2013-01-12 14:15 ` Otavio Salvador
2013-01-12 15:54 ` Andrei Gherzan
2013-01-12 16:44 ` Otavio Salvador
2013-01-12 17:49 ` Eric Bénard
2013-01-12 17:52 ` Otavio Salvador
2013-01-12 18:00 ` Eric Bénard
2013-01-12 18:08 ` Otavio Salvador
2013-01-13 0:57 ` Andrei Gherzan
2013-01-13 1:20 ` Andrei Gherzan
2013-01-13 1:00 ` Andrei Gherzan
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.