Re: [meta-intel] [PATCH 4/5] xf86-video-intel: mark opengl as a required distro feature

2013-09-06 Thread Burton, Ross
On 5 September 2013 18:42, Darren Hart dvh...@linux.intel.com wrote:
  2) configure has a --disable-dri option, did you see if this works?
  Glancing at the source there might actually be a hard dependency on DRI
  headers, but that can be something we can fix in the X server.

 Why do you want to remove the DRI feature from the Intel X driver?

 By doing that conditionally, we can ensure it builds with or without
 opengl.

Just chatted with the maintainer and he claims that if --disable-dri
doesn't work we can file bugs/patches to make it work.

Ross
___
meta-intel mailing list
meta-intel@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-intel


Re: [meta-intel] [PATCH 4/5] xf86-video-intel: mark opengl as a required distro feature

2013-09-06 Thread Darren Hart
On Fri, 2013-09-06 at 18:59 +0100, Burton, Ross wrote:
 On 6 September 2013 17:00, Kamble, Nitin A nitin.a.kam...@intel.com wrote:
  Even though it is technically possible, it will be crippling the Intel 
  graphics driver.
  Do we have to do it? Is the other, non-crippling option of requesting 
  opengl distro
  feature so bad?
 
 Feel free to put a comment along the lines that some of the hardware
 acceleration requires the opengl distro feature, but as the driver
 does (should) build without DRI then we should respect the users
 choice if they explicitly decided to not have opengl in
 DISTRO_FEATURES.

Agreed. The distribution should have the ability to disable opengl as a
matter of policy and the driver should respect that. If we can build
accordingly, we should.

-- 
Darren Hart
Intel Open Source Technology Center
Yocto Project - Linux Kernel


___
meta-intel mailing list
meta-intel@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-intel


Re: [meta-intel] [OE-core] [Patch-v2 1/1] mesa: avoid unnecessary rerunning of tasks

2013-09-06 Thread Burton, Ross
On 5 September 2013 09:33, Richard Purdie
richard.pur...@linuxfoundation.org wrote:
 I'd also appreciate someone (Ross maybe?) confirming that if we build
 application A against mesa, then change over to a machine that uses emgd
 and swizzle the libs around in the sysroot, do we need to recompile the
 app? This approach is assuming we do not need to do that. If we do,
 there is a different approach we need to take.

So what's happening is that we're revising the original OpenGL policy
that I posted in October last year:

http://lists.openembedded.org/pipermail/openembedded-core/2012-October/070122.html

tl;dr: I proposed that 1) we rename all GL packages so they identify
their provider (ie libgl-mesa, we do that), 2) no dependencies on
specific GL implementations, 3) only Mesa stages.  The theory was that
Mesa can be considered a canonical implementation of the various GL
platforms and that we can *build* against Mesa but *install* the right
hardware-specific GL implementation into the images.

Nice in theory and it should work, but sadly that isn't the case - the
thread has more details.  Short version is that some applications *do*
rely on specific GL headers, so you can't just swap them around in
reality.

Maybe it is time to have a mesa-gl recipe alongside mesa that *just*
builds the GL libraries.  EMGD can depend on it for the driver modules
it installs, and presumably other vendors with binary drivers can
install it for the software rendering/GLX support (Otavio etc, please
step in here!).

Ross
___
meta-intel mailing list
meta-intel@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-intel


Re: [meta-intel] [PATCH 4/5] xf86-video-intel: mark opengl as a required distro feature

