Bug 31772

Summary: VA-API support patch
Product: Sisyphus Reporter: Konstantin A Lepikhov (L.A. Kostis) <lakostis>
Component: chromiumAssignee: Alexey Gladkov <legion>
Status: CLOSED FIXED QA Contact: qa-sisyphus
Severity: enhancement    
Priority: P3 CC: cas, legion, m, mike
Version: unstableKeywords: relnote
Hardware: all   
OS: Linux   
URL: https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/1424201
Attachments:
Description Flags
chromium.spec
none
chromium-enable_vaapi_on_linux.patch none

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