Open SgtSiff opened 3 years ago
Which reports that my resolution is 960x320.
If the system is reporting the display size to be 960x320, but you have hdmi_cvt at boot config set to 240x320, it is possible that some application/utility has changed the display size after the Pi has booted. You can run tvservice -s
to check what the Pi thinks of the HDMI mode. See https://www.raspberrypi.org/documentation/computers/configuration.html#what-modes-does-my-device-support.
What does fbcp-ili9341 print at startup for the screen dimensions?
Is this an ST7789V2 based display? Does this work for you: https://github.com/juj/fbcp-ili9341/pull/242
I've managed to get my ST7789V based display working almost correctly, however, I noticed the cursor was disappearing off of the right hand side of the screen. I used the command:
Which reports that my resolution is 960x320. 960 is a multiple of both 320 and 240 so I must have messed up a setting somewhere.
The display I am using is the Phoenix Contact 1226370.
Below are the changes I made to the files. This is on a fresh install of Raspbian on a CM4 plugged into the IO board. Ignore the [!], these aren't in the code, I just used them for syntax highlighting.
The cmake command I used was:
Thank you in advance.