Media (Intel® Video Processing Library, Intel Media SDK)
Access community support with transcoding, decoding, and encoding in applications using media tools like Intel® oneAPI Video Processing Library and Intel® Media SDK
Announcements
The Intel Media SDK project is no longer active. For continued support and access to new features, Intel Media SDK users are encouraged to read the transition guide on upgrading from Intel® Media SDK to Intel® Video Processing Library (VPL), and to move to VPL as soon as possible.
For more information, see the VPL website.

Running on the S1200RPM by MediaServerStudioEssentialsEvaluation2015R3

Duan__Duan
Beginner
545 Views

S1200RPM with the CPU witch type is Xeon E3-1226 installed the MediaServerStudioEssentialsEvaluation2015R3.But,it failed to run the hardware transcode.

 

MediaServerStudioEssentialsEvaluation2015R3 comes with sample can alos not to run successfully,saying that ailed with unknown libva error,driver_name=(null).

GIGABYTE Z87 with the CPU witch type is i3 get the same configuration ,however,it can run hardware transcode successfully.

The comparation of two boards (INTEL S1200RPM & GIGABYTE Z87 

INTEL S1200RPM:

[root@localhost ~]# lspci -nn
00:00.0 Host bridge [0600]: Intel Corporation Xeon E3-1200 v3 Processor DRAM Controller [8086:0c08] (rev 06)
00:01.0 PCI bridge [0604]: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor PCI Express x16 Controller [8086:0c01] (rev 06)
00:02.0 VGA compatible controller [0300]: Intel Corporation Xeon E3-1200 v3 Processor Integrated Graphics Controller [8086:041a] (rev 06)
00:14.0 USB controller [0c03]: Intel Corporation 8 Series/C220 Series Chipset Family USB xHCI [8086:8c31] (rev 05)
00:1a.0 USB controller [0c03]: Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #2 [8086:8c2d] (rev 05)
00:1c.0 PCI bridge [0604]: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #1 [8086:8c10] (rev d5)
00:1c.1 PCI bridge [0604]: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #2 [8086:8c12] (rev d5)
00:1c.2 PCI bridge [0604]: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #3 [8086:8c14] (rev d5)
00:1d.0 USB controller [0c03]: Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #1 [8086:8c26] (rev 05)
00:1f.0 ISA bridge [0601]: Intel Corporation C226 Series Chipset Family Server Advanced SKU LPC Controller [8086:8c56] (rev 05)
00:1f.2 SATA controller [0106]: Intel Corporation 8 Series/C220 Series Chipset Family 6-port SATA Controller 1 [AHCI mode] [8086:8c02] (rev 05)
00:1f.3 SMBus [0c05]: Intel Corporation 8 Series/C220 Series Chipset Family SMBus Controller [8086:8c22] (rev 05)
00:1f.6 Signal processing controller [1180]: Intel Corporation 8 Series Chipset Family Thermal Management Controller [8086:8c24] (rev 05)
02:00.0 VGA compatible controller [0300]: Matrox Electronics Systems Ltd. MGA G200e [Pilot] ServerEngines (SEP1) [102b:0522] (rev 05)
03:00.0 Ethernet controller [0200]: Intel Corporation I210 Gigabit Network Connection [8086:1533] (rev 03)
04:00.0 Ethernet controller [0200]: Intel Corporation I210 Gigabit Network Connection [8086:1533] (rev 03)

 

GIGABYTE Z87:

[root@bogon ~]# lspci -nn
00:00.0 Host bridge [0600]: Intel Corporation 4th Gen Core Processor DRAM Controller [8086:0c00] (rev 06)
00:02.0 VGA compatible controller [0300]: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller [8086:0412] (rev 06)
00:03.0 Audio device [0403]: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller [8086:0c0c] (rev 06)
00:14.0 USB controller [0c03]: Intel Corporation 8 Series/C220 Series Chipset Family USB xHCI [8086:8c31] (rev 05)
00:16.0 Communication controller [0780]: Intel Corporation 8 Series/C220 Series Chipset Family MEI Controller #1 [8086:8c3a] (rev 04)
00:1a.0 USB controller [0c03]: Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #2 [8086:8c2d] (rev 05)
00:1b.0 Audio device [0403]: Intel Corporation 8 Series/C220 Series Chipset High Definition Audio Controller [8086:8c20] (rev 05)
00:1c.0 PCI bridge [0604]: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #1 [8086:8c10] (rev d5)
00:1c.2 PCI bridge [0604]: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #3 [8086:8c14] (rev d5)
00:1c.3 PCI bridge [0604]: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #4 [8086:8c16] (rev d5)
00:1d.0 USB controller [0c03]: Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #1 [8086:8c26] (rev 05)
00:1f.0 ISA bridge [0601]: Intel Corporation Z87 Express LPC Controller [8086:8c44] (rev 05)
00:1f.2 SATA controller [0106]: Intel Corporation 8 Series/C220 Series Chipset Family 6-port SATA Controller 1 [AHCI mode] [8086:8c02] (rev 05)
00:1f.3 SMBus [0c05]: Intel Corporation 8 Series/C220 Series Chipset Family SMBus Controller [8086:8c22] (rev 05)
02:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 06)
03:00.0 PCI bridge [0604]: Intel Corporation 82801 PCI Bridge [8086:244e] (rev 41)

 

the running message of S1200RPM and the GDB test of hardware transcode

1、running the hardware transcode of ffmpeg
[root@localhost gotron]# ffmpeg -y -i 1.mp4 -f mpegts -acodec libfaac -ar 48000 -ab 64K -s 720x576 -vcodec h264_qsv -qscale 4 video.ts
bash: ffmpeg: command not found...
[root@localhost gotron]# source /home/gotron/gotron/ffmpeg/env_ffmpeg.sh
[root@localhost gotron]#
[root@localhost gotron]#
[root@localhost gotron]#
2、adding the envirenment,running the hardware transcode of ffmpeg:
[root@localhost gotron]# ffmpeg -y -i 1.mp4 -f mpegts -acodec libfaac -ar 48000 -ab 64K -s 720x576 -vcodec h264_qsv -qscale 4 video.ts
ffmpeg version 2.2.git Copyright (c) 2000-2014 the FFmpeg developers
  built on Jul  4 2015 04:11:04 with gcc 4.8.3 (GCC) 20140911 (Red Hat 4.8.3-9)
  configuration: --prefix=/home/gotron/gotron/ffmpeg/ffmpeg_qsv/ffmpeg_qsv_install --enable-gpl --enable-shared --enable-vaapi --enable-pic --enable-ffplay --extra-ldflags='-L/opt/intel/mediasdk/lib64 -L/opt/intel/mediasdk/lib/lin_x64 -L/home/gotron/gotron/ffmpeg/deplibs/install/lib' --extra-libs='-lmfx -lsupc++ -lstdc++ -ldl -lva -lva-drm' --extra-cflags='-I/opt/intel/mediasdk/include -I/home/gotron/gotron/ffmpeg/deplibs/install/include' --enable-version3 --enable-libmfx --enable-libvpx --enable-libfaac --enable-libmp3lame --enable-libvorbis --enable-libx264 --enable-libxvid --enable-gpl --enable-postproc --enable-nonfree --enable-avfilter --enable-pthreads --disable-yasm
  libavutil      52. 79.100 / 52. 79.100
  libavcodec     55. 59.101 / 55. 59.101
  libavformat    55. 37.101 / 55. 37.101
  libavdevice    55. 13.100 / 55. 13.100
  libavfilter     4.  4.100 /  4.  4.100
  libswscale      2.  6.100 /  2.  6.100
  libswresample   0. 18.100 /  0. 18.100
  libpostproc    52.  3.100 / 52.  3.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '1.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 1
    compatible_brands: isomavc1
    creation_time   : 2015-07-02 16:47:53
  Duration: 00:46:05.91, start: 0.000000, bitrate: 2626 kb/s
    Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1280x666 [SAR 1:1 DAR 640:333], 2430 kb/s, 25 fps, 25 tbr, 25k tbn, 50 tbc (default)
    Metadata:
      creation_time   : 2015-07-02 16:47:53
      handler_name    : GPAC ISO Video Handler
    Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 191 kb/s (default)
    Metadata:
      creation_time   : 2015-07-02 16:54:40
      handler_name    : GPAC ISO Audio Handler
