mcallegari wrote: ↑Fri Jun 05, 2015 12:57 pm
Frank wrote:Is there a possibility to reduce the resolution of the hdmi output (maybe VGA or so), so that the shown virtual console could be more useable at the small touchscreen??? Or has the "mirrored" display content always "full hd" resolution? (... and is therefore always only the "upper left corner" of the full hd internal representation...?).
I don't understand this one. Are we still talking about TFT displays (which are SPI) or HDMI panels ? They are separate outputs, and QLC+ cannot render on both simultaneously.
The Adafruit script I ran inserted code allowing display of QLC+ simultaneously on spi and hdmi. I wonder (given Massimo’s last sentence above) if the adafruit code is what is corrupting the spi display? (I didn’t try connecting hdmi after I found how to adjust resolution in raspi-config). More experimentation this weekend!
https://www.raspberrypi.org/documentati ... t/video.md
**edit**
Looking at info in this link shows that I’m outputting video to hdmi at a different resolution than defined in raspi-config. I’m thinking this is creating conflict and could be why my display is weird. So, first job is to make sure that hdmi and spi and identical.
(I connected to my HDMI screen at home this morning, while also using the spi tft, and it just works now. No idea what fixed it, but I'm not going to look a gift horse in the mouth)
Also, the tft doesn't power off during shutdown, it just retains its last image.
This link shows you how to make the backlight of the screen turn off. I've implimented it. It works. I think its worthwhile, especially if you have installed a shutdown/wakeup button
https://willhaley.com/blog/power-off-ra ... -shutdown/
**edit**
'Kinda' connected to all this, if you want to install a physical shutdown button to your rpi (very useful if headless or very small screens)
- add this code to /boot/config.txt
dtoverlay=gpio-shutdown,gpio_pin=3,active_low=1,gpio_pull=up
- wire a 'normally open' momentary switch between pins 5 and 6 on the GPIO header
When running pressing the button will issue the 'shutdown' command. Safe to remove power when the green ACT led stops flashing.
If you don't remove the power at that point then pressing the button again restarts your rpi.