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

Fix random corruption issue #1048

Closed
wants to merge 1 commit into from
Closed

Fix random corruption issue #1048

wants to merge 1 commit into from

Conversation

Xiaogangli-intel
Copy link
Contributor

Set struct alignment for DDI_MEDIA_SURFACE and DDI_MEDIA_BUFFER which will fix random corruption issue. Fixed #1028

Copy link
Contributor

@dvrogozh dvrogozh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks to be hack WA. How playing with alignments could fix such an issue? This basically means that you have some place in the driver which copies one struct to another via something like memcpy assuming that they have same fields - which is wrong behavior. Or there is place in the driver which somehow looks into struct padding area and makes some conclusions from that - this is wrong as well. In any case it seems that issue is not actually root caused.

@mgonchar, @onabiull, @dmitryermilov : FYI.

Set struct alignment for DDI_MEDIA_SURFACE and DDI_MEDIA_BUFFER which will fix random corruption issue. Fixed #1028
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

Successfully merging this pull request may close these issues.

[regression][ffmpeg-vaapi][vp8d] decode output corrupt
2 participants