Summary: | VCE encoding slow when GPU is not stressed (HD 7970M) | ||
---|---|---|---|
Product: | Mesa | Reporter: | Christoph Haag <haagch> |
Component: | Drivers/Gallium/radeonsi | Assignee: | Default DRI bug account <dri-devel> |
Status: | RESOLVED MOVED | QA Contact: | Default DRI bug account <dri-devel> |
Severity: | enhancement | ||
Priority: | high | CC: | 0xe2.0x9a.0x9b, adf.lists |
Version: | unspecified | ||
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
Christoph Haag
2016-07-25 14:27:51 UTC
Yeah, that is a known issue. The current VA-API implementation waits for the result after sending a single frame to the hardware. The OpenMAX implementation pipelines the whole thing and waits for a result after sending multiple frames to the hardware to chew on. So with OpenMAX the hardware is always busy, while with VA-API it constantly turns on/off. So maybe there is also some dpm type issue on your system. Rather than running gears maybe there is somewhere you can force gpu clocks to high. My setup is very different but I would do - echo high > /sys/class/drm/card0/device/power_dpm_force_performance_level I put the issue in DRM/radeon instead of mesa/radeonsi because I thought it would be related to power management. I tried echo high > /sys/class/drm/card1/device/power_dpm_force_performance_level and performance > /sys/class/drm/card1/device/power_dpm_state but it makes no difference, still just as slow. Good point, but no the problem is clearly in the VA-API state tracker. Well his omx test is 6x slower as well without load (though the test vid is very short). So I think in addition to to the vaapi issue he is seeing some prime+HD 7970M dpm problem. Though maybe forcing CPUs to high and re-testing would help rule out cpufreq messing things up. I should open my eyes while reading. Indeed that is way to much to be explained by the VAAPI problems. -- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/mesa/mesa/issues/1235. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.