(2018-09-13, 17:10)wsnipex Wrote: I've lost interest in this, I never got any dev feedback on my questions and community response here was very lackluster as well.
Last time I tried, we still got killed by seccomp for no good reason. (setpriority as already discussed, or accessing /sys/class/hwmon/hwmon0/temp1_input)
I don't consider process-control as a valid workaround, since it would allow kodi to almost fully control other processes on the system, which kodi should not have and does not need.
I can understand your frustration. However, we have made some progress in the background since you last worked on the snap.
I don't believe process-control is needed any longer, and the hardware-observe interface now has access to CPU temps.
I created a proof of concept snap based off your work, and built it in launchpad against Ubuntu 18.04. The yaml is at
https://code.launchpad.net/~popey/+junk/kodi and the resulting snap is at
https://code.launchpad.net/~popey/+snap/...ild/342514 . I manually connected some (alsa avahi-control avahi-observe hardware-observe locale-control mount-observe network-observe removable-media screen-inhibit-control shutdown system-observe udisks2) interfaces and the snap runs fine. I have scanned my libraries, installed addons and played back video.
The two current issues with it are vdpau and alsa. For VDPAU I didn't use your method of copying the nvidia library into the snap, but have requested help from the snapd team, as I believe this should be facilitated by the platform. For alsa I disabled, because building a vendored alsa meant a symbol mismatch with sndio which was built against the archive version of alsa. So for now I set ENABLE_ALSA=OFF until I work past that issue.
We're still very keen to have an up to date and authoritatively published Kodi snap in the store to make it super easy to deliver the latest version to Linux users. I'd love to have you back on board with that, and hope that with the above issues fixed, we're moving forward, and you might find some time to work with me?