RP4, Hyperpixel4 and Octopi  

New Member

Just to give some background I just purchased a RP4 as an upgrade to my RP3 which was having a low voltage error even plugged into a 5v 3amp adapter with new USB cable. Since the upgrade I used etsy to flash Octopi to an SD card. Then I setup Octoprint just like before and that all works fine. When it came to installing the hyperpixel 4 display I followed the following guide (link). However I cannot rotate the display it is always in portrait. When I type in 'hyperpixel4-rotate left' if come up with the following error 

Traceback (most recent call last):
File "", line 15, in
File "/usr/lib/python2.7/dist-packages/screenlayout/xrandr.py", line 43, in init
version_output = self._output("--version")
File "/usr/lib/python2.7/dist-packages/screenlayout/xrandr.py", line 64, in _output
raise Exception("XRandR returned error code %d: %s"%(status,err))
Exception: XRandR returned error code 1: No protocol specified
Can't open display :0.0

Setting matrix: 0 -1 1 1 0 0
Saving touch settings to /etc/udev/rules.d/98-hyperpixel4-calibration.rules

After a bit of research this may be because rotate requires X desktop however I dont really understand this. Has anyone else got the same setup running or knows of a fix. Thanks

Posted : 24/05/2020 1:32 pm
Noble Member

It would appear that all 5V 3A PSU's are not created equally and that error is a common problem reported on OctoPrint board, specifically with RPi 4. The official Raspberry Pi4 PSU is spec'ed as 5.1V 3A. Obiouly it's your choice to stick with your existing PSU but untill you resolve this error you will have only blood, sweat and tears.

Another potential power related problem is that the USB 5V rail can inadvertently supply power to the printers mainboard. A common mod is to cover the 5V pin on the USB socket to prevent this. 

This post was modified 1 year ago by towlerg
Posted : 24/05/2020 4:18 pm
New Member


Hi Sorry, I think you focused on the wrong thing the Pi4 I am using has no issues with power or low voltage it is working great. I just need help with the problem of trying to get the hyperpixel4 screen into landscape?

Posted : 24/05/2020 5:29 pm
Noble Member


"having a low voltage error"?

Posted : 24/05/2020 8:21 pm
New Member


 I just purchased a RP4 as an upgrade to my RP3 which was having a low voltage error

The problem is the to do with the RP4 as explained in the entire rest of the post. The line above was just to say I upgraded to a RP4

Posted : 24/05/2020 9:51 pm
New Member


take a look at this video. This should work. 

Posted : 10/06/2020 4:56 am
Trusted Member

Since this is an Octoprint specific question, you probably get more help on the Octoprint forums.

Posted : 13/06/2020 3:53 am
Eminent Member


Sorry, I will not be able to help you... Exactly the same problem here. No way to rotate the display following Pimoroni instructions. The touch interface has rotated but not the screen, meaning when I touch the screen, the cursor goes to right position if the screen had rotated... Pimoronis support is abysmal... Looking at their forum "support" and on their github, I guess they launched this screen way to quickly without much testing, generating a lot of frustration...

Going to follow on up their forum and github...

Posted : 28/06/2020 12:13 pm

Please Login or Register