![]() |
2014-09-04
, 09:03
|
Posts: 3,074 |
Thanked: 12,964 times |
Joined on Mar 2010
@ Sofia,Bulgaria
|
#22
|
![]() |
2014-09-04
, 15:51
|
Posts: 3,074 |
Thanked: 12,964 times |
Joined on Mar 2010
@ Sofia,Bulgaria
|
#23
|
freemangordon: hi guys, I compiled tox for Maemo5 (Nokia N900) then performed some tests with nTox. While playing with it, I saw there is high CPU usage when idle. after googling a bit, I found this https://libtoxcore.so/getting_starte...to-come-to-you . Unfortunately those functions have been removed https://github.com/irungentoo/toxcor...8e53666aa91739 . Is there any replacement API I can use, as in its current shape (calling tox_do every n msecs), tox is unusable on battery operated devices?
freemangordon: irungentoo: ^^^
irungentoo: freemangordon, uint32_t tox_do_interval(Tox *tox);
irungentoo: freemangordon, the other functions were removed because nobody used them
freemangordon: irungentoo: if I read the code correctly, the minimum value is 50 ms
irungentoo: text chats should work with 500ms
irungentoo: but if you do file transfers or A/V, you need to call it more
freemangordon: whatever the interval is, it is still polling for events, thus waking CPU no matter if there is data to be processed or not
irungentoo: there will always be data
freemangordon: irungentoo: ok, I'll rephrase my question - is there any chance to bring back tox_wait_xxx API?
irungentoo: freemangordon, it didn't work and increased the number of times tox_do() was run
freemangordon: I see
![]() |
2014-09-04
, 17:11
|
Posts: 26 |
Thanked: 7 times |
Joined on Aug 2014
|
#25
|
Doesn't look good
Find here binaries compiled for N900 if you want to play with it.
The Following User Says Thank You to usr For This Useful Post: | ||
![]() |
2014-09-04
, 17:57
|
Posts: 3,074 |
Thanked: 12,964 times |
Joined on Mar 2010
@ Sofia,Bulgaria
|
#26
|
The Following User Says Thank You to freemangordon For This Useful Post: | ||
![]() |
2014-09-04
, 21:50
|
|
Posts: 400 |
Thanked: 708 times |
Joined on Jun 2011
@ Geneva - CH
|
#27
|
The Following User Says Thank You to Jordi For This Useful Post: | ||
![]() |
2014-09-04
, 22:10
|
|
Posts: 6,436 |
Thanked: 12,701 times |
Joined on Nov 2011
@ Ängelholm, Sweden
|
#28
|
![]() |
2014-09-05
, 09:50
|
|
Posts: 1,197 |
Thanked: 2,710 times |
Joined on Jan 2010
@ Hanoi
|
#29
|
The Following User Says Thank You to ste-phan For This Useful Post: | ||
![]() |
2014-09-06
, 07:18
|
Posts: 26 |
Thanked: 7 times |
Joined on Aug 2014
|
#30
|
no, I won't waste time on debian packaging, sorry.
simply download tar.gz from the link I posted earlier, extract it somewhere in /opt, cd to that dir and run nTox with LD_LIBRARY_PATH=./ nTox ...
# cd /home/opt/tox
The Following User Says Thank You to usr For This Useful Post: | ||
Find here binaries compiled for N900 if you want to play with it.
Never fear. I is here.
720p video support on N900,SmartReflex on N900,Keyboard and mouse support on N900
Nothing is impossible - Stable thumb2 on n900
Community SSU developer
kernel-power developer and maintainer