You are not logged in.
Hey
I observed, that I only have hardware acceleration in kodi when I use Xorg and not the default wayland session of gnome3. My stem looks the following:
[malte@carbon ~]$ uname -a
Linux carbon 4.14.40-1-lts #1 SMP Wed May 9 13:00:32 CEST 2018 x86_64 GNU/Linux
[malte@carbon ~]$ vainfo
libva info: VA-API version 1.1.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_1_1
libva info: va_openDriver() returns 0
vainfo: VA-API version: 1.1 (libva 2.1.0)
vainfo: Driver version: Intel i965 driver for Intel(R) Ivybridge Mobile - 2.1.0
vainfo: Supported profile and entrypoints
VAProfileMPEG2Simple : VAEntrypointVLD
VAProfileMPEG2Simple : VAEntrypointEncSlice
VAProfileMPEG2Main : VAEntrypointVLD
VAProfileMPEG2Main : VAEntrypointEncSlice
VAProfileH264ConstrainedBaseline: VAEntrypointVLD
VAProfileH264ConstrainedBaseline: VAEntrypointEncSlice
VAProfileH264Main : VAEntrypointVLD
VAProfileH264Main : VAEntrypointEncSlice
VAProfileH264High : VAEntrypointVLD
VAProfileH264High : VAEntrypointEncSlice
VAProfileH264StereoHigh : VAEntrypointVLD
VAProfileVC1Simple : VAEntrypointVLD
VAProfileVC1Main : VAEntrypointVLD
VAProfileVC1Advanced : VAEntrypointVLD
VAProfileNone : VAEntrypointVideoProc
VAProfileJPEGBaseline : VAEntrypointVLD
[malte@carbon ~]$ kodi --version
17.6 Git:20180213-nogitfound Media Center Kodi
Copyright (C) 2005-2013 Team Kodi - http://kodi.tvgnome is version 3.28.2
I verified the issue by logging into gnome with wayland and playing a video in kodi. Upon pressing "o" I saw that "SW" video decoder is used.
When I log into gnome with Xorg and do the same, I see "HW" as a decoder.
I found this bug https://bugs.archlinux.org/task/56122 but I'm not sure if it takels the same problem since it is from last year.
In the Kodi forum they blamed the way mesa is compiled: https://forum.kodi.tv/showthread.php?tid=315178
Anybody observed this as well? Is it worth a bug report?
Last edited by deisi (2018-05-22 05:42:49)
Offline
AFAIK, someone correct me if I'm wrong VAAPI and the like do only work on Xorg correctly currently. The Kodi forum entry is about general acceleration (which likely lead to the bug you link and which has subsequently been fixed)
Offline
you think so? I belive it works in firefox. At least my pc keeps cool there. And I found this https://trac.kodi.tv/ticket/17635
Last edited by deisi (2018-05-22 17:48:20)
Offline
TL;DR : Kodi can use video acceleration on wayland, but that's still experimental
The solution is to use native-Wayland Kodi
The kodi PKGBUILD has no references to wayland at all .
first post in https://forum.kodi.tv/showthread.php?pid=2728327 suggest you'd need to set
-DCORE_PLATFORM_NAME and -DWAYLAND_RENDER_SYSTEM to build a native wayland version.
Further in that thread it's said you need mesa-git and kodi-git, there may be other requirements.
Last edited by Lone_Wolf (2018-05-23 13:07:28)
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline