[SOLVED] Kodi build from SlackBuilds.org very slow
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I compiled and installed on my desktop machine, everything seems OK.
I then installed the same binaries on my laptop (A cheap Asus I3), and the Kodi GUI is really, really slow, pretty much unusable. I didn't get around to playing any videos yet.
On the same laptop, Youtube, IPlayer and mplayer are all OK.
Kodi might be including cpu optimizations for the machine it was compiled on (it's been a while since I dug through the configure). I know it's a long compile, but have you tried recompiling it on the laptop to see if the problems go away?
I guess I should have done that before posting, a bit sloppy of me I know. It's not the long compile but the collecting and compiling all dependencies, any of which could themselves have optimizations that I turned my nose up. I will do that tonight if nobody else has any suggestions!
Are you using something to manage the dependencies or just compiling everything manually? If it is manually, have a look at sqg that is included with sbopkg. It can generate queue files for sbopkg so it can build everything needed in the order it's needed in. Then you just start it and walk away.
Recompilation didn't help. I didn't think it would. I noticed glxgears gave a warning about DRM permissions, so I added my user to the video group, and then Kodi started working fine. Then I went back to the other machine where Kodi was working before, and realised my user wasn't a member of the video group there. Note: Both systems use XDM + Fluxbox.
So, Asus laptop, Intel video hardware: Needs user in video group.
Phenom + Radeon HD 7750: Doesn't need user in video group.
I'm not an expert on any of this, but I'm guessing Kodi on my Phenom system finds an X extension it can use for graphics acceleration, whereas the laptop doesn't and falls back to DRM?
Of course, highly likely I'm talking BS, but what do I care - it works! :-).
Your user should be in the video group if you plan on using any video card power. It probably prevented access to the hardware forcing it to run using software rendering (which is slow). If you're using the proprietary driver for the Radeon system, it could be the installer adjusts permissions for the device so you don't need to be in the video group.
Whenever you create a user, you should use the adduser script, which will prompt you to add users to the normal groups by pressing the up arrow.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.