Skip to content
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

[SKL][MPEG2ENC] MPEG2ENC lead to GPU hang in SKL #82

Closed
mypopydev opened this issue Jan 17, 2018 · 1 comment
Closed

[SKL][MPEG2ENC] MPEG2ENC lead to GPU hang in SKL #82

mypopydev opened this issue Jan 17, 2018 · 1 comment

Comments

@mypopydev
Copy link
Contributor

in SKL, mpeg2enc will hang when setting macro block address like this:

vslice->macroblock_address = priv->mb_width * slice->index;
vslice->num_macroblocks = priv->mb_width;

but when change the code as: vslice->macroblock_address =slice->index;, it's working, I think media-driver doesn't follow VA-API Spec for uint32_t macroblock_address in VAEncSliceParameterBufferMPEG2. (https://github.com/01org/libva/blob/c88000b75602ded8ec24e6ea032f4841a4437049/va/va_enc_mpeg2.h#L278)

@XinfengZhang
Copy link
Contributor

will fix it.

XinfengZhang added a commit to XinfengZhang/media-driver that referenced this issue Jan 23, 2018
following VAAPI definition. #fix issue intel#82

Signed-off-by: XinfengZhang <carl.zhang@intel.com>
oliver-sang pushed a commit that referenced this issue Jun 29, 2018
following VAAPI definition. #fix issue #82

Signed-off-by: XinfengZhang <carl.zhang@intel.com>
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

No branches or pull requests

2 participants