RasQberry
RasQberry copied to clipboard
Enabling display leads to stuck Raspberry Pi4
Hi, I followed the setup instructions with my Raspberry Pi 4. Everything worked smothly until I tried to execute "S2 – Enable 4’’ Display " via the RasQberry Configuration Tool. This caused my display (Waveshare LCD 4'') to get stuck, showing only two white stripes at the bottom of the screen and nothing else. After several minutes I forced the Raspberry to reboot (via Control+alt+F1 and terminal).
I wiped the OS and started again from scratch, this time skipping the touchscreen enablement, but I had the same issue with "S0 – Bloch Autostart" which requires enabling the touch screen. Is there a known workaround to solve this issue? Or is enabling the display configuration only suitable for some displays? If you have any questions on this, don't hesistate to get in touch with me. Thank you and kind regards
Hi @HayleySummer, thanks for submitting this issue!
The procedure has been tested with the following display: http://www.miuzeipro.com/product/miuzei-raspberry-pi-4-touch-screen-with-case-fan-4-inch-ips-full-angle-game-display-800x480-pixel-support-hdmi-input-with-touch-pen-4-pcs-heatsinks-support-raspbian-kali-by-miuzei/ (which is also available at Amazon in several countries, and several other shops)
The core code for configuration of the display is in the following script: bin/rq_enable_touch.sh
Not sure if it needs to be modified for the Waveshare LCD 4'' you are using. The waveshare is probably a standard display, so it would be great if we could auto detect the display model and fix the setup procedure accordingly.
Hi Jan, thank you very much for you reply. In the meantime I could solve the issues with my waveshare display. There were actually two issues that needed to be solved.
- in bin/rq_enable_touch.sh there is a rotation of the display included. That one is specific to the display you were using
sudo ./MPI4008-show 180
if you don't have this specific display, it won't work. So the solution is either deleting this part, or replacing it with the actual display on the raspi., in my case/LCD4-800x480-show
- In order to start the bloch sphere demo the touch screen needs to be properly calibrated (
/home/pi/RasQberry/.is_tft_calibrated
is required). In order to set this, you need to have access to thexorg.conf.d
folder which you can usually find at/etc/X11/xorg.conf.d/
. However, with my Raspberry Pi the xorg.conf.d was set by default to/usr/share/X11/xorg.conf.d
-> so copying the folder to the /etc/X11/ directory solved the second issue. I hope this might help fixing some issues in the future. Kind regards
Thank you, @HayleySummer !
I'd like to add that display to the automated setup procedure, and also add an option how "other" displays could be configured manually (and skip the display auto setup).
For that, it would be great to know the output of the following command on your Raspberry with the Waveshare display:
$ tvservice -s -n -l
With the Miuzei display attached it looks like this:
$ tvservice -s -n -l
state 0xa [HDMI DMT (87) RGB full 15:9], 480x800 @ 60.00Hz, progressive
device_name=ADA-MPI4008
1 attached device(s), display ID's are :
Display Number 2, type HDMI 0
```