LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - ARM
User Name
Password
Slackware - ARM This forum is for the discussion of Slackware ARM.

Notices


Reply
  Search this Thread
Old 05-20-2015, 03:19 AM   #16
drmozes
Slackware Contributor
 
Registered: Apr 2008
Location: Surrey, England
Distribution: Slackware
Posts: 854

Rep: Reputation: 642Reputation: 642Reputation: 642Reputation: 642Reputation: 642Reputation: 642

Quote:
Originally Posted by Linux.tar.gz View Post
Slackware-14.1 with or without fbturbo : Xorg.bin at 0% cpu usage when idle, fluid.

How can I debug the 20% cpu usage on -current ?
Have you tried strace?

I have swapped out the fbdev package with fbturbo. I contemplated keeping the two packages but since fbturbo lists itself as a drop-in replacement (although that's not quite true since the driver name is different which requires a change to the X11 config) it doesn't really make sense.
 
Old 05-24-2015, 06:38 AM   #17
Linux.tar.gz
Senior Member
 
Registered: Dec 2003
Location: Paris
Distribution: Slackware forever.
Posts: 2,426

Original Poster
Rep: Reputation: 95
I was using Xfce.
CPU usage is normal with Blackbox.

I'm not a strace pro, I did on Xorg.bin's PID :
strace -p1691 -s1024 > pid.strace 2>&1

I see tons of clock_gettime(CLOCK_MONOTONIC, {476, 813932998}) = 0
 
Old 05-24-2015, 12:14 PM   #18
Linux.tar.gz
Senior Member
 
Registered: Dec 2003
Location: Paris
Distribution: Slackware forever.
Posts: 2,426

Original Poster
Rep: Reputation: 95
Ok, found out.
Xfce display compositor is enabled by default and eat some CPU.

Patch :
sed -i -e "s/use_compositing=true/use_compositing=false" /usr/share/xfwm4/defaults
 
Old 05-25-2015, 03:12 AM   #19
drmozes
Slackware Contributor
 
Registered: Apr 2008
Location: Surrey, England
Distribution: Slackware
Posts: 854

Rep: Reputation: 642Reputation: 642Reputation: 642Reputation: 642Reputation: 642Reputation: 642
Quote:
Originally Posted by Linux.tar.gz View Post
Ok, found out.
Xfce display compositor is enabled by default and eat some CPU.

Patch :
sed -i -e "s/use_compositing=true/use_compositing=false" /usr/share/xfwm4/defaults
What hardware are you using to test on? I was going to load up XFCE on my OpenRD client until I discovered that the frame buffer isn't working any more (something new to hack on for a few hours!).
 
Old 05-25-2015, 12:42 PM   #20
Linux.tar.gz
Senior Member
 
Registered: Dec 2003
Location: Paris
Distribution: Slackware forever.
Posts: 2,426

Original Poster
Rep: Reputation: 95
IGEPv5 OMAP5432.
 
Old 05-27-2015, 11:31 AM   #21
lems
Member
 
Registered: May 2004
Distribution: BSD
Posts: 269

Rep: Reputation: 119Reputation: 119
Hello,

is there a reason I'm seeing messages like these:

Code:
[...]
ldconfig: libraries libnss_nis-2.17.so and libnss_nis-2.21.so in directory /lib have same soname but different type.
ldconfig: libraries libcidn-2.17.so and libcidn-2.21.so in directory /lib have same soname but different type.
[...]
when running ldconfig after upgrading from 14.1 to current on my Raspberry Pi, while I don't see this on my desktop (x86_64) or laptop (x86)? What is the preferred way to get rid of this? Deleting those old .so's? I did upgrade aaa_elflibs first, then glibc-solibs, followed by everything else. I understand this is a harmless but rather annoying message.

Last edited by lems; 05-27-2015 at 11:32 AM.
 
Old 05-27-2015, 03:18 PM   #22
drmozes
Slackware Contributor
 
Registered: Apr 2008
Location: Surrey, England
Distribution: Slackware
Posts: 854

Rep: Reputation: 642Reputation: 642Reputation: 642Reputation: 642Reputation: 642Reputation: 642
Quote:
Originally Posted by lems View Post
Hello,

is there a reason I'm seeing messages like these:

Code:
[...]
ldconfig: libraries libnss_nis-2.17.so and libnss_nis-2.21.so in directory /lib have same soname but different type.
ldconfig: libraries libcidn-2.17.so and libcidn-2.21.so in directory /lib have same soname but different type.
[...]
when running ldconfig after upgrading from 14.1 to current on my Raspberry Pi, while I don't see this on my desktop (x86_64) or laptop (x86)? What is the preferred way to get rid of this? Deleting those old .so's? I did upgrade aaa_elflibs first, then glibc-solibs, followed by everything else. I understand this is a harmless but rather annoying message.
It's because the libraries for glibc are placed in to a staging directory, lib/incoming which isn't tracked by pkgtools. The only way to clean it up is manually - so yes, delete them: if you've upgraded everything then those libraries from the glibc-2.17 will be superfluous to requirements.
 
1 members found this post helpful.
Old 05-28-2015, 01:12 AM   #23
lems
Member
 
Registered: May 2004
Distribution: BSD
Posts: 269

Rep: Reputation: 119Reputation: 119
Quote:
Originally Posted by drmozes View Post
It's because the libraries for glibc are placed in to a staging directory, lib/incoming which isn't tracked by pkgtools. The only way to clean it up is manually - so yes, delete them: if you've upgraded everything then those libraries from the glibc-2.17 will be superfluous to requirements.
Thank you for the explanation, Stuart. I've moved the .so's in question to another location for now and the messages are gone.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
docker issues after large batch of -current updates (april 2015) sodamnmad Slackware 8 03-25-2016 10:42 PM
[SOLVED] -current (Tue Apr 21) and bumblebee WhiteWolf1776 Slackware 20 05-04-2015 07:05 AM
[SOLVED] gtk+3: mouse wheel doesn't work (on current Wed Sep 25) Thom1b Slackware 4 11-01-2013 04:52 PM
Move apr & apr-util install locations? jbennett Linux - Newbie 3 04-20-2012 10:02 AM
[SOLVED] some graphic corruption with radeon driver after Apr 27 updates Barx Slackware 9 05-03-2010 04:28 AM

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

All times are GMT -5. The time now is 04:06 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration