Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Local display with 1024x600 HDMI touch screen
#1
Hi,

Not sure if this has been posted already.

I'm using MoOde Audio version 9.0.1 on a RPi4 with a local HDMI touch display (1024x600) from AliExpress.
In order to get the correct resolution, my first attempt was to add this to /boot/firmware/config.txt (and comment out the default settings for hdmi_group and hdmi_drive):

Code:
# 1024x600
hdmi_group=2
hdmi_mode=87
hdmi_drive=1
display_rotate=0
hdmi_cvt 1024 600 50 6 0 0 0

During the reboot this works fine, but when the X11-server starts (with the chromium browser, see /home/pi/.xinitrc), the resolution switches to a higher resolution (1920x1080). This does not give me the optimal 'sharpness' on my local display.

In order to set the correct resolution, I added this to the /home/pi/.xinitrc file, just before the chromium browser is started:

Code:
xrandr --newmode "1024x600_50.00"   39.50  1024 1056 1152 1280  600 603 613 621 -hsync +vsync
xrandr --addmode HDMI-1 "1024x600_50.00"
xrandr --output HDMI-1 --mode "1024x600_50.00"
SCREENSIZE="1024,600"

I used the cvt command to get the settings for the mode line (e.g., for 1024x600 @50Hz):

Code:
cvt 1024 600 50
# 1024x600 49.69 Hz (CVT) hsync: 30.86 kHz; pclk: 39.50 MHz
Modeline "1024x600_50.00"   39.50  1024 1056 1152 1280  600 603 613 621 -hsync +vsync


Hope this helps!


-Frank
Reply
#2
Hi Ftw64,
I've be able to build a nice little audio system with a RPi 4B and  a 7" touch screen, but found that even the extra large font is rough on my old eyes.
I purchased a 10.1" HDMI Display, but am having a difficult time with it; I see the R Pi boot up, but its blank after that. 
All of my Moode configuration settings are per the 7" project.

The docs on the 10.1" screen are sparse, but it does give me the following changes for the config.txt file:


#mods for 10.1 LCD
hdmi_force_edid_audio=1
max_usb_current=1
hdmi_force_hotplug=1
config_hdmi_boost=7
hdmi_group=2
hdmi_mode=87
hdmi_drive=2
display_rotate=0
hdmi_timings=1024 1 150 18 150 600 1 15 3 15 0 0 0 60 0 60000000 3

I have added these to the end of the file without changing any of the lines in the "general settings" section.

you have obviously gotten further with your project. Any words of advice?

Thanks, Greg
Reply
#3
What make and model is the screen?
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#4
(10-16-2024, 08:30 PM)Hi Tim,The make/model is Hosyond 10.1 HDMI Display -H.What is available for documentation is on lcdwiki.com.Greg Tim Curtis Wrote: What make and model is the screen?
Reply
#5
Hi Greg,

I'm using a 7-inch HDMI (1024x600) display from AliExpress (LINK).

I currently have this in my /boot/firmware/config.txt file for the HDMI display:


Code:
#########################################
# This file is managed by moOde
#########################################

# Device filters
[cm4]
otg_mode=1
[pi4]
hdmi_force_hotplug:0=1
hdmi_force_hotplug:1=1
hdmi_enable_4kp60=0
[all]
dtoverlay=vc4-kms-v3d
max_framebuffers=2
display_auto_detect=1
disable_fw_kms_setup=1
arm_64bit=1

# General settings
arm_boost=0
disable_splash=1
disable_overscan=1
#ftw#hdmi_drive=2
hdmi_blanking=1
hdmi_force_edid_audio=1
hdmi_force_hotplug=1
#ftw#hdmi_group=0
#ftw#dtparam=i2c_arm=on
dtparam=i2s=on
dtparam=audio=on

max_usb_current=1

# 1024x600
hdmi_group=2
hdmi_mode=87
hdmi_drive=1
display_rotate=0
hdmi_cvt 1024 600 50 6 0 0 0

I'm sure you enabled the 'Local Display' in the moOde configuration:

Code:
Peripherals
  Local Display
     Display       ON
     Wake on play  ON
   Screen blank     [Never]
   HDMI 4K 60Hz     OFF


Hope this helps!

With best regards,

-Frank
Reply
#6
Hi Greg,

On lcdwiki.com the timings for the H-display in config.txt are slightly different than your settings:

Code:
hdmi_timings=1024 1   50 18   50 600 1 15 3 15 0 0 0 60 0 40000000 3

Not sure if that would matter at all...

-Frank
Reply
#7
Hi Greg,

In moOde Audio v9.1.3 I do not seem to have to modify anything in config.txt to get my display working! Just tested (I upgraded/clean installed from from 9.0.1).
Excellent!

-Frank
Reply
#8
(10-17-2024, 03:32 PM)ftw64 Wrote: Hi Greg,

In moOde Audio v9.1.3 I do not seem to have to modify anything in config.txt to get my display working! Just tested (I upgraded/clean installed from from 9.0.1).
Excellent!

-Frank

Correct. The WIMAXIT and similar HDMI/USB touch screens should work out-of-the-box in moOde 9 series.
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#9
Thank you both, Tim and Frank!
I will be out of town for a week or so and will have to take up my project again when I get back, meanwhile will give it some more thought.
My project works fine with the 7" display as well, no changes necessary.
The new 10.1" appears to work using the HDMI input from my laptop. I suspect now that the HDMI to mini HDMI adapter may be the issue, so will try a standard cable as a workaround.
I'll update when I return.
Thanks again!
Greg
Reply


Forum Jump: