Skip to content

Conversation

@tyan0
Copy link

@tyan0 tyan0 commented Jan 9, 2026

If the primary GPU is not an Intel GPU, libvpl cannot detect the Intel GPU in the Windows environment, even though it is present. The situation is, for example, using an NVIDIA graphics card with an Intel CPU that has an embedded GPU. This patch allows the Intel GPU to be detected in such situations.

Issue

When a GPU of other than Intel is primary, the Intel GPU fails to be detected by libvpl for MFX API.

Solution

Search Intel GPU (vendor ID == 0x8086) whose adapterNum is other than 0 in MFXLibraryIterator::GetRegkeyDir().

How Tested

Apply the proposed patch to cygwin libvpl package, and run mpv -vd h264_qsv videofile.mp4 in my environment:

  • Primary GPU: NVIDIA Geforce GTX 750Ti
  • Secondary GPU: Intel HD Graphics 4600 (Core i7 4790)

If the primary GPU is not an Intel GPU, libvpl cannot detect the
Intel GPU in the Windows environment, even though it is present.
The situation is, for example, using an NVIDIA graphics card with
an Intel CPU that has an embedded GPU. This patch allows the Intel
GPU to be detected in such situations.

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