Please use -q:a or -q:v, -qscale is ambiguous
libva info: VA-API version 0.35.0
libva info: va_getDriverName() returns -1
libva error: va_getDriverName() failed with unknown libva error,driver_name=(null)
Segmentation fault (core dumped)
[root@localhost gotron]#
[root@localhost gotron]#

3、test by GDB,running the hardware transcode of ffmpeg:

(1)gdb open ffmpeg:

[root@localhost gotron]# gdb ffmpeg
GNU gdb (GDB) Red Hat Enterprise Linux 7.6.1-51.el7
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /home/gotron/gotron/ffmpeg/ffmpeg_qsv/ffmpeg_qsv_install/bin/ffmpeg...(no debugging symbols found)...done.

(2)set args &running ffmpeg:

(gdb) set args -y -i 1.mp4 -f mpegts -acodec libfaac -ar 48000 -ab 64K -s 720x576 -vcodec h264_qsv -qscale 4 video.ts
(gdb) set args -y -i 1.mp4 -f mpegts -acodec libfaac -ar 48000 -ab 64K -s 720x576 -vcodec h264_qsv -qscale 4 video.ts
(gdb) r
Starting program: /home/gotron/gotron/ffmpeg/ffmpeg_qsv/ffmpeg_qsv_install/bin/ffmpeg -y -i 1.mp4 -f mpegts -acodec libfaac -ar 48000 -ab 64K -s 720x576 -vcodec h264_qsv -qscale 4 video.ts
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
ffmpeg version 2.2.git Copyright (c) 2000-2014 the FFmpeg developers
  built on Jul  4 2015 04:11:04 with gcc 4.8.3 (GCC) 20140911 (Red Hat 4.8.3-9)
  configuration: --prefix=/home/gotron/gotron/ffmpeg/ffmpeg_qsv/ffmpeg_qsv_install --enable-gpl --enable-shared --enable-vaapi --enable-pic --enable-ffplay --extra-ldflags='-L/opt/intel/mediasdk/lib64 -L/opt/intel/mediasdk/lib/lin_x64 -L/home/gotron/gotron/ffmpeg/deplibs/install/lib' --extra-libs='-lmfx -lsupc++ -lstdc++ -ldl -lva -lva-drm' --extra-cflags='-I/opt/intel/mediasdk/include -I/home/gotron/gotron/ffmpeg/deplibs/install/include' --enable-version3 --enable-libmfx --enable-libvpx --enable-libfaac --enable-libmp3lame --enable-libvorbis --enable-libx264 --enable-libxvid --enable-gpl --enable-postproc --enable-nonfree --enable-avfilter --enable-pthreads --disable-yasm
  libavutil      52. 79.100 / 52. 79.100
  libavcodec     55. 59.101 / 55. 59.101
  libavformat    55. 37.101 / 55. 37.101
  libavdevice    55. 13.100 / 55. 13.100
  libavfilter     4.  4.100 /  4.  4.100
  libswscale      2.  6.100 /  2.  6.100
  libswresample   0. 18.100 /  0. 18.100
  libpostproc    52.  3.100 / 52.  3.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '1.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 1
    compatible_brands: isomavc1
    creation_time   : 2015-07-02 16:47:53
  Duration: 00:46:05.91, start: 0.000000, bitrate: 2626 kb/s
    Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1280x666 [SAR 1:1 DAR 640:333], 2430 kb/s, 25 fps, 25 tbr, 25k tbn, 50 tbc (default)
    Metadata:
      creation_time   : 2015-07-02 16:47:53
      handler_name    : GPAC ISO Video Handler
    Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 191 kb/s (default)
    Metadata:
      creation_time   : 2015-07-02 16:54:40
      handler_name    : GPAC ISO Audio Handler