2013-09-06 Thread Kamble, Nitin A


 -Original Message-
 From: Burton, Ross [mailto:ross.bur...@intel.com]
 Sent: Friday, September 06, 2013 3:21 AM
 To: Darren Hart
 Cc: Kamble, Nitin A; Zanussi, Tom; meta-intel@yoctoproject.org; Purdie,
 Richard; Wold, Saul
 Subject: Re: [meta-intel] [PATCH 4/5] xf86-video-intel: mark opengl as a
 required distro feature
 
 On 5 September 2013 18:42, Darren Hart dvh...@linux.intel.com wrote:
   2) configure has a --disable-dri option, did you see if this works?
   Glancing at the source there might actually be a hard dependency on
   DRI headers, but that can be something we can fix in the X server.
 
  Why do you want to remove the DRI feature from the Intel X driver?
 
  By doing that conditionally, we can ensure it builds with or without
  opengl.
 
 Just chatted with the maintainer and he claims that if --disable-dri doesn't
 work we can file bugs/patches to make it work.
 
 Ross

Even though it is technically possible, it will be crippling the Intel graphics 
driver.
Do we have to do it? Is the other, non-crippling option of requesting opengl 
distro
feature so bad?

Thanks,
Nitin
___
meta-intel mailing list
meta-intel@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-intel


Re: [meta-intel] [PATCH 4/5] xf86-video-intel: mark opengl as a required distro feature

2013-09-06 Thread Burton, Ross
On 6 September 2013 17:00, Kamble, Nitin A nitin.a.kam...@intel.com wrote:
 Even though it is technically possible, it will be crippling the Intel 
 graphics driver.
 Do we have to do it? Is the other, non-crippling option of requesting opengl 
 distro
 feature so bad?

Feel free to put a comment along the lines that some of the hardware
acceleration requires the opengl distro feature, but as the driver
does (should) build without DRI then we should respect the users
choice if they explicitly decided to not have opengl in
DISTRO_FEATURES.

Ross
___
meta-intel mailing list
meta-intel@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-intel


Re: [meta-intel] [PATCH 0/9] move BSPs to v3.10 kernel + a misc commit

2013-09-06 Thread Tom Zanussi
On Thu, 2013-09-05 at 23:44 +, nitin.a.kam...@intel.com wrote:
 From: Nitin A Kamble nitin.a.kam...@intel.com
 
 Here are commits to move bunch of meta-intel BSPs to v3.10
 linux yocto kernel. All these commits are validated on the
 respective BSP.
 

Building sugarbay I'm getting a build error:

Build Configuration:
BB_VERSION= 1.19.1
BUILD_SYS = x86_64-linux
NATIVELSBSTRING   = Fedora-17
TARGET_SYS= x86_64-poky-linux
MACHINE   = sugarbay
DISTRO= poky
DISTRO_VERSION= 1.4+snapshot-20130906
TUNE_FEATURES = m64
TARGET_FPU= 
meta  
meta-yocto
meta-yocto-bsp= master1:ed3ef0823fde89371a473d20c0127c0bd16d062b
meta-intel
meta-sugarbay = master2:c5bce5dcaedc570c5220632c65dcf00773e0fd6b

