How to get monitor information(Modeline)

We are going to check the ModeLine from monitor information. You can adjust the ModeLine value so that the monitor works well or use custom resolution. To check ModeLine information, you can use your HOST-PC or ODROID-boards.

We are going to use 480×1280 monitor as an example.

First of all, connect your monitor to your host-PC. And then run the 'xrandr –verbose' command.

HDMI-A-0 connected 480x1280+2560+0 (0x6f3) normal (normal left inverted right x axis y axis) 708mm x 398mm
        Identifier: 0x56
        Timestamp:  238825180
        Subpixel:   unknown
        Gamma:      1.0:1.0:1.0
        Brightness: 1.0
        Clones:
        CRTC:       1
        CRTCs:      1 0 2 3 4 5
        Transform:  1.000000 0.000000 0.000000
                    0.000000 1.000000 0.000000
                    0.000000 0.000000 1.000000
                   filter:
        _MUTTER_PRESENTATION_OUTPUT: 0
        EDID:
                00ffffffffffff0031ee022c01010101
                011a0103805932780a0dc9a057479827
                12484c20000001010101010101010101
                0101010101010816e0f0100016506428
                a200e0001500001e011d007251d01e20
                6e285500c48e2100001e000000fd0016
                480f5a14000a202020202020000000fc
                004c6f6e7469756d2053656d690a0111
                020327f149901f050413140302012309
                0707830100006d030c001000003c2000
                60010203e2000fd60980a020e02d1008
                602200128e2108081800000000000000
                00000000000000000000000000000000
                00000000000000000000000000000000
                00000000000000000000000000000000
                00000000000000000000000000000009
.....
.....
  480x1280 (0x6f3) 56.400MHz +HSync +VSync *current +preferred
        h: width   480 start  580 end  620 total  720 skew    0 clock  78.33KHz
        v: height 1280 start 1290 end 1292 total 1302           clock  60.16Hz
  3840x2160 (0x6f4) 297.000MHz +HSync +VSync
        h: width  3840 start 4016 end 4104 total 4400 skew    0 clock  67.50KHz
        v: height 2160 start 2168 end 2178 total 2250           clock  30.00Hz
  3840x2160 (0x6f5) 297.000MHz +HSync +VSync
        h: width  3840 start 4896 end 4984 total 5280 skew    0 clock  56.25KHz
        v: height 2160 start 2168 end 2178 total 2250           clock  25.00Hz
.....
.....

For more information on modline information, refer the link below.
ModeLine Information

ODROID-N2/C4/HC4

odroid@odroid:~$ cat /sys/class/amhdmitx/amhdmitx0/rawedid | edid-decode
edid-decode (hex):
 
00 ff ff ff ff ff ff 00 31 ee 02 2c 01 01 01 01
01 1a 01 03 80 59 32 78 0a 0d c9 a0 57 47 98 27
12 48 4c 20 00 00 01 01 01 01 01 01 01 01 01 01
01 01 01 01 01 01 08 16 e0 f0 10 00 16 50 64 28
a2 00 e0 00 15 00 00 1e 01 1d 00 72 51 d0 1e 20
6e 28 55 00 c4 8e 21 00 00 1e 00 00 00 fd 00 16
48 0f 5a 14 00 0a 20 20 20 20 20 20 00 00 00 fc
00 4c 6f 6e 74 69 75 6d 20 53 65 6d 69 0a 01 11
 
.....
.....
 
----------------
 
EDID version: 1.3
Manufacturer: LON Model 11266 Serial Number 16843009
Made in week 1 of 2016
Digital display
Maximum image size: 89 cm x 50 cm
Gamma: 2.20
RGB color display
First detailed timing is preferred timing
Color Characteristics
  Red:   0.6250, 0.3398
  Green: 0.2802, 0.5947
  Blue:  0.1552, 0.0703
  White: 0.2832, 0.2978
Established Timings I & II
    640x480    59.940 Hz   4:3    31.469 kHz  25.175 MHz (DMT)
Standard Timings: none
Detailed mode: Clock 56.400 MHz, 480 mm x 1280 mm
                480  580  620  720 (100  40 100)
               1280 1290 1292 1302 ( 10   2  10)
               +hsync +vsync
               VertFreq: 60.164 Hz, HorFreq: 78.333 kHz
Detailed mode: Clock 74.250 MHz, 708 mm x 398 mm
               1280 1390 1430 1650 (110  40 220)
                720  725  730  750 (  5   5  20)
               +hsync +vsync
               VertFreq: 60.000 Hz, HorFreq: 45.000 kHz
Display Range Limits
  Monitor ranges (GTF): 22-72 Hz V, 15-90 kHz H, max dotclock 200 MHz
Display Product Name: Lontium Semi
Has 1 extension block
Checksum: 0x11
 
.....
.....
 
odroid@odroid:~$

ODROID-XU4

odroid@odroid:~$ cat /sys/class/drm/card0-HDMI-A-1/edid | edid-decode
Extracted contents:
header:          00 ff ff ff ff ff ff 00
serial number:   31 ee 02 2c 01 01 01 01 01 1a
version:         01 03
basic params:    80 59 32 78 0a
chroma info:     0d c9 a0 57 47 98 27 12 48 4c
established:     20 00 00
standard:        01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01
descriptor 1:    08 16 e0 f0 10 00 16 50 64 28 a2 00 e0 00 15 00 00 1e
descriptor 2:    01 1d 00 72 51 d0 1e 20 6e 28 55 00 c4 8e 21 00 00 1e
descriptor 3:    00 00 00 fd 00 16 48 0f 5a 14 00 0a 20 20 20 20 20 20
descriptor 4:    00 00 00 fc 00 4c 6f 6e 74 69 75 6d 20 53 65 6d 69 0a
extensions:      01
checksum:        11
 
Manufacturer: LON Model 2c02 Serial Number 16843009
Made week 1 of 2016
EDID version: 1.3
Digital display
Maximum image size: 89 cm x 50 cm
Gamma: 2.20
Supported color formats: RGB 4:4:4, YCrCb 4:4:4
First detailed timing is preferred timing
Established timings supported:
  640x480@60Hz
Standard timings supported:
Detailed mode: Clock 56.400 MHz, 480 mm x 1280 mm
                480  580  620  720 hborder 0
               1280 1290 1292 1302 vborder 0
               +hsync +vsync
Detailed mode: Clock 74.250 MHz, 708 mm x 398 mm
               1280 1390 1430 1650 hborder 0
                720  725  730  750 vborder 0
               +hsync +vsync
Monitor ranges (GTF): 22-72Hz V, 15-90kHz H, max dotclock 200MHz
Monitor name: Lontium
Has 1 extension blocks
Checksum: 0x11 (valid)
 
.....
.....
 
odroid@odroid:~$

For more information on modline information, refer the link below.
ModeLine Information