Package Details: kodi-c2-x11 17.0-2

Git Clone URL: https://aur.archlinux.org/kodi-c2-x11.git (read-only)
Package Base: kodi-c2-x11
Description: A software media player and entertainment hub for digital media (ODROID-C2)
Upstream URL: http://kodi.tv
Licenses: GPL2
Conflicts: kodi, shairplay-git, xbmc
Provides: kodi, xbmc
Replaces: xbmc
Submitter: Sonic-Y3k
Maintainer: Sonic-Y3k
Last Packager: Sonic-Y3k
Votes: 3
Popularity: 0.023332
First Submitted: 2016-08-16 12:13
Last Updated: 2017-02-12 15:25

Dependencies (90)

Required by (32)

Sources (3)

Latest Comments

Sonic-Y3k commented on 2017-02-14 19:21

Hm... is your username member of the video group? 99-odroid.rules allows access to aml devices for video group...

If your user is member of the video group, we maybe have to create a /etc/tmpfiles.d/kodi_permissions.conf analog to https://github.com/archlinuxarm/PKGBUILDs/blob/master/alarm/kodi-c2/kodi_permissions.conf but with your username and groupname...

tport commented on 2017-02-14 19:08

I guess I was too overhasty. Today HW acceleration does not work any more (no updates, no reboot since last trial). Video and audio stutters, 1080i TV channels don't even show a picture. The log says:

23:32:15.645 T:547339890912 ERROR: AML: no rw on /sys/module/amvideo/parameters/omx_pts
23:32:15.645 T:547339890912 ERROR: AML: no rw on /sys/module/amlvideodri/parameters/freerun_mode
23:32:15.645 T:547339890912 ERROR: AML: no rw on /sys/class/ppmgr/ppmgr_3d_mode
23:32:15.645 T:547339890912 ERROR: AML: no rw on /sys/class/vfm/map
23:32:15.645 T:547339890912 ERROR: AML: no rw on /sys/class/tsync/enable
23:32:15.645 T:547339890912 ERROR: AML: no rw on /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
23:32:15.645 T:547339890912 ERROR: AML: no rw on /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
23:32:15.645 T:547339890912 ERROR: AML: no rw on /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
23:32:15.645 T:547339890912 ERROR: AML: no proper permission, please contact the device vendor. Skipping codec...

tport commented on 2017-02-12 19:44

Great, I can confirm it works, well done! One minor issue: If I exit kodi it always crashes and creates a crash report file in ~/

Sonic-Y3k commented on 2017-02-12 19:03

@oi_wtf i really don't know! But if you're running kodi as service i'd recommend the kodi-c2 package from the Arch Package Repository.

oi_wtf commented on 2017-02-12 18:44

Do I have to change the username in polkit.rules if I'm running kodi as a different user than "kodi"? I'm running kodi by selecting the kodi session in sddm before logging in...
Or are those rules only neccessary when kodi is started using the systemd service?

Sonic-Y3k commented on 2017-02-12 16:46

Okay, current version works with hw-acceleration! :-)

tport commented on 2017-02-12 11:52

Yes I missed the DENABLE_ALM option in my trial. I now tried to build your version, but it fails with the following error:

kodi-c2-x11/src/xbmc-17.0-Krypton/xbmc/cores/VideoPlayer/VideoRenderers/RenderManager.cpp: In member function 'void CRenderManager::CreateRenderer()':
kodi-c2-x11/src/xbmc-17.0-Krypton/xbmc/cores/VideoPlayer/VideoRenderers/RenderManager.cpp:582:25: error: 'CRendererAML' does not name a type
m_pRenderer = new CRendererAML;


Any ideas? Is the environment variable 'LDFLAGS+=" -L/usr/lib/mali-egl -L/usr/lib/aml_libs"' considered by cmake?

Sonic-Y3k commented on 2017-02-12 10:57

Well I transferred these options as well...

# enable amcodec
-DENABLE_AML=ON
# disable vdpau
-DENABLE_VDPAU=OFF
# disable vaapi
-DENABLE_VAAPI=OFF

Maybe Owersuns Krypton branch (https://github.com/Owersun/xbmc/tree/Krypton) works better, but I currently don't have the time to test this.

tport commented on 2017-02-12 10:39

I already tried to manually modify the PKGBUILD, more or less the same changes as you did as far as I can tell. But I did not get HW acceleration as well, which turns the build unusable. I think the problem is the following: Kodi 16 worked with configure script and had the option '--enable-codec=amcodec' as well as some options to explicitly disable vaapi, vdpau, and texturepacker. Kodi 17 now uses cmake and the question is how can we transfer these options to cmake style, especially the enable amcodec is certainly needed. Any hints?

Sonic-Y3k commented on 2017-02-12 07:58

@tport well, updating this pkgbuild to krypton isn't that much of a problem. I tried to play around with a updated fb-version of kodi but I can't get HW Accel to work, altough amcodec should be installed.

I now have updated the package to Krypton, maybe you've got more luck with it.

All comments