intel / libvpl

Intel® Video Processing Library (Intel® VPL) API, dispatcher, and examples
https://intel.github.io/libvpl/
MIT License
262 stars 80 forks source link

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

Closed iPaid closed 6 months ago

iPaid commented 11 months ago

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

akwrobel commented 10 months ago

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

shepark commented 10 months ago

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

mav-intel commented 6 months ago

Fixed in v2023.4.0 (commit d1bc4f65232c6ed5fc9e674af1c4b730b22aa895)