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

Endurance test's fails due to polling in driver #671

Closed
alariono opened this issue Jul 2, 2019 · 7 comments
Closed

Endurance test's fails due to polling in driver #671

alariono opened this issue Jul 2, 2019 · 7 comments
Assignees
Labels
Encode video encode related P2 Medium priority

Comments

@alariono
Copy link
Contributor

alariono commented Jul 2, 2019

This issue is very related to #343
Endurance test’s fails after updating kernel [4.19.5]->[5.0.0].
Linux kernel’s patch: https://cgit.freedesktop.org/drm/drm/commit/?id=b16c765122f987056e1dc9ef6c214571bb5bd694
Feedback from kernel’s team: “Proper fix on userspace side is not to poll with sleeps, especially not short ones”
But proper fix in UMD is actually #343 request.

Steps for reproduce:

  1. Build full media stack: MediaSDK, UMD driver and etc.
  2. Run SMT for transcoding with attached par file lstN15N-all_skl.par.
    “sample_multi_transcode -par lstN15N-all_skl.par -timeout 90000”
  3. In separate console run extra SMT for transcoding. This one transcoding session will fail in 5-10 seconds.
    “sample_multi_transcode -i::h264 1920x1088_frm_cab_24mbs.264 -o::mpeg2 1920x1080_2400.mpeg2 -hw -async 1 -b 9600”

lstN15N-all_skl.par.txt

@alariono
Copy link
Contributor Author

alariono commented Jul 2, 2019

@dmitryermilov
Copy link
Contributor

@alariono
Copy link
Contributor Author

alariono commented Jul 3, 2019

+@alariono

@XinfengZhang XinfengZhang added Encode video encode related P2 Medium priority labels Jul 5, 2019
@XinfengZhang
Copy link
Contributor

I wonder why the issue is related with the frequent sleep. the code is very old, why KMD promotion will impact it?

@alariono
Copy link
Contributor Author

alariono commented Jul 5, 2019

Hello XinfengZhang,
I will forward discussion to you

@Xiaogangli-intel
Copy link
Contributor

does this issue still here when update the KMD?

@Xiaogangli-intel
Copy link
Contributor

The polling way in driver is a long story, should not cause this issue. From the description, I think this issue should be caused by KMD updating.

Maybe this issue should be fixed by the latest KMD, will close this issue if no other concern.

Link the answer for #343,
#343 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Encode video encode related P2 Medium priority
Projects
None yet
Development

No branches or pull requests

4 participants