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.

MFXVideoSession::Init with MFX_IMPL_VIA_D3D11 returns MFX_ERR_UNSUPPORTED

Scannell__Kevin
Beginner
1,088 Views

Hello,

    I'm attempting to use code adapted from the IntelMediaSDK tutorials, specifically simple_3_encode, to encode bitmaps to h.264 video. Using the DX11_D3D preprocessor flag causes initialization to fail, however, with the error -3, or MFX_ERR_UNSUPPORTED. The issue seems to involve the mfxIMPL having the MFX_IMPL_VIA_D3D11 flag set, but I cannot find a reason why that feature is unsupported. We're attempting to use DirectX 11 to have access to the D3D_DRIVER_TYPE_NULL driver type while creating the ID3D11Device, in order to have access to the encoding functions while the program runs in Session 0, which it sometimes must. If there's a preferred alternative for that, it would also be appreciated.

    My computer is running Windows 10, and dxdiag shows that DirectX 12 is installed. I'm not sure if I'm just initializing something incorrectly, but any help would be appreciated. Thank you in advance.

0 Kudos
3 Replies
Jiandong_Z_Intel
Employee
1,088 Views

Hi Kevin,

Can you share log from system_analyzer tool located at (mediasdk/tools/analyzer) ? 

This will help provide us your system details. 

 

Thanks,

Zachary

 

0 Kudos
Scannell__Kevin
Beginner
1,088 Views

Zachary,

The analyzer gave me the following:

Intel(R) Media Server Studio 2016 R2 - System Analyzer (64-bit)


The following versions of Media SDK API are supported by platform/driver
[opportunistic detection of MSDK API > 1.19]:

    Version    Target    Supported    Dec    Enc
    1.0    HW    No              
    1.0    SW    Yes        X    X
    1.1    HW    No              
    1.1    SW    Yes        X    X
    1.2    HW    No              
    1.2    SW    Yes        X    X
    1.3    HW    No              
    1.3    SW    Yes        X    X
    1.4    HW    No              
    1.4    SW    Yes        X    X
    1.5    HW    No              
    1.5    SW    Yes        X    X
    1.6    HW    No              
    1.6    SW    Yes        X    X
    1.7    HW    No              
    1.7    SW    Yes        X    X
    1.8    HW    No              
    1.8    SW    Yes        X    X
    1.9    HW    No              
    1.9    SW    Yes        X    X
    1.10    HW    No              
    1.10    SW    Yes        X    X
    1.11    HW    No              
    1.11    SW    Yes        X    X
    1.12    HW    No              
    1.12    SW    Yes        X    X
    1.13    HW    No              
    1.13    SW    Yes        X    X
    1.14    HW    No              
    1.14    SW    Yes        X    X
    1.15    HW    No              
    1.15    SW    Yes        X    X
    1.16    HW    No              
    1.16    SW    Yes        X    X
    1.17    HW    No              
    1.17    SW    Yes        X    X
    1.18    HW    No              
    1.18    SW    Yes        X    X
    1.19    HW    No              
    1.19    SW    Yes        X    X

Graphics Devices:
    Name                                         Version             State
    NVIDIA Quadro NVS 295                        9.18.13.4135        Active

System info:
    CPU:    Intel(R) Core(TM) i7-3770K CPU @ 3.50GHz
    OS:    Microsoft Windows 10 Pro
    Arch:    64-bit

Installed Media SDK packages (be patient...processing takes some time):
    Intel(R) Media SDK 2016 R2

Installed Media SDK DirectShow filters:

Installed Intel Media Foundation Transforms:

 


Tips:
 - HW target does not work: If you expect it should, then make sure to install
   latest Intel gfx driver, and that Intel gfx is selected as primary driver.
 - If Intel driver is associated with secondary adapter, make sure to
   initialize DirectX device used with Media SDK with corresponding adapter.


Analysis complete... [press ENTER]

0 Kudos
Jiandong_Z_Intel
Employee
1,088 Views

Hi Kevin,

It look you need resolve following Tips base the output  -

Tips:
 - HW target does not work: If you expect it should, then make sure to install
   latest Intel gfx driver, and that Intel gfx is selected as primary driver.
 - If Intel driver is associated with secondary adapter, make sure to
   initialize DirectX device used with Media SDK with corresponding adapter.

 

Thanks,

Zachary

0 Kudos
Reply