intel / media-driver

Intel Graphics Media Driver to support hardware decode, encode and video processing.
https://github.com/intel/media-driver/wiki
Other
964 stars 344 forks source link

[Bug]: PSNR decreases a lot on ICL platform when VA_SURFACE_ATTRIB_USAGE_HINT_ENCODER is enabled. #1723

Open HeJunyan opened 1 year ago

HeJunyan commented 1 year ago

Which component impacted?

Encode

Is it regression? Good in old configuration?

No, this issue exist a long time

What happened?

The PSNR decreases a lot after the VA_SURFACE_ATTRIB_USAGE_HINT_ENCODER is set for recon surface. This only happens on ICL platform and there is no such regression on other platforms.

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

Transcode for media delivery, Cloud Gaming, Video Conference, Content Creation

What impacted?

The PNSR drop will fail all test cases of encoders and transcode.

Debug Information

No response

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

None

HeJunyan commented 1 year ago

https://jira.devtools.intel.com/browse/VIZ-20063 can also trace this

wenqingx commented 1 year ago

test cmdlline : gst-launch-1.0 -vf filesrc location=4k_2013_3840x2160_I420_75frames.yuv num-buffers=75 ! rawvideoparse format=i420 width=3840 height=2160 framerate=25 ! videoconvert chroma-mode=none dither=0 ! video/x-raw,format=NV12 ! vah264enc rate-control=cbr key-int-max=30 num-slices=1 b-frames=0 bitrate=10000 ! video/x-h264,profile=main ! h264parse ! filesink location=output_now.h264

I found that the top edge of this output is abnormal using VQA You can see the output through this tictke. https://jira.devtools.intel.com/browse/VIZ-20063

intel-mediadev commented 11 months ago

Auto Created VSMGWL-68506 for further analysis.