I have a Raspberry Pi 2 B connected to a RIF6 projector via HDMI. My goal is to flip the video 180 degrees while the OS is running. I have researched this and found that
xrandr should be the way to go. If I run
xrandr: Failed to get size of gamma for output default Screen 0: minimum 1136 x 592, current 1136 x 592, maximum 1136 x 592 default connected 1136x592+0+0 0mm x 0mm 1136x592 0.0*
This would seem to indicate the display 0 is the one I want to rotate.
I have tried many variants to this but I believe the proper command should be:
sudo xrandr --output 0 --rotate left
But the response I get is:
Can't open display
OR I have tried:
DISPLAY=:0 xrandr --output 0 --rotate left
xrandr: Failed to get size of gamma for output default warning: output 0 not found; ignoring
Has anybody successfully achieved rotating the video without restarting the RPi?