kwindrem / RpiDisplaySetup

Raspberry Pi 7" touchscreen for Venus OS (also HDMI)
31 stars 7 forks source link

Waveshare 7inch touch HDMI #12

Open jengstro2 opened 2 years ago

jengstro2 commented 2 years ago

Needs following additional lines to u-boot\config.txt

hdmi_group=2
hdmi_drive=1
hdmi_ignore_edid=0xa5000080
hdmi_mode=87
hdmi_cvt=1024 600 60 6 0 0 0

Dunno, are all those required. This is really odd display, it will need some time to warm up (quality....). With these settings. Give it time approx 5...10minutes, and the shadowing and glitching on display starts vanish.

Also touch coordinates/x-y are quite off. Haven't really got this figured out.

kwindrem commented 2 years ago

Interesting. I have played with a Waveshare 7" display and it's very good. I did had to add similar lines to config.txt, but did not need to calibrate the touch. the calibration file included in Venus OS worked as-is.

Calibration is possible but a utility may need to be added and run with headless turn on so the GUI is out of the way. Not sure how much of this I can put into an automatic configuration.

jengstro2 commented 2 years ago

Touch "coordinates" are working with Rasp default image, don't know what's wrong with this display/venus-os combo. Have to say, there is some quality issues around these screen (by googling it).

jengstro2 commented 2 years ago

I noticed also other thing.. the display does not anymore sleep/shut-off. It did on 2.66 (now on 2.81)... I have defined "Display off time"

kwindrem commented 2 years ago

My Waveshare HDMI display works properly. I'm running v2.84.

In RpiDisplaySetup's setup you need to select HDMI 0, not RPI. Then of course you don't get brightness control. Brightness only works with the RPI display or some other DSI displays.

kompassde commented 2 years ago

Thanks for all this neat scripts @kwindrem

I also use a the Waveshare 7 inch (Rev.2.1 / Type C) and the Firmware v2.85 of the VenusOS. I installed the SetupHelper and the DisplaySetup.

Somehow I am not able to get the Display to turn off. With the Firmware 2.6 its working without problems. Also with Firmware 2.73 its not working

Any suggestions to help me with my problem?

jengstro2 commented 2 years ago

Somehow I am not able to get the Display to turn off. With the Firmware 2.6 its working without problems. Also with Firmware 2.73 its not working

Same here still for me also (I'm on 2.8x). I am not able to get it dimmed/sleep. I tried several configurations... no help.

kompassde commented 2 years ago

I just reinstalled the RpiDisplaySetup and chose the HDMI 1... now the Display turned off after the set time. There still seems to be tha backlight on but I think that is normal?

By the way, because it was mentioned before, my Waveshare also has a strange behavior. I needet to set the Frequency to 120! instead of 60 to get rid of the flickering. And still I have shadowing and glitching

jengstro2 commented 2 years ago

@kompassde can you share your current u-boot\config.txt? I will try also.

kompassde commented 2 years ago

Here are is my config.txt but the key for me was to unistall the DisplaySetup and reinstall it with the HDMI Port 1 (with /data/RpiDisplaySetup/setup)

[pi3]
device_tree=bcm2710-rpi-3-b.dtb
dtoverlay=miniuart-bt
core_freq=400
core_freq_min=400

hdmi_group=2
hdmi_mode=87
hdmi_cvt 1024 600 120 3 0 0 0
hdmi_drive=1
jengstro2 commented 2 years ago

@kompassde Finally I had the time to try uninstall/install from shell cmd line on HDMI 1. Guess what... the display shut-off/sleep works :-) Quite odd, dunno what kind of setup options the Venus/GUI "install" does then. But uninstall/install from cmd line works.

kwindrem commented 2 years ago

The unattended install will not choose the second HDMI port. You'll need to do that through the command line once. After that the option is stored and used for future reinstalls

Sysko75 commented 3 months ago

guys, how to activate da touch control on the wave share 7" HDMI.???? I try two days now and I can't figure out.