New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Do not map linear surface with no cache. #620
Comments
I will be OOO ww20. Will follow up this issue ww21. |
Thanks, Furong for quick response |
Sorry for the late response because of taking annual leave. I will check this issue this week. |
@xuguangxin , I filed pull request for this issue. Please help to review that, thanks a lot in advance! |
thanks @FurongZhang , @fulinjie could you help check it benefits. |
Trid above pipeline but failed with cmdline: And I tried HW decode + CSC to rgb32 pipeline on APL, the performance is similar: frame= 41 fps=3.9 q=-0.0 Lsize= 1328400kB time=00:00:00.68 bitrate=15909330.9kbits/s speed=0.0652x With gpu_copy, it can reach up to 30 fps. |
Hi @FurongZhang , you can use libyami to reproduce the issue. the command is use iHD driver with your patch, we only get about 10fps for a 1080P video. Is anything we missed here? thanks |
@FurongZhang , any feedback on this? |
I will check this function mos_bo_map and why it does not take effect as expected. |
thanks @FurongZhang , waiting for your feedback |
@XinfengZhang , any progress on this? thanks |
Please use this patch https://github.com/intel/media-driver/pull/646/files. |
The driver always uses mapgtt on the atom. No matter it’s tiled or linear surface. This logic does not exist on i965.
The logic will disable cache for linear surface and slow down the cpu access.
If we have this issue, two important and typical use cases are not possible:
Please help fix it.
thanks
The text was updated successfully, but these errors were encountered: