mattc
November 28, 2015, 10:29am
#1
Hi!
First thing I done was adding
ofDrawBitmapString(ofToString(ofGetFrameRate())+"fps", 10, 15);
to quaternionLatLongExample, then compile and run it. I get solid 30fps since this code is limited with
ofSetFrameRate(30);
so everything works as expected.
But after adding
display_rotate=3
to /boot/config.txt I get max 19fps. Example like 3DPrimitivesExample is getting max 14fps.
Is this OF bug, system issue or what?
RaspberryPi1 B 512, CPU at 800Mhz, 128 to GPU, minibian, fullHD.
mattc
December 1, 2015, 2:02pm
#2
Everything points to the fact that RPi is getting laggy when screen is rotated 90 or 270 degrees. Changing resolution to lower makes it better.
cgiles
December 1, 2015, 4:55pm
#3
And what happens when you use ofRotate(90); and work like this ?
arturo
December 1, 2015, 6:20pm
#4
OF also has a way to rotate the screen for installations… just call ofSetOrientation(OF_ORIENTATION_90_LEFT)
and it’ll rotate the screen. you can also use OF_ORIENTATION_90_RIGHT and OF_ORIENTATION_180
2 Likes
mattc
December 2, 2015, 8:24am
#5
Will system and app orientations be both the same if I use ofRotate(90); ?
cgiles
December 2, 2015, 9:20am
#6
mattc
January 8, 2016, 10:22am
#7
Tried and, as I suspected, this rotates only my project.
Performance is OK, but system is in horizontal, project is in vertical.
cgiles
January 14, 2016, 7:36am
#8
And do you need access to the system ?