Bug 3932

Summary: update libva to at least version 1.1.0
Product: [Build System, Metadata & Runtime] BSPs Reporter: Nitin Kamble <nitin.a.kamble>
Component: bsps-meta-intelAssignee: Laurentiu Palcu <laurentiu.palcu>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Medium CC: nitin.a.kamble, ross.burton, sgw, tom.zanussi
Version: 1.4   
Target Milestone: 1.4 M5   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: ---
Bug Depends on:    
Bug Blocks: 3526    

Description Nitin Kamble 2013-02-25 21:02:43 UTC
This is needed to support the officially released Intel graphics stack.

Reference:
  https://01.org/linuxgraphics/downloads/2012/2012q4-intel-graphics-stack-release
Comment 1 Laurentiu Palcu 2013-03-06 09:07:37 UTC
Patch sent on the ML on Feb 27. Still not merged.
Comment 2 Nitin Kamble 2013-04-04 20:21:22 UTC
the patch on ML is breaking the wayland support in the poky. So we can not take the patch in yet.
Comment 3 Nitin Kamble 2013-04-04 20:24:16 UTC
For example here is a  failure for sugarbay BSP.
| va_display_wayland.c:61:18: warning: assignment makes pointer from 
| integer without a cast [enabled by default]
| va_display_wayland.c: In function 'va_open_display_wayland':
| va_display_wayland.c:95:9: error: too many arguments to function 'wl_display_get_fd'
| In file included from ../../va/wayland/va_wayland.h:31:0,
|                  from va_display_wayland.c:28:
| /srv/home/nitin/build-test-bsps/build-sugarbay/tmp/sysroots/sugarbay/u
| sr/include/wayland-client.h:142:5: note: declared here
| make[3]: *** [libva_display_la-va_display_wayland.lo] Error 1
| make[3]: *** Waiting for unfinished jobs....
| make[3]: Leaving directory `/srv/home/nitin/build-test-bsps/build-sugarbay/tmp/work/x86_64-poky-linux/libva/1.1.0-r1.0/libva-1.1.0/test/common'
| make[2]: *** [all-recursive] Error 1
| make[2]: Leaving directory `/srv/home/nitin/build-test-bsps/build-sugarbay/tmp/work/x86_64-poky-linux/libva/1.1.0-r1.0/libva-1.1.0/test'
| make[1]: *** [all-recursive] Error 1
| make[1]: Leaving directory `/srv/home/nitin/build-test-bsps/build-sugarbay/tmp/work/x86_64-poky-linux/libva/1.1.0-r1.0/libva-1.1.0'
| make: *** [all] Error 2
| ERROR: oe_runmake failed
| ERROR: Function failed: do_compile (see 
| /srv/home/nitin/build-test-bsps/build-sugarbay/tmp/work/x86_64-poky-li
| nux/libva/1.1.0-r1.0/temp/log.do_compile.42581 for further 
| information)
ERROR: Task 2352 (/srv/home/nitin/build-test-bsps/poky.git/../meta-intel.git/common/recipes-multimedia/libva/libva_1.1.0.bb, do_compile) failed with exit code '1'
Comment 4 Nitin Kamble 2013-04-04 20:25:24 UTC
Ross,
  can you provide any help here?
Comment 5 Tom Zanussi 2013-04-08 15:53:00 UTC
Hopefully this removes the logjam:

https://lists.yoctoproject.org/pipermail/meta-intel/2013-April/000636.html
Comment 6 Ross Burton 2013-04-08 16:35:33 UTC
To get this in writing, libva 1.1.1 is required for Wayland 1.0 support.
Comment 7 Tom Zanussi 2013-04-10 15:59:49 UTC
Removed dependency 3469, since the below patchset fixes it locally for meta-intel (the patch that fixes it locally will be submitted as an RFC to oe-core).

Fixed by meta-intel/master commits 8fec113178c52c0a4fbcb2bb44159ce685302f60 through fd58fb07cf4fcc0553d0608f5688fc03e41ea15c.

There may be further patches forthcoming on top of this which for example re-enable video acceleration in wayland, but what's there now should satisfy this requirement without those additional capabilities.