maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N900 (https://talk.maemo.org/forumdisplay.php?f=44)
-   -   Bug report: hildon-desktop cpu usage, result=causes slow battery drain (https://talk.maemo.org/showthread.php?t=54462)

DaSilva 2010-09-05 10:23

Re: Bug report: hildon-desktop cpu usage, result=causes slow battery drain
 
Quote:

Originally Posted by tomast (Post 806704)
Portrait mode, including setting and unsetting, works here.
I don't see how hildon-desktop can be involved in your problem, but you never know...

Simple things to check:
Code:

ls -l /home/user/.osso/call-ui.ini
ls -ld /home/user/.osso

should give something like
-rw-r--r-- 1 user users ..../call-ui.ini
drwxr-xr-x 6 user users .....osso

You can also try (NOT as root)
Code:

echo '[rotation]
orientation=0' > /home/user/.osso/call-ui.ini
killall rtcom-call-ui

That should give you portrait mode.

This is the output:

Code:

Nokia-N900:~# ls -l /home/user/.osso/call-ui.ini
-rw-r--r--    1 root    root          48 Jul 24 13:26 /home/user/.osso/call-ui.ini
Nokia-N900:~# ls -ld /home/user/.osso
drwxr-xr-x    7 user    users        4096 Sep  3 00:11 /home/user/.osso
Nokia-N900:~# cat /home/user/.osso/call-ui.ini

[rotation]
orientation=0
[supplementary]
ssc=1

So everything should work but it doesn't and it did with other hildon-desktop versions. Any suggestions?

EDIT: I have reinstalled it and now it works but I cannot get the faster scrolling effect to work (I have tried http://talk.maemo.org/showthread.php...127#post798127).
Has anyone solved that?

inzimam 2010-09-05 12:36

Re: Bug report: hildon-desktop cpu usage, result=causes slow battery drain
 
Does this allow more than 4 desktops?!!

lemmyslender 2010-09-05 12:54

Re: Bug report: hildon-desktop cpu usage, result=causes slow battery drain
 
Quote:

Originally Posted by inzimam (Post 807796)
Does this allow more than 4 desktops?!!

NO. You can either install this and have up to 4 desktops, OR install matan's and have up to 9. If you want bath, matan needs to incorporate the latest updates into his package. The best solution would be to ask matan *nicely* to update his package.

tomast 2010-09-05 16:26

Re: Bug report: hildon-desktop cpu usage, result=causes slow battery drain
 
Quote:

Originally Posted by DaSilva (Post 807728)
-rw-r--r-- 1 root root 48 Jul 24 13:26 /home/user/.osso/call-ui.ini
[/code]

To me, it looks like you should have been locked to portrait mode, so that's strange.
BUT, this is wrong: you have 'root root' where I have 'user users'!
My wild guess: This happened when you added the 'ssc=1' part in July 24.
Could have been fixed with 'chown user:users /home/user/.osso/call-ui.ini' as root.
Rule of thumb: Edit files as user (ie NOT root) within /home/user, and as root outside.

What did you reinstall to get it to work (I'm just curious)?


Quote:

Originally Posted by DaSilva (Post 807728)
(I have tried http://talk.maemo.org/showthread.php...127#post798127).
Has anyone solved that?

That post just quotes the default transitions.conf with commented-out settings. To actually increase the speed (or more correct, decrease the slow-down rate), I would recommend
Code:

[launcher]
deceleration_rate = 0.99
#strong_deceleration_rate = 0.7

# indicates a comment (=row without effect)

DaSilva 2010-09-05 16:55

Re: Bug report: hildon-desktop cpu usage, result=causes slow battery drain
 
Yeah, I have done that but it doesn't work.

tomast 2010-09-05 17:06

Re: Bug report: hildon-desktop cpu usage, result=causes slow battery drain
 
Show me the output of
Code:

ls -l /etc/hildon/theme/transitions.ini /usr/share/hildon-desktop/transitions.ini /usr/bin/hildon-desktop*
md5sum /usr/bin/hildon-desktop.launch
grep -C3 deceleration /usr/share/hildon-desktop/transitions.ini


DaSilva 2010-09-05 20:39

Re: Bug report: hildon-desktop cpu usage, result=causes slow battery drain
 
Nokia-N900:~# ls -l /etc/hildon/theme/transitions.ini /usr/share/hildon-desktop/transitions.ini /usr/bin/hildon-desktop*
-rwxr-xr-x 1 root root 6636 Sep 5 12:39 /etc/hildon/theme/transitions.ini
lrwxrwxrwx 1 root root 22 Sep 5 12:32 /usr/bin/hildon-desktop -> /usr/bin/maemo-invoker
-rwxr-xr-x 1 root root 455692 Sep 1 23:47 /usr/bin/hildon-desktop.launch
-rw-r--r-- 1 root root 6490 Sep 5 12:36 /usr/share/hildon-desktop/transitions.ini
Nokia-N900:~# md5sum /usr/bin/hildon-desktop.launch
40ba7d0a7e8621066d06cc9d684a935a /usr/bin/hildon-desktop.launch
Nokia-N900:~# grep -C3 deceleration /usr/share/hildon-desktop/transitions.ini
zoom = 0.93
zoom_applets = 0.85

# These control the deceleration of the launcher pages. When panning freely
# (decelerating) the velocity of the launcher page is adjusted by this much.
# strong_deceleration_rate is effective in the bouncing zones. Uncomment if
# you want faster panning.
[launcher]
deceleration_rate = 0.99
#strong_deceleration_rate = 0.7

# The glow effect around launcher buttons
[launcher_glow]
Nokia-N900:~#

tomast 2010-09-06 08:03

Re: Bug report: hildon-desktop cpu usage, result=causes slow battery drain
 
For some stupid reason I forgot to ask for 'grep -C3 deceleration /etc/hildon/theme/transitions.ini'. Please show me that output as well.

Have you edited /etc/hildon/theme/transitions.ini (at Sep 5 12:39)?

Quote:

Originally Posted by tomast (Post 806034)
I just figured out that hildon-desktop tries to read /etc/hildon/theme/transitions.ini first with fallback to /usr/share/hildon-desktop/transitions.ini .... So check /etc/... first.


DaSilva 2010-09-06 22:50

Re: Bug report: hildon-desktop cpu usage, result=causes slow battery drain
 
Code:

Nokia-N900:~# grep -C3 deceleration /etc/hildon/theme/transitions.ini
# launcher top layer disappearing when a layer in front
[launcher_out_back]
duration=200
deceleration_rate=0.99

# launch animation
# duration_out - amount of time to take when fading the launcher out and application in

Yes, I have added it but it doesn't help.

inzimam 2010-09-07 00:09

Re: Bug report: hildon-desktop cpu usage, result=causes slow battery drain
 
Tomast,

no answer to my quick question?

Does this incorporate the ability to have morethan 4 desktops?


All times are GMT. The time now is 00:32.

vBulletin® Version 3.8.8