Please use -q:a or -q:v, -qscale is ambiguous
[New Thread 0x7ffff2889700 (LWP 3707)]
[New Thread 0x7ffff2088700 (LWP 3708)]
[New Thread 0x7ffff1887700 (LWP 3709)]
[New Thread 0x7ffff1086700 (LWP 3710)]
[New Thread 0x7ffff0885700 (LWP 3711)]
[New Thread 0x7ffff0084700 (LWP 3712)]
[New Thread 0x7fffef883700 (LWP 3713)]
[New Thread 0x7fffef082700 (LWP 3714)]
[New Thread 0x7fffee881700 (LWP 3715)]
[New Thread 0x7fffee080700 (LWP 3716)]
[New Thread 0x7fffecc5f700 (LWP 3717)]
[New Thread 0x7fffec45e700 (LWP 3718)]
[New Thread 0x7fffebc5d700 (LWP 3719)]
[New Thread 0x7fffeb45c700 (LWP 3720)]
[New Thread 0x7fffeac5b700 (LWP 3721)]
[New Thread 0x7fffea45a700 (LWP 3722)]
[New Thread 0x7fffe9c59700 (LWP 3723)]
[New Thread 0x7fffe9458700 (LWP 3724)]
[Thread 0x7fffe9458700 (LWP 3724) exited]
[Thread 0x7fffeac5b700 (LWP 3721) exited]
[Thread 0x7fffe9c59700 (LWP 3723) exited]
[Thread 0x7fffea45a700 (LWP 3722) exited]
libva info: VA-API version 0.35.0
libva info: va_getDriverName() returns -1-
libva error: va_getDriverName() failed with unknown libva error,driver_name=(null)

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff4d7aa3b in vaGetConfigAttributes () from /lib64/libva.so.1
Missing separate debuginfos, use: debuginfo-install glibc-2.17-55.el7.x86_64 libdrm-2.4.50-29404.el7.centos.x86_64 libgcc-4.8.3-9.el7.x86_64 libstdc++-4.8.3-9.el7.x86_64 libva-1.3.1-staging.20130628.29404.el7.centos.x86_64 zlib-1.2.7-13.el7.x86_64

(3)backtrance:
(gdb) bt
#0  0x00007ffff4d7aa3b in vaGetConfigAttributes () from /lib64/libva.so.1
#1  0x00007fffecdc545b in ?? ()
   from /opt/intel/mediasdk/lib64/libmfxhw64-p.so.1.13
#2  0x00007fffecd86886 in ?? ()
   from /opt/intel/mediasdk/lib64/libmfxhw64-p.so.1.13
#3  0x00007fffecd2867c in ?? ()
   from /opt/intel/mediasdk/lib64/libmfxhw64-p.so.1.13
#4  0x00007fffecc9938f in MFXVideoENCODE_QueryIOSurf ()
   from /opt/intel/mediasdk/lib64/libmfxhw64-p.so.1.13
#5  0x00007ffff6784c0f in ?? ()
   from /home/gotron/gotron/ffmpeg/ffmpeg_qsv/ffmpeg_qsv_install/lib/libavcodec.so.55
#6  0x00007ffff682692e in avcodec_open2 ()
   from /home/gotron/gotron/ffmpeg/ffmpeg_qsv/ffmpeg_qsv_install/lib/libavcodec.so.55
#7  0x0000000000421163 in ?? ()
#8  0x0000000000406de4 in ?? ()
#9  0x00007ffff51c4af5 in __libc_start_main () from /lib64/libc.so.6
#10 0x00000000004098a9 in ?? ()
(gdb)

 

0 Kudos
1 Reply
Alexey_F_Intel
Employee
545 Views

Xeon E3 -1226 is not listed as supported. Board is ok but you need CPU Xeon E3 -128x v3 (or v4)

see here a system requirements section https://software.intel.com/sites/default/files/media_server_studio_essentials_release_notes_linux.pdf

0 Kudos
Reply