intel/libvpl

Exception in FoundSuitableAdapter() in sample_decode with non-Intel GPU

iPaid opened this issue · 3 comments

iPaid commented

When I use sample_decode, I came across one problem:
the code of static mfxU16 FoundSuitableAdapter() has a loop. In the loop, calling of pFactory->EnumAdapters(i, &pAdapter) will cause an exception when it was called more than one time.
Here I set pAdapter nullptr when the adapter is not an Intel GPU, and it works.
Please check out this problem.

My personal environment is as following:
System : Windows 10
Processor: Intel Core i7-10700K
Memory: 65536MB
DX Edition : 12
GPU: RTX 3070

@iPaid
We will look into this issue, when it is resolved it will be added to the release notes with the fixed version.

@iPaid Thank you for finding this, we could root cause this issue, and will fix this.

Fixed in v2023.4.0
(commit d1bc4f6)