Bug 31772 - VA-API support patch
: VA-API support patch
Status: CLOSED FIXED
: Sisyphus
(All bugs in Sisyphus/chromium)
: unstable
: all Linux
: P3 enhancement
Assigned To:
:
: https://bugs.launchpad.net/ubuntu/+so...
: relnote
:
:
  Show dependency tree
 
Reported: 2016-02-09 13:30 by
Modified: 2018-01-13 02:13 (History)


Attachments
chromium.spec (55.23 KB, text/x-rpm-spec)
2016-02-09 13:30, Konstantin A Lepikhov (L.A. Kostis)
no flags Details
chromium-enable_vaapi_on_linux.patch (17.17 KB, patch)
2016-02-09 13:31, 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 From 2016-02-09 13:30:22
Created an attachment (id=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 From 2016-02-09 13:31:32 -------
Created an attachment (id=6491) [details]
chromium-enable_vaapi_on_linux.patch

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