Community Packages

Please read this before reporting a bug:

Do NOT report bugs when a package is just outdated, or it is in Unsupported. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!

FS#53449 - [kodi] 17.1-1 Unable to load /usr/lib/kodi/system/

Attached to Project: Community Packages
Opened by Matthieu Berret (MB4E) - Saturday, 25 March 2017, 10:10 GMT
Last edited by Ike Devolder (BlackEagle) - Sunday, 07 January 2018, 09:09 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Ike Devolder (BlackEagle)
Architecture x86_64
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 12
Private No



After recent kodi 17 update, I get some tearing issues on my Asrock Beebox (Intel N3000 processor). Looking inside kodi logs, I see that the cannot be found.

Log messages:

ERROR: Unable to load /usr/lib/kodi/system/, reason: /usr/lib/kodi/system/ cannot open shared object file: No such file or directory
ERROR: VAAPI::SupportsFilter failed loading sse4 lib
This task depends upon

Closed by  Ike Devolder (BlackEagle)
Sunday, 07 January 2018, 09:09 GMT
Reason for closing:  Fixed
Additional comments about closing:  17.6-3, thanks for the extra input
Comment by Cian McGovern (cian1500ww) - Tuesday, 25 April 2017, 12:58 GMT
I'm also seeing this issue with VAAPI decoding enabled in Kodi on version 17.1-2. I have no issues with VAAPI decoding in MPV.
Comment by camden linday (thenextdon13) - Friday, 23 June 2017, 00:17 GMT
Also seeing this issue:
17:07:59.002 T:139665109350144 ERROR: Unable to load /usr/lib/kodi/system/, reason: /usr/lib/kodi/system/ cannot open shared object file: No such file or directory
17:07:59.002 T:139665109350144 ERROR: VAAPI::SupportsFilter failed loading sse4 lib
Comment by Anatol Pomozov (anatolik) - Wednesday, 03 January 2018, 04:53 GMT
Why it was closed? I see this error at my Kodi device.

Looking at other packages (e.g. RPM there is a file /usr/lib64/kodi/system/ that absents in Arch 'kodi' package.

Is there some compilation option that enables building file that can be added to Arch's package file ?
Comment by Levente Polyak (anthraxx) - Wednesday, 03 January 2018, 12:10 GMT
guess its build on an ancient machine, rebuilding on soyuz builds
Comment by Anatol Pomozov (anatolik) - Friday, 05 January 2018, 05:51 GMT
I confirm that building kodi package in a clean environment on my machine creates library. Ike, what machine do you use to build kodi, could you please check your /proc/cpuinfo?

Looking at kodi sources I see that it checks /proc/cpuinfo. That's unfortunate as it makes the build non-hermetic and host machine dependent.
Comment by Ike Devolder (BlackEagle) - Saturday, 06 January 2018, 08:31 GMT
Anatol, I'm building on an older AMD machine that does its work just fine

processor : 3
vendor_id : AuthenticAMD
cpu family : 16
model : 4
model name : AMD Phenom(tm) II X4 955 Processor
stepping : 3
microcode : 0x10000c8
cpu MHz : 2100.000
cache size : 512 KB
physical id : 0
siblings : 4
core id : 3
cpu cores : 4
apicid : 3
initial apicid : 3
fpu : yes
fpu_exception : yes
cpuid level : 5
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm 3dnowext 3dnow constant_tsc rep_good nopl nonstop_tsc cpuid extd_apicid pni monitor cx16 popcnt lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt hw_pstate vmmcall npt lbrv svm_lock nrip_save
bugs : tlb_mmatch apic_c1e fxsave_leak sysret_ss_attrs null_seg amd_e400
bogomips : 6428.76
TLB size : 1024 4K pages
clflush size : 64
cache_alignment : 64
address sizes : 48 bits physical, 48 bits virtual
power management: ts ttp tm stc 100mhzsteps hwpstate

I'll check if I can update FindSSE to bypass this
Comment by Anatol Pomozov (anatolik) - Saturday, 06 January 2018, 08:36 GMT
My guess is that this machine is too old for Kodi build to enable SSE extension. It looks like it needs sse4_1 at least
Comment by Ike Devolder (BlackEagle) - Saturday, 06 January 2018, 09:16 GMT
I have SSE4 capable machines which don't give issues about the missing so file so I'm a little puzzled why the error happens
Comment by Ted Hill (cspack77) - Saturday, 06 January 2018, 11:55 GMT
From what I can see Kodi won't care about the missing library unless you're using VAAPI for hw acceleration. I have one machine with NVIDIA graphics and it uses VDPAU for hw accel so it doesn't complain about missing But I have a laptop with just Intel graphics (VAAPI only) and I do get the error message.
Comment by Ike Devolder (BlackEagle) - Saturday, 06 January 2018, 16:49 GMT
Thanks for that info, I only have kodi installed on machines with nvidia
Comment by Ike Devolder (BlackEagle) - Saturday, 06 January 2018, 19:48 GMT
kodi 17.6-3 will be available later today in my personal repo with cheats that allow my older amd to build everything for sse4 and avx

it will need some testing so I'll not move it later today, at best it will land in community tomorrow