View Single Post
Posts: 1,463 | Thanked: 1,916 times | Joined on Feb 2008 @ Edmonton, AB
#1
PR 1.2 Note: I had to change the font to get rid of the gigantic spacing the nokia pure font now has, I used a condensed font so it's a bit smaller horizontally too.



Okay I got some help rewriting the double buffering stuff using a pixmap, it introduced a bunch of problems and was not easy... but it's working perfect now.
I'll call the new version conky-n950 2.0 because this is a big change and we were at 1.98 anyways

http://www.appcheck.net/storage/conk....2-1_armel.deb

I recompiled all of the above using the harmattan scratchbox and "-mcpu=cortex-a8" compiler flag just in case it makes it a bit faster.
For some reason it won't install these unless you dpkg -i them from the terminal.

changelog:
conky (2.0.2-1) unstable; urgency=low

* got temperature working again by talking to bme directly
* added new variable ${battery_rate} to get charge/discharge rate

conky (2.0.1-1) unstable; urgency=low
* Added some power saving features, needs some testing to confirm this is working properly
- Because conky is written in c (not c++) it can't directly access the system heartbeat timer so it uses another process to do this for it
+ Conky will look for another app I wrote and modified for this purpose, Proximus (>= v1.2.4)
+ If proximus-daemon is running conky will ask it to set up a heartbeat timer and proximus will send a dbus signal back for each heartbeat
+ update_heartbeat_min and update_heartbeat_max from the conf file will specify the approximate time between heartbeats
+ If the phone is discharging, Conky will skip heartbeats according to the value of update_heartbeat_battery_skip in the conf file
+ So, if update_heartbeat_battery_skip is 3, conky will update once every 4 heartbeats when discharging. default is 1 so set to 0 to disable.
+ If the screen turns off, update_skips_when_sleeping overrides update_heartbeat_battery_skip. default is 5!


conky (2.0.0-1) unstable; urgency=low

* Supports double buffering without dbe (an extension nokia removed from x11 in harmattan):
- double buffers using pixmaps instead of dbe
+ spent a long time getting that working and fixing everything that broke when changing that
+ thanks to syrjala on meego.com forum for giving me a patch that got me started working on this
+ cairo / lua work, imlib2 works, and you need to install those 3 libraries also.
+ it doesn't actually crash when swiping to the background, it's nokia's idea that you meant to close it based on the physical orientation of the phone
+ .conf file needs some small fixes and i can't do anything about the i/o stats not working
+ i will add some more features soon

I'll leave the old instructions here, you DONT need to do anything below this point though. It's just interesting to see that it worked fine with dbe enabled and Nokia's idea to disable it and ignore requests to turn it back on was really a big waste of my time...

To get this working properly you need to flash the kernel to get rid of aegis and install a replacement xorg core package that enables x11 apps to use the double buffering extension. Nokia disabled this extension for no particular reason, and when I filed a bug asking them to turn it back on they basically said "sorry, too late".
Conky doesn't *need* double buffering, but if it doesn't have it then the screen redraws really slow. If you want it to refresh often and don't use a simple text .conf file (which I didn't include) you will want the double buffering.
Anyways, I won't encourage you guys to reflash your kernels if you don't know what you're doing. When it's done you get a warning screen every time you boot your phone, apparently no more warranty, and Nokia still hasn't bothered to fix the bugs in "open mode" so there's a bunch of stupid problems as of today like some https websites not working and all the built-in account logins not being saved properly. You can read about flashing an aegis free kernel here.

If you already flashed the kernel, rebooted, and verified open mode, this should be safe to install. I did and nothing bad happened yet. If you install that without flashing the kernel (it shouldn't let you but it might, don't try!) your phone will not work when you reboot and you will need to wipe the phone.
That package will only install properly with this long command:
AEGIS_FIXED_ORIGIN=com.nokia.maemo dpkg -i xserver-xorg-core_1.9.5-meego1211+0m6_armel.deb

Conky is safe to install no matter what, but it requires some other stuff installed first and is therefore a pain to install too
Here is a zip file that includes it and the dependencies. Just install all the debs from the command line with dpkg -i, conky last, and it should work.


Here's a screenshot... well actually I took with a camera so you can see how it looks on the n9 vs the n950. Notice the text is harder to read on the n9. Pentile = crap.


Here's a video showing double buffer vs single. The screen updates more often if you plug it in so you might want to adjust that in the .conf file... Sorry it's 32mb and a .mov file, my camera is dumb.
http://www.appcheck.net/storage/DSCF1811.MOV

Oh, and I'm still using the same repo, so the source is all here.

Last edited by Creamy Goodness; 2012-07-16 at 00:41.
 

The Following 39 Users Say Thank You to Creamy Goodness For This Useful Post: