[PLUGIN] Touch Display

Using those settings seems to be a shot in the dark to me.

If the display’s manufacturer does not provide any info one could get values for “hdmi_timings” from the display’s edid. If we should try that, please execute

sudo /opt/vc/bin/tvservice -d edid.dat

and upload the resulting “edid.dat” file. In order to be able to upload the file you may have to zip it first.

Hello again, thank you for your patience and support, here is the edid.dat
edid.zip (239 Bytes)

Please check if substituting your own current entries in “/boot/userconfig.txt” with

hdmi_group=2
hmdi_mode=87
hdmi_timings=400 0 160 24 160 1280 0 12 2 10 0 0 0 60 0 58000000 7
hdmi_drive=1
hdmi_blanking=1

helps.

actual userconfig

Add your custom config.txt options to this file, which will be preserved during updates

#hdmi_cvt=1280 400 60 3 0 0 0
hdmi_group=2
hmdi_mode=87
hdmi_timings=400 0 160 24 160 1280 0 12 2 10 0 0 0 60 0 58000000 7
hdmi_drive=1
hdmi_blanking=1
display_rotate=3
framebuffer_width=1280
framebuffer_height=400

Touch Display rotation setting below: do not alter

display_lcd_rotate=3
display_hdmi_rotate=3

actual display

Processing: volumio-vid.MOV…

At least it looks different…

Please try with

hdmi_timings=400 0 160 24 160 1280 0 12 2 10 0 0 0 60 0 58210560 7

The second last value is the pixel clock. The new value has been calculated manually according to https://www.raspberrypi.com/documentation/computers/legacy_config_txt.html#hdmi_timings.

Also remove

display_rotate=3
framebuffer_width=1280
framebuffer_height=400

from “/boot/userconfig.txt”.

Unfortunately, the display is really difficult and strange; In userconfig now only the transmitted data is from you. .display still doesn’t work with Volumio (everything is ok on Windows PC?)

I made another query here

this are the informations from tvservice

Welcome to Volumio for Raspberry Pi (6.1.69-v7l+ armv7l)
volumio@rfc-volumio1:~$ /opt/vc/bin/tvservice -s
[E] Failed to initialize VCHI (ret=-1)
volumio@rfc-volumio1:~$ /opt/vc/bin/tvservice -d edid.dat; /opt/vc/bin/edidparse r edid.dat
[E] Failed to initialize VCHI (ret=-1)
Enabling fuzzy format match…
Parsing edid.dat…
HDMI:EDID version 1.3, 0 extensions, screen size 32x32 cm
HDMI:EDID features - videodef 0x95 standby suspend active off; colour encoding:R GB444|YCbCr422; sRGB is not default colourspace; preferred format is native; doe s not support GTF
HDMI:EDID ignored unknown descriptor tag 0x0
HDMI:EDID found monitor range descriptor tag 0xfd
HDMI:EDID monitor range offsets: V min=0, V max=0, H min=0, H max=0
HDMI:EDID monitor range: vertical is 50-70 Hz, horizontal is 15-30 kHz, max pixe l clock is 30 MHz
HDMI:EDID monitor range does not support GTF
HDMI:EDID found monitor ascii descriptor tag 0xfe
HDMI:EDID failed to find a matching detail format for 400x1280p hfp:160 hs:24 hb p:160 vfp:12 vs:2 vbp:10 pixel clock:58 MHz
HDMI:EDID calculated refresh rate is 60 Hz
HDMI:EDID guessing the format to be 400x1280p @60 Hz
HDMI:EDID found unknown detail timing format: 400x1280p hfp:160 hs:24 hbp:160 vf p:12 vs:2 vbp:10 pixel clock:58 MHz
HDMI:EDID established timing I/II bytes are 00 00 00
HDMI:EDID standard timings block x 8: 0x0101 0101 0101 0101 0101 0101 0101 0101
HDMI:EDID adding mandatory support for DMT (4) 640x480p @ 60Hz
HDMI:EDID filtering formats with pixel clock unlimited MHz or h. blanking unlimi ted
HDMI:EDID no known preferred format has been set
HDMI:EDID filtering preferred group has been changed from Invalid to DMT
HDMI:EDID best score mode initialised to DMT (4) 640x480p @ 60 Hz with pixel clo ck 12 MHz (score 25)
HDMI:EDID best score mode is now DMT (4) 640x480p @ 60 Hz with pixel clock 25 MH z (score 36864)
HDMI0:EDID preferred mode is updated to DMT (4) 640x480p @ 60 Hz with pixel cloc k 25200000 Hz
HDMI:EDID has only DVI support and no audio support
/opt/vc/bin/edidparser exited with code 0
volumio@rfc-volumio1:~$

I guess the display’s EDID is faulty. While it states the max. pixel clock to be 30MHz

HDMI:EDID monitor range: vertical is 50-70 Hz, horizontal is 15-30 kHz, max pixel clock is 30 MHz

you get a pixel clock of 58MHz (respectively 58210560Hz) with the values shown here:

HDMI:EDID found unknown detail timing format: 400x1280p hfp:160 hs:24 hbp:160 vf p:12 vs:2 vbp:10 pixel clock:58 MHz

To ignore the edid information you may add

hdmi_ignore_edid=0xa5000080

in front of

hdmi_group=2

This is the result of parsing the edid file using https://hverkuil.home.xs4all.nl/edid-decode/edid-decode.html:

edid-decode (hex):

00 ff ff ff ff ff ff 00 32 8d 5e 04 aa c8 33 01
24 1b 01 03 95 20 20 78 ea eb f5 95 59 54 90 27
1e 50 54 00 00 00 01 01 01 01 01 01 01 01 01 01
01 01 01 01 01 01 bd 16 90 58 11 00 18 50 a0 18
c2 00 90 00 15 00 00 1e 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 fd 00 32
46 0f 1e 03 00 0a 20 20 20 20 20 20 00 00 00 fe
00 4a 59 5f 33 32 30 58 33 32 30 0a 20 20 00 6e

----------------

Block 0, Base EDID:
  EDID Structure Version & Revision: 1.3
  Vendor & Product Identification:
    Manufacturer: LTM
    Model: 1118
    Serial Number: 20170922 (0x0133c8aa)
    Made in: week 36 of 2017
  Basic Display Parameters & Features:
    Digital display
    DFP 1.x compatible TMDS
    Maximum image size: 32 cm x 32 cm
    Gamma: 2.20
    DPMS levels: Standby Suspend Off
    RGB color display
    First detailed timing is the preferred timing
  Color Characteristics:
    Red  : 0.5849, 0.3496
    Green: 0.3300, 0.5654
    Blue : 0.1552, 0.1201
    White: 0.3134, 0.3291
  Established Timings I & II: none
  Standard Timings: none
  Detailed Timing Descriptors:
    DTD 1:   400x1280   59.999423 Hz   5:16    78.239 kHz     58.210000 MHz (400 mm x 1280 mm)
                 Hfront  160 Hsync  24 Hback  160 Hpol P
                 Vfront   12 Vsync   2 Vback   10 Vpol P
    Empty Descriptor
    Display Range Limits:
      Monitor ranges (GTF): 50-70 Hz V, 15-30 kHz H, max dotclock 30 MHz
    Alphanumeric Data String: 'JY_320X320'
Checksum: 0x6e

----------------

Preferred Video Timing if only Block 0 is parsed:
  DTD   1:   400x1280   59.999423 Hz   5:16    78.239 kHz     58.210000 MHz (400 mm x 1280 mm)
                 Hfront  160 Hsync  24 Hback  160 Hpol P
                 Vfront   12 Vsync   2 Vback   10 Vpol P

----------------

Native Video Resolution:
  400x1280

