Bug 1020 - LSB4.1: LSB test suite need libQtOpenGL.so for hardware ppc, x86 and x86-64
Summary: LSB4.1: LSB test suite need libQtOpenGL.so for hardware ppc, x86 and x86-64
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: graphics (show other bugs)
Version: 1.0-alpha
Hardware: All x86_64
: Undecided critical
Target Milestone: 1.1 M1
Assignee: Xiaofeng Yan
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2011-05-03 01:35 UTC by Xiaofeng Yan
Modified: 2011-07-08 15:33 UTC (History)
4 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Xiaofeng Yan 2011-05-03 01:35:25 UTC
Qt4 can't be test for hardware platform ppc(mpc8315e),x86 and x86-64 without library libQtOpenGL.so
Comment 1 Xiaofeng Yan 2011-05-03 01:48:37 UTC
This bugs can be solved by the following steps
1 for ppc(mpc8315e-rdb)
PC$ vim /media/D/poky/git/poky/meta/recipes-qt/qt4/qt4-x11-free.inc
......
 QT_GLFLAGS ?= "-no-opengl"
 QT_GLFLAGS_qemux86 = "-opengl"
 QT_GLFLAGS_emenlow = "-opengl"
 QT_GLFLAGS_atom-pc = "-opengl"
 QT_GLFLAGS_qemuppc = "-opengl"
+QT_GLFLAGS_mpc8315e-rdb = "-opengl"
 QT_CONFIG_FLAGS += "-no-xinerama -no-xkb ${QT_GLFLAGS}"
 QT_BASE_NAME ?= "qt4"
 QT_BASE_LIB  ?= "libqt"

inherit qt4x11
2 for x86 and x86-64
PC$vim /media/D/poky/git/poky/meta/recipes-qt/qt4/qt4-x11-free.inc
......
 QT_GLFLAGS ?= "-no-opengl"
 QT_GLFLAGS_qemux86 = "-opengl"
 QT_GLFLAGS_emenlow = "-opengl"
 QT_GLFLAGS_atom-pc = "-opengl"
 QT_GLFLAGS_qemuppc = "-opengl"
+QT_GLFLAGS_specific-hardware-platfrom = "-opengl"
 QT_CONFIG_FLAGS += "-no-xinerama -no-xkb ${QT_GLFLAGS}"
 QT_BASE_NAME ?= "qt4"
 QT_BASE_LIB  ?= "libqt"
