maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [announce] swappolube to lubricate your gui (https://talk.maemo.org/showthread.php?t=62312)

rebhana 2010-09-30 19:47

Re: [announce] swappolube to lubricate your gui
 
Quote:

Originally Posted by slender (Post 829564)
Hmm. Maybe I should report here that with all these settings my hildon-home virtual memory size just kept getting bigger. Also opening up contacts took sometimes little too long to my taste. I ended up disabling all other tweaks expect swappiness and cache pressure. Now it seems to be ok.

What values for swappiness and cache pressure did you end up with?

rebhana 2010-09-30 20:12

Re: [announce] swappolube to lubricate your gui
 
debernardis, have you tested the swappolube settings regarding their impact on Easy Debian appliations?

ndi 2010-09-30 23:13

Re: [announce] swappolube to lubricate your gui
 
Swappiness seems to have accelerated my Iceweasel. Not enough, though :)

debernardis 2010-10-01 04:32

Re: [announce] swappolube to lubricate your gui
 
Quote:

Originally Posted by rebhana (Post 830395)
debernardis, have you tested the swappolube settings regarding their impact on Easy Debian appliations?

Not really. I don't know of any way to substantiate objectively, numerically, the perceived effect of the tweaks. After having installed swappolube, I have used easy debian with the gimp a number of times, and it was more or less the same I reminded.
Maybe I could do some recording of the time to start openoffice writer or some other big program? What do you think? Something more appropriate?

ndi 2010-10-01 09:41

Re: [announce] swappolube to lubricate your gui
 
Startup time is good, mine improved, but IMO the bane of Easy Debian is UI responsiveness.

bertolt 2010-10-05 08:17

Re: [announce] swappolube to lubricate your gui
 
hi,
installed the extras-test version today. query, why is the the 'apply' button always dimmed whether i press current or proposed? only the store button is available. 'apply' should mean that it will revert back upon reboot, and 'store' will retain modified settings even after reboot. is that correct? thanks.....

Saturn 2010-10-05 08:30

Re: [announce] swappolube to lubricate your gui
 
Quote:

Originally Posted by bertolt (Post 833568)
hi,
installed the extras-test version today. query, why is the the 'apply' button always dimmed whether i press current or proposed? only the store button is available. 'apply' should mean that it will revert back upon reboot, and 'store' will retain modified settings even after reboot. is that correct? thanks.....

Hi,

Actually, there is no code to dim any button so all of them are always active.
I can only assume that it is a colors issue.

Did you see here for screenshots: http://wiki.maemo.org/Swappolube

Are you using a theme? if yes, could you post a screenshot?

bertolt 2010-10-05 08:38

Re: [announce] swappolube to lubricate your gui
 
so sorry Saturn. you're right. i'm using the okuda theme and it is dimmed but when i tap it, it actually worked!

great job!

Quote:

Originally Posted by Saturn (Post 833572)
Hi,

Actually, there is no code to dim any button so all of them are always active.
I can only assume that it is a colors issue.

Did you see here for screenshots: http://wiki.maemo.org/Swappolube

Are you using a theme? if yes, could you post a screenshot?


debernardis 2010-10-07 15:08

Re: [announce] swappolube to lubricate your gui
 
Version 0.1.0-1 of swappolube-nogui and all previous versions I posted on the forum had a problem in postinst (pointed out by Mikkov, and due to my ignorance :) ) and didn't uninstall the /etc/event.d/tuning script when the package was removed. This might be the reason why someone, even after uninstalling it, still enjoyed a well lubed GUI :) :)

I'm learning by copying other people's code - in this case I copied from shortcutd - and version 0.1.2 in extras-devel should be correct (hopefully), in that in uninstalls cleanly without leaving the tuning script behind.
Please report any problem you encounter in upgrading (of course if you chose the nogui version).

Saturn 2010-10-10 09:21

Re: [announce] swappolube to lubricate your gui
 
Uploaded an updated version (0.3-1) in extras-devel

This update does not bring any new functionality. It merely provides a different way to update, copy and delete the configuration options chosen in the gui.
(The previous version was using the command root provided by rootsh)

Cumulative changes:
v:0.3-0
* Removed indirect dependency to the rootsh package (i.e. root command).
* Update in sudoers.
* Added new script to change values.
* Restricted privileges of companion files.
v:0.3-1
* Update in sudoers.
* Improved helper script to copy/delete the configuration files.
* Restricted privileges of companion files.

I've done my best to test and I believe nothing from previous functionality was broken. Nevertheless will wait a few users to test first, before pushing to extras-testing.

rebhana 2010-10-10 19:25

Re: [announce] swappolube to lubricate your gui
 
Saturn, I have finally tried out swappolube, and find that it doesn't store the settings to /etc/event.d/tuning for me. I first tested swappiness 30 and cache pressure 50, opened again swappolube, selected the two values I had changed before, pressed "Store", but the tuning file just reads
Code:

description "N900 tuning"
author "swappolube editor"


console output

start on started hildon-desktop


script
end script

I'm using version 0.2.0-3.

Btw, if I select "Delete Tunings", the tuning file is still there. Is that how it should be (it's anyway rather empty for me).

Saturn 2010-10-10 19:32

Re: [announce] swappolube to lubricate your gui
 
Quote:

Originally Posted by rebhana (Post 837875)
Saturn, I have finally tried out swappolube, and find that it doesn't store the settings to /etc/event.d/tuning for me. I first tested swappiness 30 and cache pressure 50, opened again swappolube, selected the two values I had changed before, pressed "Store", but the tuning file just reads
Code:

description "N900 tuning"
author "swappolube editor"


console output

start on started hildon-desktop


script
end script

I'm using version 0.2.0-3.

Btw, if I select "Delete Tunings", the tuning file is still there. Is that how it should be (it's anyway rather empty for me).

Thanks for testing.

some questions.
- do you have rootsh installed?
- did you install the nogui version?
- if you delete manually the tuning file and then open the application and store, will it create a new tuning file?
- did you tick the checkboxes of the options you wanted to store?

rebhana 2010-10-10 19:56

Re: [announce] swappolube to lubricate your gui
 
Quote:

Originally Posted by Saturn (Post 837882)
some questions.
- do you have rootsh installed?
- did you install the nogui version?
- if you delete manually the tuning file and then open the application and store, will it create a new tuning file?
- did you tick the checkboxes of the options you wanted to store?

Rootsh is installed, but I'm not sure any longer whether I had the nogui version installed and deinstalled before installing swappolube.

After manually deleting the tuning file, swappolube did write a correct tuning file, but only once. Clicking on "Delete Tunings" does not remove it, and also further changes on the settings are not stored.

And yes, I did tick the checkboxes.

EDIT: I've now upgraded to the extras-devel version, and with that I don't have the above problems. So I'd be in favor of promoting the new version to testing!

Saturn 2010-10-10 20:30

Re: [announce] swappolube to lubricate your gui
 
Quote:

Originally Posted by rebhana (Post 837896)
Rootsh is installed, but I'm not sure any longer whether I had the nogui version installed and deinstalled before installing swappolube.

After manually deleting the tuning file, swappolube did write a correct tuning file, but only once. Clicking on "Delete Tunings" does not remove it, and also further changes on the settings are not stored.

And yes, I did tick the checkboxes.

EDIT: I've now upgraded to the extras-devel version, and with that I don't have the above problems. So I'd be in favor of promoting the new version to testing!

Don't really have a clue what went wrong in your case and the previous version.

Thanks for your feedback on the new version, I'll wait a couple more users to give the ok and will promote.

CasTTeLLo 2010-10-20 07:20

Re: [announce] swappolube to lubricate your gui
 
there are two in repos....so which one is original?? and it conflicting each other...which one i have to install??

mele 2010-10-20 09:14

Re: [announce] swappolube to lubricate your gui
 
Quote:

Originally Posted by CasTTeLLo (Post 845782)
there are two in repos....so which one is original?? and it conflicting each other...which one i have to install??

Other one is swappo with gui and other one is without. They rule eachother out.

F2thaK 2010-10-20 09:23

Re: [announce] swappolube to lubricate your gui
 
If you want to tinker with the settings, install SwappoLubeGUI

iceman600 2010-10-21 03:14

Re: [announce] swappolube to lubricate your gui
 
question...: i just installed the GUI version. select the proposed and applied it. then tried to open it again then i have this message the current is loaded... and the proposed i applied is not applied?

i hope im making sense here... but why is it everytme i open the swappalube even if i already applied the proposed still i dont know if it was applied?

isnt it when you apply the proposed that will be the current one because its loaded? im i making sense?

and what about if i reboot the phone when the proposed is applied? will the proposed settings will still load?

thanks... great tweak BTW...

F2thaK 2010-10-21 03:26

Re: [announce] swappolube to lubricate your gui
 
yeh that happened when I tried it... so i stuck with non GUI version

debernardis 2010-10-21 10:14

Re: [announce] swappolube to lubricate your gui
 
The file which executes swappolube mods at boot time is /etc/event.d/tuning - if this file is absent, you are sure that no mods are active.
Couldn't you see through the "top" command in xterm which processes are keeping your cpu active?

kulas 2010-10-21 10:15

Re: [announce] swappolube to lubricate your gui
 
is this apps already stable?

s.khiwani 2010-10-21 10:29

Re: [announce] swappolube to lubricate your gui
 
1 Attachment(s)
Hey Guys,

I have over clocked my device with 900 Mhz image.. and also installed Swappolube and done the settings, shown in attached file.

But I m not able to understand how can i see the change in speed.

If these are not the correct setting for 900Mhz image please suggest the new settings else tell me where I can see the change in speed.

Regards

Sahil

pfontana77 2010-10-21 10:29

Re: [announce] swappolube to lubricate your gui
 
Quote:

Originally Posted by ajk1983 (Post 846868)
Hi,

I downloaded the current (as of 20 October 2010) version of Swappolube with GUI. After using it for a while, I noticed that my N900 would not go to "complete idle" anymore: Batterygraph showed retrospectively CPU activity of around perhaps 10-15%, even when the device had been in offline mode and with the display turned off. Before installing swappolube Batterygraph showed only neglible CPU activity when the device was in the same state, such as during night time.

To counter this I chose "Delete Tunings" from Swappolube and rebooted. After that Swappolube showed correctly the out-of-the-box settings for all the modifiable variables as the "Current" set up.

However, the problem still persisted and the "idle" state constantly produced CPU use of around 10-15%. I then uninstalled Swappolube, but this had no effect.

Could someone elaborate/speculate what might cause this increase in CPU activity? I cannot use for example Conky to determine this, since that requires both Conky and the N900 GUI to be active.

In addition - and more importantly at this stage - could you please provide guidance on which files to manually remove/edit to undo all the modifications Swappolube has introduced to the system?

Please feel free to ask if you need any further information.

Thank you.

I'm facing the same problem, resetting the value to default or uninstalling the application don't solve the problem. /etc/event.d/tuning are not present after uninstalling. Any ideas?

debernardis 2010-10-21 11:24

Re: [announce] swappolube to lubricate your gui
 
Quote:

Originally Posted by pfontana77 (Post 846905)
I'm facing the same problem, resetting the value to default or uninstalling the application don't solve the problem. /etc/event.d/tuning are not present after uninstalling. Any ideas?

Did you reboot after uninstalling? Swappolube with gui doesn't reset parameters until rebooted. Swappolube-nogui resets parameters when uninstalled, even without rebooting.

debernardis 2010-10-21 13:49

Re: [announce] swappolube to lubricate your gui
 
Might be the infamous hildon-desktop bug:
http://talk.maemo.org/showthread.php...on-status-menu

ajk1983 2010-10-22 04:01

Re: [announce] swappolube to lubricate your gui
 
Quote:

Originally Posted by debernardis (Post 847105)
Might be the infamous hildon-desktop bug:
http://talk.maemo.org/showthread.php...on-status-menu

Yes, that seems to be at least a part of it. Thanks for pointing a not-so-frequent visitor to the right direction.

EDIT: found the cause to be flashlight-extras which I installed at the same time as swappolube. Sorry for barking up the wrong tree.

pfontana77 2010-10-26 11:18

Re: [announce] swappolube to lubricate your gui
 
For me the problem was solved by PR1.3 update. I will installa again swappolube to see if the problem occur again.

mikaelh 2010-10-26 12:36

Re: [announce] swappolube to lubricate your gui
 
Ernesto, sorry if this has been discussd elsewhere, but:

Any "official" statement of the need for and validity of swappolube after the PR1.3 update?

Looking at my battery drain seems like the need still exists, but I would like to hear from the guys who know what they are doing.

Thanks.

debernardis 2010-10-26 13:15

Re: [announce] swappolube to lubricate your gui
 
I am presently running pr1.3 with swappolube - so far so good. Haven't tested without, so I don't know the difference in terms of battery consumption, if any.

mikaelh 2010-10-26 13:44

Re: [announce] swappolube to lubricate your gui
 
Thanks Ernesto. So you have not checked whether Nokia made any changes to the relevant parameters? They did advertise "performance improvements", after all.

Saturn 2010-10-26 23:39

Re: [announce] swappolube to lubricate your gui
 
Those already in PR1.3 they'll notice with the update in QT there is no need to press fn to enter the numbers anymore.

I was trying to have this behaviour and I was wondering why it is not working. No I know!! :)

Let me know if you see anything else new.

Saturn 2010-10-26 23:42

Re: [announce] swappolube to lubricate your gui
 
Quote:

Originally Posted by mikaelh (Post 851887)
Thanks Ernesto. So you have not checked whether Nokia made any changes to the relevant parameters? They did advertise "performance improvements", after all.

The default values for all options touched by swappolube have remained as before.

droll 2010-11-02 00:22

Re: [announce] swappolube to lubricate your gui
 
can i make a suggestion? can you please include this into swappolube too?
http://talk.maemo.org/showthread.php...536#post858536

this is the setting in hildon-deskop.ini. it makes my desktop scrolling so ridiculously smooth!

ed00 2010-11-05 03:03

Re: [announce] swappolube to lubricate your gui
 
Thanks Debernardis and Saturn
and everybody who contributed to such a great application/hack.
My tiny computer became even faster, smoother , browser is flying.

debernardis 2010-11-05 06:08

Re: [announce] swappolube to lubricate your gui
 
In these days I am using pr1.3 without swappolube. I need getting accustomed again to the behaviour of the stock gui. Then, after some days, I'll install swappolube again to see whether it's working significantly for the new version of maemo5 or not. To me, lacking an objective benchmark, it's the only way to go.
I must say, however, that the gui on vanilla pr1.3 is already "lubed" enough for my taste. I am also running the hack described here: http://talk.maemo.org/showpost.php?p=859494&postcount=4 and gui transitions are much sexier :)

HellFlyer 2010-11-05 06:17

Re: [announce] swappolube to lubricate your gui
 
guys I cant install swappolube , HAM says python2.5-qt4-common (4.7.4 maemo0) is missing , I have some apps that are written in python and they work fine, anyone know why this file is missing?

ed00 2010-11-05 22:03

Re: [announce] swappolube to lubricate your gui
 
probably post #193 http://talk.maemo.org/showthread.php?t=62312&page=20 could help

SavageD 2010-11-06 17:05

Re: [announce] swappolube to lubricate your gui
 
I've never used the swappolube application, until yesterday, an I must say that it definitely makes a difference in PR1.3.

My battery life now goes down exactly 1% every 7 hrs on standby.

Thats with 2g on and no online apps (pidgin) running. Though I must admit, I did some additional hacking to achieve this.

Before it went down 4% every 4hrs (standby) with out swappolube.

Saturn 2010-11-06 17:37

Re: [announce] swappolube to lubricate your gui
 
Quote:

Originally Posted by HellFlyer (Post 864019)
guys I cant install swappolube , HAM says python2.5-qt4-common (4.7.4 maemo0) is missing , I have some apps that are written in python and they work fine, anyone know why this file is missing?

There are multiple threads with people having problems with qt4 libraries at the moment.

Could you please mention:
- if you have PR1.3 (OTA or flash) and if you had problems during installation
- which repos you have enabled

Frappacino 2010-11-07 00:20

Re: [announce] swappolube to lubricate your gui
 
Quote:

Originally Posted by Saturn (Post 865327)
There are multiple threads with people having problems with qt4 libraries at the moment.

Could you please mention:
- if you have PR1.3 (OTA or flash) and if you had problems during installation
- which repos you have enabled

I have the same problem.

I have PR1.3 vanilla with NOTHING installed.

I then enabled extras and extras testing repositories in app manager.

Then I tried installing swappolube.

I get this error.

I also did apt-get install on python2.5 and also python2.5-qt4-common. This installed more files but I still get the error.

Whats going on ?


All times are GMT. The time now is 15:35.

vBulletin® Version 3.8.8