Thanks Andy, double checked the dts settings against yours and all looks the same. I would be interested to know if you experience the same issue in portrait mode (display mode 2 with USB ports at the bottom) please?
Further testing reveals the following issues:
Portrait, USB ports on top
X axis ok, but Y is inverted
dtoverlay=hyperpixel4:rotate_0
framebuffer_width=480
framebuffer_height=800
display_rotate=0
Landscape, USB ports on left
X and Y on the wrong axis - down = left and right = up
dtoverlay=hyperpixel4:rotate_1
framebuffer_width=800
framebuffer_height=480
display_rotate=1
Portrait, USB ports underneath
Y axis ok, X axis inverted
dtoverlay=hyperpixel4:rotate_2
framebuffer_width=480
framebuffer_height=800
display_rotate=2
Landscape, USB ports on right
X and Y on the wrong axis
dtoverlay=hyperpixel4:rotate_3
framebuffer_width=800
framebuffer_height=480
display_rotate=3
Just to confirm steps, this is a fresh install of 2018-06-27-raspbian-stretch.img
, with the following commands to set up Hyperpixel:
sudo apt update
sudo apt upgrade
git clone https://github.com/pimoroni/hyperpixel4
cd hyperpixel4
sudo ./install.sh
cd src
make
sudo cp hyperpixel4.dtbo /boot/overlays/
wget https://github.com/pimoroni/HyperPixel4TouchScreen/releases/download/v1.0/hyperpixel4-goodix-dkms_1.0_all.deb
sudo apt install raspberrypi-kernel-headers dkms
sudo dpkg -i hyperpixel4-goodix-dkms_1.0_all.deb
sudo nano /boot/config.txt
I tried going back to the original settings:
Landscape, USB ports on left
X and Y on the wrong axis - this time down = right and right = down
dtoverlay=hyperpixel4:rotate
framebuffer_width=800
framebuffer_height=480
display_rotate=1
Landscape, USB ports on right
X and Y on the wrong axis
dtoverlay=hyperpixel4
framebuffer_width=800
framebuffer_height=480
display_rotate=3
So in conclusion, installing hyperpixel4-goodix-dkms_1.0_all.deb
doesnāt appear to work in any orientation. I will flash a new Stretch image and await further instructions from @gadgetoid.