![]() |
2010-05-12
, 14:36
|
Posts: 252 |
Thanked: 252 times |
Joined on Nov 2009
|
#11
|
![]() |
2010-05-12
, 16:35
|
Posts: 726 |
Thanked: 345 times |
Joined on Apr 2010
@ Sweden
|
#12
|
![]() |
2010-05-12
, 16:58
|
Posts: 252 |
Thanked: 252 times |
Joined on Nov 2009
|
#13
|
While getting home from work, I started thinking about linking issues. You can get really special behaviour if you link against one library and move the binary to another environment to run it.
Are you sure that you're using the same library to run the binary as you use to link it? I got random segfault just a week ago from linking against a newer version and then running the application in the target environment that had an older version installed.
![]() |
2010-05-12
, 17:01
|
|
Posts: 754 |
Thanked: 630 times |
Joined on Sep 2009
@ London
|
#14
|
![]() |
2010-05-12
, 17:11
|
Posts: 252 |
Thanked: 252 times |
Joined on Nov 2009
|
#15
|
![]() |
2010-05-12
, 17:13
|
Posts: 1,038 |
Thanked: 737 times |
Joined on Nov 2005
@ Helsinki
|
#16
|
![]() |
2010-05-12
, 17:19
|
Posts: 252 |
Thanked: 252 times |
Joined on Nov 2009
|
#17
|
Try running your code in fullscreen mode. If you are running opengl application with the titlebar, then you are running multiple opengl contexts, which makes the compositor and application do SGX context switches all the time, completely destroying speed.
![]() |
2010-05-12
, 19:47
|
Posts: 726 |
Thanked: 345 times |
Joined on Apr 2010
@ Sweden
|
#18
|
The Following User Says Thank You to Joorin For This Useful Post: | ||
![]() |
2010-05-12
, 21:04
|
Posts: 252 |
Thanked: 252 times |
Joined on Nov 2009
|
#19
|
Check and double check. If it's the same libraries, they should be the same size.
![]() |
2010-05-13
, 12:01
|
Posts: 12 |
Thanked: 13 times |
Joined on Feb 2010
|
#20
|
I just checked the sizes, and on device /opt/libqt4-maemo5 is 42652 bytes, while in scratchbox is 42988.
Can't this difference be because of the underlying file system? Both package versions (on device and in scratchbox) are 4.6.2~git20100212-0maemo1.
Thanks for all your suggestions so far!The next step will be to comment out different parts of the code to isolate the error, like Joorin suggested
The Following User Says Thank You to rivierakid For This Useful Post: | ||