maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N900 (https://talk.maemo.org/forumdisplay.php?f=44)
-   -   [Solved] Xorg running constatntly at 95-97% of cpu (https://talk.maemo.org/showthread.php?t=60588)

CasTTeLLo 2010-08-19 11:08

Re: Xorg running constatntly at 95-97% of cpu
 
1 Attachment(s)
Quote:

Originally Posted by superjunior (Post 791621)
Open Xterm and run "top" or install "htop" and look the Prozess with high CPU and MEM.

is it normal?

superjunior 2010-08-19 11:17

Re: Xorg running constatntly at 95-97% of cpu
 
Yes it is normal. 2-3% Xorg, 2-3% Hildon


I have no Idea why your N900 feels slow. Sorry

furns 2010-08-19 12:22

Re: Xorg running constatntly at 95-97% of cpu
 
Quote:

Originally Posted by superjunior (Post 791473)
You must be root !!!

open Xterm
Type root
Type mc (MidnightCommander)

go to /etc/event.d/apmonitord

F8= delete

gday all - first post and all that.........

for n00bs such as myself, you need to have rootsh and midnightcommander installed. ;)

thanks guys I also had this issue after installing advanced power app and luckily people on here are well on top of the situation.

slaapliedje 2010-08-19 14:58

Re: Xorg running constatntly at 95-97% of cpu
 
So last night I was playing around with the advanced-power-monitor, trying to get it to work, and while I had uninstalled the package, and rebooted, I had left my phone charging all night, went into work, and 2 and a half hours into the day, my phone gives that whimpering beep of a low battery. I was thinking "wtf?" So I looked and sure enough, it was this issue with Xorg being at 95% and more.

The cleanest solution is to open xterm and type
Code:

sudo dpkg -P advanced-power-monitor
That should purge all files from the advanced-power-monitor.

If you still have advanced-power, you may want to run it on that as well.

The -P option is to purge all extra files. For some reason the post remove script isn't removing the /etc/event.d/apmonitord. Purge does though.

I did have to reboot afterward as well.

slaapliedje

222 2010-08-19 15:48

Re: Xorg running constatntly at 95-97% of cpu
 
Quote:

Originally Posted by hawaii (Post 790490)
FIXED.

Manually remove /etc/event.d/apmonitord and reboot / kill the xserver.

The project bugtracker is broken, so...

works for me too.
:):):):):):):):):):):):):)
thanks alot

garen 2010-08-19 17:02

Re: Xorg running constatntly at 95-97% of cpu
 
Quote:

Originally Posted by slaapliedje (Post 791892)
Code:

sudo dpkg -P advanced-power-monitor

It asked for a password when i tried this.

cfh11 2010-08-19 17:11

Re: Xorg running constatntly at 95-97% of cpu
 
Quote:

Originally Posted by garen (Post 792036)
It asked for a password when i tried this.

you need to have rootsh installed

garen 2010-08-19 17:29

Re: Xorg running constatntly at 95-97% of cpu
 
Quote:

Originally Posted by cfh11 (Post 792050)
you need to have rootsh installed

I do have rootsh installed.

cddiede 2010-08-19 17:42

Re: Xorg running constatntly at 95-97% of cpu
 
Quote:

Originally Posted by garen (Post 792072)
I do have rootsh installed.

Then type:
sudo gainroot

THEN type:

dpkg -P advanced-power-monitor


you should only use sudo if you actually (as root) added the "user" username to the /etc/sudoers file.

garen 2010-08-19 17:50

Re: Xorg running constatntly at 95-97% of cpu
 
Quote:

Originally Posted by cddiede (Post 792091)
Then type:
sudo gainroot

THEN type:

dpkg -P advanced-power-monitor


you should only use sudo if you actually (as root) added the "user" username to the /etc/sudoers file.

Ok, now Xorg is jumping between 70 and 96%.

viovoxer 2010-08-19 18:04

Re: Xorg running constatntly at 95-97% of cpu
 
Quote:

Originally Posted by IceJunior (Post 790330)
Did you install the advanced-power app?

i install this, and my n900 batt goes down around 1% every minute.
Damn!!
not fix it after uninstalled.
30 minutes ago, i formatted it.:mad:

