Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can't compile on clear linux #303

Closed
nottux opened this issue Nov 27, 2017 · 11 comments
Closed

can't compile on clear linux #303

nottux opened this issue Nov 27, 2017 · 11 comments

Comments

@nottux
Copy link

nottux commented Nov 27, 2017

i am trying to get those files:
libva.so.1
libva-x11.so.1
libva-drm.so.1

And those files exist:

utku@clr-449e9b2a44f8458bb4885604dc172a1c ~ $ find /usr -name libva*
/usr/lib64/libva-x11.so
/usr/lib64/libva.so
/usr/lib64/libva-x11.so.2.0.0
/usr/lib64/libva-drm.so.2.0.0
/usr/lib64/libva.so.2
/usr/lib64/totem/plugins/variable-rate/libvariable-rate.so
/usr/lib64/libva-drm.so
/usr/lib64/libva-wayland.so
/usr/lib64/libva-glx.so.2.0.0
/usr/lib64/libva-drm.so.2
/usr/lib64/libva-wayland.so.2.0.0
/usr/lib64/libva-glx.so.2
/usr/lib64/libva-wayland.so.2
/usr/lib64/libva.so.2.0.0
/usr/lib64/pkgconfig/libva-wayland.pc
/usr/lib64/pkgconfig/libva-glx.pc
/usr/lib64/pkgconfig/libva.pc
/usr/lib64/pkgconfig/libva-drm.pc
/usr/lib64/pkgconfig/libva-x11.pc
/usr/lib64/libva-glx.so
/usr/lib64/libva-x11.so.2

So i assume that if i compile libav and install to /usr/local, i can get these *.so.1 files
Terminal output when i tried to compile:

utku@clr-449e9b2a44f8458bb4885604dc172a1c ~/Programlar/libva-master $ ./autogen.sh
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal -I m4 ${ACLOCAL_FLAGS}
autoreconf: configure.ac: tracing
autoreconf: running: libtoolize --copy
libtoolize: putting auxiliary files in '.'.
libtoolize: copying file './ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
libtoolize: copying file 'm4/libtool.m4'
libtoolize: copying file 'm4/ltoptions.m4'
libtoolize: copying file 'm4/ltsugar.m4'
libtoolize: copying file 'm4/ltversion.m4'
libtoolize: copying file 'm4/lt~obsolete.m4'
autoreconf: running: /usr/bin/autoconf
autoreconf: running: /usr/bin/autoheader
autoreconf: running: automake --add-missing --copy --no-force
configure.ac:166: installing './compile'
configure.ac:166: installing './config.guess'
configure.ac:166: installing './config.sub'
configure.ac:93: installing './install-sh'
configure.ac:93: installing './missing'
va/Makefile.am: installing './depcomp'
va/wayland/Makefile.am:68: warning: '%'-style pattern rules are a GNU make extension
va/wayland/Makefile.am:70: warning: '%'-style pattern rules are a GNU make extension
va/wayland/Makefile.am:72: warning: '%'-style pattern rules are a GNU make extension
va/wayland/Makefile.am:30: warning: source file '$(top_srcdir)/va/drm/va_drm_utils.c' is in a subdirectory,
va/wayland/Makefile.am:30: but option 'subdir-objects' is disabled
automake: warning: possible forward-incompatibility.
automake: At least a source file is in a subdirectory, but the 'subdir-objects'
automake: automake option hasn't been enabled.  For now, the corresponding output
automake: object file(s) will be placed in the top-level directory.  However,
automake: this behaviour will change in future Automake versions: they will
automake: unconditionally cause object files to be placed in the same subdirectory
automake: of the corresponding sources.
automake: You are advised to start using 'subdir-objects' option throughout your
automake: project, to avoid future incompatibilities.
autoreconf: Leaving directory `.'
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking how to print strings... printf
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... gcc3
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... gcc-nm
checking the name lister (gcc-nm) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... dlltool
checking how to associate runtime and link libraries... printf %s\n
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... gcc-ranlib
checking command to parse gcc-nm output from gcc object... ok
checking for sysroot... no
checking for a working dd... /usr/bin/dd
checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
checking for mt... no
checking if : is a manifest tool... no
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking dependency style of gcc... (cached) gcc3
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for ld used by g++... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for a sed that does not truncate output... (cached) /usr/bin/sed
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for ANSI C header files... (cached) yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking whether __attribute__((visibility())) is supported... yes
checking for libdrm >= 2.4... yes
checking for x11 xext xfixes... yes
checking for gl x11... yes
checking GL/gl.h usability... yes
checking GL/gl.h presence... yes
checking for GL/gl.h... yes
checking GL/glx.h usability... yes
checking GL/glx.h presence... yes
checking for GL/glx.h... yes
checking for glXCreateContext in -lGL... yes
checking for wayland-client >= 1.11.0... yes
checking for wayland-scanner... /usr/bin/wayland-scanner
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating doc/Makefile
config.status: creating pkgconfig/Makefile
config.status: creating pkgconfig/libva-drm.pc
config.status: creating pkgconfig/libva-glx.pc
config.status: creating pkgconfig/libva-wayland.pc
config.status: creating pkgconfig/libva-x11.pc
config.status: creating pkgconfig/libva.pc
config.status: creating va/Makefile
config.status: creating va/drm/Makefile
config.status: creating va/glx/Makefile
config.status: creating va/va_version.h
config.status: creating va/wayland/Makefile
config.status: creating va/x11/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands

libva - 2.0.1.pre1 (VA-API 1.0.0)

Installation prefix .............. : /usr/local
Default driver path .............. : ${exec_prefix}/lib/dri
Extra window systems ............. : drm x11 glx wayland
Build documentation .............. : no
Build with messaging ............. : yes

Now type 'make' to compile libva.
utku@clr-449e9b2a44f8458bb4885604dc172a1c ~/Programlar/libva-master $ make -j4
make  all-recursive
make[1]: Entering directory '/home/utku/Programlar/libva-master'
Making all in va
make[2]: Entering directory '/home/utku/Programlar/libva-master/va'
Making all in drm
make[3]: Entering directory '/home/utku/Programlar/libva-master/va/drm'
  CC       va_drm.lo
  CC       va_drm_auth.lo
  CC       va_drm_utils.lo
  CC       va_drm_auth_x11.lo
  CCLD     libva_drm.la
/usr/bin/ar: `u' modifier ignored since `D' is the default (see `U')
make[3]: Leaving directory '/home/utku/Programlar/libva-master/va/drm'
Making all in x11
make[3]: Entering directory '/home/utku/Programlar/libva-master/va/x11'
  CC       va_dri2.lo
  CC       dri2_util.lo
  CC       va_dricommon.lo
  CC       va_fglrx.lo
  CC       va_nvctrl.lo
  CC       va_x11.lo
  CCLD     libva_x11.la
/usr/bin/ar: `u' modifier ignored since `D' is the default (see `U')
make[3]: Leaving directory '/home/utku/Programlar/libva-master/va/x11'
Making all in glx
make[3]: Entering directory '/home/utku/Programlar/libva-master/va/glx'
  CC       va_glx.lo
  CC       va_glx_impl.lo
va_glx_impl.c: In function ‘vaDestroySurfaceGLX_impl_libva’:
va_glx_impl.c:468:12: error: ‘old_cs.context’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
     return glXMakeCurrent(new_cs->display, new_cs->window, new_cs->context);
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
va_glx_impl.c:942:31: note: ‘old_cs.context’ was declared here
     struct OpenGLContextState old_cs, *new_cs;
                               ^~~~~~
va_glx_impl.c:468:12: error: ‘old_cs.window’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
     return glXMakeCurrent(new_cs->display, new_cs->window, new_cs->context);
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
va_glx_impl.c:942:31: note: ‘old_cs.window’ was declared here
     struct OpenGLContextState old_cs, *new_cs;
                               ^~~~~~
va_glx_impl.c:468:12: error: ‘old_cs.display’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
     return glXMakeCurrent(new_cs->display, new_cs->window, new_cs->context);
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
va_glx_impl.c:942:31: note: ‘old_cs.display’ was declared here
     struct OpenGLContextState old_cs, *new_cs;
                               ^~~~~~
va_glx_impl.c: In function ‘vaCopySurfaceGLX_impl_libva’:
va_glx_impl.c:468:12: error: ‘old_cs.context’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
     return glXMakeCurrent(new_cs->display, new_cs->window, new_cs->context);
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
va_glx_impl.c:1075:31: note: ‘old_cs.context’ was declared here
     struct OpenGLContextState old_cs;
                               ^~~~~~
va_glx_impl.c:468:12: error: ‘old_cs.window’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
     return glXMakeCurrent(new_cs->display, new_cs->window, new_cs->context);
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
va_glx_impl.c:1075:31: note: ‘old_cs.window’ was declared here
     struct OpenGLContextState old_cs;
                               ^~~~~~
va_glx_impl.c:468:12: error: ‘old_cs.display’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
     return glXMakeCurrent(new_cs->display, new_cs->window, new_cs->context);
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
va_glx_impl.c:1075:31: note: ‘old_cs.display’ was declared here
     struct OpenGLContextState old_cs;
                               ^~~~~~
cc1: all warnings being treated as errors
make[3]: *** [Makefile:478: va_glx_impl.lo] Error 1
make[3]: Leaving directory '/home/utku/Programlar/libva-master/va/glx'
make[2]: *** [Makefile:698: all-recursive] Error 1
make[2]: Leaving directory '/home/utku/Programlar/libva-master/va'
make[1]: *** [Makefile:459: all-recursive] Error 1
make[1]: Leaving directory '/home/utku/Programlar/libva-master'
make: *** [Makefile:391: all] Error 2

Also installed bundles list:

utku@clr-449e9b2a44f8458bb4885604dc172a1c ~/Programlar/libva-master $ sudo swupd -v bundle-list
sudo: /usr/share/defaults/sudo/sudoers.d is world writable
swupd-client swupd 3.13.1
   Copyright (C) 2012-2017 Intel Corporation

Compile-time options: +BZIP2 +SIGVERIFY -COVERAGE -BSDTAR
utku@clr-449e9b2a44f8458bb4885604dc172a1c ~/Programlar/libva-master $ sudo swupd  bundle-list
sudo: /usr/share/defaults/sudo/sudoers.d is world writable
swupd-client bundle list 3.13.1
   Copyright (C) 2012-2017 Intel Corporation

R-basic
bootloader
c-basic
clr-devops
cryptography
database-basic
desktop
desktop-apps
desktop-apps-extras
desktop-assets
desktop-autostart
desktop-dev
desktop-gnomelibs
desktop-locales
dev-utils
dev-utils-dev
editors
editors-dev
games
games-dev
go-basic
java-basic
kernel-native
koji
kvm-host
libX11client
machine-learning-basic
mail-utils
mail-utils-dev
mixer
network-basic
network-basic-dev
openssh-server
os-clr-on-clr
os-core
os-core-dev
os-core-update
os-core-update-dev
os-installer
os-testsuite
os-testsuite-phoronix
os-utils-gui
os-utils-gui-dev
perl-basic
perl-basic-dev
php-basic
python-basic
python-basic-dev
python-extras
python3-basic
ruby-basic
rust-basic
shells
storage-utils
storage-utils-dev
sysadmin-basic
sysadmin-basic-dev
telemetrics
user-basic
user-basic-dev
web-server-basic
xfce4-desktop
Current OS version: 19270
@nottux
Copy link
Author

nottux commented Nov 27, 2017

also compiling from 1.8 branch gave me this error:

utku@clr-449e9b2a44f8458bb4885604dc172a1c ~/Programlar/intel-vaapi-driver-1.8-branch $ ./autogen.sh
ln: failed to create symbolic link '.git/hooks/pre-commit': No such file or directory
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal 
autoreconf: configure.ac: tracing
autoreconf: running: libtoolize --copy
libtoolize: putting auxiliary files in '.'.
libtoolize: copying file './ltmain.sh'
libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.ac,
libtoolize: and rerunning libtoolize and aclocal.
libtoolize: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
autoreconf: running: /usr/bin/autoconf
autoreconf: running: /usr/bin/autoheader
autoreconf: running: automake --add-missing --copy --no-force
configure.ac:73: installing './compile'
configure.ac:73: installing './config.guess'
configure.ac:73: installing './config.sub'
configure.ac:26: installing './install-sh'
configure.ac:26: installing './missing'
src/Makefile.am:116: warning: '%'-style pattern rules are a GNU make extension
src/Makefile.am: installing './depcomp'
autoreconf: Leaving directory `.'
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether UID '1000' is supported by ustar format... yes
checking whether GID '1000' is supported by ustar format... yes
checking how to create a ustar tar archive... gnutar
checking whether make supports nested variables... (cached) yes
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking how to print strings... printf
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... gcc3
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... gcc-nm
checking the name lister (gcc-nm) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... dlltool
checking how to associate runtime and link libraries... printf %s\n
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... gcc-ranlib
checking command to parse gcc-nm output from gcc object... ok
checking for sysroot... no
checking for a working dd... /usr/bin/dd
checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
checking for mt... no
checking if : is a manifest tool... no
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking dependency style of gcc... (cached) gcc3
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for ld used by g++... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether byte ordering is bigendian... no
checking for ANSI C header files... (cached) yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for sin in -lm... yes
checking for log2f... yes
checking for python2... python2
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for libdrm >= 2.4.52... yes
checking for intel-gen4asm >= 1.9... no
checking for intel-gen4asm... no
checking for git... /usr/bin/git
checking for libva >= 0.39.4... yes
checking for libva-drm... yes
checking drm_fourcc.h usability... yes
checking drm_fourcc.h presence... yes
checking for drm_fourcc.h... yes
checking for x11... yes
checking for xext... yes
checking for xfixes... yes
checking for libva-x11... yes
checking for VA drivers path... /usr/lib64/dri
checking for egl... yes
checking EGL/egl.h usability... yes
checking EGL/egl.h presence... yes
checking for EGL/egl.h... yes
checking for eglGetDisplay in -lEGL... yes
checking for libva-wayland... yes
checking for wayland-client... yes
checking for wayland-scanner... /usr/bin/wayland-scanner
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating src/shaders/Makefile
config.status: creating src/shaders/brc/Makefile
config.status: creating src/shaders/brc/bsw/Makefile
config.status: creating src/shaders/brc/skl/Makefile
config.status: creating src/shaders/h264/Makefile
config.status: creating src/shaders/h264/ildb/Makefile
config.status: creating src/shaders/h264/mc/Makefile
config.status: creating src/shaders/mpeg2/Makefile
config.status: creating src/shaders/mpeg2/vld/Makefile
config.status: creating src/shaders/post_processing/Makefile
config.status: creating src/shaders/post_processing/gen5_6/Makefile
config.status: creating src/shaders/post_processing/gen7/Makefile
config.status: creating src/shaders/post_processing/gen75/Makefile
config.status: creating src/shaders/post_processing/gen8/Makefile
config.status: creating src/shaders/post_processing/gen9/Makefile
config.status: creating src/shaders/render/Makefile
config.status: creating src/shaders/utils/Makefile
config.status: creating src/shaders/vme/Makefile
config.status: creating test/Makefile
config.status: creating src/config.h
config.status: executing depfiles commands
config.status: executing libtool commands

intel-vaapi-driver configuration summary:

VA-API version ................... : 1.0.0
VA-API drivers path .............. : /usr/lib64/dri
Windowing systems ................ : drm x11 wayland
Build tests ...................... : no

utku@clr-449e9b2a44f8458bb4885604dc172a1c ~/Programlar/intel-vaapi-driver-1.8-branch $ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether UID '1000' is supported by ustar format... yes
checking whether GID '1000' is supported by ustar format... yes
checking how to create a ustar tar archive... gnutar
checking whether make supports nested variables... (cached) yes
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking how to print strings... printf
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... gcc3
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... gcc-nm
checking the name lister (gcc-nm) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... dlltool
checking how to associate runtime and link libraries... printf %s\n
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... gcc-ranlib
checking command to parse gcc-nm output from gcc object... ok
checking for sysroot... no
checking for a working dd... /usr/bin/dd
checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
checking for mt... no
checking if : is a manifest tool... no
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking dependency style of gcc... (cached) gcc3
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for ld used by g++... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether byte ordering is bigendian... no
checking for ANSI C header files... (cached) yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for sin in -lm... yes
checking for log2f... yes
checking for python2... python2
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for libdrm >= 2.4.52... yes
checking for intel-gen4asm >= 1.9... no
checking for intel-gen4asm... no
checking for git... /usr/bin/git
checking for libva >= 0.39.4... yes
checking for libva-drm... yes
checking drm_fourcc.h usability... yes
checking drm_fourcc.h presence... yes
checking for drm_fourcc.h... yes
checking for x11... yes
checking for xext... yes
checking for xfixes... yes
checking for libva-x11... yes
checking for VA drivers path... /usr/lib64/dri
checking for egl... yes
checking EGL/egl.h usability... yes
checking EGL/egl.h presence... yes
checking for EGL/egl.h... yes
checking for eglGetDisplay in -lEGL... yes
checking for libva-wayland... yes
checking for wayland-client... yes
checking for wayland-scanner... /usr/bin/wayland-scanner
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating src/shaders/Makefile
config.status: creating src/shaders/brc/Makefile
config.status: creating src/shaders/brc/bsw/Makefile
config.status: creating src/shaders/brc/skl/Makefile
config.status: creating src/shaders/h264/Makefile
config.status: creating src/shaders/h264/ildb/Makefile
config.status: creating src/shaders/h264/mc/Makefile
config.status: creating src/shaders/mpeg2/Makefile
config.status: creating src/shaders/mpeg2/vld/Makefile
config.status: creating src/shaders/post_processing/Makefile
config.status: creating src/shaders/post_processing/gen5_6/Makefile
config.status: creating src/shaders/post_processing/gen7/Makefile
config.status: creating src/shaders/post_processing/gen75/Makefile
config.status: creating src/shaders/post_processing/gen8/Makefile
config.status: creating src/shaders/post_processing/gen9/Makefile
config.status: creating src/shaders/render/Makefile
config.status: creating src/shaders/utils/Makefile
config.status: creating src/shaders/vme/Makefile
config.status: creating test/Makefile
config.status: creating src/config.h
config.status: src/config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands

intel-vaapi-driver configuration summary:

VA-API version ................... : 1.0.0
VA-API drivers path .............. : /usr/lib64/dri
Windowing systems ................ : drm x11 wayland
Build tests ...................... : no

utku@clr-449e9b2a44f8458bb4885604dc172a1c ~/Programlar/intel-vaapi-driver-1.8-branch $ make -j4
Making all in src
make[1]: Entering directory '/home/utku/Programlar/intel-vaapi-driver-1.8-branch/src'
  GEN      intel_version.h
make  all-recursive
make[2]: Entering directory '/home/utku/Programlar/intel-vaapi-driver-1.8-branch/src'
Making all in shaders
make[3]: Entering directory '/home/utku/Programlar/intel-vaapi-driver-1.8-branch/src/shaders'
Making all in h264
make[4]: Entering directory '/home/utku/Programlar/intel-vaapi-driver-1.8-branch/src/shaders/h264'
Making all in ildb
make[5]: Entering directory '/home/utku/Programlar/intel-vaapi-driver-1.8-branch/src/shaders/h264/ildb'
make[5]: Nothing to be done for 'all'.
make[5]: Leaving directory '/home/utku/Programlar/intel-vaapi-driver-1.8-branch/src/shaders/h264/ildb'
Making all in mc
make[5]: Entering directory '/home/utku/Programlar/intel-vaapi-driver-1.8-branch/src/shaders/h264/mc'
make[5]: Nothing to be done for 'all'.
make[5]: Leaving directory '/home/utku/Programlar/intel-vaapi-driver-1.8-branch/src/shaders/h264/mc'
make[5]: Entering directory '/home/utku/Programlar/intel-vaapi-driver-1.8-branch/src/shaders/h264'
make[5]: Nothing to be done for 'all-am'.
make[5]: Leaving directory '/home/utku/Programlar/intel-vaapi-driver-1.8-branch/src/shaders/h264'
make[4]: Leaving directory '/home/utku/Programlar/intel-vaapi-driver-1.8-branch/src/shaders/h264'
Making all in mpeg2
make[4]: Entering directory '/home/utku/Programlar/intel-vaapi-driver-1.8-branch/src/shaders/mpeg2'
Making all in vld
make[5]: Entering directory '/home/utku/Programlar/intel-vaapi-driver-1.8-branch/src/shaders/mpeg2/vld'
make[5]: Nothing to be done for 'all'.
make[5]: Leaving directory '/home/utku/Programlar/intel-vaapi-driver-1.8-branch/src/shaders/mpeg2/vld'
make[5]: Entering directory '/home/utku/Programlar/intel-vaapi-driver-1.8-branch/src/shaders/mpeg2'
make[5]: Nothing to be done for 'all-am'.
make[5]: Leaving directory '/home/utku/Programlar/intel-vaapi-driver-1.8-branch/src/shaders/mpeg2'
make[4]: Leaving directory '/home/utku/Programlar/intel-vaapi-driver-1.8-branch/src/shaders/mpeg2'
Making all in render
make[4]: Entering directory '/home/utku/Programlar/intel-vaapi-driver-1.8-branch/src/shaders/render'
make[4]: Nothing to be done for 'all'.
make[4]: Leaving directory '/home/utku/Programlar/intel-vaapi-driver-1.8-branch/src/shaders/render'
Making all in post_processing
make[4]: Entering directory '/home/utku/Programlar/intel-vaapi-driver-1.8-branch/src/shaders/post_processing'
Making all in gen5_6
make[5]: Entering directory '/home/utku/Programlar/intel-vaapi-driver-1.8-branch/src/shaders/post_processing/gen5_6'
make[5]: Nothing to be done for 'all'.
make[5]: Leaving directory '/home/utku/Programlar/intel-vaapi-driver-1.8-branch/src/shaders/post_processing/gen5_6'
Making all in gen7
make[5]: Entering directory '/home/utku/Programlar/intel-vaapi-driver-1.8-branch/src/shaders/post_processing/gen7'
make[5]: Nothing to be done for 'all'.
make[5]: Leaving directory '/home/utku/Programlar/intel-vaapi-driver-1.8-branch/src/shaders/post_processing/gen7'
Making all in gen75
make[5]: Entering directory '/home/utku/Programlar/intel-vaapi-driver-1.8-branch/src/shaders/post_processing/gen75'
make[5]: Nothing to be done for 'all'.
make[5]: Leaving directory '/home/utku/Programlar/intel-vaapi-driver-1.8-branch/src/shaders/post_processing/gen75'
Making all in gen8
make[5]: Entering directory '/home/utku/Programlar/intel-vaapi-driver-1.8-branch/src/shaders/post_processing/gen8'
make[5]: Nothing to be done for 'all'.
make[5]: Leaving directory '/home/utku/Programlar/intel-vaapi-driver-1.8-branch/src/shaders/post_processing/gen8'
Making all in gen9
make[5]: Entering directory '/home/utku/Programlar/intel-vaapi-driver-1.8-branch/src/shaders/post_processing/gen9'
make[5]: Nothing to be done for 'all'.
make[5]: Leaving directory '/home/utku/Programlar/intel-vaapi-driver-1.8-branch/src/shaders/post_processing/gen9'
make[5]: Entering directory '/home/utku/Programlar/intel-vaapi-driver-1.8-branch/src/shaders/post_processing'
make[5]: Nothing to be done for 'all-am'.
make[5]: Leaving directory '/home/utku/Programlar/intel-vaapi-driver-1.8-branch/src/shaders/post_processing'
make[4]: Leaving directory '/home/utku/Programlar/intel-vaapi-driver-1.8-branch/src/shaders/post_processing'
Making all in vme
make[4]: Entering directory '/home/utku/Programlar/intel-vaapi-driver-1.8-branch/src/shaders/vme'
make[4]: Nothing to be done for 'all'.
make[4]: Leaving directory '/home/utku/Programlar/intel-vaapi-driver-1.8-branch/src/shaders/vme'
Making all in utils
make[4]: Entering directory '/home/utku/Programlar/intel-vaapi-driver-1.8-branch/src/shaders/utils'
make[4]: Nothing to be done for 'all'.
make[4]: Leaving directory '/home/utku/Programlar/intel-vaapi-driver-1.8-branch/src/shaders/utils'
Making all in brc
make[4]: Entering directory '/home/utku/Programlar/intel-vaapi-driver-1.8-branch/src/shaders/brc'
Making all in bsw
make[5]: Entering directory '/home/utku/Programlar/intel-vaapi-driver-1.8-branch/src/shaders/brc/bsw'
make[5]: Nothing to be done for 'all'.
make[5]: Leaving directory '/home/utku/Programlar/intel-vaapi-driver-1.8-branch/src/shaders/brc/bsw'
Making all in skl
make[5]: Entering directory '/home/utku/Programlar/intel-vaapi-driver-1.8-branch/src/shaders/brc/skl'
make[5]: Nothing to be done for 'all'.
make[5]: Leaving directory '/home/utku/Programlar/intel-vaapi-driver-1.8-branch/src/shaders/brc/skl'
make[5]: Entering directory '/home/utku/Programlar/intel-vaapi-driver-1.8-branch/src/shaders/brc'
make[5]: Nothing to be done for 'all-am'.
make[5]: Leaving directory '/home/utku/Programlar/intel-vaapi-driver-1.8-branch/src/shaders/brc'
make[4]: Leaving directory '/home/utku/Programlar/intel-vaapi-driver-1.8-branch/src/shaders/brc'
make[4]: Entering directory '/home/utku/Programlar/intel-vaapi-driver-1.8-branch/src/shaders'
make[4]: Nothing to be done for 'all-am'.
make[4]: Leaving directory '/home/utku/Programlar/intel-vaapi-driver-1.8-branch/src/shaders'
make[3]: Leaving directory '/home/utku/Programlar/intel-vaapi-driver-1.8-branch/src/shaders'
make[3]: Entering directory '/home/utku/Programlar/intel-vaapi-driver-1.8-branch/src'
  CC       libi965_drv_video_la-dso_utils.lo
  CC       libi965_drv_video_la-gen6_mfc.lo
  CC       libi965_drv_video_la-gen6_mfc_common.lo
  CC       libi965_drv_video_la-gen6_mfd.lo
  CC       libi965_drv_video_la-gen6_vme.lo
  CC       libi965_drv_video_la-gen7_vme.lo
  CC       libi965_drv_video_la-gen7_mfc.lo
  CC       libi965_drv_video_la-gen7_mfd.lo
  CC       libi965_drv_video_la-gen75_mfd.lo
  CC       libi965_drv_video_la-gen75_mfc.lo
gen6_mfc_common.c: In function ‘intel_mfc_avc_pipeline_header_programing’:
gen6_mfc_common.c:625:5: warning: ‘VAEncPackedHeaderH264_SEI’ is deprecated [-Wdeprecated-declarations]
     idx = va_enc_packed_type_to_idx(VAEncPackedHeaderH264_SEI);
     ^~~
In file included from /usr/include/va/va.h:3357:0,
                 from /usr/include/va/va_backend.h:32,
                 from intel_driver.h:13,
                 from intel_batchbuffer.h:9,
                 from gen6_mfc_common.c:36:
/usr/include/va/va_enc_h264.h:125:5: note: declared here
     VAEncPackedHeaderH264_SEI va_deprecated_enum  = (0x80000000 | 1),
     ^~~~~~~~~~~~~~~~~~~~~~~~~
  CC       libi965_drv_video_la-gen8_encoder_vp8.lo
  CC       libi965_drv_video_la-gen8_mfc.lo
  CC       libi965_drv_video_la-gen8_mfd.lo
  CC       libi965_drv_video_la-gen8_vme.lo
  CC       libi965_drv_video_la-gen9_encoder_vp8.lo
  CC       libi965_drv_video_la-gen9_vme.lo
  CC       libi965_drv_video_la-gen9_mfc.lo
  CC       libi965_drv_video_la-gen9_mfc_hevc.lo
  CC       libi965_drv_video_la-gen9_mfd.lo
  CC       libi965_drv_video_la-gen9_vdenc.lo
gen8_mfc.c: In function ‘gen8_mfc_jpeg_huff_table_state’:
gen8_mfc.c:3006:5: warning: ‘memset’ used with length equal to number of elements without multiplication by element size [-Wmemset-elt-size]
     memset(dc_table, 0, 12);
     ^~~~~~
gen8_mfc.c:3007:5: warning: ‘memset’ used with length equal to number of elements without multiplication by element size [-Wmemset-elt-size]
     memset(ac_table, 0, 162);
     ^~~~~~
  CC       libi965_drv_video_la-gen75_picture_process.lo
gen9_mfc_hevc.c: In function ‘intel_hcpe_hevc_pipeline_header_programing’:
gen9_mfc_hevc.c:2041:5: warning: ‘VAEncPackedHeaderHEVC_SEI’ is deprecated [-Wdeprecated-declarations]
     idx = va_enc_packed_type_to_idx(VAEncPackedHeaderHEVC_SEI);
     ^~~
In file included from /usr/include/va/va.h:3356:0,
                 from /usr/include/va/va_backend.h:32,
                 from intel_driver.h:13,
                 from intel_batchbuffer.h:9,
                 from gen9_mfc_hevc.c:35:
/usr/include/va/va_enc_hevc.h:137:5: note: declared here
     VAEncPackedHeaderHEVC_SEI  va_deprecated_enum = (0x80000000 | 1),
     ^~~~~~~~~~~~~~~~~~~~~~~~~
  CC       libi965_drv_video_la-gen75_vme.lo
  CC       libi965_drv_video_la-gen75_vpp_gpe.lo
  CC       libi965_drv_video_la-gen75_vpp_vebox.lo
  CC       libi965_drv_video_la-gen9_post_processing.lo
  CC       libi965_drv_video_la-i965_avc_bsd.lo
gen9_vdenc.c: In function ‘gen9_vdenc_mfx_avc_inset_headers’:
gen9_vdenc.c:3138:9: warning: ‘VAEncPackedHeaderH264_SEI’ is deprecated [-Wdeprecated-declarations]
         idx = va_enc_packed_type_to_idx(VAEncPackedHeaderH264_SEI);
         ^~~
In file included from /usr/include/va/va.h:3357:0,
                 from /usr/include/va/va_backend.h:32,
                 from intel_driver.h:13,
                 from intel_batchbuffer.h:9,
                 from gen9_vdenc.c:35:
/usr/include/va/va_enc_h264.h:125:5: note: declared here
     VAEncPackedHeaderH264_SEI va_deprecated_enum  = (0x80000000 | 1),
     ^~~~~~~~~~~~~~~~~~~~~~~~~
At top level:
gen9_vdenc.c:71:22: warning: ‘buf_rate_adj_tab_b_lowdelay’ defined but not used [-Wunused-const-variable=]
 static const uint8_t buf_rate_adj_tab_b_lowdelay[72] = {
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~
gen9_vdenc.c:59:22: warning: ‘buf_rate_adj_tab_p_lowdelay’ defined but not used [-Wunused-const-variable=]
 static const uint8_t buf_rate_adj_tab_p_lowdelay[72] = {
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~
gen9_vdenc.c:47:22: warning: ‘buf_rate_adj_tab_i_lowdelay’ defined but not used [-Wunused-const-variable=]
 static const uint8_t buf_rate_adj_tab_i_lowdelay[72] = {
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~
  CC       libi965_drv_video_la-i965_avc_hw_scoreboard.lo
  CC       libi965_drv_video_la-i965_avc_ildb.lo
gen9_post_processing.c:106:23: warning: ‘pp_nv12_blending_gen9’ defined but not used [-Wunused-const-variable=]
 static const uint32_t pp_nv12_blending_gen9[][4] = {
                       ^~~~~~~~~~~~~~~~~~~~~
  CC       libi965_drv_video_la-i965_decoder_utils.lo
  CC       libi965_drv_video_la-i965_device_info.lo
  CC       libi965_drv_video_la-i965_drv_video.lo
  CC       libi965_drv_video_la-i965_encoder.lo
  CC       libi965_drv_video_la-i965_encoder_utils.lo
i965_drv_video.c: In function ‘va_enc_packed_type_to_idx’:
i965_drv_video.c:404:5: warning: ‘VAEncPackedHeaderMiscMask’ is deprecated [-Wdeprecated-declarations]
     if (packed_type & VAEncPackedHeaderMiscMask) {
     ^~
In file included from /usr/include/va/va_backend.h:32:0,
                 from i965_output_dri.h:29,
                 from i965_drv_video.c:35:
/usr/include/va/va.h:1304:5: note: declared here
     VAEncPackedHeaderMiscMask va_deprecated_enum  = 0x80000000,
     ^~~~~~~~~~~~~~~~~~~~~~~~~
i965_drv_video.c:406:9: warning: ‘VAEncPackedHeaderMiscMask’ is deprecated [-Wdeprecated-declarations]
         packed_type = (~VAEncPackedHeaderMiscMask & packed_type);
         ^~~~~~~~~~~
In file included from /usr/include/va/va_backend.h:32:0,
                 from i965_output_dri.h:29,
                 from i965_drv_video.c:35:
/usr/include/va/va.h:1304:5: note: declared here
     VAEncPackedHeaderMiscMask va_deprecated_enum  = 0x80000000,
     ^~~~~~~~~~~~~~~~~~~~~~~~~
i965_drv_video.c: In function ‘i965_GetConfigAttributes’:
i965_drv_video.c:1095:46: error: ‘struct ’ has no member named ‘roi_rc_qp_delat_support’; did you mean ‘roi_rc_qp_delta_support’?
                             roi_config->bits.roi_rc_qp_delat_support = 0;
                                              ^~~~~~~~~~~~~~~~~~~~~~~
                                              roi_rc_qp_delta_support
i965_drv_video.c:1100:46: error: ‘struct ’ has no member named ‘roi_rc_qp_delat_support’; did you mean ‘roi_rc_qp_delta_support’?
                             roi_config->bits.roi_rc_qp_delat_support = 1;
                                              ^~~~~~~~~~~~~~~~~~~~~~~
                                              roi_rc_qp_delta_support
i965_drv_video.c: In function ‘i965_encoder_render_picture’:
i965_drv_video.c:3593:17: warning: ‘VAEncPackedHeaderMiscMask’ is deprecated [-Wdeprecated-declarations]
                 ASSERT_RET(encode->last_packed_header_type == VAEncPackedHeaderSequence ||
                 ^~~~~~~~~~
In file included from /usr/include/va/va_backend.h:32:0,
                 from i965_output_dri.h:29,
                 from i965_drv_video.c:35:
/usr/include/va/va.h:1304:5: note: declared here
     VAEncPackedHeaderMiscMask va_deprecated_enum  = 0x80000000,
     ^~~~~~~~~~~~~~~~~~~~~~~~~
i965_drv_video.c:3593:17: warning: ‘VAEncPackedHeaderMiscMask’ is deprecated [-Wdeprecated-declarations]
                 ASSERT_RET(encode->last_packed_header_type == VAEncPackedHeaderSequence ||
                 ^~~~~~~~~~
In file included from /usr/include/va/va_backend.h:32:0,
                 from i965_output_dri.h:29,
                 from i965_drv_video.c:35:
/usr/include/va/va.h:1304:5: note: declared here
     VAEncPackedHeaderMiscMask va_deprecated_enum  = 0x80000000,
     ^~~~~~~~~~~~~~~~~~~~~~~~~
i965_drv_video.c:3593:17: warning: ‘VAEncPackedHeaderMiscMask’ is deprecated [-Wdeprecated-declarations]
                 ASSERT_RET(encode->last_packed_header_type == VAEncPackedHeaderSequence ||
                 ^~~~~~~~~~
In file included from /usr/include/va/va_backend.h:32:0,
                 from i965_output_dri.h:29,
                 from i965_drv_video.c:35:
/usr/include/va/va.h:1304:5: note: declared here
     VAEncPackedHeaderMiscMask va_deprecated_enum  = 0x80000000,
     ^~~~~~~~~~~~~~~~~~~~~~~~~
i965_drv_video.c:3593:17: warning: ‘VAEncPackedHeaderMiscMask’ is deprecated [-Wdeprecated-declarations]
                 ASSERT_RET(encode->last_packed_header_type == VAEncPackedHeaderSequence ||
                 ^~~~~~~~~~
In file included from /usr/include/va/va_backend.h:32:0,
                 from i965_output_dri.h:29,
                 from i965_drv_video.c:35:
/usr/include/va/va.h:1304:5: note: declared here
     VAEncPackedHeaderMiscMask va_deprecated_enum  = 0x80000000,
     ^~~~~~~~~~~~~~~~~~~~~~~~~
i965_drv_video.c:3593:17: warning: ‘VAEncPackedHeaderMiscMask’ is deprecated [-Wdeprecated-declarations]
                 ASSERT_RET(encode->last_packed_header_type == VAEncPackedHeaderSequence ||
                 ^~~~~~~~~~
In file included from /usr/include/va/va_backend.h:32:0,
                 from i965_output_dri.h:29,
                 from i965_drv_video.c:35:
/usr/include/va/va.h:1304:5: note: declared here
     VAEncPackedHeaderMiscMask va_deprecated_enum  = 0x80000000,
     ^~~~~~~~~~~~~~~~~~~~~~~~~
i965_drv_video.c:3593:17: warning: ‘VAEncPackedHeaderMiscMask’ is deprecated [-Wdeprecated-declarations]
                 ASSERT_RET(encode->last_packed_header_type == VAEncPackedHeaderSequence ||
                 ^~~~~~~~~~
In file included from /usr/include/va/va_backend.h:32:0,
                 from i965_output_dri.h:29,
                 from i965_drv_video.c:35:
/usr/include/va/va.h:1304:5: note: declared here
     VAEncPackedHeaderMiscMask va_deprecated_enum  = 0x80000000,
     ^~~~~~~~~~~~~~~~~~~~~~~~~
make[3]: *** [Makefile:1063: libi965_drv_video_la-i965_drv_video.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
i965_decoder_utils.c: In function ‘intel_decoder_check_avc_parameter’:
i965_decoder_utils.c:965:5: warning: ‘VAProfileH264Baseline’ is deprecated [-Wdeprecated-declarations]
     if ((h264_profile != VAProfileH264Baseline)) {
     ^~
In file included from /usr/include/va/va_backend.h:32:0,
                 from intel_driver.h:13,
                 from intel_batchbuffer.h:9,
                 from i965_decoder_utils.c:27:
/usr/include/va/va.h:345:5: note: declared here
     VAProfileH264Baseline va_deprecated_enum = 5,
     ^~~~~~~~~~~~~~~~~~~~~
i965_decoder_utils.c:966:9: warning: ‘num_slice_groups_minus1’ is deprecated [-Wdeprecated-declarations]
         if (pic_param->num_slice_groups_minus1 ||
         ^~
In file included from /usr/include/va/va_backend.h:32:0,
                 from intel_driver.h:13,
                 from intel_batchbuffer.h:9,
                 from i965_decoder_utils.c:27:
/usr/include/va/va.h:2168:27: note: declared here
     va_deprecated uint8_t num_slice_groups_minus1;
                           ^~~~~~~~~~~~~~~~~~~~~~~
make[3]: Leaving directory '/home/utku/Programlar/intel-vaapi-driver-1.8-branch/src'
make[2]: *** [Makefile:1341: all-recursive] Error 1
make[2]: Leaving directory '/home/utku/Programlar/intel-vaapi-driver-1.8-branch/src'
make[1]: *** [Makefile:654: all] Error 2
make[1]: Leaving directory '/home/utku/Programlar/intel-vaapi-driver-1.8-branch/src'
make: *** [Makefile:420: all-recursive] Error 1

@xhaihao
Copy link
Contributor

xhaihao commented Nov 27, 2017

  1. The first part is libva related which is the duplicate of https://github.com/01org/libva/issues/152. Could you file any libva issue on https://github.com/01org/libva/issues?

  2. please build libva 1.8.x first if you want to use intel-vaapi-driver 1.8.x. intel-vaapi-driver 1.8.x doesn't work with libva 2.0.x, sorry for the inconvenience.

@xhaihao
Copy link
Contributor

xhaihao commented Nov 27, 2017

Please try the latest libva master

@nottux
Copy link
Author

nottux commented Nov 28, 2017

I will try with optimization option -O1

@nottux
Copy link
Author

nottux commented Nov 28, 2017

I don't know how to set default compiler flags

utku@clr-449e9b2a44f8458bb4885604dc172a1c ~/Programlar/intel-vaapi-driver-1.8-branch $ ./autogen.sh
ln: failed to create symbolic link '.git/hooks/pre-commit': No such file or directory
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal 
autoreconf: configure.ac: tracing
autoreconf: running: libtoolize --copy
libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.ac,
libtoolize: and rerunning libtoolize and aclocal.
libtoolize: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
autoreconf: running: /usr/bin/autoconf
autoreconf: running: /usr/bin/autoheader
autoreconf: running: automake --add-missing --copy --no-force
src/Makefile.am:116: warning: '%'-style pattern rules are a GNU make extension
autoreconf: Leaving directory `.'
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether UID '1000' is supported by ustar format... yes
checking whether GID '1000' is supported by ustar format... yes
checking how to create a ustar tar archive... gnutar
checking whether make supports nested variables... (cached) yes
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking how to print strings... printf
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... gcc3
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... gcc-nm
checking the name lister (gcc-nm) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... dlltool
checking how to associate runtime and link libraries... printf %s\n
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... gcc-ranlib
checking command to parse gcc-nm output from gcc object... ok
checking for sysroot... no
checking for a working dd... /usr/bin/dd
checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
checking for mt... no
checking if : is a manifest tool... no
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking dependency style of gcc... (cached) gcc3
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for ld used by g++... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether byte ordering is bigendian... no
checking for ANSI C header files... (cached) yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for sin in -lm... yes
checking for log2f... yes
checking for python2... python2
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for libdrm >= 2.4.52... yes
checking for intel-gen4asm >= 1.9... no
checking for intel-gen4asm... no
checking for git... /usr/bin/git
checking for libva >= 0.39.4... yes
checking for libva-drm... yes
checking drm_fourcc.h usability... yes
checking drm_fourcc.h presence... yes
checking for drm_fourcc.h... yes
checking for x11... yes
checking for xext... yes
checking for xfixes... yes
checking for libva-x11... yes
checking for VA drivers path... /usr/lib64/dri
checking for egl... yes
checking EGL/egl.h usability... yes
checking EGL/egl.h presence... yes
checking for EGL/egl.h... yes
checking for eglGetDisplay in -lEGL... yes
checking for libva-wayland... yes
checking for wayland-client... yes
checking for wayland-scanner... /usr/bin/wayland-scanner
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating src/shaders/Makefile
config.status: creating src/shaders/brc/Makefile
config.status: creating src/shaders/brc/bsw/Makefile
config.status: creating src/shaders/brc/skl/Makefile
config.status: creating src/shaders/h264/Makefile
config.status: creating src/shaders/h264/ildb/Makefile
config.status: creating src/shaders/h264/mc/Makefile
config.status: creating src/shaders/mpeg2/Makefile
config.status: creating src/shaders/mpeg2/vld/Makefile
config.status: creating src/shaders/post_processing/Makefile
config.status: creating src/shaders/post_processing/gen5_6/Makefile
config.status: creating src/shaders/post_processing/gen7/Makefile
config.status: creating src/shaders/post_processing/gen75/Makefile
config.status: creating src/shaders/post_processing/gen8/Makefile
config.status: creating src/shaders/post_processing/gen9/Makefile
config.status: creating src/shaders/render/Makefile
config.status: creating src/shaders/utils/Makefile
config.status: creating src/shaders/vme/Makefile
config.status: creating test/Makefile
config.status: creating src/config.h
config.status: src/config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands

intel-vaapi-driver configuration summary:

VA-API version ................... : 1.0.0
VA-API drivers path .............. : /usr/lib64/dri
Windowing systems ................ : drm x11 wayland
Build tests ...................... : no

utku@clr-449e9b2a44f8458bb4885604dc172a1c ~/Programlar/intel-vaapi-driver-1.8-branch $ export CFLAGS='-g -O1 -feliminate-unused-debug-types -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=32 -Wformat -Wformat-security -Wl,--copy-dt-needed-entries -m64 -fasynchronous-unwind-tables -Wp,-D_REENTRANT -ftree-loop-distribute-patterns -Wl,-z -Wl,now -Wl,-z -Wl,relro -fno-semantic-interposition -ffat-lto-objects -fno-signed-zeros -fno-trapping-math -fassociative-math -Wl,-sort-common'
utku@clr-449e9b2a44f8458bb4885604dc172a1c ~/Programlar/intel-vaapi-driver-1.8-branch $ make -j4
Making all in src
make[1]: Entering directory '/home/utku/Programlar/intel-vaapi-driver-1.8-branch/src'
  GEN      intel_version.h
make  all-recursive
make[2]: Entering directory '/home/utku/Programlar/intel-vaapi-driver-1.8-branch/src'
Making all in shaders
make[3]: Entering directory '/home/utku/Programlar/intel-vaapi-driver-1.8-branch/src/shaders'
Making all in h264
make[4]: Entering directory '/home/utku/Programlar/intel-vaapi-driver-1.8-branch/src/shaders/h264'
Making all in ildb
make[5]: Entering directory '/home/utku/Programlar/intel-vaapi-driver-1.8-branch/src/shaders/h264/ildb'
make[5]: Nothing to be done for 'all'.
make[5]: Leaving directory '/home/utku/Programlar/intel-vaapi-driver-1.8-branch/src/shaders/h264/ildb'
Making all in mc
make[5]: Entering directory '/home/utku/Programlar/intel-vaapi-driver-1.8-branch/src/shaders/h264/mc'
make[5]: Nothing to be done for 'all'.
make[5]: Leaving directory '/home/utku/Programlar/intel-vaapi-driver-1.8-branch/src/shaders/h264/mc'
make[5]: Entering directory '/home/utku/Programlar/intel-vaapi-driver-1.8-branch/src/shaders/h264'
make[5]: Nothing to be done for 'all-am'.
make[5]: Leaving directory '/home/utku/Programlar/intel-vaapi-driver-1.8-branch/src/shaders/h264'
make[4]: Leaving directory '/home/utku/Programlar/intel-vaapi-driver-1.8-branch/src/shaders/h264'
Making all in mpeg2
make[4]: Entering directory '/home/utku/Programlar/intel-vaapi-driver-1.8-branch/src/shaders/mpeg2'
Making all in vld
make[5]: Entering directory '/home/utku/Programlar/intel-vaapi-driver-1.8-branch/src/shaders/mpeg2/vld'
make[5]: Nothing to be done for 'all'.
make[5]: Leaving directory '/home/utku/Programlar/intel-vaapi-driver-1.8-branch/src/shaders/mpeg2/vld'
make[5]: Entering directory '/home/utku/Programlar/intel-vaapi-driver-1.8-branch/src/shaders/mpeg2'
make[5]: Nothing to be done for 'all-am'.
make[5]: Leaving directory '/home/utku/Programlar/intel-vaapi-driver-1.8-branch/src/shaders/mpeg2'
make[4]: Leaving directory '/home/utku/Programlar/intel-vaapi-driver-1.8-branch/src/shaders/mpeg2'
Making all in render
make[4]: Entering directory '/home/utku/Programlar/intel-vaapi-driver-1.8-branch/src/shaders/render'
make[4]: Nothing to be done for 'all'.
make[4]: Leaving directory '/home/utku/Programlar/intel-vaapi-driver-1.8-branch/src/shaders/render'
Making all in post_processing
make[4]: Entering directory '/home/utku/Programlar/intel-vaapi-driver-1.8-branch/src/shaders/post_processing'
Making all in gen5_6
make[5]: Entering directory '/home/utku/Programlar/intel-vaapi-driver-1.8-branch/src/shaders/post_processing/gen5_6'
make[5]: Nothing to be done for 'all'.
make[5]: Leaving directory '/home/utku/Programlar/intel-vaapi-driver-1.8-branch/src/shaders/post_processing/gen5_6'
Making all in gen7
make[5]: Entering directory '/home/utku/Programlar/intel-vaapi-driver-1.8-branch/src/shaders/post_processing/gen7'
make[5]: Nothing to be done for 'all'.
make[5]: Leaving directory '/home/utku/Programlar/intel-vaapi-driver-1.8-branch/src/shaders/post_processing/gen7'
Making all in gen75
make[5]: Entering directory '/home/utku/Programlar/intel-vaapi-driver-1.8-branch/src/shaders/post_processing/gen75'
make[5]: Nothing to be done for 'all'.
make[5]: Leaving directory '/home/utku/Programlar/intel-vaapi-driver-1.8-branch/src/shaders/post_processing/gen75'
Making all in gen8
make[5]: Entering directory '/home/utku/Programlar/intel-vaapi-driver-1.8-branch/src/shaders/post_processing/gen8'
make[5]: Nothing to be done for 'all'.
make[5]: Leaving directory '/home/utku/Programlar/intel-vaapi-driver-1.8-branch/src/shaders/post_processing/gen8'
Making all in gen9
make[5]: Entering directory '/home/utku/Programlar/intel-vaapi-driver-1.8-branch/src/shaders/post_processing/gen9'
make[5]: Nothing to be done for 'all'.
make[5]: Leaving directory '/home/utku/Programlar/intel-vaapi-driver-1.8-branch/src/shaders/post_processing/gen9'
make[5]: Entering directory '/home/utku/Programlar/intel-vaapi-driver-1.8-branch/src/shaders/post_processing'
make[5]: Nothing to be done for 'all-am'.
make[5]: Leaving directory '/home/utku/Programlar/intel-vaapi-driver-1.8-branch/src/shaders/post_processing'
make[4]: Leaving directory '/home/utku/Programlar/intel-vaapi-driver-1.8-branch/src/shaders/post_processing'
Making all in vme
make[4]: Entering directory '/home/utku/Programlar/intel-vaapi-driver-1.8-branch/src/shaders/vme'
make[4]: Nothing to be done for 'all'.
make[4]: Leaving directory '/home/utku/Programlar/intel-vaapi-driver-1.8-branch/src/shaders/vme'
Making all in utils
make[4]: Entering directory '/home/utku/Programlar/intel-vaapi-driver-1.8-branch/src/shaders/utils'
make[4]: Nothing to be done for 'all'.
make[4]: Leaving directory '/home/utku/Programlar/intel-vaapi-driver-1.8-branch/src/shaders/utils'
Making all in brc
make[4]: Entering directory '/home/utku/Programlar/intel-vaapi-driver-1.8-branch/src/shaders/brc'
Making all in bsw
make[5]: Entering directory '/home/utku/Programlar/intel-vaapi-driver-1.8-branch/src/shaders/brc/bsw'
make[5]: Nothing to be done for 'all'.
make[5]: Leaving directory '/home/utku/Programlar/intel-vaapi-driver-1.8-branch/src/shaders/brc/bsw'
Making all in skl
make[5]: Entering directory '/home/utku/Programlar/intel-vaapi-driver-1.8-branch/src/shaders/brc/skl'
make[5]: Nothing to be done for 'all'.
make[5]: Leaving directory '/home/utku/Programlar/intel-vaapi-driver-1.8-branch/src/shaders/brc/skl'
make[5]: Entering directory '/home/utku/Programlar/intel-vaapi-driver-1.8-branch/src/shaders/brc'
make[5]: Nothing to be done for 'all-am'.
make[5]: Leaving directory '/home/utku/Programlar/intel-vaapi-driver-1.8-branch/src/shaders/brc'
make[4]: Leaving directory '/home/utku/Programlar/intel-vaapi-driver-1.8-branch/src/shaders/brc'
make[4]: Entering directory '/home/utku/Programlar/intel-vaapi-driver-1.8-branch/src/shaders'
make[4]: Nothing to be done for 'all-am'.
make[4]: Leaving directory '/home/utku/Programlar/intel-vaapi-driver-1.8-branch/src/shaders'
make[3]: Leaving directory '/home/utku/Programlar/intel-vaapi-driver-1.8-branch/src/shaders'
make[3]: Entering directory '/home/utku/Programlar/intel-vaapi-driver-1.8-branch/src'
  CC       libi965_drv_video_la-dso_utils.lo
  CC       libi965_drv_video_la-gen6_mfc.lo
  CC       libi965_drv_video_la-gen6_mfc_common.lo
  CC       libi965_drv_video_la-gen6_vme.lo
  CC       libi965_drv_video_la-gen7_vme.lo
  CC       libi965_drv_video_la-gen7_mfc.lo
gen6_mfc_common.c: In function ‘intel_mfc_avc_pipeline_header_programing’:
gen6_mfc_common.c:625:5: warning: ‘VAEncPackedHeaderH264_SEI’ is deprecated [-Wdeprecated-declarations]
     idx = va_enc_packed_type_to_idx(VAEncPackedHeaderH264_SEI);
     ^~~
In file included from /usr/include/va/va.h:3357:0,
                 from /usr/include/va/va_backend.h:32,
                 from intel_driver.h:13,
                 from intel_batchbuffer.h:9,
                 from gen6_mfc_common.c:36:
/usr/include/va/va_enc_h264.h:125:5: note: declared here
     VAEncPackedHeaderH264_SEI va_deprecated_enum  = (0x80000000 | 1),
     ^~~~~~~~~~~~~~~~~~~~~~~~~
  CC       libi965_drv_video_la-gen7_mfd.lo
  CC       libi965_drv_video_la-gen75_mfd.lo
  CC       libi965_drv_video_la-gen75_mfc.lo
  CC       libi965_drv_video_la-gen8_encoder_vp8.lo
  CC       libi965_drv_video_la-gen8_mfc.lo
  CC       libi965_drv_video_la-gen8_mfd.lo
  CC       libi965_drv_video_la-gen8_vme.lo
gen8_mfc.c: In function ‘gen8_mfc_jpeg_huff_table_state’:
gen8_mfc.c:3006:5: warning: ‘memset’ used with length equal to number of elements without multiplication by element size [-Wmemset-elt-size]
     memset(dc_table, 0, 12);
     ^~~~~~
gen8_mfc.c:3007:5: warning: ‘memset’ used with length equal to number of elements without multiplication by element size [-Wmemset-elt-size]
     memset(ac_table, 0, 162);
     ^~~~~~
  CC       libi965_drv_video_la-gen9_encoder_vp8.lo
  CC       libi965_drv_video_la-gen9_vme.lo
  CC       libi965_drv_video_la-gen9_mfc.lo
  CC       libi965_drv_video_la-gen9_mfc_hevc.lo
  CC       libi965_drv_video_la-gen9_mfd.lo
  CC       libi965_drv_video_la-gen9_vdenc.lo
  CC       libi965_drv_video_la-gen75_picture_process.lo
gen9_mfc_hevc.c: In function ‘intel_hcpe_hevc_pipeline_header_programing’:
gen9_mfc_hevc.c:2041:5: warning: ‘VAEncPackedHeaderHEVC_SEI’ is deprecated [-Wdeprecated-declarations]
     idx = va_enc_packed_type_to_idx(VAEncPackedHeaderHEVC_SEI);
     ^~~
In file included from /usr/include/va/va.h:3356:0,
                 from /usr/include/va/va_backend.h:32,
                 from intel_driver.h:13,
                 from intel_batchbuffer.h:9,
                 from gen9_mfc_hevc.c:35:
/usr/include/va/va_enc_hevc.h:137:5: note: declared here
     VAEncPackedHeaderHEVC_SEI  va_deprecated_enum = (0x80000000 | 1),
     ^~~~~~~~~~~~~~~~~~~~~~~~~
  CC       libi965_drv_video_la-gen75_vme.lo
  CC       libi965_drv_video_la-gen75_vpp_gpe.lo
gen9_vdenc.c: In function ‘gen9_vdenc_mfx_avc_inset_headers’:
gen9_vdenc.c:3138:9: warning: ‘VAEncPackedHeaderH264_SEI’ is deprecated [-Wdeprecated-declarations]
         idx = va_enc_packed_type_to_idx(VAEncPackedHeaderH264_SEI);
         ^~~
In file included from /usr/include/va/va.h:3357:0,
                 from /usr/include/va/va_backend.h:32,
                 from intel_driver.h:13,
                 from intel_batchbuffer.h:9,
                 from gen9_vdenc.c:35:
/usr/include/va/va_enc_h264.h:125:5: note: declared here
     VAEncPackedHeaderH264_SEI va_deprecated_enum  = (0x80000000 | 1),
     ^~~~~~~~~~~~~~~~~~~~~~~~~
At top level:
gen9_vdenc.c:71:22: warning: ‘buf_rate_adj_tab_b_lowdelay’ defined but not used [-Wunused-const-variable=]
 static const uint8_t buf_rate_adj_tab_b_lowdelay[72] = {
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~
gen9_vdenc.c:59:22: warning: ‘buf_rate_adj_tab_p_lowdelay’ defined but not used [-Wunused-const-variable=]
 static const uint8_t buf_rate_adj_tab_p_lowdelay[72] = {
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~
gen9_vdenc.c:47:22: warning: ‘buf_rate_adj_tab_i_lowdelay’ defined but not used [-Wunused-const-variable=]
 static const uint8_t buf_rate_adj_tab_i_lowdelay[72] = {
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~
  CC       libi965_drv_video_la-gen75_vpp_vebox.lo
  CC       libi965_drv_video_la-gen9_post_processing.lo
  CC       libi965_drv_video_la-i965_avc_bsd.lo
  CC       libi965_drv_video_la-i965_avc_hw_scoreboard.lo
  CC       libi965_drv_video_la-i965_avc_ildb.lo
gen9_post_processing.c:106:23: warning: ‘pp_nv12_blending_gen9’ defined but not used [-Wunused-const-variable=]
 static const uint32_t pp_nv12_blending_gen9[][4] = {
                       ^~~~~~~~~~~~~~~~~~~~~
  CC       libi965_drv_video_la-i965_decoder_utils.lo
  CC       libi965_drv_video_la-i965_device_info.lo
  CC       libi965_drv_video_la-i965_drv_video.lo
  CC       libi965_drv_video_la-i965_encoder.lo
i965_decoder_utils.c: In function ‘intel_decoder_check_avc_parameter’:
i965_decoder_utils.c:965:5: warning: ‘VAProfileH264Baseline’ is deprecated [-Wdeprecated-declarations]
     if ((h264_profile != VAProfileH264Baseline)) {
     ^~
In file included from /usr/include/va/va_backend.h:32:0,
                 from intel_driver.h:13,
                 from intel_batchbuffer.h:9,
                 from i965_decoder_utils.c:27:
/usr/include/va/va.h:345:5: note: declared here
     VAProfileH264Baseline va_deprecated_enum = 5,
     ^~~~~~~~~~~~~~~~~~~~~
i965_decoder_utils.c:966:9: warning: ‘num_slice_groups_minus1’ is deprecated [-Wdeprecated-declarations]
         if (pic_param->num_slice_groups_minus1 ||
         ^~
In file included from /usr/include/va/va_backend.h:32:0,
                 from intel_driver.h:13,
                 from intel_batchbuffer.h:9,
                 from i965_decoder_utils.c:27:
/usr/include/va/va.h:2168:27: note: declared here
     va_deprecated uint8_t num_slice_groups_minus1;
                           ^~~~~~~~~~~~~~~~~~~~~~~
  CC       libi965_drv_video_la-i965_encoder_utils.lo
  CC       libi965_drv_video_la-i965_encoder_vp8.lo
  CC       libi965_drv_video_la-i965_media.lo
  CC       libi965_drv_video_la-i965_media_h264.lo
i965_drv_video.c: In function ‘va_enc_packed_type_to_idx’:
i965_drv_video.c:404:5: warning: ‘VAEncPackedHeaderMiscMask’ is deprecated [-Wdeprecated-declarations]
     if (packed_type & VAEncPackedHeaderMiscMask) {
     ^~
In file included from /usr/include/va/va_backend.h:32:0,
                 from i965_output_dri.h:29,
                 from i965_drv_video.c:35:
/usr/include/va/va.h:1304:5: note: declared here
     VAEncPackedHeaderMiscMask va_deprecated_enum  = 0x80000000,
     ^~~~~~~~~~~~~~~~~~~~~~~~~
i965_drv_video.c:406:9: warning: ‘VAEncPackedHeaderMiscMask’ is deprecated [-Wdeprecated-declarations]
         packed_type = (~VAEncPackedHeaderMiscMask & packed_type);
         ^~~~~~~~~~~
In file included from /usr/include/va/va_backend.h:32:0,
                 from i965_output_dri.h:29,
                 from i965_drv_video.c:35:
/usr/include/va/va.h:1304:5: note: declared here
     VAEncPackedHeaderMiscMask va_deprecated_enum  = 0x80000000,
     ^~~~~~~~~~~~~~~~~~~~~~~~~
i965_drv_video.c: In function ‘i965_GetConfigAttributes’:
i965_drv_video.c:1095:46: error: ‘struct ’ has no member named ‘roi_rc_qp_delat_support’; did you mean ‘roi_rc_qp_delta_support’?
                             roi_config->bits.roi_rc_qp_delat_support = 0;
                                              ^~~~~~~~~~~~~~~~~~~~~~~
                                              roi_rc_qp_delta_support
i965_drv_video.c:1100:46: error: ‘struct ’ has no member named ‘roi_rc_qp_delat_support’; did you mean ‘roi_rc_qp_delta_support’?
                             roi_config->bits.roi_rc_qp_delat_support = 1;
                                              ^~~~~~~~~~~~~~~~~~~~~~~
                                              roi_rc_qp_delta_support
i965_drv_video.c: In function ‘i965_encoder_render_picture’:
i965_drv_video.c:3593:17: warning: ‘VAEncPackedHeaderMiscMask’ is deprecated [-Wdeprecated-declarations]
                 ASSERT_RET(encode->last_packed_header_type == VAEncPackedHeaderSequence ||
                 ^~~~~~~~~~
In file included from /usr/include/va/va_backend.h:32:0,
                 from i965_output_dri.h:29,
                 from i965_drv_video.c:35:
/usr/include/va/va.h:1304:5: note: declared here
     VAEncPackedHeaderMiscMask va_deprecated_enum  = 0x80000000,
     ^~~~~~~~~~~~~~~~~~~~~~~~~
i965_drv_video.c:3593:17: warning: ‘VAEncPackedHeaderMiscMask’ is deprecated [-Wdeprecated-declarations]
                 ASSERT_RET(encode->last_packed_header_type == VAEncPackedHeaderSequence ||
                 ^~~~~~~~~~
In file included from /usr/include/va/va_backend.h:32:0,
                 from i965_output_dri.h:29,
                 from i965_drv_video.c:35:
/usr/include/va/va.h:1304:5: note: declared here
     VAEncPackedHeaderMiscMask va_deprecated_enum  = 0x80000000,
     ^~~~~~~~~~~~~~~~~~~~~~~~~
i965_drv_video.c:3593:17: warning: ‘VAEncPackedHeaderMiscMask’ is deprecated [-Wdeprecated-declarations]
                 ASSERT_RET(encode->last_packed_header_type == VAEncPackedHeaderSequence ||
                 ^~~~~~~~~~
In file included from /usr/include/va/va_backend.h:32:0,
                 from i965_output_dri.h:29,
                 from i965_drv_video.c:35:
/usr/include/va/va.h:1304:5: note: declared here
     VAEncPackedHeaderMiscMask va_deprecated_enum  = 0x80000000,
     ^~~~~~~~~~~~~~~~~~~~~~~~~
i965_drv_video.c:3593:17: warning: ‘VAEncPackedHeaderMiscMask’ is deprecated [-Wdeprecated-declarations]
                 ASSERT_RET(encode->last_packed_header_type == VAEncPackedHeaderSequence ||
                 ^~~~~~~~~~
In file included from /usr/include/va/va_backend.h:32:0,
                 from i965_output_dri.h:29,
                 from i965_drv_video.c:35:
/usr/include/va/va.h:1304:5: note: declared here
     VAEncPackedHeaderMiscMask va_deprecated_enum  = 0x80000000,
     ^~~~~~~~~~~~~~~~~~~~~~~~~
i965_drv_video.c:3593:17: warning: ‘VAEncPackedHeaderMiscMask’ is deprecated [-Wdeprecated-declarations]
                 ASSERT_RET(encode->last_packed_header_type == VAEncPackedHeaderSequence ||
                 ^~~~~~~~~~
In file included from /usr/include/va/va_backend.h:32:0,
                 from i965_output_dri.h:29,
                 from i965_drv_video.c:35:
/usr/include/va/va.h:1304:5: note: declared here
     VAEncPackedHeaderMiscMask va_deprecated_enum  = 0x80000000,
     ^~~~~~~~~~~~~~~~~~~~~~~~~
i965_drv_video.c:3593:17: warning: ‘VAEncPackedHeaderMiscMask’ is deprecated [-Wdeprecated-declarations]
                 ASSERT_RET(encode->last_packed_header_type == VAEncPackedHeaderSequence ||
                 ^~~~~~~~~~
In file included from /usr/include/va/va_backend.h:32:0,
                 from i965_output_dri.h:29,
                 from i965_drv_video.c:35:
/usr/include/va/va.h:1304:5: note: declared here
     VAEncPackedHeaderMiscMask va_deprecated_enum  = 0x80000000,
     ^~~~~~~~~~~~~~~~~~~~~~~~~
make[3]: *** [Makefile:1063: libi965_drv_video_la-i965_drv_video.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory '/home/utku/Programlar/intel-vaapi-driver-1.8-branch/src'
make[2]: *** [Makefile:1341: all-recursive] Error 1
make[2]: Leaving directory '/home/utku/Programlar/intel-vaapi-driver-1.8-branch/src'
make[1]: *** [Makefile:654: all] Error 2
make[1]: Leaving directory '/home/utku/Programlar/intel-vaapi-driver-1.8-branch/src'
make: *** [Makefile:421: all-recursive] Error 1
utku@clr-449e9b2a44f8458bb4885604dc172a1c ~/Programlar/intel-vaapi-driver-1.8-branch $
utku@clr-449e9b2a44f8458bb4885604dc172a1c ~/Programlar/intel-vaapi-driver-1.8-branch $ echo $CFLAGS
-g -O1 -feliminate-unused-debug-types -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=32 -Wformat -Wformat-security -Wl,--copy-dt-needed-entries -m64 -fasynchronous-unwind-tables -Wp,-D_REENTRANT -ftree-loop-distribute-patterns -Wl,-z -Wl,now -Wl,-z -Wl,relro -fno-semantic-interposition -ffat-lto-objects -fno-signed-zeros -fno-trapping-math -fassociative-math -Wl,-sort-common
utku@clr-449e9b2a44f8458bb4885604dc172a1c ~/Programlar/intel-vaapi-driver-1.8-branch $ echo $CXXFLAGS
-g -O3 -feliminate-unused-debug-types -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=32 -Wformat -Wformat-security -Wl,--copy-dt-needed-entries -m64 -fasynchronous-unwind-tables -Wp,-D_REENTRANT -ftree-loop-distribute-patterns -Wl,-z -Wl,now -Wl,-z -Wl,relro -fno-semantic-interposition -ffat-lto-objects -fno-signed-zeros -fno-trapping-math -fassociative-math -Wl,-sort-common -fvisibility-inlines-hidden

@uartie
Copy link
Contributor

uartie commented Nov 28, 2017

As @xhaihao pointed out, intel-vaapi-driver 1.8 is not compatible with libva 2.0 (VAAPI 1.0). If you want to use libva 2.0, then you need to compile intel-vaapi-driver 2.0. Otherwise, you need to use libva 1.8 with intel-vaapi-driver 1.8.

@nottux
Copy link
Author

nottux commented Nov 28, 2017

i am trying to get libva.so.1

@nottux
Copy link
Author

nottux commented Nov 28, 2017

and trying to compile 1.8 from 1.8 branch
messages are separate becouse i am texting from mobile

@uartie
Copy link
Contributor

uartie commented Nov 28, 2017

Then you need libva 1.8 branch too.

@nottux
Copy link
Author

nottux commented Nov 28, 2017

i don't know how to get libva.so.1 and i assume version 1.8 provides it, but i don't know. also libva.so.2 and libva*.so.2 files are exist and i assume newest version allready installed becouse i have the game and desktop bundless installed

@xhaihao
Copy link
Contributor

xhaihao commented Nov 28, 2017

  1. yes version 1.8 provides libva.so.1,
  2. libva1 and libva2 can't coexist. Currently the include files for VAAPI was installed from libva2 on your system. I think you should re-install the development package for libva if you want to use version 1.8 or build libva version 1.8 from source code.

@nottux nottux closed this as completed Jan 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants