Pjhants
Posts: 2
Joined: Fri Jan 25, 2019 7:45 am

Re: STICKY: HOWTO: Create Custom HDMI modes

Fri Jan 25, 2019 7:51 am

I am helping a friend interface an HDMI LCD display to a Pi. The display is borderless and a specific size to replicate a flight simulator instrument panel. I have tried creating a custom resolution but without success. I can't get a stable display at all. I get a flashing backlight or if anything is displayed it is intermittent and repeated across the panel.

The display will work on a PC graphics card (GTX1080Ti) with the following settings:

- 720 x 1280.
- 60Hz.
- 8 bit.
- Colour Format RGB
- Colour spacing SDR.

The display itself is a: Sharp LS060R1SX01.
The driver chip is Toshiba 358870XBG.
So far we have failed to find any detailed data sheets for the Sharp display.

I think it's default resolution is 1440 X 2560 which is probably too much for the Pi but I can't even get a custom setting to run:

Amongst other settings suggested on this thread I have tried even standard 16x9 resolutions. I also tried:

hmdi_cvt 1440 720 60
hdmi_group=2
hdmi_mode=87

I can't find any timings info for the display Does anyone have any ideas or suggestions?

dom
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 5502
Joined: Wed Aug 17, 2011 7:41 pm
Location: Cambridge

Re: STICKY: HOWTO: Create Custom HDMI modes

Tue Jan 29, 2019 12:23 pm

Pjhants wrote:
Fri Jan 25, 2019 7:51 am
hmdi_cvt 1440 720 60
hdmi_group=2
hdmi_mode=87

I can't find any timings info for the display Does anyone have any ideas or suggestions?
Unless the data sheet says it supports 1440x720@60 then this is very unlikely to work.

The actual resolution 1440x2560x60 requires a pixel clock of 221MHz (actually more due to blanking),
so that won't work without overclock settings.
May be some info here: https://www.raspberrypi.org/forums/view ... 3#p1348063

chrhartz
Posts: 1
Joined: Tue Feb 26, 2019 10:54 pm

Re: STICKY: HOWTO: Create Custom HDMI modes

Tue Feb 26, 2019 11:41 pm

Hi all,

I made a pcb with the CM3L compute module and TFP401A HDMI to ttl decoder. I am using the DS90C385A
ttl to LVDS driver from TI to drive a 10.1" 1280x800 IPS display from Duobond displays.

It works generally. I am getting a stable picture with expected size, no flickering and colors are displayed normally.
So it seems the h- and v-sync is working and the color channels are connected the right way.

But the display is almost unreadable. It seems that there is still a problem with the pixel clock or something else.
I have tried different hdmi_timings without success. Also different cvt modes, driver settings and so on with no luck.

I made the pcb very carefully with impedance control, 4 layers, length matching and differential pair length matching better
than 0.2 mm. So I am hoping the pcb is not forcing the problem. :?

In fact this is my first HDMI and LVDS design and I have no experience so far. I grabbed all informations about it from
the datasheets, Adafruit designs, reference design from TI and other resources.

It would be very helpful if someone can give me a hint for the correct display timing. There are a lot of parameters that
can be changed and I don´t know where to start. :(

I bought a RTD2660 driver board together with the lcd. Unfortunally the RPi is not able to readout the EEDID EEPROM.
I was hoping the chinese guys programmed the EEDID correctly so I can fetch the correct timing values but no hope
from this side. The RTD2660 is displaying the picture perfectly... Should I switch to this chip? :roll:

Chris

Image

Image

Image

mosoto
Posts: 1
Joined: Tue Mar 12, 2019 12:30 am

Re: STICKY: HOWTO: Create Custom HDMI modes

Tue Mar 12, 2019 12:53 am

I have a Samsung Ultra Widescreen Monitor s34e790c (3440 x 1440 resolution) and I was recently struggling to get it to work with my raspberry pi 3b+ at that resolution. I finally got it to work so I figured I'd share my findings here in case it helps anyone else.

Ultimately, what helped me the most was running:

Code: Select all

/opt/vc/bin/tvservice -d edid.dat; /opt/vc/bin/edidparser edid.dat
This dumped the various modes for the monitor including a 50hz 3440x1440 and a 30hz 3440x1440 which were unrecognized. Running at 30hz worked right off the bat with a custom hdmi timing.

Code: Select all

hdmi_drive=2
hdmi_ignore_edid=0xa5000080
hdmi_group=2
hdmi_mode=87
hdmi_timings=3440 0 48 32 80 1440 1 3 10 8 0 0 0 30 0 157788000 7
max_framebuffer_width=3440
max_framebuffer_height=1440
framebuffer_width=3440
framebuffer_height=1440
Trying to run it at 50hz, however, was another matter. The edidparser dump showed that this should be the timings:

Code: Select all

hdmi_timings=3440 1 48 32 80 1440 0 3 10 21 0 0 0 50 0 265320000 7
hdmi_pixel_freq_limit=265320000
I adjusted the hdmi pixel freq limit since I read in one of these pages that the limit is somewhere around 160mhz. Unfortunately, did this not work. The monitor would continously fail.

Ultimately, I found that I needed to overclock the raspberry pi to get it to work. I suppose this is too high a resolution for the standard raspberry pi settings. This is what I ended up using for the overclocking. I can't claim to understand all of it and I wouldn't recommend doing this but I'll paste them in case anyone wants to play around with it.

Code: Select all

gpu_mem=256
force_turbo=1
hdmi_ignore_cec_init=1
arm_freq=1050
core_freq=500
sdram_freq=600
over_voltage=6
gpu_freq=500
This page was useful in understanding some of this:
https://elinux.org/RPiconfig

With the overclock and I did get the monitor to work at 50hz though ultimately I reverted to 30hz as I'm not sure what the overclocking will do to the longevity of my pi.

Anyway, hope that is useful.

aBUGSworstnightmare
Posts: 1882
Joined: Tue Jun 30, 2015 1:35 pm

Re: STICKY: HOWTO: Create Custom HDMI modes

Tue Mar 19, 2019 11:47 am

chrhartz wrote:
Tue Feb 26, 2019 11:41 pm
Hi all,

I made a pcb with the CM3L compute module and TFP401A HDMI to ttl decoder. I am using the DS90C385A
ttl to LVDS driver from TI to drive a 10.1" 1280x800 IPS display from Duobond displays.

It works generally. I am getting a stable picture with expected size, no flickering and colors are displayed normally.
So it seems the h- and v-sync is working and the color channels are connected the right way.

But the display is almost unreadable. It seems that there is still a problem with the pixel clock or something else.
I have tried different hdmi_timings without success. Also different cvt modes, driver settings and so on with no luck.

I made the pcb very carefully with impedance control, 4 layers, length matching and differential pair length matching better
than 0.2 mm. So I am hoping the pcb is not forcing the problem. :?

In fact this is my first HDMI and LVDS design and I have no experience so far. I grabbed all informations about it from
the datasheets, Adafruit designs, reference design from TI and other resources.

It would be very helpful if someone can give me a hint for the correct display timing. There are a lot of parameters that
can be changed and I don´t know where to start. :(

I bought a RTD2660 driver board together with the lcd. Unfortunally the RPi is not able to readout the EEDID EEPROM.
I was hoping the chinese guys programmed the EEDID correctly so I can fetch the correct timing values but no hope
from this side. The RTD2660 is displaying the picture perfectly... Should I switch to this chip? :roll:

Chris

Image

Image

Image
Your timing is incorrect! post your config.txt settings. Is your TFP401A configured/wired correctly?

User avatar
antiriad
Posts: 152
Joined: Sun Nov 17, 2013 7:38 pm
Location: Italy
Contact: Twitter

Re: STICKY: HOWTO: Create Custom HDMI modes

Sat Mar 23, 2019 1:54 pm

Hello,
it is technically possible to set a custom video resolution of 320x200 with a VGA666?

Thank you!

gigawat
Posts: 2
Joined: Wed Jun 19, 2019 9:15 pm

Re: STICKY: HOWTO: Create Custom HDMI modes

Wed Jun 19, 2019 9:44 pm

Hello All,

I am new to the PI.

I have designed my own compute module carrier board with a TI SN75LVDS83ADGGR for LVDS. It works very well with my 10.1" 1280x800 LVDS display.

My config.txt is as follows:
---------------------
dtparam=audio=on

dtoverlay=dpi18-666-cff
hdmi_ignore_edid=0xa5000080
framebuffer_width=1280
framebuffer_height=800
enable_dpi_lcd=1
display_default_lcd=1
dpi_group=2
dpi_mode=87
dpi_output_format=0x6f217
hdmi_timings=1280 0 40 48 88 800 0 13 3 32 0 0 0 60 0 71000000 5
gpu_mem=256

dtoverlay=i2c-gpio,i2c_gpio_sda=28,i2c_gpio_scl=29,i2c_gpio_delay_us=2
enable_uart=1
---------------------
I have even used the following and it works perfectly:
---------------------
dtparam=audio=on

dtoverlay=dpi18-666-cff

hdmi_ignore_edid=0xa5000080
framebuffer_width=1280
framebuffer_height=800
enable_dpi_lcd=1
display_default_lcd=1
dpi_group=2
dpi_mode=87
dpi_output_format=0x6f217

gpu_mem=256

hdmi_cvt=1280 800 60 5 0 0 1

dtoverlay=i2c-gpio,i2c_gpio_sda=28,i2c_gpio_scl=29,i2c_gpio_delay_us=2
enable_uart=1
---------------------

My problem is when I switch to a 7" 1280x800 LVDS display. I get a black screen. No matter what I change, I get a black screen.

I have checked my hardware by doing the following:

I have a 10.1" HDMI to LVDS driver board that came with my 10.1" screen. It works great with the 10.1" screen. I am able to connect this same driver board with no changes to my 7" screen, with the same cable, and it works perfectly. I have confirmed the 7" screen is getting all of the various voltages it requires. Again, the same LVDS cable from my 10.1" HDMI to LVDS driver board works perfectly. So in my mind, disconnecting my LVDS cable going to my 10.1" display from my compute module carrier board and connecting it to my 7" display should work. I can tell the back light comes on, but there is just a black image. No raspberry pie symbols during the boot sequence. Nothing...

I have tried using the following:

hdmi_timings=1280 0 64 1 5 800 0 40 1 2 0 0 0 60 0 68200000 5

Which is based on the timings found in the 7" display data sheet, which I have attached here.
Would somebody please check and see that my hdmi_timings= parameters are matching what the data sheet is saying? Maybe that is my problem.

I don't know what else to check or try. Any ideas? This would be greatly appreciated. Thank you so much!
Attachments
7-timing.jpg
7-timing.jpg (242.86 KiB) Viewed 9486 times

merefield
Posts: 3
Joined: Mon May 23, 2016 7:46 pm

Re: Custom HDMI modes

Mon Jul 01, 2019 5:02 pm

mrillinthebrain wrote:
Mon Aug 17, 2015 10:54 pm
i will never know why but max_framebuffer_height was the problem.

i have now 2560x1080 60hz 21x9 on my LG 29UM65 on raspbian(!)

here is my confix.txt

Code: Select all

hdmi_ignore_cec_init=1
hdmi_drive=2
disable_overscan=1

hdmi_ignore_edid=0xa5000080
hdmi_group=2
hdmi_mode=87
hdmi_timings=2560 1 64 64 96 1080 1 3 10 31 0 0 1 60 0 185580000 8

config_hdmi_boost=4

max_framebuffer_width=2560
max_framebuffer_height=1280
framebuffer_width=2560
framebuffer_height=1080

gpu_mem=128
arm_freq=900
gpu_freq=275
sdram_freq=500
hdmi_pixel_freq_limit=400000000
avoid_pwm_pll=1
This works on the Raspberry Pi 4B :geek: with my 21:9 29" Asus monitor :cool:

Totally awesome! So nice to use the full width with a Pi!

Really appreciate you posting, thank you!!

If i'm really picky it's a bit 'teary' but that's probably an issue with Pi not keeping up with the 59Hz monitor refresh rate?

aBUGSworstnightmare
Posts: 1882
Joined: Tue Jun 30, 2015 1:35 pm

Re: STICKY: HOWTO: Create Custom HDMI modes

Mon Jul 01, 2019 6:59 pm

I'm surprised to see your posting and your hdmi_timings processed correctly. Here https://www.raspberrypi.org/forums/view ... 0#p1486790 I was told that hdmi_timings is an issue with FKMS and the recommendation is to provide the EDID dato to the firmware via edid.dat in boot directory.

Have you tested with that option as well by chance?
And. what is the effect of 'avoid_pwm_pll'?

6by9
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 8725
Joined: Wed Dec 04, 2013 11:27 am
Location: ZZ9 Plural Z Alpha, aka just outside Cambridge.

Re: STICKY: HOWTO: Create Custom HDMI modes

Mon Jul 01, 2019 7:29 pm

aBUGSworstnightmare wrote:
Mon Jul 01, 2019 6:59 pm
I'm surprised to see your posting and your hdmi_timings processed correctly. Here https://www.raspberrypi.org/forums/view ... 0#p1486790 I was told that hdmi_timings is an issue with FKMS and the recommendation is to provide the EDID dato to the firmware via edid.dat in boot directory.

Have you tested with that option as well by chance?
And. what is the effect of 'avoid_pwm_pll'?
I'd expect the monitor to report the correct details in the edid, and fkms will then make the appropriate mode available.
The firmware will always switch back to one of the standard resolutions unless it is given explicit timings.
Software Engineer at Raspberry Pi Trading. Views expressed are still personal views.
I'm not interested in doing contracts for bespoke functionality - please don't ask.

heymac
Posts: 9
Joined: Tue Aug 06, 2019 3:44 pm

Re: STICKY: HOWTO: Create Custom HDMI modes

Fri Aug 30, 2019 11:12 am

Where does the value for hdmi_pixel_freq_limit come from ?

User avatar
antiriad
Posts: 152
Joined: Sun Nov 17, 2013 7:38 pm
Location: Italy
Contact: Twitter

Re: STICKY: HOWTO: Create Custom HDMI modes

Sat Oct 12, 2019 6:07 am

Hello,
it is true that custom video modes (hdmi_mode 87) are not supported on RPI4?

Thank you

aBUGSworstnightmare
Posts: 1882
Joined: Tue Jun 30, 2015 1:35 pm

Re: STICKY: HOWTO: Create Custom HDMI modes

Sat Oct 12, 2019 6:33 am

antiriad wrote:
Sat Oct 12, 2019 6:07 am
Hello,
it is true that custom video modes (hdmi_mode 87) are not supported on RPI4?

Thank you
seems to work for some folks.

But you might be better off with putting them into an EDID.dat file - under detailed timings section.
But this is work in progress as it requires new firmware (which is still beta at the time of writing rhis post)

6by9
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 8725
Joined: Wed Dec 04, 2013 11:27 am
Location: ZZ9 Plural Z Alpha, aka just outside Cambridge.

Re: STICKY: HOWTO: Create Custom HDMI modes

Sat Oct 12, 2019 8:26 am

aBUGSworstnightmare wrote:
Sat Oct 12, 2019 6:33 am
antiriad wrote:
Sat Oct 12, 2019 6:07 am
Hello,
it is true that custom video modes (hdmi_mode 87) are not supported on RPI4?

Thank you
seems to work for some folks.

But you might be better off with putting them into an EDID.dat file - under detailed timings section.
But this is work in progress as it requires new firmware (which is still beta at the time of writing rhis post)
I believe the latest apt kernel does bump up to 4.19.75, in which case it does support mode 87, and will pass kms that single mode and bypass edid parsing entirely. Certainly the rpi-update firmware supports it.
Software Engineer at Raspberry Pi Trading. Views expressed are still personal views.
I'm not interested in doing contracts for bespoke functionality - please don't ask.

User avatar
antiriad
Posts: 152
Joined: Sun Nov 17, 2013 7:38 pm
Location: Italy
Contact: Twitter

Re: STICKY: HOWTO: Create Custom HDMI modes

Sat Oct 12, 2019 8:31 am

I did rpi-update a week ago, and I can't get dpi_mode=87 working (I'm using a VGA666). I'll check again.

May I ask which command related to KMS driver should be present in config.txt? (kms, fkms...)

Thanks

stt
Posts: 1
Joined: Sat Dec 07, 2019 3:19 pm

Re: STICKY: HOWTO: Create Custom HDMI modes

Sat Dec 07, 2019 4:03 pm

Recently I bought a 14.9" 1280x390 LTA149B780F LCD panel for a project, it comes with a controller board that by default shows a picture at 1280x768 but of course it's quite squashed. This happens with Raspbian and Windows and is likely explained by the generic controller board only returning standard 4:3, 16:9 resolutions as tested with tvservice/edidparser.

Got the display working well enough but wanted to write down some notes about it in case it helps anyone.

Here's the specsheet for the panel https://www.beyondinfinite.com/lcd/Libr ... 9B780F.pdf
Using the timings listed I couldn't get a picture it only displayed "Out of range". Plugging display via HDMI into Win10 with an NVidia card and testing custom resolutions this one gave a good picture:

Image

Specsheet says the native refresh rate is 60Hz but ~67Hz is what worked, similarly it lists pixel clock range of 31-37MHz but what works is 42MHz, I'm not sure if this is due to the controller board or what, please comment with any ideas.

Using this information here's my Raspbian configs:

/boot/config.txt:

Code: Select all

hdmi_group=2
hdmi_mode=87
hdmi_timings=1280 0 8 128 64 390 0 1 3 24 0 0 0 67 0 42009500 8
And plugging those into Tomi's calculator http://www.epanorama.net/faq/vga2rgb/calc.html it gave working xorg.conf:

Code: Select all

    HorizSync      26 - 29
    VertRefresh    66 - 68
    Modeline "1280x390"   42.0095   1280 1288 1416 1480   390 391 394 418  -hsync

dimster
Posts: 4
Joined: Thu Jan 09, 2020 10:02 am

Re: STICKY: HOWTO: Create Custom HDMI modes

Fri Jan 10, 2020 12:38 pm

Hi,

I own a Rpi4 4Gb but the image goes blank when Raspbian Buster tries to load the desktop environment. I tried also Lakka, custom Retropie, Kubuntu, ... None of them work.

You see the 4 raspberry's on the screen, but after a few moments, the screen goes blank.
When using Raspbian Buster LITE (without the desktop environment), everything boots up fine.

Binary EDID file in attach. (It looks like tvservice shows me the correct modes and selects it -> 1080p60)
The config.txt is default. (vc4-fkms-v3d)

How it's connected:
rpi4 (micro hdmi to regular hdmi adapter + cable) -> hdmi splitter (not switch!) -> Yamaha AVR RX-V667 -> Sony 46HX800 HDTV.
It's connected using the HDMI 0 port next to the USB-C port.

What I tried:
Used a micro hdmi to regular hdmi cable instead of the adapter + cable -> NOT OK!
Connected the rpi4 directly to the AVR with the same adapter + cable -> NOT OK!
Connected the rpi4 directly to the AVR with a micro hdmi to regular hdmi cable -> NOT OK!

It ONLY works when I connect the rpi4 directly to the TV with the same adapter + cable or with the micro hdmi to regular hdmi cable. Safe mode works too.
So I don't think the issue is with the adapter or even the hdmi switch. It must be related to the new way the rpi4 is handling the gpu compared to the rpi2/3. (Which I own too and work perfectly)

The OS loads just fine because I can access it using SSH.
I wasted hours trying stuff you find around the web/forums: hdmi_force_hotplug=1, lowering the gpu_mem size, hdmi_mode=2, ... Without any success.

To me, the EDID file looks fine, but maybe I need to use a custom hdmi mode in the config.txt file?

Thanks in advance for your help

Kind regards
Attachments
edid.zip
(379 Bytes) Downloaded 71 times

aBUGSworstnightmare
Posts: 1882
Joined: Tue Jun 30, 2015 1:35 pm

Re: STICKY: HOWTO: Create Custom HDMI modes

Sat Jan 11, 2020 8:21 am

Edid block of which device?
Run edid-decode on it an post the output.

Your TV seems to be UHD; have you enabled 4k@60Hz?

Here is a how-to for debugging display problems https://www.raspberrypi.org/documentati ... t/video.md

As your using several devices in the signal chain I would recommemd to start from the display, then add the splitter and any other equipment.

dimster
Posts: 4
Joined: Thu Jan 09, 2020 10:02 am

Re: STICKY: HOWTO: Create Custom HDMI modes

Sat Jan 11, 2020 5:06 pm

aBUGSworstnightmare wrote:
Sat Jan 11, 2020 8:21 am
Edid block of which device?
Run edid-decode on it an post the output.

Your TV seems to be UHD; have you enabled 4k@60Hz?

Here is a how-to for debugging display problems https://www.raspberrypi.org/documentati ... t/video.md

As your using several devices in the signal chain I would recommemd to start from the display, then add the splitter and any other equipment.
Thanks for your feedback!

However, the added EDID file is the one when the EDID switch on the HDMI splitter is set to STD.
But it should be set to TV instead. That's what I did now, but same problem persists (blank screen). In attach you can find the correct EDID from the TV and not the HDMI splitter.

This is the mode detected/selected when I check tvservice through SSH:

state 0xa [HDMI CUSTOM RGB lim 16:9], 1920x1080 @ 60.00Hz, progressive

I think that the AVR is sending some wrong signal to the TV or something. (Maybe a standby/sleep command?)

This is the parsed output:

Enabling fuzzy format match...
Parsing edid.dat...
HDMI:EDID version 1.3, 1 extensions, screen size 160x90 cm
HDMI:EDID features - videodef 0x80 !standby !suspend !active off; colour encodin g:RGB444|YCbCr422; sRGB is not default colourspace; preferred format is native; does not support GTF
HDMI:EDID found monitor name descriptor tag 0xfc
HDMI:EDID monitor name is SONY_TV
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 48-62 Hz, horizontal is 15-70 kHz, max pixe l clock is 150 MHz
HDMI:EDID monitor range does not support GTF
HDMI:EDID found preferred CEA detail timing format: 1920x1080p @ 60 Hz (16)
HDMI:EDID found CEA detail timing format: 1280x720p @ 60 Hz (4)
HDMI:EDID established timing I/II bytes are 21 08 00
HDMI:EDID found DMT format: code 4, 640x480p @ 60 Hz in established timing I/II
HDMI:EDID found DMT format: code 9, 800x600p @ 60 Hz in established timing I/II
HDMI:EDID found DMT format: code 16, 1024x768p @ 60 Hz in established timing I/I I
HDMI:EDID standard timings block x 8: 0x8180 0101 0101 0101 0101 0101 0101 0101
HDMI:EDID found DMT format: code 35, 1280x1024p @ 60 Hz (5:4) in standard timing 0
HDMI:EDID parsing v3 CEA extension 0
HDMI:EDID monitor support - underscan IT formats:yes, basic audio:yes, yuv444:ye s, yuv422:yes, #native DTD:4
HDMI:EDID found CEA detail timing format: 1920x1080p @ 50 Hz (31)
HDMI:EDID found CEA detail timing format: 1280x720p @ 50 Hz (19)
HDMI:EDID found CEA format: code 31, 1920x1080p @ 50Hz
HDMI:EDID found CEA format: code 16, 1920x1080p @ 60Hz
HDMI:EDID found CEA format: code 20, 1920x1080i @ 50Hz
HDMI:EDID found CEA format: code 5, 1920x1080i @ 60Hz
HDMI:EDID found CEA format: code 19, 1280x720p @ 50Hz
HDMI:EDID found CEA format: code 4, 1280x720p @ 60Hz
HDMI:EDID found CEA format: code 18, 720x576p @ 50Hz
HDMI:EDID found CEA format: code 17, 720x576p @ 50Hz
HDMI:EDID found CEA format: code 22, 1440x576i @ 50Hz
HDMI:EDID found CEA format: code 21, 1440x576i @ 50Hz
HDMI:EDID found CEA format: code 3, 720x480p @ 60Hz
HDMI:EDID found CEA format: code 2, 720x480p @ 60Hz
HDMI:EDID found CEA format: code 7, 1440x480i @ 60Hz
HDMI:EDID found CEA format: code 6, 1440x480i @ 60Hz
HDMI:EDID found CEA format: code 1, 640x480p @ 60Hz
HDMI:EDID found CEA format: code 32, 1920x1080p @ 24Hz
HDMI:EDID found CEA format: code 10, 2880x480i @ 60Hz
HDMI:EDID found CEA format: code 11, 2880x480i @ 60Hz
HDMI:EDID found CEA format: code 14, 1440x480p @ 60Hz
HDMI:EDID found CEA format: code 35, 2880x480p @ 60Hz
HDMI:EDID found CEA format: code 15, 1440x480p @ 60Hz
HDMI:EDID found CEA format: code 36, 2880x480p @ 60Hz
HDMI:EDID found CEA format: code 25, 2880x576i @ 50Hz
HDMI:EDID found CEA format: code 26, 2880x576i @ 50Hz
HDMI:EDID found CEA format: code 29, 1440x576p @ 50Hz
HDMI:EDID found CEA format: code 37, 2880x576p @ 50Hz
HDMI:EDID found CEA format: code 30, 1440x576p @ 50Hz
HDMI:EDID found CEA format: code 38, 2880x576p @ 50Hz
HDMI:EDID found audio format 2 channels PCM, sample rate: 32|44|48|88|96|176|192 kHz, sample size: 16|20|24 bits
HDMI:EDID found audio format 8 channels PCM, sample rate: 32|44|48|88|96|176|192 kHz, sample size: 16|20|24 bits
HDMI:EDID found audio format 6 channels AC3, sample rate: 32|44|48 kHz, bitrate: 640 kbps
HDMI:EDID found audio format 7 channels DTS, sample rate: 32|44|48|88|96 kHz, bi trate: 1536 kbps
HDMI:EDID found audio format 6 channels One Bit Audio, sample rate: 44 kHz, code c define: 0
HDMI:EDID found audio format 8 channels Dobly Digital+, sample rate: 44|48 kHz, codec define: 0
HDMI:EDID found audio format 8 channels MLP, sample rate: 48|96|192 kHz, codec d efine: 0
HDMI:EDID found audio format 8 channels DTS-HD, sample rate: 48|96|192 kHz, code c define: 1
HDMI:EDID found HDMI VSDB length 8
HDMI:EDID HDMI VSDB has physical address 1.4.0.0
HDMI:EDID HDMI VSDB supports AI:yes, dual link DVI:no
HDMI:EDID HDMI VSDB deep colour support - 48-bit:no 36-bit:yes 30-bit:yes DC_yuv 444:yes
HDMI:EDID HDMI VSDB max TMDS clock 225 MHz
HDMI:EDID HDMI VSDB content type support: game|cinema|photo|text
HDMI:EDID found Video Capability DB length 2
HDMI:EDID video capability: CE:3 IT:2 PT:3 QS:1
HDMI:EDID filtering formats with pixel clock unlimited MHz or h. blanking unlimi ted
HDMI:EDID best score mode initialised to CEA (1) 640x480p @ 60 Hz with pixel clo ck 25 MHz (score 0)
HDMI:EDID best score mode is now CEA (1) 640x480p @ 60 Hz with pixel clock 25 MH z (score 61864)
HDMI:EDID best score mode is now CEA (2) 720x480p @ 60 Hz with pixel clock 27 MH z (score 66472)
HDMI:EDID CEA mode (3) 720x480p @ 60 Hz with pixel clock 27 MHz has a score of 6 6472
HDMI:EDID best score mode is now CEA (4) 1280x720p @ 60 Hz with pixel clock 74 M Hz (score 4635592)
HDMI:EDID DMT mode (4) 640x480p @ 60 Hz with pixel clock 25 MHz has a score of 1 8432
HDMI:EDID CEA mode (5) 1920x1080i @ 60 Hz with pixel clock 74 MHz has a score of 149416
HDMI:EDID CEA mode (6) 1440x480i @ 60 Hz with pixel clock 27 MHz has a score of 45736
HDMI:EDID CEA mode (7) 1440x480i @ 60 Hz with pixel clock 27 MHz has a score of 45736
HDMI:EDID DMT mode (9) 800x600p @ 60 Hz with pixel clock 40 MHz has a score of 2 8800
HDMI:EDID CEA mode (10) 2880x480i @ 60 Hz with pixel clock 54 MHz has a score of 45736
HDMI:EDID CEA mode (11) 2880x480i @ 60 Hz with pixel clock 54 MHz has a score of 45736
HDMI:EDID CEA mode (14) 1440x480p @ 60 Hz with pixel clock 54 MHz has a score of 66472
HDMI:EDID CEA mode (15) 1440x480p @ 60 Hz with pixel clock 54 MHz has a score of 66472
HDMI:EDID best score mode is now CEA (16) 1920x1080p @ 60 Hz with pixel clock 14 8 MHz (score 5398248)
HDMI:EDID DMT mode (16) 1024x768p @ 60 Hz with pixel clock 65 MHz has a score of 47185
HDMI:EDID CEA mode (17) 720x576p @ 50 Hz with pixel clock 27 MHz has a score of 66472
HDMI:EDID CEA mode (18) 720x576p @ 50 Hz with pixel clock 27 MHz has a score of 66472
HDMI:EDID CEA mode (19) 1280x720p @ 50 Hz with pixel clock 74 MHz has a score of 3617160
HDMI:EDID CEA mode (20) 1920x1080i @ 50 Hz with pixel clock 74 MHz has a score o f 128680
HDMI:EDID CEA mode (21) 1440x576i @ 50 Hz with pixel clock 27 MHz has a score of 45736
HDMI:EDID CEA mode (22) 1440x576i @ 50 Hz with pixel clock 27 MHz has a score of 45736
HDMI:EDID CEA mode (25) 2880x576i @ 50 Hz with pixel clock 54 MHz has a score of 45736
HDMI:EDID CEA mode (26) 2880x576i @ 50 Hz with pixel clock 54 MHz has a score of 45736
HDMI:EDID CEA mode (29) 1440x576p @ 50 Hz with pixel clock 54 MHz has a score of 66472
HDMI:EDID CEA mode (30) 1440x576p @ 50 Hz with pixel clock 54 MHz has a score of 66472
HDMI:EDID CEA mode (31) 1920x1080p @ 50 Hz with pixel clock 148 MHz has a score of 4232360
HDMI:EDID CEA mode (32) 1920x1080p @ 24 Hz with pixel clock 74 MHz has a score o f 124532
HDMI:EDID CEA mode (35) 2880x480p @ 60 Hz with pixel clock 108 MHz has a score o f 66472
HDMI:EDID DMT mode (35) 1280x1024p @ 60 Hz with pixel clock 108 MHz has a score of 103643
HDMI:EDID CEA mode (36) 2880x480p @ 60 Hz with pixel clock 108 MHz has a score o f 66472
HDMI:EDID CEA mode (37) 2880x576p @ 50 Hz with pixel clock 108 MHz has a score o f 66472
HDMI:EDID CEA mode (38) 2880x576p @ 50 Hz with pixel clock 108 MHz has a score o f 66472
HDMI0:EDID preferred mode remained as CEA (16) 1920x1080p @ 60 Hz with pixel clo ck 148 MHz
HDMI:EDID has HDMI support and audio support
edidparser exited with code 0
Attachments
edid_46HX800.zip
(389 Bytes) Downloaded 64 times

aBUGSworstnightmare
Posts: 1882
Joined: Tue Jun 30, 2015 1:35 pm

Re: STICKY: HOWTO: Create Custom HDMI modes

Sat Jan 11, 2020 7:34 pm

Do us a favour and use edid-decode.

Make sure to install it by 'sudo apt install edid-decode' and then run it on your edid data


I learned that parse-edid will give incorrect output so I stopped using it and use edid-decode instead.

Code: Select all

 tvservice -d some-edid
edid-decode < some-edid  

dimster
Posts: 4
Joined: Thu Jan 09, 2020 10:02 am

Re: STICKY: HOWTO: Create Custom HDMI modes

Sun Jan 12, 2020 2:17 pm

aBUGSworstnightmare wrote:
Sat Jan 11, 2020 7:34 pm
Do us a favour and use edid-decode.

Make sure to install it by 'sudo apt install edid-decode' and then run it on your edid data


I learned that parse-edid will give incorrect output so I stopped using it and use edid-decode instead.

Code: Select all

 tvservice -d some-edid
edid-decode < some-edid  
OK, sorry for that.

This is the EDID when the AVR is powered on:

EDID version: 1.3
Manufacturer: SNY Model ee01 Serial Number 16843009
Made in week 1 of 2010
Digital display
Maximum image size: 160 cm x 90 cm
Gamma: 2.20
RGB color display
First detailed timing is preferred timing
Display x,y Chromaticity:
Red: 0.6250, 0.3398
Green: 0.2802, 0.5947
Blue: 0.1552, 0.0703
White: 0.2832, 0.2978
Established timings supported:
640x480@60Hz 4:3 HorFreq: 31469 Hz Clock: 25.175 MHz
800x600@60Hz 4:3 HorFreq: 37900 Hz Clock: 40.000 MHz
1024x768@60Hz 4:3 HorFreq: 48400 Hz Clock: 65.000 MHz
Standard timings supported:
1280x1024@60Hz 5:4 HorFreq: 64000 Hz Clock: 108.000 MHz
Detailed mode: Clock 148.500 MHz, 1600 mm x 900 mm
1920 2008 2052 2200 hborder 0
1080 1084 1089 1125 vborder 0
+hsync +vsync
VertFreq: 60 Hz, HorFreq: 67500 Hz
Detailed mode: Clock 74.250 MHz, 1600 mm x 900 mm
1280 1390 1430 1650 hborder 0
720 725 730 750 vborder 0
+hsync +vsync
VertFreq: 60 Hz, HorFreq: 45000 Hz
Monitor name: SONY TV
Monitor ranges (GTF): 48-62Hz V, 15-70kHz H, max dotclock 150MHz
Has 1 extension blocks
Checksum: 0xbd (valid)

CTA extension block
Extension version: 3
70 bytes of CTA data
Video data block
VIC 31 1920x1080@50Hz 16:9 HorFreq: 56250 Hz Clock: 148.500 MHz
VIC 16 1920x1080@60Hz 16:9 HorFreq: 67500 Hz Clock: 148.500 MHz
VIC 20 1920x1080i@50Hz 16:9 HorFreq: 28125 Hz Clock: 74.250 MHz
VIC 5 1920x1080i@60Hz 16:9 HorFreq: 33750 Hz Clock: 74.250 MHz
VIC 19 1280x720@50Hz 16:9 HorFreq: 37500 Hz Clock: 74.250 MHz
VIC 4 1280x720@60Hz 16:9 HorFreq: 45000 Hz Clock: 74.250 MHz
VIC 18 720x576@50Hz 16:9 HorFreq: 31250 Hz Clock: 27.000 MHz
VIC 17 720x576@50Hz 4:3 HorFreq: 31250 Hz Clock: 27.000 MHz
VIC 22 1440x576i@50Hz 16:9 HorFreq: 15625 Hz Clock: 27.000 MHz
VIC 21 1440x576i@50Hz 4:3 HorFreq: 15625 Hz Clock: 27.000 MHz
VIC 3 720x480@60Hz 16:9 HorFreq: 31469 Hz Clock: 27.000 MHz
VIC 2 720x480@60Hz 4:3 HorFreq: 31469 Hz Clock: 27.000 MHz
VIC 7 1440x480i@60Hz 16:9 HorFreq: 15734 Hz Clock: 27.000 MHz
VIC 6 1440x480i@60Hz 4:3 HorFreq: 15734 Hz Clock: 27.000 MHz
VIC 1 640x480@60Hz 4:3 HorFreq: 31469 Hz Clock: 25.175 MHz
VIC 32 1920x1080@24Hz 16:9 HorFreq: 27000 Hz Clock: 74.250 MHz
VIC 10 2880x480i@60Hz 4:3 HorFreq: 15734 Hz Clock: 54.000 MHz
VIC 11 2880x480i@60Hz 16:9 HorFreq: 15734 Hz Clock: 54.000 MHz
VIC 14 1440x480@60Hz 4:3 HorFreq: 31469 Hz Clock: 54.000 MHz
VIC 35 2880x480@60Hz 4:3 HorFreq: 31469 Hz Clock: 108.000 MHz
VIC 15 1440x480@60Hz 16:9 HorFreq: 31469 Hz Clock: 54.000 MHz
VIC 36 2880x480@60Hz 16:9 HorFreq: 31469 Hz Clock: 108.000 MHz
VIC 25 2880x576i@50Hz 4:3 HorFreq: 15625 Hz Clock: 54.000 MHz
VIC 26 2880x576i@50Hz 16:9 HorFreq: 15625 Hz Clock: 54.000 MHz
VIC 29 1440x576@50Hz 4:3 HorFreq: 31250 Hz Clock: 54.000 MHz
VIC 37 2880x576@50Hz 4:3 HorFreq: 31250 Hz Clock: 108.000 MHz
VIC 30 1440x576@50Hz 16:9 HorFreq: 31250 Hz Clock: 54.000 MHz
VIC 38 2880x576@50Hz 16:9 HorFreq: 31250 Hz Clock: 108.000 MHz
Audio data block
Linear PCM, max channels 2
Supported sample rates (kHz): 192 176.4 96 88.2 48 44.1 32
Supported sample sizes (bits): 24 20 16
Linear PCM, max channels 8
Supported sample rates (kHz): 192 176.4 96 88.2 48 44.1 32
Supported sample sizes (bits): 24 20 16
AC-3, max channels 6
Supported sample rates (kHz): 48 44.1 32
Maximum bit rate: 640 kb/s
DTS, max channels 7
Supported sample rates (kHz): 96 88.2 48 44.1 32
Maximum bit rate: 1536 kb/s
One Bit Audio, max channels 6
Supported sample rates (kHz): 44.1
Dolby Digital+, max channels 8
Supported sample rates (kHz): 48 44.1
MAT (MLP), max channels 8
Supported sample rates (kHz): 192 96 48
DTS-HD, max channels 8
Supported sample rates (kHz): 192 96 48
Speaker allocation data block
Speaker map:
FL/FR - Front Left/Right
LFE - Low Frequency Effects
FC - Front Center
BL/BR - Back Left/Right
BC - Back Center
RLC/RRC - Rear Left/Right of Center
Vendor-specific data block, OUI 000c03 (HDMI)
Source physical address 1.4.0.0
Supports_AI
DC_36bit
DC_30bit
DC_Y444
Maximum TMDS clock: 225MHz
Supported Content Types:
Graphics
Photo
Cinema
Game
Extended tag: Video capability data block
YCbCr quantization: No Data (0)
RGB quantization: Selectable (via AVI Q) (1)
PT scan behaviour: Support both over- and underscan (3)
IT scan behaviour: Always Underscanned (2)
CE scan behaviour: Support both over- and underscan (3)
Underscans PC formats by default
Basic audio support
Supports YCbCr 4:4:4
Supports YCbCr 4:2:2
4 native detailed modes
Detailed mode: Clock 148.500 MHz, 1600 mm x 900 mm
1920 2448 2492 2640 hborder 0
1080 1084 1089 1125 vborder 0
+hsync +vsync
VertFreq: 50 Hz, HorFreq: 56250 Hz
Detailed mode: Clock 74.250 MHz, 1600 mm x 900 mm
1280 1720 1760 1980 hborder 0
720 725 730 750 vborder 0
+hsync +vsync
VertFreq: 50 Hz, HorFreq: 37500 Hz
Checksum: 0xb4 (valid)


And this is the EDID when the AVR is in standby mode (Passthrough mode):

EDID version: 1.3
Manufacturer: SNY Model ee01 Serial Number 16843009
Made in week 1 of 2010
Digital display
Maximum image size: 160 cm x 90 cm
Gamma: 2.20
RGB color display
First detailed timing is preferred timing
Display x,y Chromaticity:
Red: 0.6250, 0.3398
Green: 0.2802, 0.5947
Blue: 0.1552, 0.0703
White: 0.2832, 0.2978
Established timings supported:
640x480@60Hz 4:3 HorFreq: 31469 Hz Clock: 25.175 MHz
800x600@60Hz 4:3 HorFreq: 37900 Hz Clock: 40.000 MHz
1024x768@60Hz 4:3 HorFreq: 48400 Hz Clock: 65.000 MHz
Standard timings supported:
1280x1024@60Hz 5:4 HorFreq: 64000 Hz Clock: 108.000 MHz
Detailed mode: Clock 148.500 MHz, 1600 mm x 900 mm
1920 2008 2052 2200 hborder 0
1080 1084 1089 1125 vborder 0
+hsync +vsync
VertFreq: 60 Hz, HorFreq: 67500 Hz
Detailed mode: Clock 74.250 MHz, 1600 mm x 900 mm
1280 1390 1430 1650 hborder 0
720 725 730 750 vborder 0
+hsync +vsync
VertFreq: 60 Hz, HorFreq: 45000 Hz
Monitor name: SONY TV
Monitor ranges (GTF): 48-62Hz V, 15-70kHz H, max dotclock 150MHz
Has 1 extension blocks
Checksum: 0xbd (valid)

CTA extension block
Extension version: 3
40 bytes of CTA data
Video data block
VIC 31 1920x1080@50Hz 16:9 HorFreq: 56250 Hz Clock: 148.500 MHz
VIC 16 1920x1080@60Hz 16:9 HorFreq: 67500 Hz Clock: 148.500 MHz
VIC 20 1920x1080i@50Hz 16:9 HorFreq: 28125 Hz Clock: 74.250 MHz
VIC 5 1920x1080i@60Hz 16:9 HorFreq: 33750 Hz Clock: 74.250 MHz
VIC 19 1280x720@50Hz 16:9 HorFreq: 37500 Hz Clock: 74.250 MHz
VIC 4 1280x720@60Hz 16:9 HorFreq: 45000 Hz Clock: 74.250 MHz
VIC 18 720x576@50Hz 16:9 HorFreq: 31250 Hz Clock: 27.000 MHz
VIC 17 720x576@50Hz 4:3 HorFreq: 31250 Hz Clock: 27.000 MHz
VIC 22 1440x576i@50Hz 16:9 HorFreq: 15625 Hz Clock: 27.000 MHz
VIC 21 1440x576i@50Hz 4:3 HorFreq: 15625 Hz Clock: 27.000 MHz
VIC 3 720x480@60Hz 16:9 HorFreq: 31469 Hz Clock: 27.000 MHz
VIC 2 720x480@60Hz 4:3 HorFreq: 31469 Hz Clock: 27.000 MHz
VIC 7 1440x480i@60Hz 16:9 HorFreq: 15734 Hz Clock: 27.000 MHz
VIC 6 1440x480i@60Hz 4:3 HorFreq: 15734 Hz Clock: 27.000 MHz
VIC 1 640x480@60Hz 4:3 HorFreq: 31469 Hz Clock: 25.175 MHz
VIC 32 1920x1080@24Hz 16:9 HorFreq: 27000 Hz Clock: 74.250 MHz
Audio data block
Linear PCM, max channels 2
Supported sample rates (kHz): 48 44.1 32
Supported sample sizes (bits): 24 20 16
AC-3, max channels 6
Supported sample rates (kHz): 48 44.1 32
Maximum bit rate: 640 kb/s
Speaker allocation data block
Speaker map:
FL/FR - Front Left/Right
Vendor-specific data block, OUI 000c03 (HDMI)
Source physical address 1.4.0.0
Supports_AI
DC_36bit
DC_30bit
DC_Y444
Maximum TMDS clock: 225MHz
Supported Content Types:
Graphics
Photo
Cinema
Game
Extended tag: Video capability data block
YCbCr quantization: No Data (0)
RGB quantization: Selectable (via AVI Q) (1)
PT scan behaviour: Support both over- and underscan (3)
IT scan behaviour: Always Underscanned (2)
CE scan behaviour: Support both over- and underscan (3)
Underscans PC formats by default
Basic audio support
Supports YCbCr 4:4:4
Supports YCbCr 4:2:2
6 native detailed modes
Detailed mode: Clock 148.500 MHz, 1600 mm x 900 mm
1920 2448 2492 2640 hborder 0
1080 1084 1089 1125 vborder 0
+hsync +vsync
VertFreq: 50 Hz, HorFreq: 56250 Hz
Detailed mode: Clock 74.250 MHz, 1600 mm x 900 mm
1280 1720 1760 1980 hborder 0
720 725 730 750 vborder 0
+hsync +vsync
VertFreq: 50 Hz, HorFreq: 37500 Hz
Detailed mode: Clock 74.250 MHz, 1600 mm x 900 mm
1920 2008 2052 2200 hborder 0
540 542 547 562 vborder 0
+hsync +vsync interlaced
VertFreq: 60 Hz, HorFreq: 33750 Hz
Detailed mode: Clock 74.250 MHz, 1600 mm x 900 mm
1920 2448 2492 2640 hborder 0
540 542 547 562 vborder 0
+hsync +vsync interlaced
VertFreq: 50 Hz, HorFreq: 28125 Hz
Checksum: 0x4 (valid)



These are the specs of the AVR: https://europe.yamaha.com/en/products/a ... specs.html

microton
Posts: 3
Joined: Fri Apr 03, 2020 8:13 pm

Re: STICKY: HOWTO: Create Custom HDMI modes

Thu Apr 23, 2020 4:40 am

Hi folks,

This thread has been very helpful, this is by far the deepest I've ever gone into display technology. I thought these things were plug and play :lol:

I am working with a round 800x800 pixel display that comes with its own driver board. Currently it is hooked up to a Raspberry Pi Zero. Using config.txt settings I obtained from the vendor I've been able to get the display to appear back lit, but no image content is displayed. The LED on the board is green which is a good sign since it was flashing blue a few days ago when I was just mucking around with it.

I am hoping you folks can help me understand how to get this thing to at least display some images. I have compared the timings they supplied with the output from edid-decode and it looks right, so my hunch/guess is that it might be related to clocking on the Pi Zero. Below are my config.txt, the output from edid-decode and a link to the data sheet if needed. I appreciate the help, thanks!

CONFIG.TXT:

Code: Select all

# START settings I received from the vendor

force_turbo=1
gpu_freq=300
core_freq=400

# HDMI Basic configuration
hdmi_pixel_freq_limit=400000000
hdmi_timings=800 0 40 12 40 800 0 12 12 12 0 0 0 60 0 44740000 0
hdmi_drive=2
disable_overscan=1
max_framebuffer_width=2560
max_framebuffer_height=2560

# Portrait or Landscape Setting
#Portrait-1 (Flexible cable is bottom side.)
display_rotate=0
framebuffer_width=800
framebuffer_height=800

# END settings I received from the vendor

# For more options and information see
# http://rpf.io/configtxt
# Some settings may impact device functionality. See link above for details

# uncomment if you get no picture on HDMI for a default "safe" mode
#hdmi_safe=1

# uncomment this if your display has a black border of unused pixels visible
# and your display can output without overscan
#disable_overscan=1

# uncomment the following to adjust overscan. Use positive numbers if console
# goes off screen, and negative if there is too much border
#overscan_left=16
#overscan_right=16
#overscan_top=16
#overscan_bottom=16

# uncomment to force a console size. By default it will be display's size minus
# overscan.
#framebuffer_width=1280
#framebuffer_height=720

# uncomment if hdmi display is not detected and composite is being output
hdmi_force_hotplug=1

# uncomment to force a specific HDMI mode (this will force VGA)
hdmi_group=0
hdmi_mode=87
#hdmi_mode=4

# uncomment to force a HDMI mode rather than DVI. This can make audio work in
# DMT (computer monitor) modes
#hdmi_drive=2

# uncomment to increase signal to HDMI, if you have interference, blanking, or
# no display
#config_hdmi_boost=4

# uncomment for composite PAL
#sdtv_mode=2

#uncomment to overclock the arm. 700 MHz is the default.
#arm_freq=800

# Uncomment some or all of these to enable the optional hardware interfaces
#dtparam=i2c_arm=on
#dtparam=i2s=on
#dtparam=spi=on

# Uncomment this to enable infrared communication.
#dtoverlay=gpio-ir,gpio_pin=17
#dtoverlay=gpio-ir-tx,gpio_pin=18

# Additional overlays and parameters are documented /boot/overlays/README

# Enable audio (loads snd_bcm2835)
dtparam=audio=on

[pi4]
# Enable DRM VC4 V3D driver on top of the dispmanx display stack
dtoverlay=vc4-fkms-v3d
max_framebuffers=2

[all]
#dtoverlay=vc4-fkms-v3d


EDID-DECODE OUTPUT:

Code: Select all

EDID version: 1.3
Manufacturer: LZT Model 1 Serial Number 0
Made in week 12 of 2017
Digital display
Image size is variable
Gamma: 2.20
RGB color display
First detailed timing is preferred timing
Display x,y Chromaticity:
  Red:   0.6015, 0.3359
  Green: 0.3056, 0.5263
  Blue:  0.1513, 0.1201
  White: 0.3134, 0.3291
Established timings supported:
Standard timings supported:
non-conformant standard timing (0 horiz)
non-conformant standard timing (0 horiz)
non-conformant standard timing (0 horiz)
non-conformant standard timing (0 horiz)
non-conformant standard timing (0 horiz)
non-conformant standard timing (0 horiz)
non-conformant standard timing (0 horiz)
non-conformant standard timing (0 horiz)
Detailed mode: Clock 44.740 MHz, 90 mm x 160 mm
                800  840  852  892 hborder 0
                800  812  824  836 vborder 0
               -hsync -vsync 
               VertFreq: 59 Hz, HorFreq: 50156 Hz
Monitor name: LS060R1SX01  
Serial number: 00000000     
Monitor ranges (GTF): 23-75Hz V, 15-240kHz H, max dotclock 300MHz
Has 1 extension blocks
Checksum: 0x86 (valid)

CTA extension block
Extension version: 3
19 bytes of CTA data
  Video data block
  Audio data block
    Linear PCM, max channels 2
      Supported sample rates (kHz): 192 176.4 96 88.2 48 44.1 32
      Supported sample sizes (bits): 24 20 16
  Vendor-specific data block, OUI 000c03 (HDMI)
    Source physical address 3.0.0.0
    Supports_AI
Basic audio support
Supports YCbCr 4:4:4
Supports YCbCr 4:2:2
4 native detailed modes
Detailed mode: Clock 44.740 MHz, 90 mm x 160 mm
                800  840  852  892 hborder 0
                800  812  824  836 vborder 0
               -hsync -vsync 
               VertFreq: 59 Hz, HorFreq: 50156 Hz
Detailed mode: Clock 44.740 MHz, 90 mm x 160 mm
                800  840  852  892 hborder 0
                800  812  824  836 vborder 0
               -hsync -vsync 
               VertFreq: 59 Hz, HorFreq: 50156 Hz
Detailed mode: Clock 44.740 MHz, 90 mm x 160 mm
                800  840  852  892 hborder 0
                800  812  824  836 vborder 0
               -hsync -vsync 
               VertFreq: 59 Hz, HorFreq: 50156 Hz
Detailed mode: Clock 44.740 MHz, 90 mm x 160 mm
                800  840  852  892 hborder 0
                800  812  824  836 vborder 0
               -hsync -vsync 
               VertFreq: 59 Hz, HorFreq: 50156 Hz
Detailed mode: Clock 44.740 MHz, 90 mm x 160 mm
                800  840  852  892 hborder 0
                800  812  824  836 vborder 0
               -hsync -vsync 
               VertFreq: 59 Hz, HorFreq: 50156 Hz

Data sheet: https://drive.google.com/file/d/1W-Gnem ... sp=sharing

aBUGSworstnightmare
Posts: 1882
Joined: Tue Jun 30, 2015 1:35 pm

Re: STICKY: HOWTO: Create Custom HDMI modes

Sat Apr 25, 2020 6:59 am

LS060R1SX01 is not the name of the module you're using, so the EDID is somehow 'hacked/modified' from another one (module name is wrong; one detailed driving mode is suffucient, no need to repeat timing mode several times if all of them are the same). As your data sheet is lacking the timing details it will be hard to figure them out without info from the module maker (or your driver board vendor).

Get rid of
force_turbo=1
gpu_freq=300
core_freq=400

And test those settings with the FKMS driver by uncommenting FKMS.Would like to hear if that makes a difference.

[all]
#dtoverlay=vc4-fkms-v3d

microton
Posts: 3
Joined: Fri Apr 03, 2020 8:13 pm

Re: STICKY: HOWTO: Create Custom HDMI modes

Sat Apr 25, 2020 6:02 pm

Oh my god, that completely works!

In this case, the timing details do seem to match with the detailed driving modes. If that part was incorrect I'd be looking at a prolonged period of banging my head against the wall.

Will start testing with my application this weekend, and I'll report any hiccups. Thank you very much!

Doug_
Posts: 34
Joined: Tue Oct 08, 2019 6:40 pm

Re: STICKY: HOWTO: Create Custom HDMI modes

Mon Apr 27, 2020 5:09 am

I purchased one of these displays:

https://www.aliexpress.com/item/4000068 ... c74ugp9kS
This 8.9" display has an incredible resolution of 2560x1600 and after several days concentrated effort achieved some success by adding the following lines to my RPI4 /boot/config.txt file:

Code: Select all

hdmi_drive=2
hdmi_cvt=2560 1600 50 5 0 0 1
hdmi_group=2
hdmi_mode=87
hdmi_pixel_freq_limit=222000000
hdmi_timings=2560 0 50 64 100 1600 0 10 5 5 0 0 0 50 0 222000000 5
gpu_mem=128
arm_freq=900
sdram_freq=500
core_freq_min=500
The display is clean clear and flicker free with the correct format and I would have said perfect except that after 10 minutes of inactivity and display off shut down (as expected) - when the display comes back on after the keyboard or mouse activity the display flickers very badly. This is not the back light but the pixels - predominantly the intermediate tone pixels. The display areas that are solid black or white do not seem to flicker, only the intermediate tones.

This flickering persists across reboots and power off/on cycles but slowly returns to a flicker free image. My guess it is some clock instability but without an oscilloscope I'm in no position to investigate the hardware.

Is there any clock generation aspect of the RPI's video system that could be contributing to this? Perhaps given the 222MHz dot clock freq is there a PLL (I note a pll configuration item earlier in this thread) that may not be coping with the restart after the display off period?

Another question - now I have the timings sorted how do I integrate these into the config.txt or otherwise to be able to switch (with a power off and restart) between displays without having to reedit the config file before using this display and undoing them after? I'm sorry but it may have been answered in the preceding posts but I got lost with the edid listings and cryptic comments.

Thanks in advance, Doug

Return to “Advanced users”