maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N900 (https://talk.maemo.org/forumdisplay.php?f=44)
-   -   Overclock the N900? (https://talk.maemo.org/showthread.php?t=39753)

kulas 2010-06-13 04:50

Re: Overclock the N900?
 
Quote:

Originally Posted by gabby131 (Post 712731)
if you mean to permanently oc their device to 850mhz, yes, some are doing that

tnx gabby! :)

moepda 2010-06-13 07:38

Re: Overclock the N900?
 
mine is set similar to that ...

500-900 when phone is unlocked
250-500 when phone is locked (screen/keys or locked with security code)

noipv4 2010-06-13 07:46

Re: Overclock the N900?
 
Ok, Enabling Smartreflex on VDD1, which controls the CPU, IVA, and DSP works until 805MHz with Titan's kernel, default kernel-power configuration and PR 1.2/

gabby131 2010-06-13 11:32

Re: Overclock the N900?
 
Quote:

Originally Posted by kulas (Post 712773)
tnx gabby! :)

the procedures for permanent overclocking is on the wiki (wiki.maemo.org/overclocking).

matts76 2010-06-13 12:55

Re: Overclock the N900?
 
Quote:

Originally Posted by moepda (Post 712845)
mine is set similar to that ...

500-900 when phone is unlocked
250-500 when phone is locked (screen/keys or locked with security code)

What application and codes are u using to set different freqs on lock/unlock? sounds really cool.

moepda 2010-06-13 18:18

Re: Overclock the N900?
 
1 Attachment(s)
Quote:

Originally Posted by matts76 (Post 713098)
What application and codes are u using to set different freqs on lock/unlock? sounds really cool.

all taken from here :

http://wiki.maemo.org/Overclocking#U..._.28by_Fecn.29

thats standard set up from script author, i go up to 900 not 1150 .use his info for location of files etc etc...

i use latest kernel power settings/scripts from titan .

attached is my version of scripts (i found battery % never worked with battery temperature so only use that script)

you do need battery modprobe installed for this but full instructions in zip file for that. i reccommend openSSH and pc to copy the files and remember to make local/bin/underclock and overclock executable.

once all that done backup default config in usr/share/kernel-power-settings by renaming and create new config called default based on your config that you use (ideal,lv,xlv etc) load that config/save config/set to load at boot(essential) with info in zip file (installextra).

attached my config that i tested to work in zip file. took days to get it to work properly (see my previous posts!!) so reccommend use my files as base and adjust after you confirm it works as i did :)

any questions just ask :)

Darkslayer 2010-06-13 21:45

Re: Overclock the N900?
 
Hey everyone, just want to share some user experience about the topic.
I've been using my n900 for about 3 months and almost a month OC'ed (900, recently - 1000). Btw I am using latest kernel-power from repos and temporary oc through queen beecon.
When I was using 900mhz setting the device temperature remained fine, unfortunately I even didn't monitor it but the general feeling was about that nothing changed in terms of heat if to compare it with stock frequency.
Then I tried 1ghz and surprisingly found out that the difference in terms of speed betwen 900-1000 was almost as noticeble as between 600-900 so I decided to give it a try. Ok, I agree that it's very argueble point when we are speaking about perfomance, but for me it seemed to be noticeble faster. Later on I also found out that the device temperature rises alot at this frequency. I am using bq27x00_battery module to monitor the temp. I know it is not reliable, but it the only way to convert feelings into numbers.
Well, from a few tests that i've made I found out that with 1ghz temperature exeeds 50' degrees (my record is 53) at full load (e.g. watching youtube video) and ranges between 45-50 while active browsing. It makes the device very hot, especially when touching its hw keyboard. And with 600mhz (not that "stock" as it seems, cause kernel-power uses different voltages than stock nokia kernel - am i right here?) temperature rarely get over 45 and it is usually about 40 at decent heavy load.
After some research here, it seems to me that i found the right explanation: the 1000mhz uses 1.350v which differs from previous used voltage for 0.075 which is pretty considerable in terms of voltage settings used by device. Is this the real reason causing heat?
And one more question: did i get it right, that if I installed latest kernel power + settings and just set limits to (e.g.) 250 1000 I get the same voltage table as listed as "titan's LV kernel" on the wiki page?

ahmadamaj 2010-06-13 21:59

Re: Overclock the N900?
 
@ Darkslayer when wifi is on it increases the temp and makes the device very hot (40-45 even when on 600) so you have to take that into account.

marduk1015 2010-06-14 03:23

Re: Overclock the N900?
 
Quote:

Originally Posted by titan (Post 603490)
EDIT: this post is outdated. please goto http://wiki.maemo.org/Overclocking

I have uploaded two new low voltage kernels.
Both are the same as the maemo20 kernel in extras-devel except for the lower voltages,
i.e. they preserve your freq. limits over phone calls and don't lock to 600Mhz during phone calls.
The default limits are 250-600 MHz.
A new feature in all maemo20 kernels is the bq27x00_battery module by Matan
which gives you more info about the battery in /sys/class/power_supply/bq27200-0/

The ultralow voltage (ulv) kernel is inspired by Letho's settings.
The less extreme low voltage (lv) kernel is inspired by Matan's settings.

Download ULV:
Code:

wget http://maemory.com/N900/overclock/ulv/kernel-maemo_2.6.28-maemo20_armel.deb
wget http://maemory.com/N900/overclock/ulv/kernel-modules-maemo_2.6.28-maemo20_armel.deb
wget http://maemory.com/N900/overclock/ulv/kernel-flasher-maemo_2.6.28-maemo20_armel.deb

Download LV:
Code:

wget http://maemory.com/N900/overclock/lv/kernel-maemo_2.6.28-maemo20_armel.deb
wget http://maemory.com/N900/overclock/lv/kernel-modules-maemo_2.6.28-maemo20_armel.deb
wget http://maemory.com/N900/overclock/lv/kernel-flasher-maemo_2.6.28-maemo20_armel.deb

Installation
Code:

dpkg -i kernel-m*
dpkg -i kernel-f*
halt

replace the values (as root) for temporary change
Code:

echo 124999 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
echo 599000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq

or edit /etc/pmconfig for permanent changes of the frequencies.

To enable 125Mhz use 124999 for scaling_min_freq.
According to BlackDiamond you should
"echo 1 > /sys/devices/system/cpu/cpu0/cpufreq/ondemand/ignore_nice_load"
for 125MHz http://talk.maemo.org/showpost.php?p...&postcount=185

Also try the hint by nightfire http://talk.maemo.org/showpost.php?p...&postcount=170 for improved responsiveness.

The warning "WARNING: at /home/builder1/maemo-fremantle-armel-extras-devel/work/kernel-maemo-2.6.28/arch/arm/mach-omap2/clock34xx.c:443" some people see in dmesg indicates that we don't really know what we're doing :o
The same applies to the DSP settings - it is not clear whether Letho's and my kernel actually set them to >430MHz. Someone familiar with frequency selection should have a look at the code...

so far the ULV kernel works fine for me with [125,600] Mhz till 850 MHz. 900 crashed it. EDIT: I just increased the 900 voltage in an update
EDIT2: another update replaced 800 by 810MHz in ULV and LV kernels

how do I download kernals?

geneven 2010-06-14 03:47

Re: Overclock the N900?
 
Of course, the material you are quoting is outdated.

You download the latest kernel by installing the Enhanced Linux kernel for power users, which is available from the Application Manager. You also need the Enhanced Linux kernel for power users settings, available from the same place.

You also need to read http://wiki.maemo.org/Overclocking

matts76 2010-06-14 08:43

Re: Overclock the N900?
 
@moepda, thanks for the reply mate, but i dont have a pc/laptop at the mo (girlfriend dropped it:mad: ) and i have verry little command line experience.
I was really hoping it would be a nice easy to use application, so i guess ill give it a miss for now, does sound really cool though.
Im sure ive seen an app around that executes commands when different functions are used so maybe ill take a look at that.

Thanks for the offer of help with this though.:cool:

moepda 2010-06-14 10:26

Re: Overclock the N900?
 
no worries , not good with command line either pc so much easier !!!

paan_fls 2010-06-14 11:38

Re: Overclock the N900?
 
hallo.just want to ask u.
i used the ideal profile for overclocking.
but in some apps especially in web browsing,my device booted up.
so i change to this profile

sudo gainroot
kernel-config load lv
kernel-config limits 250 850

n it seemed stable for my device.but will this profile give a bad impact to my device,since i read in a link u posted .
it said

"As can be seen from the formula lower voltage plays greater part in CPU consumption than frequency. By reducing the voltage the damage of overclocking can be reduced and the battery life time extended"

is this mean that when im using lv profile,i gnna damage my device n battery lifetime in d future? bcs it uses more voltage..

imacmillan 2010-06-14 15:25

Re: Overclock the N900?
 
Quote:

Originally Posted by paan_fls (Post 714317)
hallo.just want to ask u.
i used the ideal profile for overclocking.
but in some apps especially in web browsing,my device booted up.
so i change to this profile

sudo gainroot
kernel-config load lv
kernel-config limits 250 850

n it seemed stable for my device.but will this profile give a bad impact to my device,since i read in a link u posted .
it said

"As can be seen from the formula lower voltage plays greater part in CPU consumption than frequency. By reducing the voltage the damage of overclocking can be reduced and the battery life time extended"

is this mean that when im using lv profile,i gnna damage my device n battery lifetime in d future? bcs it uses more voltage..

I experienced exactly the same stability problems with ideal settings.
What i would do in your case is try using xlv settings
(kernel-config load xlv) and change the limits as required. The voltages in xlv are lower than that of lv, so can cause stability issues as in ideal, but i found it to be alot more stable on my device.
From the wiki the voltages used at 850MHz for lv are:

54 1.275V 850 MHz

and for xlv are:

48 1.200V 850 MHz

Both these settings are still lower than the voltages at default at 600MHz anyway.

Gusse 2010-06-14 20:03

Re: Overclock the N900?
 
Quote:

Originally Posted by matts76 (Post 713098)
What application and codes are u using to set different freqs on lock/unlock? sounds really cool.
Quote:

Originally Posted by moepda (Post 713457)


I have a question about this Fecn's dbus-script on Overclocking wiki page.

Dbus-script is triggered when "tklock_mode_ind locked/unlocked" has happened. Then script select suitable max frequency based on current temperature (and optionally by battery capacity).

If temperature is low during triggering time, then max frequency will be selected. If I use the phone for longer period then temperature starts to rise too high. Is there some dbus-parameter(s), which could be used for active monitoring of temperature?

I have used so far "while true/do/sleep/done" - 30sec. polling method for dynamic control of frequency based on temperature when needed (not too often, but sometimes).

Jokah 2010-06-14 22:01

Re: Overclock the N900?
 
I saw a never seen before error in my dmesg today, anybody ever experienced one similar or has clue what is causing it?

[18747.280700] WMD_DEH_Notify: ********** DEVICE EXCEPTION **********
[18747.280761] WMD_DEH_Notify: DSP_SYSERROR, errInfo = 0x300

moepda 2010-06-14 22:03

Re: Overclock the N900?
 
i would say adjust the temperature bands lower or closer together , i use 38c as my 1st cpu change (900mhz to 850mhz) and 48c as my last (705mhz to 600mhz)

more than that im afraid i cant help , not enough linux experience sorry...

imacmillan 2010-06-15 14:44

Re: Overclock the N900?
 
Quote:

Originally Posted by Gusse (Post 715040)
I have a question about this Fecn's dbus-script on Overclocking wiki page.

Dbus-script is triggered when "tklock_mode_ind locked/unlocked" has happened. Then script select suitable max frequency based on current temperature (and optionally by battery capacity).

If temperature is low during triggering time, then max frequency will be selected. If I use the phone for longer period then temperature starts to rise too high. Is there some dbus-parameter(s), which could be used for active monitoring of temperature?

I have used so far "while true/do/sleep/done" - 30sec. polling method for dynamic control of frequency based on temperature when needed (not too often, but sometimes).

This is exactly whats holding me back from using this script. Seems a little pointless as the only time the temperature will raise on my device is when it is unlocked and when i am using it heavily.

Is there any way to dynamically control the frequency as gusse said? that would be far more useful, instead of the temperature when the phone is initally unlocked, in my opinion.

Tigerite 2010-06-15 14:53

Re: Overclock the N900?
 
This is why I was trying to port cpufreqd but just couldn't get it to compile on the N900, so gave up. I'd imagine that the kernel would also need to be modified to use it properly anyway.

paan_fls 2010-06-15 15:46

Re: Overclock the N900?
 
i have another question, if we r using this kernel, cn we update d phne if theres a new PR?since d old OC method will make u cnt update d phne.is it d same wif titan kernel,or im missing smthing here?

to imacmillan.thx.now im using lv profile n it works fine to me.
my battery drain a bit fast(but not dat much)

marduk1015 2010-06-15 22:25

Re: Overclock the N900?
 
When I try to check if ideal is running, it asks for PASSWORD

turtle 2010-06-16 02:18

Re: Overclock the N900?
 
Quote:

Originally Posted by jakiman (Post 668577)
Due to many requests, here are all the Queen Beecon Widget exports that I use as seen below:
(I have zipped up each widget's export output as a txt file)

http://talk.maemo.org/attachment.php...1&d=1274397770

http://img192.imageshack.us/img192/5...0052109205.png

I have updated my overclocking guide with the link also.

Now to use this, copy the text inside the txt file to the N900 clipboard (can open the file via leafpad etc), then create a new beecon widget, go to settings window, then click Advanced on right, click yes,then go down to the bottom, then click paste in top center, then click import on the right side, click yes. then go out. you will now have imported my exact beecon settings.

For those who get the msg "rootsh is now deprecated....), see following post:
http://talk.maemo.org/showpost.php?p...postcount=3953

Please do note that the 1Ghz widget is using a custom profile.
To get it to work, you will need to run the following from xterminal first and create the modified ideal profile that is clocked up to 1Ghz. (example is using ideal voltage profile)

1. Launch xterminal
2. root
3. kernel-config load ideal
4. kernel-config limits 500 1000
5. kernel-config save ideal_1000



Would you please tell me how to calculate the checksum in your scripts:confused:? I'm new to the coding.
By the way, thank you for your overclocking guide and sharing this scripts, it run great on my n900 :)

kamiwey 2010-06-16 08:15

Re: Overclock the N900?
 
Quote:

Originally Posted by jakiman (Post 669030)
The error that you get is because you have rootsh 1.8 installed instead of rootsh 1.5.

1.5 = extras
1.8 = extras-devel

1.8 does not support rootsh command. So use sudo instead.

Instead of:
rootsh /usr/sbin/kernel-config load ideal

Use this instead:
sudo /usr/sbin/kernel-config load ideal


hello jakiman, im tried to use the sudo comand but beecom widget always say me Bad checksum, if i keep it whit rootsh beecom widget acept it whitout problems, but went i want to use the widget this say me that not support the rootsh comand.
what can i do, i tryed a lot of diferents ways, same like you write is this post, whit sudo gainroot... a lot, but becoom widget only acept the rootsh.
i hope you or somebody can help me cuz im becoming crazy,
regards.

imacmillan 2010-06-16 08:25

Re: Overclock the N900?
 
Quote:

Originally Posted by kamiwey (Post 717191)
hello jakiman, im tried to use the sudo comand but beecom widget always say me Bad checksum, if i keep it whit rootsh beecom widget acept it whitout problems, but went i want to use the widget this say me that not support the rootsh comand.
what can i do, i tryed a lot of diferents ways, same like you write is this post, whit sudo gainroot... a lot, but becoom widget only acept the rootsh.
i hope you or somebody can help me cuz im becoming crazy,
regards.

For the command in queen beecon i use:

echo kernel-config load ideal | sudo gainroot


try that?

kamiwey 2010-06-16 08:59

Re: Overclock the N900?
 
Quote:

Originally Posted by imacmillan (Post 717200)
For the command in queen beecon i use:

echo kernel-config load ideal | sudo gainroot


try that?

thank you, im trying also but say the same, bad checksum:(

imacmillan 2010-06-16 09:32

Re: Overclock the N900?
 
Quote:

Originally Posted by kamiwey (Post 717237)
thank you, im trying also but say the same, bad checksum:(

a quick search suggests that maybe you are editing the file itself instead of using QB's Edit Cmd button?

Have you tried adding a completely new widgit and then adding a command through the QB user interface?

Or are you importing someone elses file?

No!No!No!Yes! suggests you "Import the beecon first and then change the command from settings with "edit cmd" "

From this thread: http://talk.maemo.org/showthread.php...886#post708886

Might be useful info...

Mr. Incredible 2010-06-16 12:25

Re: Overclock the N900?
 
Dear titan
Is it possible to turn off the GUI (Nokia Logo and moving dots) during boot? I want to see what the OS is doing.

Can you make a custom kernel with fb console enabled?

planetf1 2010-06-16 22:19

Re: Overclock the N900?
 
Nokia-N900:~# apt-get install --reinstall kernel kernel-flasher fremantle-203-prReading package lists... Done
Building dependency tree
Reading state information... Done
Package kernel is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package kernel has no installation candidate

At this point a full reflash is clearly an option (and yes everything is backed up, and I've flashed a number of times before, so no big deal) .. but I was intrigued as to what went wrong.

I'm thinking the erroneous removal of mp-fremantle-203-pr was not great -- although kernel couldn't be found before this.

Am I missing a repo? Can someone check if this package is in their repo?

jehan 2010-06-18 09:24

Re: Overclock the N900?
 
Hi! I stumbled at the pf-kernel patch set which includes the BF scheduler and I was surprised what big difference the BFS makes on my intel based notebook.

What do you think - would it make sense to integrate BFS into titans kernel to improve responsiveness or doesn't it make sense on an arm cpu?

titan 2010-06-18 12:04

Re: Overclock the N900?
 
Quote:

Originally Posted by Mr. Incredible (Post 717440)
Dear titan
Is it possible to turn off the GUI (Nokia Logo and moving dots) during boot? I want to see what the OS is doing.
Can you make a custom kernel with fb console enabled?

fbcon is very unstable and leads to crashes, shutdown hangs etc.
just install sysklogd and get the messages from the logfile.
the boot screen is scrolling too fast anyway and you cannot scroll up during boot.

Quote:

Originally Posted by jehan (Post 720273)
Hi! I stumbled at the pf-kernel patch set which includes the BF scheduler and I was surprised what big difference the BFS makes on my intel based notebook.
What do you think - would it make sense to integrate BFS into titans kernel to improve responsiveness or doesn't it make sense on an arm cpu?

There is no BFS patch for 2.6.28

jehan 2010-06-18 13:12

Re: Overclock the N900?
 
@titan

Quote:

Originally Posted by titan (Post 720421)
There is no BFS patch for 2.6.28

ok I forgot ... I wrote kolivas an email and asked him to provide one.

spanner 2010-06-18 13:18

Re: Overclock the N900?
 
Quote:

Originally Posted by titan (Post 720421)
fbcon is very unstable and leads to crashes, shutdown hangs etc.

Sad to hear this - the console messages are the ultimate "boot video"! But thanks for the explanation.

Mr. Incredible 2010-06-18 14:26

Re: Overclock the N900?
 
Quote:

Originally Posted by titan (Post 720421)
just install sysklogd and get the messages from the logfile.

I'm not interested in the log, it would be awesome to actually see the OS booting. As spanner said it would be a coolness enhancement. :cool:
But thanks anyway titan!:)

titan 2010-06-19 07:36

Re: Overclock the N900?
 
Quote:

Originally Posted by Mr. Incredible (Post 720582)
I'm not interested in the log, it would be awesome to actually see the OS booting. As spanner said it would be a coolness enhancement. :cool:
But thanks anyway titan!:)

it would be more effective to find a replacement for hildon-startup-progress (closed-source)

bazz 2010-06-19 16:23

Re: Overclock the N900?
 
Not sure if I should ask this here....but is there anyway of tying the overclock to the camera for video, and when the camera closes it goes back to stock?
So I guess my question in general is...... Is there a way to have different apps enable the overclocked kernel from the stock kernel while in use, and when the app is closed to go back to the stock kernel?

hawaii 2010-06-19 16:56

Re: Overclock the N900?
 
Should be possible by camping dbus triggers and adjusting. I'm sure dbus-scripts can do this, if nobody wants to make a watchdog daemon.

Chrome 2010-06-21 08:51

Re: Overclock the N900?
 
I used "kernel-config setdefault ideal", no now im using ideal config.

Lets say i wanna play Zen Bound for a while, and i want to use the default kernel (250-600) with original voltages,no OC, modifications...etc.

What command should i use? i tried "kernel-config setdefault default", but limits are still 500-850, i used "kernel-config limits 250-600" but the minimum freq is still 500.

moepda 2010-06-21 08:57

Re: Overclock the N900?
 
as root use

Code:

kernel-config load default
then it will be default until you reboot and your custom default config is reactivated.

if you finish playing game just

Code:

kernel-config load ideal
to get ideal back without reboot but as you used "kernel-config setdefault default" you must l use the load ideal command and then kernel-config setdefault default again to set ideal as default before reboot.

imacmillan 2010-06-21 08:58

Re: Overclock the N900?
 
Quote:

Originally Posted by Chrome (Post 723367)
I used "kernel-config setdefault ideal", no now im using ideal config.

Lets say i wanna play Zen Bound for a while, and i want to use the default kernel (250-600) with original voltages,no OC, modifications...etc.

What command should i use? i tried "kernel-config setdefault default", but limits are still 500-850, i used "kernel-config limits 250-600" but the minimum freq is still 500.

use the load command:

kernel-config load default

the setdefault command just changes the default settings on boot up, not from that point on.

********Got beaten to it!

bulelet 2010-06-21 10:53

Re: Overclock the N900?
 
can anyone send me a msg on which kernel is the easiest to apply?
i dont have a lot of time to read on.

a max of 800mhz would be awesome.


All times are GMT. The time now is 23:51.

vBulletin® Version 3.8.8