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.

Can't encode yuv with HD graphics

Viktor_S_
Beginner
728 Views

 

I am using Linux Samples 6.0.160431175.175 with pipeline model.

MediaServerStudio Essentials 2015 R6

Software encoding fine.

But hardware version don't stop in endless while loop inside pipeline->run

Same result in default compiled sample_encode_drm.

I am tring SYSTEM_MEMORY and D3D9_MEMORY

Output:

libva 
libva info: VA-API version 0.35.0
libva info: va_getDriverName() returns 0
libva info: User requested driver 'iHD'
libva info: Trying to open /opt/intel/mediasdk/lib64/iHD_drv_video.so
libva info: Found init function __vaDriverInit_0_32
libva info: va_openDriver() returns 0
Encoding Sample Version 1.0.0.0

Input file format       YUV420
Output video            AVC 
Source picture:
        Resolution      352x288
        Crop X,Y,W,H    0,0,352,288
Destination picture:
        Resolution      352x288
        Crop X,Y,W,H    0,0,352,288
Frame rate      30.00
Bit rate(Kbps)  750
Target usage    balanced
Memory type     system
Media SDK impl          hw
Media SDK version       1.16

Processing started

 

 

System:

Gentoo Linux 4.1.12 x86_64

Intel® 4th generation Core™ i7-4770R

Intel® Iris™ Pro graphics 5200

Please help me.

 

Best regards Viktor.

0 Kudos
5 Replies
Bjoern_B_Intel
Employee
728 Views

Hi Victor,

Gentoo Linux is not part of our list of golden OSes which we directly support. What you describe looks to me like some incompatibility between graphics driver and OS which most likely is due to an installation problem. I’d like to point you to the following article, which my colleague wrote on how to install MSS on a not supported OS:

How to Setup Intel® Media Server Studio on Linux*

Can you reproduce the issue using CentOS here? Does the video coming with the sample encode?

Thanks & Best,

Bjoern

0 Kudos
Viktor_S_
Beginner
728 Views

Thank you for answer.

Glibc version is 2.21 and gcc version is 4.9

I recompile libdrm and libva but result is same.

So i have only one way to install CentOS.

I will try and feedback.

0 Kudos
Viktor_S_
Beginner
728 Views

I installed CentOS 7 and sample_encode_drm works with HW and D3D.

Differents between hw and sw is about 10 times(cpu load and time).

Default kernel of iso centos 7 is ***327 but yours intel kernel is 229 version.

I --force kernel 229 rpm but can i update kernel later?

Best regards Viktor.

0 Kudos
Bjoern_B_Intel
Employee
728 Views

Hi Victor,

The Intel Media Server Studio is coming with patches for the kernel. So if you go and use a different than what is suggested in the release notes you are on your own. It might work or it might not. For details on how to apply the kernel patches you might want to have a look at the technical articles here. New or different OSes/Kernels we treat as Secondary OS of Linux. An easy way to update is to always go with latest Intel® Media Server Studio release. So you have the latest which can be installed on latest OS version that time.

Best,

Bjoern

0 Kudos
Viktor_S_
Beginner
728 Views

Thank you Bjoern!

0 Kudos
Reply