Bug 31772 - VA-API support patch
Summary: VA-API support patch
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: chromium (show other bugs)
Version: unstable
Hardware: all Linux
: P3 enhancement
Assignee: Alexey Gladkov
QA Contact: qa-sisyphus
URL: https://bugs.launchpad.net/ubuntu/+so...
Keywords: relnote
Depends on:
Blocks:
 
Reported: 2016-02-09 13:30 MSK by Konstantin A Lepikhov (L.A. Kostis)
Modified: 2018-01-13 02:13 MSK (History)
4 users (show)

See Also:


Attachments
chromium.spec (55.23 KB, text/x-rpm-spec)
2016-02-09 13:30 MSK, Konstantin A Lepikhov (L.A. Kostis)
no flags Details
chromium-enable_vaapi_on_linux.patch (17.17 KB, patch)
2016-02-09 13:31 MSK, Konstantin A Lepikhov (L.A. Kostis)
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Konstantin A Lepikhov (L.A. Kostis) 2016-02-09 13:30:22 MSK
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
Comment 1 Konstantin A Lepikhov (L.A. Kostis) 2016-02-09 13:31:32 MSK
Created attachment 6491 [details]
chromium-enable_vaapi_on_linux.patch

Патч, адаптированный для 48.0.2564.103
Comment 2 Repository Robot 2016-02-10 19:01:33 MSK
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)
Comment 3 mikhailnov 2018-01-13 02:13:51 MSK
Сломалось: https://bugzilla.altlinux.org/show_bug.cgi?id=34452