Skip to content

Conversation

@tyan0
Copy link

@tyan0 tyan0 commented Jan 9, 2026

Currently, the code in linux/mfxloader.cpp and windows/main.cpp supports initializing the GPU using the legacy MFXInit() if MFXInitEx() is not available. However, the GPUs without MFXInitEx() are excluded by LoaderCtxVPL::CheckValidLibraries() in mfx_dispatcher_vp_loader.cpp. This inconsistency is addressed by this patch, which enables support for older GPUs without MFXInitEx().

Fixes: 17968d8 ("Release 2021.2.2")

Issue

libvpl does not work with Intel HD Graphics embedded in Celeron 1005M, which has H.264 decoding feature via MFX API.

Solution

Check for the existence of MFXInit() instead of MFXInitEx() in LoaderCtxVPL::CheckValidLibraries().

How Tested

Apply the proposed patch to cygwin libvpl package and run mpv -vd h264_qsv videofile.mp4 in my laptop with Celeron 1005M.

Currently, the code in linux/mfxloader.cpp and windows/main.cpp supports
initializing the GPU using the legacy MFXInit() if MFXInitEx() is not
available.  However, the GPUs without MFXInitEx() are excluded by
LoaderCtxVPL::CheckValidLibraries() in mfx_dispatcher_vp_loader.cpp.
This inconsistency is addressed by this patch, which enables support for
older GPUs without MFXInitEx().

Fixes: 17968d8 ("Release 2021.2.2")
Signed-off-by: Takashi Yano <takashi.yano@nifty.ne.jp>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant