LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 08-16-2015, 04:48 PM   #1
bifferos
Member
 
Registered: Jul 2009
Posts: 401

Rep: Reputation: 149Reputation: 149
Kodi build from SlackBuilds.org very slow


Hi all,

I have compiled 64-bit packages for Slackware 14.1 using this:
http://slackbuilds.org/repository/14.1/multimedia/kodi/

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.

Any ideas?

many thanks,
Biff.
 
Old 08-16-2015, 06:22 PM   #2
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
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?
 
1 members found this post helpful.
Old 08-17-2015, 04:42 AM   #3
bifferos
Member
 
Registered: Jul 2009
Posts: 401

Original Poster
Rep: Reputation: 149Reputation: 149
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!

thanks,
Biff.
 
Old 08-17-2015, 07:13 AM   #4
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
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.
 
1 members found this post helpful.
Old 08-17-2015, 10:55 AM   #5
bifferos
Member
 
Registered: Jul 2009
Posts: 401

Original Poster
Rep: Reputation: 149Reputation: 149
Thanks, I will definitely checkout sqg/sbopkg.
 
Old 08-17-2015, 04:45 PM   #6
bifferos
Member
 
Registered: Jul 2009
Posts: 401

Original Poster
Rep: Reputation: 149Reputation: 149
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! :-).
 
Old 08-18-2015, 06:48 AM   #7
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
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.
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Are others unable to build gpac from Slackbuilds.org? FTIO Slackware 6 03-18-2015 05:35 PM
Build error when running the SlackBuilds.org script for LMMS Crushing Belial Slackware 1 08-05-2009 05:01 PM
libsndfile from Slackbuilds.org fails to build... Lufbery Slackware 10 01-09-2009 08:41 AM
Use SlackBuilds.org or my own hosting to offer up SlackBuilds? hollywoodb Slackware 6 11-30-2006 08:56 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 11:32 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration