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

[Bug]: corrupted picture with vaPutSurface on Meteor Lake #1906

Open
aslobodeniuk opened this issue Feb 5, 2025 · 1 comment
Open

[Bug]: corrupted picture with vaPutSurface on Meteor Lake #1906

aslobodeniuk opened this issue Feb 5, 2025 · 1 comment
Assignees

Comments

@aslobodeniuk
Copy link

aslobodeniuk commented Feb 5, 2025

Which component impacted?

Video Processing

Is it regression? Good in old configuration?

No, this issue exist a long time

What happened?

Running a pipeline with gstreamer-vaapi shows corrupted image when the window takes certain sizes (when resizing the window).

LIBVA_DRI3_DISABLE=1 gst-launch-1.0 filesrc location=test.mp4 ! parsebin ! vaapih264dec ! vaapisink display=x11 force-aspect-ratio=false

Image

What's the usage scenario when you are seeing the problem?

Playback

What impacted?

No response

Debug Information

GPU: 00:02.0 VGA compatible controller: Intel Corporation Meteor Lake-P [Intel Graphics] (rev 08)

OS: Linux ubutest 6.8.0-51-generic #52~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Mon Dec 9 15:00:52 UTC 2 x86_64 x86_64 x86_64 GNU/Linux

Checked with the versions of iHD driver 25.1.0 and 24.2.5

gstvaapi.164817.thd-0x0000449b.txt
gstvaapi.164817.thd-0x0000449e.txt
gstvaapi.164820.thd-0x0000449f.txt

Do you want to contribute a patch to fix the issue?

None

@aslobodeniuk
Copy link
Author

aslobodeniuk commented Feb 5, 2025

hint: it's definitelly a problem with data alignment, the screenshot can be partially aligned back when playing with the considered raw image width.

$ gst-launch-1.0 uridecodebin uri=file:///home/sasha/Baixades/Screenshot_2025-01-16_17-17-25.png ! rawvideoparse format=rgba width=1084 height=790 ! videoconvert ! jpegenc ! filesink location=t.jpg

Image

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

3 participants