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]: VP format conversion to VUYA results in pink artifacts. #1867

Open
z0Kng opened this issue Oct 29, 2024 · 2 comments
Open

[Bug]: VP format conversion to VUYA results in pink artifacts. #1867

z0Kng opened this issue Oct 29, 2024 · 2 comments
Assignees
Labels
VP Video Processing

Comments

@z0Kng
Copy link

z0Kng commented Oct 29, 2024

Which component impacted?

Video Processing

Is it regression? Good in old configuration?

None

What happened?

Converting for e.g. BGRx to VUYA using the gstreamer va plugins vapostproc, results in pink artifacts while converting to NV12 is fine. It only appears if the image height is not a multiple of 16.
Example gstreamer pipeline:

gst-launch-1.0 videotestsrc pattern=ball flip=true ! video/x-raw,format=BGRx,width=1920,height=1080 ! vapostproc ! "video/x-raw(memory:VAMemory),format=VUYA" ! vah265lpenc ! h265parse ! matroskamux ! filesink location=test.mkv

Screenshot_20241029_102800

The same pipeline with height=1072 works fine.

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

Others

What impacted?

We are currently developing an opensource vdi solution using Flex vGPUs for graphics acceleration and video stream encoding. For non chroma subsampling encoding, we need to convert BGRx into VUYA.

Debug Information

  1. vainfo: VA-API version: 1.22 (libva 2.22.0)
    vainfo: Driver version: Intel iHD driver for Intel(R) Gen Graphics - 24.4.2 (18b64f0)
  2. exists
  3. Intel Corporation ATS-M [Data Center GPU Flex 170] [8086:56c0] (rev 08)
  4. vainfo.log
  5. libva_trace.log

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

None

@Jexu Jexu assigned MicroYY and unassigned Jexu and XinfengZhang Oct 31, 2024
@z0Kng
Copy link
Author

z0Kng commented Nov 20, 2024

I could also verify the issue on a Flex 140 with:

vainfo: VA-API version: 1.22 (libva 2.22.0)
vainfo: Driver version: Intel iHD driver for Intel(R) Gen Graphics - 24.4.3 (bd984fbb1)

and Intel® Core™ Ultra 7 155H with:

vainfo: VA-API version: 1.22 (libva 2.22.0)
vainfo: Driver version: Intel iHD driver for Intel(R) Gen Graphics - 24.3.4 ()

@MicroYY MicroYY added the VP Video Processing label Nov 28, 2024
@intel-mediadev
Copy link
Contributor

Auto Created VSMGWL-77288 for further analysis.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
VP Video Processing
Projects
None yet
Development

No branches or pull requests

5 participants