Because wind river have no x86 and x86-64 hardware platform, so please Intel make patches for QtOpenGL to OE-CORE. I can enable them for x86 and x86-64 but I can't test them without hardware. LSB could delay if no libQtOpenGL.so
Comment 2 Dexuan Cui 2011-05-03 06:53:16 UTC
(In reply to comment #1)
> This bugs can be solved by the following steps
> 1 for ppc(mpc8315e-rdb)
> PC$ vim /media/D/poky/git/poky/meta/recipes-qt/qt4/qt4-x11-free.inc
> ......
>  QT_GLFLAGS ?= "-no-opengl"
>  QT_GLFLAGS_qemux86 = "-opengl"
>  QT_GLFLAGS_emenlow = "-opengl"
>  QT_GLFLAGS_atom-pc = "-opengl"
>  QT_GLFLAGS_qemuppc = "-opengl"
> +QT_GLFLAGS_mpc8315e-rdb = "-opengl"
>  QT_CONFIG_FLAGS += "-no-xinerama -no-xkb ${QT_GLFLAGS}"
>  QT_BASE_NAME ?= "qt4"
>  QT_BASE_LIB  ?= "libqt"
> inherit qt4x11
> 2 for x86 and x86-64
> PC$vim /media/D/poky/git/poky/meta/recipes-qt/qt4/qt4-x11-free.inc
> ......
>  QT_GLFLAGS ?= "-no-opengl"
>  QT_GLFLAGS_qemux86 = "-opengl"
>  QT_GLFLAGS_emenlow = "-opengl"
>  QT_GLFLAGS_atom-pc = "-opengl"
>  QT_GLFLAGS_qemuppc = "-opengl"
> +QT_GLFLAGS_specific-hardware-platfrom = "-opengl"
>  QT_CONFIG_FLAGS += "-no-xinerama -no-xkb ${QT_GLFLAGS}"
>  QT_BASE_NAME ?= "qt4"
>  QT_BASE_LIB  ?= "libqt"
> Because wind river have no x86 and x86-64 hardware platform, so please Intel
> make patches for QtOpenGL to OE-CORE. I can enable them for x86 and x86-64 but
> I can't test them without hardware. LSB could delay if no libQtOpenGL.so

Xiaofeng, my understanding is: I only need to test on x86 and x86-64.
And you'll test on ppc.
After our testings are done, the bug will be fixed.

Am I correct?
Comment 3 Dexuan Cui 2011-05-03 07:51:36 UTC
(In reply to comment #2)
> (In reply to comment #1)
> > This bugs can be solved by the following steps
> > 1 for ppc(mpc8315e-rdb)
> > PC$ vim /media/D/poky/git/poky/meta/recipes-qt/qt4/qt4-x11-free.inc
> > ......
> >  QT_GLFLAGS ?= "-no-opengl"
> >  QT_GLFLAGS_qemux86 = "-opengl"
> >  QT_GLFLAGS_emenlow = "-opengl"
> >  QT_GLFLAGS_atom-pc = "-opengl"
> >  QT_GLFLAGS_qemuppc = "-opengl"
> > +QT_GLFLAGS_mpc8315e-rdb = "-opengl"
> >  QT_CONFIG_FLAGS += "-no-xinerama -no-xkb ${QT_GLFLAGS}"
> >  QT_BASE_NAME ?= "qt4"
> >  QT_BASE_LIB  ?= "libqt"
> > inherit qt4x11
> > 2 for x86 and x86-64
> > PC$vim /media/D/poky/git/poky/meta/recipes-qt/qt4/qt4-x11-free.inc
> > ......
> >  QT_GLFLAGS ?= "-no-opengl"
> >  QT_GLFLAGS_qemux86 = "-opengl"
> >  QT_GLFLAGS_emenlow = "-opengl"
> >  QT_GLFLAGS_atom-pc = "-opengl"
> >  QT_GLFLAGS_qemuppc = "-opengl"
> > +QT_GLFLAGS_specific-hardware-platfrom = "-opengl"
> >  QT_CONFIG_FLAGS += "-no-xinerama -no-xkb ${QT_GLFLAGS}"
> >  QT_BASE_NAME ?= "qt4"
> >  QT_BASE_LIB  ?= "libqt"
> > Because wind river have no x86 and x86-64 hardware platform, so please Intel
> > make patches for QtOpenGL to OE-CORE. I can enable them for x86 and x86-64 but
> > I can't test them without hardware. LSB could delay if no libQtOpenGL.so
> Xiaofeng, my understanding is: I only need to test on x86 and x86-64.
> And you'll test on ppc.
> After our testings are done, the bug will be fixed.
> Am I correct?

BTW: can we test it using qemux86 and qemux86-64? I guess not since qemu doesn't support opengl now(?)

What x86 and x86-64 target should I build?
I know BSP sugarbay is x86-64 and BSP n450 seems x86. Can I test on them? how to test them?
Please clarify the questions since I'm not very clear about the background. :-)
Comment 4 Jiajun Xu 2011-05-03 17:12:51 UTC
> > > Because wind river have no x86 and x86-64 hardware platform, so please Intel
> > > make patches for QtOpenGL to OE-CORE. I can enable them for x86 and x86-64 but
> > > I can't test them without hardware. LSB could delay if no libQtOpenGL.so
> > Xiaofeng, my understanding is: I only need to test on x86 and x86-64.
> > And you'll test on ppc.
> > After our testings are done, the bug will be fixed.
> > Am I correct?
> BTW: can we test it using qemux86 and qemux86-64? I guess not since qemu
> doesn't support opengl now(?)
> What x86 and x86-64 target should I build?
> I know BSP sugarbay is x86-64 and BSP n450 seems x86. Can I test on them? how
> to test them?

Currenly we are doing LSB test on jasperforest(x86-64). I think sugarbay and n450 should be OK also. But the problem is that if we need to enable opengl for all meta-intel BSPs. 

Xiaofeng has a doc for LSB test suite setup, I could send you by email.

> Please clarify the questions since I'm not very clear about the background. :-)
Comment 5 Xiaofeng Yan 2011-05-03 18:57:31 UTC
(In reply to comment #2)
> (In reply to comment #1)
> > This bugs can be solved by the following steps
> > 1 for ppc(mpc8315e-rdb)
> > PC$ vim /media/D/poky/git/poky/meta/recipes-qt/qt4/qt4-x11-free.inc
> > ......
> >  QT_GLFLAGS ?= "-no-opengl"
> >  QT_GLFLAGS_qemux86 = "-opengl"
> >  QT_GLFLAGS_emenlow = "-opengl"
> >  QT_GLFLAGS_atom-pc = "-opengl"
> >  QT_GLFLAGS_qemuppc = "-opengl"
> > +QT_GLFLAGS_mpc8315e-rdb = "-opengl"
> >  QT_CONFIG_FLAGS += "-no-xinerama -no-xkb ${QT_GLFLAGS}"
> >  QT_BASE_NAME ?= "qt4"
> >  QT_BASE_LIB  ?= "libqt"
> > inherit qt4x11
> > 2 for x86 and x86-64
> > PC$vim /media/D/poky/git/poky/meta/recipes-qt/qt4/qt4-x11-free.inc
> > ......
> >  QT_GLFLAGS ?= "-no-opengl"
> >  QT_GLFLAGS_qemux86 = "-opengl"
> >  QT_GLFLAGS_emenlow = "-opengl"
> >  QT_GLFLAGS_atom-pc = "-opengl"
> >  QT_GLFLAGS_qemuppc = "-opengl"
> > +QT_GLFLAGS_specific-hardware-platfrom = "-opengl"
> >  QT_CONFIG_FLAGS += "-no-xinerama -no-xkb ${QT_GLFLAGS}"
> >  QT_BASE_NAME ?= "qt4"
> >  QT_BASE_LIB  ?= "libqt"
> > Because wind river have no x86 and x86-64 hardware platform, so please Intel
> > make patches for QtOpenGL to OE-CORE. I can enable them for x86 and x86-64 but
> > I can't test them without hardware. LSB could delay if no libQtOpenGL.so
> 
> Xiaofeng, my understanding is: I only need to test on x86 and x86-64.
> And you'll test on ppc.
We make lsb test on ppc and have generated a libQtOpenGl.so on mpc8315e-rdb and it's ok here. 
> After our testings are done, the bug will be fixed.
> 
yes if you enable this configure on .bb file. I think it will pass lsb test.
> Am I correct?
Comment 6 Xiaofeng Yan 2011-05-03 19:04:57 UTC
(In reply to comment #3)
> (In reply to comment #2)
> > (In reply to comment #1)
> > > This bugs can be solved by the following steps
> > > 1 for ppc(mpc8315e-rdb)
> > > PC$ vim /media/D/poky/git/poky/meta/recipes-qt/qt4/qt4-x11-free.inc
> > > ......
> > >  QT_GLFLAGS ?= "-no-opengl"
> > >  QT_GLFLAGS_qemux86 = "-opengl"
> > >  QT_GLFLAGS_emenlow = "-opengl"
> > >  QT_GLFLAGS_atom-pc = "-opengl"
> > >  QT_GLFLAGS_qemuppc = "-opengl"
> > > +QT_GLFLAGS_mpc8315e-rdb = "-opengl"
> > >  QT_CONFIG_FLAGS += "-no-xinerama -no-xkb ${QT_GLFLAGS}"
> > >  QT_BASE_NAME ?= "qt4"
> > >  QT_BASE_LIB  ?= "libqt"
> > > inherit qt4x11
> > > 2 for x86 and x86-64
> > > PC$vim /media/D/poky/git/poky/meta/recipes-qt/qt4/qt4-x11-free.inc
> > > ......
> > >  QT_GLFLAGS ?= "-no-opengl"
> > >  QT_GLFLAGS_qemux86 = "-opengl"
> > >  QT_GLFLAGS_emenlow = "-opengl"
> > >  QT_GLFLAGS_atom-pc = "-opengl"
> > >  QT_GLFLAGS_qemuppc = "-opengl"
> > > +QT_GLFLAGS_specific-hardware-platfrom = "-opengl"
> > >  QT_CONFIG_FLAGS += "-no-xinerama -no-xkb ${QT_GLFLAGS}"
> > >  QT_BASE_NAME ?= "qt4"
> > >  QT_BASE_LIB  ?= "libqt"
> > > Because wind river have no x86 and x86-64 hardware platform, so please Intel
> > > make patches for QtOpenGL to OE-CORE. I can enable them for x86 and x86-64 but
> > > I can't test them without hardware. LSB could delay if no libQtOpenGL.so
> > Xiaofeng, my understanding is: I only need to test on x86 and x86-64.
> > And you'll test on ppc.
> > After our testings are done, the bug will be fixed.
> > Am I correct?
> 
> BTW: can we test it using qemux86 and qemux86-64? I guess not since qemu
> doesn't support opengl now(?)
> 
You can't test it on qemu platfrom because we report lsb test results to Linux Foundation with specific hardware platform 
> What x86 and x86-64 target should I build?
> I know BSP sugarbay is x86-64 and BSP n450 seems x86. Can I test on them? how
> to test them?
I view email and jiajun will give you the test document. If you have any question for lsb test. please tell me.  
> Please clarify the questions since I'm not very clear about the background. :-)
Comment 7 Xiaofeng Yan 2011-05-03 19:09:05 UTC
(In reply to comment #4)
> > > > Because wind river have no x86 and x86-64 hardware platform, so please Intel
> > > > make patches for QtOpenGL to OE-CORE. I can enable them for x86 and x86-64 but
> > > > I can't test them without hardware. LSB could delay if no libQtOpenGL.so
> > > Xiaofeng, my understanding is: I only need to test on x86 and x86-64.
> > > And you'll test on ppc.
> > > After our testings are done, the bug will be fixed.
> > > Am I correct?
> > BTW: can we test it using qemux86 and qemux86-64? I guess not since qemu
> > doesn't support opengl now(?)
> > What x86 and x86-64 target should I build?
> > I know BSP sugarbay is x86-64 and BSP n450 seems x86. Can I test on them? how
> > to test them?
> 
> Currenly we are doing LSB test on jasperforest(x86-64). I think sugarbay and
> n450 should be OK also. But the problem is that if we need to enable opengl for
> all meta-intel BSPs. 
> 
> Xiaofeng has a doc for LSB test suite setup, I could send you by email.
> 
Hi jiajun,
Thank you for you giving me help to make lsb test on x86 and x86-64. If you build a lsb-image for yourself, you should enable DISTRO="poky-lsb" to instead of DISTRO="poky" in file build/conf/local.conf 
> > Please clarify the questions since I'm not very clear about the background. :-)
Comment 8 Xiaofeng Yan 2011-05-11 00:29:48 UTC
Saul have re-factored changes to enable configuration for qtopengl on target platform. The next is detailed steps

pc$vi /media/D/poky/git/poky.git/meta-yocto/recipes-qt/qt4/qt4-x11-free_4.7.2.bbappend
+QT_GLFLAGS_jasperforest = "-opengl"

pc$vi meta/recipes-extended/tasks/task-core-lsb.bb
PACKAGES = "\
    task-core-lsb \
    ......
+    task-core-lsb-graphic-add_jaspreforest \
    "


ALLOW_EMPTY = "1"

RDEPENDS_task-core-lsb = "\
    ......
+    task-core-lsb-graphic-add_jaspreforest \

+RDEPENDS_task-core-lsb-graphic-jaspreforest = "\
+    libqtopengl4 \
Comment 9 Dexuan Cui 2011-05-12 18:55:47 UTC
I'm building sugarbay (x86-64) and n450 (x86) images and trying to test this.