• R/O
  • HTTP
  • SSH
  • HTTPS

List of commits

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

hardware/intel/libva


RSS
Rev. Time Author
74047bc 2009-06-04 00:14:46 Austin Yuan

Remove uncessary link form libva.so by adding flag RTLD_NODELETE into
dlopen

Here is the background of this fix
Investigation indicates MRST Moblin Alpha1 0529 and 0520 uses the same libva source package
(which is from graphics Alpha1.4 pakcage
\\mid-depot.amr.corp.intel.com\Exchange\Moblin2\PackageSubmit\1.0.7_05142009-4_Alpha1.4),
and the rootcause is that the linkage of libva dependence libraries is
chaned in 0529 build. I am not sure why 0529 build has this change, and this
change indeed causes libva application segment fault issue.

See the detailed investigation and explanation in the attached
libva-0520-vs-0529.PNG picture.

Reproduce Steps(steps,current result, reproduce possibility)
===========================================================
(1) boot 0529 build
(2) Install libva testsuits into 0529 build
(3) run "mpeg4vld -x -i /var/clips/demo.m4v"

Expected result:
===========================================================
libVA application should exit cleanly

Possible root cause:
================================
There was a global change which helps reduce unnecessary linking
utilizing a
feature in binutils. We could opt liva out of this easily, however I
would
recommend fixing the package to do the right linking instead of relying
on the
tools to do so, Arjan, any suggestions?

Anas
=============================
summary of the picture:

the "new" libva does no longer link to

* libXv

* libdrm

* librt

* libpthread

HOWEVER; libva doesn't USE any of these! I don't see how not linking to
these could lead to a crash, since they truely are not used.

================================
Basically it is a known issue. If we remove these library link from
libVA, we will always get a segment fault when XCloseDisplay is called in
application.
Libva doesn't use these liXv/libdrm libraries, but libVA will dlopen HW
specific driver, and the driver links with these libXv/libdrm libraries.
We found the issue can be worked around by adding the link into libVA.
Using binutil to remove unnecessary link makes sense for most of libraries,
but for libva, it disables our workaround.

Austin

Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>

e7b7ae0 2009-05-25 14:55:52 Austin Yuan

Merge branch 'master' of ssh://git@moblin-mdi.jf.intel.com/umg-moorestown-libva

e743df7 2009-05-25 14:53:44 Austin Yuan

Added "intra_period" into VAEncSequenceParameterBufferH263

Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>

05c1104 2009-05-21 02:39:05 Jeff Rous

Make libva pass compilation with old and new dri2proto

2e2e3ba 2009-05-19 12:03:44 Austin Yuan

Test write permission

Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>

39c8b4b 2009-05-15 12:51:32 root

Make libva pass compilation with old DRI2 proto which dri2tokens.h hasn't DRI2DriverDRI definition

Signed-off-by: root <root@Austin-Develop.localdomain>

b817eb2 2009-05-12 20:12:30 Austin Yuan

Added build information (build date/time, git commit point) into the library

Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>

1b38fc9 2009-04-30 03:26:11 Austin Yuan

Fix binary compatibility issue caused by VAAPI ISO-C conformance fix

Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>

85fae81 2009-04-24 00:44:22 Austin Yuan

Added va_dri2str.h so that don't relay on dri2proto

Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>

0f07e7d 2009-04-23 05:03:45 Austin Yuan

Merge branch 'DRI2'

8b76c29 2009-04-23 05:03:05 Austin Yuan

Must link with Xv, orelse segment fault when XCloseDisplay

Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>

9145576 2009-04-23 04:54:26 Austin Yuan

More update for DRI2 support

Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>

997d59c 2009-04-23 01:38:56 root

Merge branch 'DRI2' of ssh://git@moblin-mdi.jf.intel.com/umg-moorestown-libva into DRI2

69c5eb6 2009-04-23 01:37:59 root

Added DRI2 files

9cab1a3 2009-04-23 01:36:20 Austin Yuan

Initial support for DRI2

Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>

dbc7ea7 2009-04-04 07:03:17 Austin Yuan

Fix vainfo unsupported_profile vastatus issue

Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>

696e11d 2009-04-04 02:15:10 Austin Yuan

vainfo: print more information about supported profile:entrypoints

Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>

d8618bc 2009-03-27 08:17:03 Austin Yuan

Revert "patch 108_drivers_path.patch"

This reverts commit adac1a519de44803b0cdfff29829508cdd419a01.

8d3eb70 2009-03-27 06:09:55 Ren, Zhaohan

Add 'bits' field for structure VAEncSliceParameterBuffer

8cb6b20 2009-03-26 07:03:10 Ren, Zhaohan

Add -DIN_LIBVA

a02db99 2009-03-26 06:45:59 Ren, Zhaohan

Merge branch 'master' of ssh://git@moblin-mdi.jf.intel.com/umg-moorestown-libva

f82ef61 2009-03-26 06:44:33 Ren, Zhaohan

Move files from X11 to va

5963c26 2009-03-26 05:12:51 Ren, Zhaohan

repatch 106_libva_includedir.patch, modify #include <va/va_x11.h> to #include <X11/va_x11.h>

33fb443 2009-03-26 04:50:48 Ren, Zhaohan

patch 107_cosmetics.patch

0c76240 2009-03-26 04:37:51 Ren, Zhaohan

patch 109_VA_FOURCC.patch

adac1a5 2009-03-26 04:20:31 Ren, Zhaohan

patch 108_drivers_path.patch

af4671a 2009-03-26 03:55:43 Ren, Zhaohan

patch 106_libva_includedir.patch

66d7925 2009-03-26 03:45:35 Ren, Zhaohan

patch 105_libdrm_headers_check.patch

faef48a 2009-03-26 03:27:15 Ren, Zhaohan

patch 103_fix_includes.patch

6589ff7 2009-03-26 03:25:03 Ren, Zhaohan

patch 102_fix_make_dist.patch