Summary: | VA-API support patch | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Sisyphus | Reporter: | Konstantin A Lepikhov (L.A. Kostis) <lakostis> | ||||||
Component: | chromium | Assignee: | Alexey Gladkov <legion> | ||||||
Status: | CLOSED FIXED | QA Contact: | qa-sisyphus | ||||||
Severity: | enhancement | ||||||||
Priority: | P3 | CC: | cas, legion, m, mike | ||||||
Version: | unstable | Keywords: | relnote | ||||||
Hardware: | all | ||||||||
OS: | Linux | ||||||||
URL: | https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/1424201 | ||||||||
Attachments: |
|
Created attachment 6491 [details]
chromium-enable_vaapi_on_linux.patch
Патч, адаптированный для 48.0.2564.103
chromium-48.0.2564.103-alt2 -> sisyphus: * Tue Feb 09 2016 Andrey Cherepanov <cas@altlinux> 48.0.2564.103-alt2 - Enable experimental VAAPI support (ALT #31772) (thanks L.A. Kostis for patch) |
Created attachment 6490 [details] chromium.spec Привет! С приложенным патчем удалось завести vaapi и hw video в chromium, теперь можно смотреть 4k видео в youtube без тормозов и без загрузки CPU. Проверял только под x86_64 YMMV Не знаю как это будет работать под intel, под AMD с последней mesa и libva завелось. [lakostis@lks ~]$ vainfo error: XDG_RUNTIME_DIR not set in the environment. libva info: VA-API version 0.38.1 libva info: va_getDriverName() returns 0 libva info: User requested driver 'gallium' libva info: Trying to open /usr/lib64/dri/gallium_drv_video.so libva info: Found init function __vaDriverInit_0_38 libva info: va_openDriver() returns 0 vainfo: VA-API version: 0.38 (libva 1.6.3.pre1) vainfo: Driver version: mesa gallium vaapi vainfo: Supported profile and entrypoints VAProfileMPEG2Simple : VAEntrypointVLD VAProfileMPEG2Main : VAEntrypointVLD VAProfileVC1Simple : VAEntrypointVLD VAProfileVC1Main : VAEntrypointVLD VAProfileVC1Advanced : VAEntrypointVLD VAProfileH264Baseline : VAEntrypointVLD VAProfileH264Main : VAEntrypointVLD VAProfileH264High : VAEntrypointVLD VAProfileNone : VAEntrypointVideoProc