Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
22 Views

MFXVideoSession::Init with MFX_IMPL_VIA_D3D11 returns MFX_ERR_UNSUPPORTED

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
Highlighted
22 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
Highlighted
22 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
Highlighted
22 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