05-31-2024, 08:13 PM
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):
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:
I used the cvt command to get the settings for the mode line (e.g., for 1024x600 @50Hz):
Hope this helps!
-Frank
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