AppImageCommunity / pkg2appimage

Tool and recipes to convert existing deb packages to AppImage
http://appimage.org
MIT License
697 stars 216 forks source link

Kodi Appimage " yml file " #380

Closed cmatomic closed 5 years ago

cmatomic commented 5 years ago

Here my yml file to generate kodi Appimage stable version 18.3 "Kodi-18.3 + git20190621.1610.glibc2.17-x86_64.AppImage" may not be compatible with versions prior to ubuntu Xenial https://github.com/cmatomic/RecipesAppimage/blob/master/Kodi-stableXenial.yml

probonopd commented 5 years ago

Thank you very much. Have you suggested to the Kodi development team to provide an officially supported AppImage?

probonopd commented 5 years ago

Getting

/home/me/Kodi/Kodi.AppDir/AppRun used for determining architecture armhf
(...)
More than one architectures were found of the AppDir source directory "./Kodi.AppDir/"
A valid architecture with the ARCH environmental variable should be provided
e.g. ARCH=x86_64 appimagetool ...

so the AppImage is not produced. Might be a bug somewhere (where)?.

Further,

me@host:~$ /home/me/Kodi/Kodi.AppDir/AppRun 
/usr/lib/x86_64-linux-gnu/kodi/kodi-x11: /home/me/Kodi/Kodi.AppDir/usr/lib/x86_64-linux-gnu/libcurl.so.4: no version information available (required by /usr/lib/x86_64-linux-gnu/kodi/kodi-x11)
libva info: VA-API version 0.39.4
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/nouveau_drv_video.so
libva error: /usr/lib/x86_64-linux-gnu/dri/nouveau_drv_video.so has no function __vaDriverInit_0_32
libva info: va_openDriver() returns -1
Segmentation fault (core dumped)
cmatomic commented 5 years ago

I'm not a software developer, I haven't suggested the kodi team yet. To generate the Kodi appimage I run this way ARCH=x86_64 ./pkg2appimage Kodi-stableXenial.yml

cmatomic commented 5 years ago

i'm using intel graphics

probonopd commented 5 years ago

Thanks. We need to find a Kodi developer who is willing to support this, and who really understands what is going on. Because I don't...

cmatomic commented 5 years ago

Do you have a kodi installation on your system, what distro are you using ?

probonopd commented 5 years ago

xubuntu-18.04-desktop-amd64.iso, no Kodi installed.

cmatomic commented 5 years ago

i'm using xenial ubuntu, i will test on unbuntu 18.04 live cd, i generated some appimages using ppa team-xbmc / xbmc-nightly i tested on pureos and openSUSE-Leap-15.1-GNOME-Live, and it worked You might want to try this beta of kodi This sequence of commands will download the necessary files and execute them to generate the appimage. mkdir kodi-Nightly;cd kodi-Nightly;wget https://raw.githubusercontent.com/AppImage/AppImages/master/pkg2appimage; mv pkg2appimage pkg2appimage.sh;chmod +x pkg2appimage.sh;wget https://raw.githubusercontent.com/cmatomic/RecipesAppimage/master/kodi-Nightly-xenial.yml ; ARCH=x86_64 ./pkg2appimage.sh kodi-Nightly-xenial.yml

probonopd commented 5 years ago

You are a wizard... trying it now.

probonopd commented 5 years ago

kodi_crashlog-20190731_160519.log

cmatomic commented 5 years ago

"2019-07-31 14:04:38.836 T:139754560947968 WARNING: VDPAU::Open: requested picture dimensions (1280, 720) exceed hardware capabilities ( 0, 0). 2019-07-31 14:04:38.836 T:139754560947968 NOTICE: (VDPAU) Close 2019-07-31 14:04:38.836 T:139754560947968 NOTICE: VDPAU::Close - closing decoder context" could be a problem with Nvidia driver. i don't have a nvidia card to test but i tested with on my lenovo g50-80 intel / ati amd appimages worked with both amd and intel graphics I also tested the kodi appimage on ubuntu 18.04 live iso, it worked correctly Screenshot_2019-07-31_14-11-13

probonopd commented 5 years ago

Yes I assume it is a problem with nouveau, the open source Nvidia drivers.

probonopd commented 5 years ago

Going to test with the proprietary Nvidia drivers soon.

cmatomic commented 5 years ago

I was not understanding, in my case sometimes also crashes .

cmatomic commented 5 years ago

kodi crash due to kodi-inputstream-adaptive after 5 minutes of playing a video streming

cmatomic commented 5 years ago

koidi team no support for Appimage "We already provide kodi as flatpak. Since kodi is an opengl application it is pretty difficult to get such sandboxing packages right. E.g. I could never get kodi to work correctly with snap. So atm there are no plans to support another such format. " https://forum.kodi.tv/showthread.php?tid=345911

probonopd commented 5 years ago

Thanks. I can feel their pain, but there is a big misconception here:

Since kodi is an opengl application it is pretty difficult to get such sandboxing packages right

AppImage is not using any sandboxing by default. So it should actually be much easier than with any format the enforces sandboxing.

probonopd commented 5 years ago

Closing since upstream is not interested.