NOTE: Resolving any missing task queue dependencies
NOTE: Preparing runqueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
NOTE: validating kernel config, see log.do_kernel_configcheck for
details
ERROR: Function failed: do_compile (log file is located
at 
/home/trz/yocto/master-cur/build/tmp/work/x86_64-poky-linux/flac/1.2.1-r4/temp/log.do_compile.7542)
ERROR: Logfile of failure stored
in: 
/home/trz/yocto/master-cur/build/tmp/work/x86_64-poky-linux/flac/1.2.1-r4/temp/log.do_compile.7542
Log data follows:
| DEBUG: SITE files ['endian-little', 'common-linux', 'common-glibc',
'bit-64', 'x86_64-linux', 'common']
| DEBUG: Executing shell function do_compile
| NOTE: make -j 8
| make  all-recursive




 ERROR: Function failed: do_compile (log file is located
at 
/home/trz/yocto/master-cur/build/tmp/work/x86_64-poky-linux/flac/1.2.1-r4/temp/log.do_compile.7542)
ERROR: Task 3538
(/home/trz/yocto/master-cur/meta/recipes-multimedia/flac/flac_1.2.1.bb,
do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 3641 tasks of which 1059 didn't need to
be rerun and 1 failed.
Waiting for 0 running tasks to finish:

Summary: 1 task failed:
  /home/trz/yocto/master-cur/meta/recipes-multimedia/flac/flac_1.2.1.bb,
do_compile
Summary: There was 1 ERROR message shown, returning a non-zero exit
code.


 Thanks,
 Nitin
 
 The following changes since commit a30089ab6a38541f729c680f1b3f05c3fbdc6ecf:
 
   nuc: mention required opengl distro feature in the README (2013-09-05 
 08:22:41 -0500)
 
 are available in the git repository at:
 
   git://git.yoctoproject.org/meta-intel-contrib nitin/misc2
   http://git.yoctoproject.org/cgit.cgi/meta-intel-contrib/log/?h=nitin/misc2
 
 Nitin A Kamble (9):
   chiefriver: linux-yocto_3.10 recipe extension
   chiefriver: move BSP to the v3.10 kernel
   jasperforest: linux-yocto_3.10 recipe extension
   jasperforest: move BSP to the v3.10 kernel
   nuc: linux-yocto_3.10 recipe extension
   nuc: move BSP to the v3.10 kernel
   sugarbay: linux-yocto_3.10 recipe extension
   sugarbay: move BSP to the v3.10 kernel
   xf86-video-intel: remove from meta-intel
 
  .../xorg-driver/xf86-video-intel_2.20.0.bb | 27 
 --
  meta-chiefriver/conf/machine/chiefriver.conf   |  2 +-
  .../recipes-kernel/linux/linux-yocto_3.10.bbappend | 12 ++
  meta-jasperforest/conf/machine/jasperforest.conf   |  2 +-
  .../recipes-kernel/linux/linux-yocto_3.10.bbappend | 11 +
  meta-nuc/conf/machine/nuc.conf |  2 +-
  .../recipes-kernel/linux/linux-yocto_3.10.bbappend | 14 +++
  meta-sugarbay/conf/machine/sugarbay.conf   |  2 +-
  .../recipes-kernel/linux/linux-yocto_3.10.bbappend | 12 ++
  9 files changed, 53 insertions(+), 31 deletions(-)
  delete mode 100644 
 common/recipes-graphics/xorg-driver/xf86-video-intel_2.20.0.bb
  create mode 100644 
 meta-chiefriver/recipes-kernel/linux/linux-yocto_3.10.bbappend
  create mode 100644 
 meta-jasperforest/recipes-kernel/linux/linux-yocto_3.10.bbappend
  create mode 100644 meta-nuc/recipes-kernel/linux/linux-yocto_3.10.bbappend
  create mode 100644 
 meta-sugarbay/recipes-kernel/linux/linux-yocto_3.10.bbappend
 


___
meta-intel mailing list
meta-intel@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-intel


Re: [meta-intel] [PATCH 0/9] move BSPs to v3.10 kernel + a misc commit

2013-09-06 Thread Kamble, Nitin A


 -Original Message-
 From: Zanussi, Tom
 Sent: Friday, September 06, 2013 5:06 PM
 To: Kamble, Nitin A
 Cc: Hart, Darren; meta-intel@yoctoproject.org
 Subject: Re: [meta-intel] [PATCH 0/9] move BSPs to v3.10 kernel + a misc
 commit
 
 On Thu, 2013-09-05 at 23:44 +, nitin.a.kam...@intel.com wrote:
  From: Nitin A Kamble nitin.a.kam...@intel.com
 
  Here are commits to move bunch of meta-intel BSPs to v3.10 linux yocto
  kernel. All these commits are validated on the respective BSP.
 
 
 Building sugarbay I'm getting a build error:
 
 Build Configuration:
 BB_VERSION= 1.19.1
 BUILD_SYS = x86_64-linux
 NATIVELSBSTRING   = Fedora-17
 TARGET_SYS= x86_64-poky-linux
 MACHINE   = sugarbay
 DISTRO= poky
 DISTRO_VERSION= 1.4+snapshot-20130906
 TUNE_FEATURES = m64
 TARGET_FPU= 
 meta
 meta-yocto
 meta-yocto-bsp=
 master1:ed3ef0823fde89371a473d20c0127c0bd16d062b
 meta-intel
 meta-sugarbay = master2:c5bce5dcaedc570c5220632c65dcf00773e0fd6b
 
 NOTE: Resolving any missing task queue dependencies
 NOTE: Preparing runqueue
 NOTE: Executing SetScene Tasks
 NOTE: Executing RunQueue Tasks
 NOTE: validating kernel config, see log.do_kernel_configcheck for
 details
 ERROR: Function failed: do_compile (log file is located
 at /home/trz/yocto/master-cur/build/tmp/work/x86_64-poky-
 linux/flac/1.2.1-r4/temp/log.do_compile.7542)
 ERROR: Logfile of failure stored
 in: /home/trz/yocto/master-cur/build/tmp/work/x86_64-poky-
 linux/flac/1.2.1-r4/temp/log.do_compile.7542
 Log data follows:
 | DEBUG: SITE files ['endian-little', 'common-linux', 'common-glibc',
 'bit-64', 'x86_64-linux', 'common']
 | DEBUG: Executing shell function do_compile
 | NOTE: make -j 8
 | make  all-recursive
 
 
 
 
  ERROR: Function failed: do_compile (log file is located
 at /home/trz/yocto/master-cur/build/tmp/work/x86_64-poky-
 linux/flac/1.2.1-r4/temp/log.do_compile.7542)
 ERROR: Task 3538
 (/home/trz/yocto/master-cur/meta/recipes-multimedia/flac/flac_1.2.1.bb,
 do_compile) failed with exit code '1'
 NOTE: Tasks Summary: Attempted 3641 tasks of which 1059 didn't need to
 be rerun and 1 failed.
 Waiting for 0 running tasks to finish:
 
 Summary: 1 task failed:
   /home/trz/yocto/master-cur/meta/recipes-multimedia/flac/flac_1.2.1.bb,
 do_compile
 Summary: There was 1 ERROR message shown, returning a non-zero exit
 code.
 

Tom,
These worked fine on my end with these commits:

** poky repo: master: commit f41b7a7d4d0463a0dfafe6621d01680b81798019
** meta-intel: master: commit 164067980e18e8ba60b317677ced2d75c3725dbe
** kernel version:linux-yocto-3.10.10+gitAUTOINC+ea900d1db6_ebc8428fdd-r0


I am firing another set of builds here, to see if things have changed with the 
newer
master HEADs.

I am not able to see the flac failure in your log here. Is it caused by kernel?

Thanks,
Nitin

 
  Thanks,
  Nitin
 
  The following changes since commit
 a30089ab6a38541f729c680f1b3f05c3fbdc6ecf:
 
nuc: mention required opengl distro feature in the README (2013-09-05
 08:22:41 -0500)
 
  are available in the git repository at:
 
git://git.yoctoproject.org/meta-intel-contrib nitin/misc2
http://git.yoctoproject.org/cgit.cgi/meta-intel-contrib/log/?h=nitin/misc2
 
  Nitin A Kamble (9):
chiefriver: linux-yocto_3.10 recipe extension
chiefriver: move BSP to the v3.10 kernel
jasperforest: linux-yocto_3.10 recipe extension
jasperforest: move BSP to the v3.10 kernel
nuc: linux-yocto_3.10 recipe extension
nuc: move BSP to the v3.10 kernel
sugarbay: linux-yocto_3.10 recipe extension
sugarbay: move BSP to the v3.10 kernel
xf86-video-intel: remove from meta-intel
 
   .../xorg-driver/xf86-video-intel_2.20.0.bb | 27 
  --
   meta-chiefriver/conf/machine/chiefriver.conf   |  2 +-
   .../recipes-kernel/linux/linux-yocto_3.10.bbappend | 12 ++
   meta-jasperforest/conf/machine/jasperforest.conf   |  2 +-
   .../recipes-kernel/linux/linux-yocto_3.10.bbappend | 11 +
   meta-nuc/conf/machine/nuc.conf |  2 +-
   .../recipes-kernel/linux/linux-yocto_3.10.bbappend | 14 +++
   meta-sugarbay/conf/machine/sugarbay.conf   |  2 +-
   .../recipes-kernel/linux/linux-yocto_3.10.bbappend | 12 ++
   9 files changed, 53 insertions(+), 31 deletions(-)
   delete mode 100644 common/recipes-graphics/xorg-driver/xf86-video-
 intel_2.20.0.bb
   create mode 100644 meta-chiefriver/recipes-kernel/linux/linux-
 yocto_3.10.bbappend
   create mode 100644 meta-jasperforest/recipes-kernel/linux/linux-
 yocto_3.10.bbappend
   create mode 100644 meta-nuc/recipes-kernel/linux/linux-
 yocto_3.10.bbappend
   create mode 100644 meta-sugarbay/recipes-kernel/linux/linux-
 yocto_3.10.bbappend
 
 

___
meta-intel mailing list
meta-intel@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-intel


Re: [meta-intel] [PATCH 0/9] move BSPs to v3.10 kernel + a misc commit

2013-09-06 Thread Tom Zanussi
On Fri, 2013-09-06 at 22:59 -0500, Kamble, Nitin A wrote:
 
  -Original Message-
  From: Zanussi, Tom
  Sent: Friday, September 06, 2013 5:06 PM
  To: Kamble, Nitin A
  Cc: Hart, Darren; meta-intel@yoctoproject.org
  Subject: Re: [meta-intel] [PATCH 0/9] move BSPs to v3.10 kernel + a misc
  commit
  
  On Thu, 2013-09-05 at 23:44 +, nitin.a.kam...@intel.com wrote:
   From: Nitin A Kamble nitin.a.kam...@intel.com
  
   Here are commits to move bunch of meta-intel BSPs to v3.10 linux yocto
   kernel. All these commits are validated on the respective BSP.
  
  
  Building sugarbay I'm getting a build error:
  
  Build Configuration:
  BB_VERSION= 1.19.1
  BUILD_SYS = x86_64-linux
  NATIVELSBSTRING   = Fedora-17
  TARGET_SYS= x86_64-poky-linux
  MACHINE   = sugarbay
  DISTRO= poky
  DISTRO_VERSION= 1.4+snapshot-20130906
  TUNE_FEATURES = m64
  TARGET_FPU= 
  meta
  meta-yocto
  meta-yocto-bsp=
  master1:ed3ef0823fde89371a473d20c0127c0bd16d062b
  meta-intel
  meta-sugarbay = master2:c5bce5dcaedc570c5220632c65dcf00773e0fd6b
  
  NOTE: Resolving any missing task queue dependencies
  NOTE: Preparing runqueue
  NOTE: Executing SetScene Tasks
  NOTE: Executing RunQueue Tasks
  NOTE: validating kernel config, see log.do_kernel_configcheck for
  details
  ERROR: Function failed: do_compile (log file is located
  at /home/trz/yocto/master-cur/build/tmp/work/x86_64-poky-
  linux/flac/1.2.1-r4/temp/log.do_compile.7542)
  ERROR: Logfile of failure stored
  in: /home/trz/yocto/master-cur/build/tmp/work/x86_64-poky-
  linux/flac/1.2.1-r4/temp/log.do_compile.7542
  Log data follows:
  | DEBUG: SITE files ['endian-little', 'common-linux', 'common-glibc',
  'bit-64', 'x86_64-linux', 'common']
  | DEBUG: Executing shell function do_compile
  | NOTE: make -j 8
  | make  all-recursive
  
  
  
  
   ERROR: Function failed: do_compile (log file is located
  at /home/trz/yocto/master-cur/build/tmp/work/x86_64-poky-
  linux/flac/1.2.1-r4/temp/log.do_compile.7542)
  ERROR: Task 3538
  (/home/trz/yocto/master-cur/meta/recipes-multimedia/flac/flac_1.2.1.bb,
  do_compile) failed with exit code '1'
  NOTE: Tasks Summary: Attempted 3641 tasks of which 1059 didn't need to
  be rerun and 1 failed.
  Waiting for 0 running tasks to finish:
  
  Summary: 1 task failed:
/home/trz/yocto/master-cur/meta/recipes-multimedia/flac/flac_1.2.1.bb,
  do_compile
  Summary: There was 1 ERROR message shown, returning a non-zero exit
  code.
  
 
 Tom,
 These worked fine on my end with these commits:
 
 ** poky repo: master: commit f41b7a7d4d0463a0dfafe6621d01680b81798019
 ** meta-intel: master: commit 164067980e18e8ba60b317677ced2d75c3725dbe
 ** kernel version:linux-yocto-3.10.10+gitAUTOINC+ea900d1db6_ebc8428fdd-r0
 
 
 I am firing another set of builds here, to see if things have changed with 
 the newer
 master HEADs.
 
 I am not able to see the flac failure in your log here. Is it caused by 
 kernel?
 

I would guess not, but if I can't get past it at least to a good build,
I can't test it, etc.

Tom

 Thanks,
 Nitin
 
  
   Thanks,
   Nitin
  
   The following changes since commit
  a30089ab6a38541f729c680f1b3f05c3fbdc6ecf:
  
 nuc: mention required opengl distro feature in the README (2013-09-05
  08:22:41 -0500)
  
   are available in the git repository at:
  
 git://git.yoctoproject.org/meta-intel-contrib nitin/misc2
 
   http://git.yoctoproject.org/cgit.cgi/meta-intel-contrib/log/?h=nitin/misc2
  
   Nitin A Kamble (9):
 chiefriver: linux-yocto_3.10 recipe extension
 chiefriver: move BSP to the v3.10 kernel
 jasperforest: linux-yocto_3.10 recipe extension
 jasperforest: move BSP to the v3.10 kernel
 nuc: linux-yocto_3.10 recipe extension
 nuc: move BSP to the v3.10 kernel
 sugarbay: linux-yocto_3.10 recipe extension
 sugarbay: move BSP to the v3.10 kernel
 xf86-video-intel: remove from meta-intel
  
.../xorg-driver/xf86-video-intel_2.20.0.bb | 27 
   --
meta-chiefriver/conf/machine/chiefriver.conf   |  2 +-
.../recipes-kernel/linux/linux-yocto_3.10.bbappend | 12 ++
meta-jasperforest/conf/machine/jasperforest.conf   |  2 +-
.../recipes-kernel/linux/linux-yocto_3.10.bbappend | 11 +
meta-nuc/conf/machine/nuc.conf |  2 +-
.../recipes-kernel/linux/linux-yocto_3.10.bbappend | 14 +++
meta-sugarbay/conf/machine/sugarbay.conf   |  2 +-
.../recipes-kernel/linux/linux-yocto_3.10.bbappend | 12 ++
9 files changed, 53 insertions(+), 31 deletions(-)
delete mode 100644 common/recipes-graphics/xorg-driver/xf86-video-
  intel_2.20.0.bb
create mode 100644 meta-chiefriver/recipes-kernel/linux/linux-
  yocto_3.10.bbappend
create mode 100644 meta-jasperforest/recipes-kernel/linux/linux-
  yocto_3.10.bbappend
create mode 100644 meta-nuc/recipes-kernel/linux/linux-
  yocto_3.10.bbappend