cddiede 2010-08-19 18:27

Re: Xorg running constatntly at 95-97% of cpu
 
Quote:

Originally Posted by garen (Post 792100)
Ok, now Xorg is jumping between 70 and 96%.

After you remove the advanced power utility and it's /etc/event.d script, you must reboot the device.

Until the X server is restarted, the changes won't take effect. The easiest way to cleanly restart X is to reboot.

cddiede 2010-08-19 18:28

Re: Xorg running constatntly at 95-97% of cpu
 
Quote:

Originally Posted by viovoxer (Post 792116)
i install this, and my n900 batt goes down around 1% every minute.
Damn!!
not fix it after uninstalled.
30 minutes ago, i formatted it.:mad:

If you're gonna get so upset about having to re-flash your N900, then you shouldn't be playing with extras-devel software.

slender 2010-08-19 18:37

Re: Xorg running constatntly at 95-97% of cpu
 
If you enable devel and install stuff you quite probably could end up flashing it so for love of GOD take responsibility of your actions. If you install alpha/beta applications to your windows and it brakes. What do you do? Install windows again from your backup(you have backup because you are playing with fire) and report to developers of software and they are happy.

cael_gomes 2010-08-19 19:38

Re: Xorg running constatntly at 95-97% of cpu
 
I had to subscribe this forum just to say thanks to hawaii. Now the Xorg proccess is consuming around 1 to 7% of the CPU capacity (the original 600MHz , w/out overclock) according to Htop app:

http://twitpic.com/2g91hl

Really thanks.

cael_gomes 2010-08-19 19:42

Re: Xorg running constatntly at 95-97% of cpu
 
it was supposed to show a picture in my last post, don't know why it wasn't showed..

anyway, if you want to see the screenshot to compare:

http://twitpic.com/2g91hl

ngnanaprakash 2010-08-26 08:05

Re: Xorg running constatntly at 95-97% of cpu
 
Quote:

Originally Posted by superjunior (Post 791473)
You must be root !!!

open Xterm
Type root
Type mc (MidnightCommander)

go to /etc/event.d/apmonitord

F8= delete

do u mean I should go to view file and type in /etc/event.d/apmonitord and then enter and it shows a blue window which gives details of the line but there is no 8 there it ends with 7 which is search, where is this 8 to delete. Kindly help:confused:

superjunior 2010-08-26 08:18

Re: Xorg running constatntly at 95-97% of cpu
 
1 Attachment(s)
Donīt Enter. Only with the cursor to /etc/event.d/apmonitord und then hit F8

Sorry for my English

firstknight 2010-08-28 02:13

Re: Xorg running constatntly at 95-97% of cpu
 
have this problem fixed or still cant install advance power yet?

firstknight 2010-08-28 02:21

Re: Xorg running constatntly at 95-97% of cpu
 
has there been a fix to this for advanced power? I would like to redownload this but fear of this advance power drain...

geneven 2010-08-28 14:54

Re: Xorg running constatntly at 95-97% of cpu
 
I would think if it was fixed that fact would be noted in this thread. I don't think it is fixed.

rolan900d 2010-08-28 14:59

Re: Xorg running constatntly at 95-97% of cpu
 
Why aren't these apps being killed so they won't appear anymore???

I know they are in devel section but all these problems???!!!

slender 2010-08-29 09:36

Re: Xorg running constatntly at 95-97% of cpu
 
Quote:

Originally Posted by rolan900d (Post 800785)
Why aren't these apps being killed so they won't appear anymore???

I know they are in devel section but all these problems???!!!

So do you have suggestion where developers should upload & test their applications?

If you have time how about reading the tex tbox on this page:
http://wiki.maemo.org/Extras-devel

Disable developement so they DO NOT APPEAR!!!???

btw.
http://wiki.lspace.org/wiki/Multiple_exclamation_marks

jmk 2010-08-31 11:32

Re: Xorg running constatntly at 95-97% of cpu
 
Too lazy to Google. How do I disable Xorg logging and make it lighter? Its eating most of the cpu of my apps (nothing unnatural in that).

Radicalz38 2010-08-31 13:40

Re: Xorg running constatntly at 95-97% of cpu
 
Quote:

Originally Posted by rolan900d (Post 800785)
Why aren't these apps being killed so they won't appear anymore???

I know they are in devel section but all these problems???!!!

well programming is a matter of trial and error... If you're lucky you get an almost perfect app at once and if not mostly this is what happens

ME2g 2010-08-31 16:36

Re: Xorg running constatntly at 95-97% of cpu
 
Quote:

Originally Posted by cddiede (Post 792135)
After you remove the advanced power utility and it's /etc/event.d script, you must reboot the device.

Until the X server is restarted, the changes won't take effect. The easiest way to cleanly restart X is to reboot.

I guess since it is a Linux device a "kill -9" of the corresponding PID
should work on the shell?
Question is, what happens afterwards (restart of X?).

But I do not own a N900.
Not now but probably soon... ;-)

412b 2010-09-01 02:58

Re: Xorg running constatntly at 95-97% of cpu
 
Quote:

Originally Posted by geneven (Post 800776)
I would think if it was fixed that fact would be noted in this thread.

AP has its official thread, so if I didn't find this thread by occasion, I would've never written this post.

Quote:

Originally Posted by geneven (Post 800776)
I don't think it is fixed.

Quick-fix solution was posted 08-18-2010 and fixed package arrived to extras-devel 08-19-2010.

Use official threads or bugtracker, if you want to report bugs.
And don't turn on extras-devel, if you're not ready for it.

Fernest 2010-09-02 21:23

Re: [Solved] Xorg running constatntly at 95-97% of cpu
 
I have the same problem. And now I'm up to the Midnight Commander screen and have apmo-tord highlighted but can not figure out the F8 key press. I'm, on the N900 and can't find the setting for that key press.

Help

Fernest 2010-09-02 21:44

Re: [Solved] Xorg running constatntly at 95-97% of cpu
 
Sorry. I finally figured it out. N900 now running at a great speed now.

I have been a PC and Mac teacher for years but this is the fist time with this type software. Challenging but what a fantastic machine this N900 is.

Thanks for the help on this and other topics..

jmk 2010-09-08 11:12

Re: [Solved] Xorg running constatntly at 95-97% of cpu
 
Xorg and Hildon-desktop is still eating most of the cpu. Is there anything that you could do? Does disabling xorg logging help anything.. probably not.

After pr1.2 uptimes are 2x worse.

slender 2010-09-08 13:42

Re: [Solved] Xorg running constatntly at 95-97% of cpu
 
Quote:

Originally Posted by jmk (Post 810502)
Xorg and Hildon-desktop is still eating most of the cpu. Is there anything that you could do? Does disabling xorg logging help anything.. probably not.

After pr1.2 uptimes are 2x worse.

No. Your system is somehow broken. Maybe because of installed stuff from testing, devel or any other place outside of maemo.org extras and ovi store. Do you have any widgets on your desktops? What have you installed. List apps with maemo-list-user-packages command and if you want to list them in sorted by category format then use command maemo-list-user-packages | sort -k 3,3

If you have installed stuff that is recommended only for testing purpose I advise to just reflash or learn to debug system.

jmk 2010-09-09 16:26

Re: [Solved] Xorg running constatntly at 95-97% of cpu
 
Quote:

Originally Posted by slender (Post 810643)
No. Your system is somehow broken. Maybe because of installed stuff from testing, devel or any other place outside of maemo.org extras and ovi store. Do you have any widgets on your desktops? What have you installed. List apps with maemo-list-user-packages command and if you want to list them in sorted format then use command maemo-list-user-packages | sort -k 3,3

If you have installed stuff that is recommended only for testing purpose I advise to just reflash or learn to debug system.

I have very few carefully chosen apps installed. 0 widgets active on desktops (2)

But check this out:

https://bugs.maemo.org/show_bug.cgi?id=10412#c38


http://maemo.gitorious.org/fremantle...20a5a46ec3f10e

Could somebody compile latest version of Hildon-desktop? Cannot really understand the Nokia FW policy. Why dont they just release hot fixes... for example in extras-devel.

nicolai 2010-09-09 16:45

Re: [Solved] Xorg running constatntly at 95-97% of cpu
 
Quote:

Originally Posted by jmk (Post 811822)
But check this out:

https://bugs.maemo.org/show_bug.cgi?id=10412#c38


http://maemo.gitorious.org/fremantle...20a5a46ec3f10e

Could somebody compile latest version of Hildon-desktop? Cannot really understand the Nokia FW policy. Why dont they just release hot fixes... for example in extras-devel.

As far as I know this bug in hildon-desktop only happens if
you use submenus for the application menu (categorise or AppMeFo).

And someone has compiled the latest version of Hildon-Desktop.

msa 2010-09-09 17:10

Re: [Solved] Xorg running constatntly at 95-97% of cpu
 
yesterday my desktop froze. it didnt really froze, i could still switch desktops, but the icons wouldnt react when clicked.

i checked the processes and xorg was taking a lot of cpu. so i killed xorg.... and my device shut down and rebooted!

ossipena 2010-09-09 17:49

Re: [Solved] Xorg running constatntly at 95-97% of cpu
 
Quote:

Originally Posted by msa (Post 811849)
... and my device shut down and rebooted!

no **** sherlock?!?

m double u 2010-09-13 09:39

Re: Xorg running constatntly at 95-97% of cpu
 
Quote:

Originally Posted by slaapliedje (Post 791892)
So last night I was playing around with the advanced-power-monitor, trying to get it to work, and while I had uninstalled the package, and rebooted, I had left my phone charging all night, went into work, and 2 and a half hours into the day, my phone gives that whimpering beep of a low battery. I was thinking "wtf?" So I looked and sure enough, it was this issue with Xorg being at 95% and more.

The cleanest solution is to open xterm and type
Code:

sudo dpkg -P advanced-power-monitor
That should purge all files from the advanced-power-monitor.

If you still have advanced-power, you may want to run it on that as well.

The -P option is to purge all extra files. For some reason the post remove script isn't removing the /etc/event.d/apmonitord. Purge does though.

I did have to reboot afterward as well.

slaapliedje

Hello, after the command i get a passwordrequest but can't type anything, how does this work please, thank you.
mariodew (m double u)

RobbieThe1st 2010-09-13 11:32

Re: [Solved] Xorg running constatntly at 95-97% of cpu
 
You need sudser first.
Or get gainroot, type "sudo gainroot", then remove the sudo from that command.

Mentalist Traceur 2010-09-25 22:53

Re: [Solved] Xorg running constatntly at 95-97% of cpu
 
m double u: It does let you type stuff, it just doesn't show you that it's taking your typing. It's like when you use OpenSSH from command-line and the thing you're connecting to asks for a password - you can type the password, but you will not see it, in x-term. Basically, most applications that I know of, when they give you a password prompt in X-Terminal, don't show what you're typing. You just have to hope you didn't double-enter some key, or didn't accidentally shift/fn it into a different character.

ossipena, some of your other posts around here are great, but you're just being a dick in that last one. Oh yes, it's totally obvious to every user who might otherwise be generally intelligent and able to use the N900's X-Term to use the device, that xorg happens to be a system critical process of the sort that would force a device reboot.

I can even understand saying "no **** sherlock", because of the way the poster you were replying to said their device rebooted, and because yes, if you know Linux, or even just what xorg is, you can probably guess it's important. If you've ran a command to view system processes enough, you can also notice xorg constantly there. But just saying, essentially, that the replied-to-poster was an idiot for not knowing something "obvious", is, frankly, asinine. If you feel the need to express that, go for it, it's more than understandable. But be decent enough to say WHY this happened and what xorg actually does.

You might know, I might know, but every other reader of this won't, and I guarantee you, this is NOT something that is easily discovered by simply searching for "xorg" in google. (On the other hand, he could have probably found it on this forum, but still, the search is hardly that great at turning up relevant results.)

teamer 2010-11-28 15:32

Re: Xorg running constatntly at 95-97% of cpu
 
Quote:

Originally Posted by superjunior (Post 791455)
Manually remove /etc/event.d/apmonitord and reboot / kill the xserver.

Thats it.

I did this , now my battery icon is WHITE , not percentage , no charging indicator .

I installed advanced-power after deleting that file , not i can't uninstall it , and i can't start apmonitord to check my battery level !!!


All times are GMT. The time now is 05:50.

vBulletin® Version 3.8.8