----------------

edid-decode SHA: 8fd97f32c8f2 2024-10-12 08:01:21

Warnings:

EDID:
  Base EDID: Some timings are out of range of the Monitor Ranges:
    Horizontal Freq: 78.239 - 78.239 kHz (Monitor: 15.000 - 30.000 kHz)
    Maximum Clock: 58.210 MHz (Monitor: 30.000 MHz)

Failures:

Block 0, Base EDID:
  Basic Display Parameters & Features: Digital Video Interface Standard set to reserved value 0x14.
  Detailed Timing Descriptor #1: Mismatch of image size 400x1280 mm vs display size 320x320 mm.
  Empty Descriptor: Use Dummy Descriptor instead of all zeroes.
  Missing Display Product Name.
EDID:
  Base EDID: The DTD max image size is 400x1280mm, which is larger than the display size 320.0x320.0mm.

EDID conformity: FAIL

According to this tool EDID conformity fails.

Oh dear, these error messages are no longer easy to understand for my modest knowledge, but I can follow them approximately, but not completely due to my knowledge; The mentioned command line was inserted, when booting a blue about 1cm wide dark blue vertical line was briefly visible before the display turned back to black screen…

here is another attempt with a probably stupid question from me:

is it perhaps useful if I change from 60Mhz

hdmi_timings=400 0 160 24 160 1280 0 12 2 10 0 0 0 60 0 58210560 7

to

hdmi_timings=400 0 160 24 160 1280 0 12 2 10 0 0 0 30 0 58210560 7

?

Idk, but if you set the refresh rate from 60 (Hz) to 30, I think the pixel clock would need to be adjusted, too. IMO “hdmi_timings” would then have to be

hdmi_timings=400 0 160 24 160 1280 0 12 2 10 0 0 0 30 0 29000000 7

respectively with pixel clock calculated as described in the linked doc

hdmi_timings=400 0 160 24 160 1280 0 12 2 10 0 0 0 30 0 29105280 7

P.S. Just for clarification:

means that you tested with “hdmi_ignore_edid=…”?

For my 1920 x 480 screen this helped:

hdmi_timings=480 0 30 30 30 1920 0 6 6 6 0 0 0 60 0 55296000 8
hdmi_group=2
hdmi_mode=87
hdmi_drive=2
display_rotate=1
hdmi_force_mode=1

framebuffer_width=1920
framebuffer_height=480
max_framebuffer_width=1920
max_framebuffer_height=1920

yes…

hello again; tried and tested the transmitted and now all the numerous config parameters and settings; unfortunately the display with Volumio doesn’t work for reasons I can’t explain…

the 1280x400/60Hz HDMI touch display is fine, no errors visible; at least cat /etc/os-release
PRETTY_NAME=“Debian GNU/Linux 11 (bullseye)”
NAME=“Debian GNU/Linux”
VERSION_ID=“11”
VERSION=“11 (bullseye)”
VERSION_CODENAME=bullseye
ID=debian
HOME_URL=“https://www.debian.org/
SUPPORT_URL=“Debian -- User Support
BUG_REPORT_URL=“https://bugs.debian.org/

on Pi4 has no problems with it…



Hi @Radio-M1
do you have the Touch Display plugin installed?
Regards

yes Gelo5, Touch Display plugin is installed…

Hey @Radio-M1,

I wonder if different approach will help.

If you have a spare MicroSD card please flash extracted img beta https://updates.volumio.org/pi/volumio/3.766/Volumio-3.766-2024-10-28-pi.zip ; then boot the device and without any changes check if anything other than miss-sync shows on the screen.

Kind Regards,

hi Nerd
flashed the specified Volumio-3.766-2024-10-28-pi.zip ;

nothing is shown on the device/display, neither when booting and nothing in operation after initial configuration;

Volumio Touch Plugin not yet installed

Sorry to jump in on this discussion. Do you have a monitor connected to this input?

1 Like