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.

Unlimited multi GPU support in transcoding

zsc_IM
Novice
382 Views

Hello,

 

I plan to build a server with 6/8/more GPUs. But If I specify "qsv_device 4" in ffmpeg, an error will be reported. I think this is due not to ffmpeg but to intel. I've found a problem when I checked through oneVPL SDK, it might not support 5 GPUs or more, as it defines up to 4th device only.

 

https://spec.oneapi.io/onevpl/latest/API_ref/VPL_enums.html#mfximplhttps://spec.oneapi.io/onevpl/latest/API_ref/VPL_enums.html#mfximpl

 

enum {
MFX_IMPL_AUTO = 0x0000, /*!< Auto Selection/In or Not Supported/Out. */
MFX_IMPL_SOFTWARE = 0x0001, /*!< Pure software implementation. */
MFX_IMPL_HARDWARE = 0x0002, /*!< Hardware accelerated implementation (default device). */
MFX_IMPL_AUTO_ANY = 0x0003, /*!< Auto selection of any hardware/software implementation. */
MFX_IMPL_HARDWARE_ANY = 0x0004, /*!< Auto selection of any hardware implementation. */
MFX_IMPL_HARDWARE2 = 0x0005, /*!< Hardware accelerated implementation (2nd device). */
MFX_IMPL_HARDWARE3 = 0x0006, /*!< Hardware accelerated implementation (3rd device). */
MFX_IMPL_HARDWARE4 = 0x0007, /*!< Hardware accelerated implementation (4th device). */
MFX_IMPL_RUNTIME = 0x0008, /*!< This value cannot be used for session initialization. It may be returned by the MFXQueryIMPL
function to show that the session has been initialized in run-time mode. */
MFX_IMPL_VIA_ANY = 0x0100, /*!< Hardware acceleration can go through any supported OS infrastructure. This is the default value. The default value
is used by the legacy Intel(r) Media SDK if none of the MFX_IMPL_VIA_xxx flags are specified by the application. */
MFX_IMPL_VIA_D3D9 = 0x0200, /*!< Hardware acceleration goes through the Microsoft* Direct3D* 9 infrastructure. */
MFX_IMPL_VIA_D3D11 = 0x0300, /*!< Hardware acceleration goes through the Microsoft* Direct3D* 11 infrastructure. */
MFX_IMPL_VIA_VAAPI = 0x0400, /*!< Hardware acceleration goes through the Linux* VA-API infrastructure. */
MFX_IMPL_VIA_HDDLUNITE = 0x0500, /*!< Hardware acceleration goes through the HDDL* Unite*. */

MFX_IMPL_UNSUPPORTED = 0x0000 /*!< One of the MFXQueryIMPL returns. */
};

 

Therefore, I would like to know what considerations led you to implement such restrictions. Will you add unlimited multi GPU support in transcoding in the future?

 

Thanks in advance!

0 Kudos
1 Reply
AthiraM_Intel
Moderator
349 Views

Hi,


Thank you for posting in Intel Communities.


Since this is a duplicate thread of (https://community.intel.com/t5/Media-Intel-oneAPI-Video/Unlimited-multi-GPU-support-in-transcoding/m-p/1468106#M14551), we will no longer monitor this thread. We will continue addressing this issue in the other thread.



Thanks


0 Kudos
Reply