- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Recently we have tried the official example (hello-decode) for decoding hevc input with oneVPL.
The example works fine on a NUC12 with 1x A770m dGPU + 1x Iris(R) Xe iGPU.
However, we found that the performance on A770m is much worse than that on Iris(R) Xe iGPU.
First, to exclude the influence of I/O, we have disabled the sts = WriteRawFrame(surface, f);
Then, for decoding 977 Frames, 1x Iris(R) Xe iGPU spends ~2s, while 1x A770m spends ~6s.
The default IOPattern is MFX_IOPATTERN_OUT_SYSTEM_MEMORY. We have tried to use the MFX_IOPATTERN_OUT_VIDEO_MEMORY, but it did not help for the A770m case.
- System: windows 11 22H2
- Intel GPU Driver: 31.0.101.4575
- CPU: i7-12700H
- GPUs: 1x A770m dGPU + 1x Iris(R) Xe iGPU
- Visual studio: 2022
- oneAPI base toolkit: 2023.2.0
- oneVPL version: 2023.1.0 (can be downloaded here: oneapi-standalone-components)
- Code sample: with standard installation, the example code can be found at C:\Program Files (x86)\Intel\oneAPI\vpl\latest\examples\hello\hello-decode
- Switch between dGPU and iGPU: In my system, adjusting the second parameter in MFXCreateSession(loader, 0 or 1, &session) will change the target GPU for decoding. And monitor the GPU avtivity with Arc control or windows task manager.
- Pofile in powershell: $ Measure-Command{hello-decode.exe -hw -i input.hevc}
- Input resolution: 2880x1440
We guess there are some implicit memory copies between dGPU memory and host memory.
In addition, for windows, is it possible to directly access the decoded data in dGPU memory with SYCL/DPC++ without D2H & H2D copy?
Thanks!
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Thanks for posting in Intel Communities.
Based on our discussion about creating a priority ticket if needed, I am going ahead and closing this case for now. Please feel free to contact us further if you need any assistance from our side.
Thanks & Regards,
Athira

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page