Linux Ubuntu 22.04 server minimal - flatpak install help - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111) +---- Forum: Linux (https://forum.kodi.tv/forumdisplay.php?fid=52) +---- Thread: Linux Ubuntu 22.04 server minimal - flatpak install help (/showthread.php?tid=378846) |
Ubuntu 22.04 server minimal - flatpak install help - littlejeem - 2024-09-19 Hello Folks I've set up a test system to help me work out if I can move away from PPA to the newer Flatpak install. The aim is to have a system that boots into Kodi. I have no need of a graphical desktop but I do use the the OS a lot. Output of lscpu is here this Installation process so far is to install Ubuntu Server Minimal 22.04 from live usb, then post install Code:
I have a GeForce GT 710 so install nvidia drivers Code:
Install flatpak Code:
then try and run kodi from command line via SSH Code:
which generates the error Code:
I've then created the advancedsettings.xml file in the flatpak userdata location to trigger debug logging which gave this log The errors start with the freedesktop section and then more errors for input events. Googling freedesktop seems to suggest these are safe to ignore and then I'm stumped. Would appreciate a few pointers Do I need to add my system to any groups or use a different command to start kodi from flatpak? RE: Ubuntu 22.04 server minimal - flatpak install help - wsnipex - 2024-09-20 your user should be member of the following groups: audio, video, input, plugdev RE: Ubuntu 22.04 server minimal - flatpak install help - littlejeem - 2024-09-20 (2024-09-20, 19:16)wsnipex Wrote: audio, video, input, plugdev Thanks wsnipex, ran: Code: sudo usermod -a -G audio,video,input,plugdev littlejeem rebooted then tried to launch kodi flatpak again this generated a new error Code:
RE: Ubuntu 22.04 server minimal - flatpak install help - wsnipex - 2024-09-21 Quote:GL_RENDERER = llvmpipe (LLVM 17.0.6, 128 bits) Something wrong with your GFX driver. I guess the problem is that your old nvidia card doesn't support EGL, which is necessary for GBM windowing. You can test that theory by trying to run kodi on X11 with: Quote:flatpak run tv.kodi.Kodi --command kodi --gl-interface=glx Another, probably easier, option is to just use your intel iGPU. RE: Ubuntu 22.04 server minimal - flatpak install help - littlejeem - 2024-09-21 Thanks for the tips, I saw some posts in my googling that seemed to suggest that nvidia drivers don't support gbm for drivers 470 and below so that does make sense. I've done as suggested and stripped out the nvidia card and started with fresh install of ubuntu 22.04 Followed the same steps as I outlined in first post (omitting the nvidia drivers), added to the groups and re-ran the launch command for kodi Code:
new debug log here RE: Ubuntu 22.04 server minimal - flatpak install help - littlejeem - 2024-09-22 Ok, so i've not solved the issue but it does seem isolated somehow to my hardware. I say this because
I'm not sure what to do now as the machine I can't get the flatpak of kodi running on is my main machine. Do folks think a new g-card would solve it...... RE: Ubuntu 22.04 server minimal - flatpak install help - wsnipex - 2024-09-23 (2024-09-22, 18:11)littlejeem Wrote: Do folks think a new g-card would solve it...... Probably, otoh it might be overkill and less efficient then a new amd or intel soc RE: Ubuntu 22.04 server minimal - flatpak install help - littlejeem - 2024-09-23 Thanks wsnipex. I'll take a look at upgrading the CPU. For the current set up.ive had some success. I wiped the test system and started with a fresh install of Ubuntu server 22.04. This time I chose the HWE option and the full server install. To my surprise the flatpak now ran (yay! 🎉)...however there is some green spotting/artifacting like weird halo on the screen. ...screenshot attached here RE: Ubuntu 22.04 server minimal - flatpak install help - littlejeem - 2024-09-24 Ok, sooo ignore that picture it only happened until I ran a full reboot, rookie error I know...apologies. RE: Ubuntu 22.04 server minimal - flatpak install help - littlejeem - 2024-09-24 ...and wow, it lives! Got it up and running on full server install, got some things playing so thought I'd try again with a fresh install. So went back to linux 22.04 minimal server install. Stepped though the following to get kodi up and running connected to AV Amp. Code:
Created the systemd service Code:
paste in, thanks to this thread here Code:
ctrl+x to exit and save update systemd and enable service at reboot Code:
reboot and watch the magic happen...sooo cool! ...now for testing |