Z-Bolt / OctoScreen

LCD touch interface for our OctoPrint
GNU Affero General Public License v3.0
723 stars 119 forks source link

Cannot get screen correct size on PiTFT 3.5 #293

Closed tjscientist closed 3 years ago

tjscientist commented 3 years ago

I have spent hours configuring, re-configuring and researching how to get this display to work correctly. It was working fine until I decided to upgrade Octoprint and octoscreen to the latest versions so I could have built in Python 3 (for the bed mesh visualization). Now, even with the same octoscreen/config and config.txt files I used previously, the content is about double the size of the display.

image

I have tried starting from a fresh installation, using the Adafruit installation scripts, manually installing and nothing seems to work. I have followed many of the online tutorials and they don't work.

Either I have something really simply I am overlooking (most likely the case) or something changes in the latest updates. Any help would be greatly appreciated.

tjscientist commented 3 years ago

Started again from blank SD. Installed latest OctoPi Image (0.18.0) Did update / upgrade rebooted updated to latest OctoPrint (1.5.3 as latest OctoPi has 1.5.2) Installed PiTFT (mirror HDMI) edited /boot/config.txt to change hdmi_cvt to 800x533 edited touch display in X11 (transformationmatrix) installed OctoScreen latest version edited /etc/octoscreen/config to change resolution to 800x533 rebooted Added plugins (bed level visualizer, etc.) rebooted everything seems to work. Not sure what I was doing wrong... Maybe I just needed a good night sleep.

JeffB42 commented 3 years ago

Glad you got it configured and working.

Maybe I just needed a good night sleep.

That helps. Plus, the setup steps need to be run, and in the order listed. It can some time be easy to miss this.