Performance drop after rotating screen

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.

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.

And what happens when you use ofRotate(90); and work like this ?

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

Will system and app orientations be both the same if I use ofRotate(90); ?

Did you tried this : Performance drop after rotating screen ?

Tried and, as I suspected, this rotates only my project.
Performance is OK, but system is in horizontal, project is in vertical.

And do you need access to the system ?