Wiki source code of Dell U3011 HDMI EDID override

Version 15.1 by Leon Poon on 2019/03/30 17:33

Show last authors
1 HDMI 2560x1600@60Hz.
2
3 [[image:IMG-20190331-WA0002.jpg||alt="2560x1600@60Hz Sweeet"]]
4
5 {{code language="bash"}}
6 #!/bin/bash
7 cvt -r 2560 1600 60
8 {{/code}}
9
10 {{code language="plain"}}
11 # 2560x1600 59.97 Hz (CVT 4.10MA-R) hsync: 98.71 kHz; pclk: 268.50 MHz
12 Modeline "2560x1600R" 268.50 2560 2608 2640 2720 1600 1603 1609 1646 +hsync -vsync
13 {{/code}}
14
15 edid.bin:
16
17 {{code}}
18 0000000 ff00 ffff ffff 00ff ac10 4064 0000 0000
19 0000010 161b 0301 4080 7828 8dea ad85 354f 25b1
20 0000020 500e a554 004b 4f71 0081 8081 00d1 40a9
21 0000030 0101 0101 0101 68e2 a000 40a0 602e 2030
22 0000040 0036 9181 0021 1a00 0000 ff00 4100 3142
23 0000050 4443 3332 3635 3837 0a58 0000 fc00 4400
24 0000060 4c45 204c 3355 3130 0a31 2020 0000 fd00
25 0000070 3100 1d56 2371 0a00 2020 2020 2020 df01
26 0000080 0302 f129 9050 0405 0203 1607 0601 1211
27 0000090 1315 1f14 2320 7f0d 8307 000f 6700 0c03
28 00000a0 1000 3800 e32d 0305 0201 803a 7118 2d38
29 00000b0 5840 452c 8100 2191 0000 011e 801d 7118
30 00000c0 161c 5820 252c 8100 2191 0000 019e 001d
31 00000d0 5172 1ed0 6e20 5528 8100 2191 0000 281e
32 00000e0 803c 70a0 23b0 3040 3620 8100 2191 0000
33 00000f0 001a 0000 0000 0000 0000 0000 0000 1600
34 0000100
35 {{/code}}
36
37 xorg.conf (Nvidia)
38
39 {{code}}
40 Section "Screen"
41 Identifier "Screen0"
42 Device "Device0"
43 Monitor "Monitor0"
44 DefaultDepth 24
45 Option "metamodes" "2560x1600_60 +0+0"
46 SubSection "Display"
47 Depth 24
48 Modes "2560x1600"
49 EndSubSection
50 Option "CustomEDID" "GPU-0.DFP-2:/etc/edid.bin"
51 EndSection
52 {{/code}}
53
54 Xorg.0.log
55
56 {{code language="plain"}}
57 [ 10899.071] (**) NVIDIA(0): Depth 24, (--) framebuffer bpp 32
58 [ 10899.071] (==) NVIDIA(0): RGB weight 888
59 [ 10899.071] (==) NVIDIA(0): Default visual is TrueColor
60 [ 10899.071] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
61 [ 10899.071] (**) NVIDIA(0): Option "CustomEDID" "GPU-0.DFP-2:/etc/edid.bin"
62 [ 10899.071] (**) NVIDIA(0): Option "MetaModes" "2560x1600_60 +0+0"
63 [ 10899.071] (**) NVIDIA(0): Enabling 2D acceleration
64 [ 10899.071] (II) Loading sub module "glxserver_nvidia"
65 [ 10899.071] (II) LoadModule: "glxserver_nvidia"
66 [ 10899.071] (II) Loading /usr/lib/xorg/modules/extensions/libglxserver_nvidia.so
67 [ 10899.074] (II) Module glxserver_nvidia: vendor="NVIDIA Corporation"
68 [ 10899.074] compiled for 4.0.2, module version = 1.0.0
69 [ 10899.074] Module class: X.Org Server Extension
70 [ 10899.074] (II) NVIDIA GLX Module 410.78 Sat Nov 10 22:12:55 CST 2018
71 [ 10899.657] (--) NVIDIA(0): Valid display device(s) on GPU-0 at PCI:1:0:0
72 [ 10899.657] (--) NVIDIA(0): DFP-0
73 [ 10899.657] (--) NVIDIA(0): DFP-1
74 [ 10899.657] (--) NVIDIA(0): DFP-2 (boot)
75 [ 10899.657] (--) NVIDIA(0): DFP-3
76 [ 10899.657] (--) NVIDIA(0): DFP-4
77 [ 10899.657] (--) NVIDIA(0): DFP-5
78 [ 10899.657] (--) NVIDIA(0): DFP-6
79 [ 10899.657] (--) NVIDIA(0): DFP-7
80 [ 10899.659] (II) NVIDIA(0): NVIDIA GPU GeForce RTX 2070 (TU106-A) at PCI:1:0:0 (GPU-0)
81 [ 10899.659] (--) NVIDIA(0): Memory: 8388608 kBytes
82 [ 10899.659] (--) NVIDIA(0): VideoBIOS: 90.06.16.00.30
83 [ 10899.659] (II) NVIDIA(0): Detected PCI Express Link width: 16X
84 [ 10899.659] (--) NVIDIA(GPU-0): DFP-0: disconnected
85 [ 10899.659] (--) NVIDIA(GPU-0): DFP-0: Internal DisplayPort
86 [ 10899.659] (--) NVIDIA(GPU-0): DFP-0: 1440.0 MHz maximum pixel clock
87 [ 10899.659] (--) NVIDIA(GPU-0):
88 [ 10899.659] (--) NVIDIA(GPU-0): DFP-1: disconnected
89 [ 10899.659] (--) NVIDIA(GPU-0): DFP-1: Internal TMDS
90 [ 10899.659] (--) NVIDIA(GPU-0): DFP-1: 165.0 MHz maximum pixel clock
91 [ 10899.659] (--) NVIDIA(GPU-0):
92 [ 10899.660] (--) NVIDIA(GPU-0): DELL U3011 (DFP-2): connected
93 [ 10899.660] (--) NVIDIA(GPU-0): DELL U3011 (DFP-2): Internal TMDS
94 [ 10899.660] (--) NVIDIA(GPU-0): DELL U3011 (DFP-2): 600.0 MHz maximum pixel clock
95 [ 10899.660] (--) NVIDIA(GPU-0):
96 [ 10899.660] (--) NVIDIA(GPU-0): DFP-3: disconnected
97 [ 10899.660] (--) NVIDIA(GPU-0): DFP-3: Internal DisplayPort
98 [ 10899.660] (--) NVIDIA(GPU-0): DFP-3: 1440.0 MHz maximum pixel clock
99 [ 10899.660] (--) NVIDIA(GPU-0):
100 [ 10899.660] (--) NVIDIA(GPU-0): DFP-4: disconnected
101 [ 10899.660] (--) NVIDIA(GPU-0): DFP-4: Internal TMDS
102 [ 10899.660] (--) NVIDIA(GPU-0): DFP-4: 165.0 MHz maximum pixel clock
103 [ 10899.660] (--) NVIDIA(GPU-0):
104 [ 10899.660] (--) NVIDIA(GPU-0): DFP-5: disconnected
105 [ 10899.660] (--) NVIDIA(GPU-0): DFP-5: Internal DisplayPort
106 [ 10899.660] (--) NVIDIA(GPU-0): DFP-5: 1440.0 MHz maximum pixel clock
107 [ 10899.660] (--) NVIDIA(GPU-0):
108 [ 10899.660] (--) NVIDIA(GPU-0): DFP-6: disconnected
109 [ 10899.660] (--) NVIDIA(GPU-0): DFP-6: Internal TMDS
110 [ 10899.660] (--) NVIDIA(GPU-0): DFP-6: 165.0 MHz maximum pixel clock
111 [ 10899.660] (--) NVIDIA(GPU-0):
112 [ 10899.660] (--) NVIDIA(GPU-0): DFP-7: disconnected
113 [ 10899.660] (--) NVIDIA(GPU-0): DFP-7: Internal DisplayPort
114 [ 10899.660] (--) NVIDIA(GPU-0): DFP-7: 1440.0 MHz maximum pixel clock
115 [ 10899.660] (--) NVIDIA(GPU-0):
116 [ 10899.703] (II) NVIDIA(0): Validated MetaModes:
117 [ 10899.703] (II) NVIDIA(0): "2560x1600_60+0+0"
118 [ 10899.703] (II) NVIDIA(0): Virtual screen size determined to be 2560 x 1600
119 [ 10899.745] (--) NVIDIA(0): DPI set to (101, 101); computed from "UseEdidDpi" X config
120 [ 10899.745] (--) NVIDIA(0): option
121 [ 10899.745] (--) Depth 24 pixmap format is 32 bpp
122 [ 10899.746] (II) NVIDIA: Using 24576.00 MB of virtual memory for indirect memory
123 [ 10899.746] (II) NVIDIA: access.
124 [ 10899.764] (II) NVIDIA(0): Setting mode "2560x1600_60+0+0"
125 [ 10899.835] (==) NVIDIA(0): Disabling shared memory pixmaps
126 [ 10899.835] (==) NVIDIA(0): Backing store enabled
127 [ 10899.835] (==) NVIDIA(0): Silken mouse enabled
128 [ 10899.835] (**) NVIDIA(0): DPMS enabled
129 [ 10899.835] (WW) NVIDIA(0): Option "PreferredMode" is not used
130 {{/code}}
131
132 [[https:~~/~~/www.tecmint.com/best-hex-editors-for-linux/>>url:https://www.tecmint.com/best-hex-editors-for-linux/]] - wxhexeditor
133
134 [[https:~~/~~/kodi.wiki/view/Creating_and_using_edid.bin_via_xorg.conf#Method_2:_Generate_edid.bin_from_an_Xorg_modeline_.28edid-generator.29>>url:https://kodi.wiki/view/Creating_and_using_edid.bin_via_xorg.conf#Method_2:_Generate_edid.bin_from_an_Xorg_modeline_.28edid-generator.29]]
135
136 [[https:~~/~~/en.wikipedia.org/wiki/Extended_Display_Identification_Data>>url:https://en.wikipedia.org/wiki/Extended_Display_Identification_Data]]
137
138 [[https:~~/~~/nvidia.custhelp.com/app/answers/detail/a_id/3571/~~~~/managing-a-display-edid-on-linux>>url:https://nvidia.custhelp.com/app/answers/detail/a_id/3571/~~/managing-a-display-edid-on-linux]]
139
140 [[https:~~/~~/wiki.xp-el.com/_media/info:video_monitor_dell_u3011.pdf>>url:https://wiki.xp-el.com/_media/info:video_monitor_dell_u3011.pdf]]
141
142 {{code language="diff"}}
143 colordiff -ruBbE -U3000 <(edid-decode < edid-rw/edid.bin ) <(edid-decode < edid.bin )
144 --- /dev/fd/63 2019-03-31 01:11:29.955997230 +0800
145 +++ /dev/fd/62 2019-03-31 01:11:29.955997230 +0800
146 @@ -1,109 +1,109 @@
147 Extracted contents:
148 header: 00 ff ff ff ff ff ff 00
149 serial number: 10 ac 64 40 00 00 00 00 1b 16
150 version: 01 03
151 basic params: 80 40 28 78 ea
152 chroma info: 8d 85 ad 4f 35 b1 25 0e 50 54
153 established: a5 4b 00
154 standard: 71 4f 81 00 81 80 d1 00 a9 40 01 01 01 01 01 01
155 -descriptor 1: 28 3c 80 a0 70 b0 23 40 30 20 36 00 81 91 21 00 00 1a
156 +descriptor 1: e2 68 00 a0 a0 40 2e 60 30 20 36 00 81 91 21 00 00 1a
157 descriptor 2: 00 00 00 ff 00 41 42 31 43 44 32 33 35 36 37 38 58 0a
158 descriptor 3: 00 00 00 fc 00 44 45 4c 4c 20 55 33 30 31 31 0a 20 20
159 -descriptor 4: 00 00 00 fd 00 31 56 1d 5e 12 00 0a 20 20 20 20 20 20
160 +descriptor 4: 00 00 00 fd 00 31 56 1d 71 23 00 0a 20 20 20 20 20 20
161 extensions: 01
162 -checksum: 30
163 +checksum: df
164
165 Manufacturer: DEL Model 4064 Serial Number 0
166 Made week 27 of 2012
167 EDID version: 1.3
168 Digital display
169 Maximum image size: 64 cm x 40 cm
170 Gamma: 2.20
171 DPMS levels: Standby Suspend Off
172 Supported color formats: RGB 4:4:4, YCrCb 4:4:4
173 First detailed timing is preferred timing
174 Established timings supported:
175 720x400@70Hz
176 640x480@60Hz
177 640x480@75Hz
178 800x600@60Hz
179 800x600@75Hz
180 1024x768@60Hz
181 1024x768@75Hz
182 1280x1024@75Hz
183 Standard timings supported:
184 1152x864@75Hz
185 1280x800@60Hz
186 1280x1024@60Hz
187 1920x1200@60Hz
188 1600x1200@60Hz
189 -Detailed mode: Clock 154.000 MHz, 641 mm x 401 mm
190 - 1920 1968 2000 2080 hborder 0
191 - 1200 1203 1209 1235 vborder 0
192 +Detailed mode: Clock 268.500 MHz, 641 mm x 401 mm
193 + 2560 2608 2640 2720 hborder 0
194 + 1600 1603 1609 1646 vborder 0
195 +hsync -vsync
196 Serial number: AB1CD235678X
197 Monitor name: DELL
198 -Monitor ranges (GTF): 49-86Hz V, 29-94kHz H, max dotclock 180MHz
199 +Monitor ranges (GTF): 49-86Hz V, 29-113kHz H, max dotclock 350MHz
200 Has 1 extension blocks
201 -Checksum: 0x30 (valid)
202 +Checksum: 0xdf (valid)
203
204 CEA extension block
205 Extension version: 3
206 37 bytes of CEA data
207 Video data block
208 VIC 16 1920x1080@60Hz (native)
209 VIC 5 1920x1080i@60Hz
210 VIC 4 1280x720@60Hz
211 VIC 3 720x480@60Hz
212 VIC 2 720x480@60Hz
213 VIC 7 1440x480i@60Hz
214 VIC 22 1440x576i@50Hz
215 VIC 1 640x480@60Hz
216 VIC 6 1440x480i@60Hz
217 VIC 17 720x576@50Hz
218 VIC 18 720x576@50Hz
219 VIC 21 1440x576i@50Hz
220 VIC 19 1280x720@50Hz
221 VIC 20 1920x1080i@50Hz
222 VIC 31 1920x1080@50Hz
223 VIC 32 1920x1080@24Hz
224 Audio data block
225 Linear PCM, max channels 6
226 Supported sample rates (kHz): 192 176.4 96 88.2 48 44.1 32
227 Supported sample sizes (bits): 24 20 16
228 Speaker allocation data block
229 Speaker map: FL/FR LFE FC RL/RR
230 Vendor-specific data block, OUI 000c03 (HDMI)
231 Source physical address 1.0.0.0
232 DC_36bit
233 DC_30bit
234 DC_Y444
235 Maximum TMDS clock: 225MHz
236 Extended tag: Colorimetry data block
237 xvYCC601
238 xvYCC709
239 Underscans PC formats by default
240 Basic audio support
241 Supports YCbCr 4:4:4
242 Supports YCbCr 4:2:2
243 1 native detailed modes
244 Detailed mode: Clock 148.500 MHz, 641 mm x 401 mm
245 1920 2008 2052 2200 hborder 0
246 1080 1084 1089 1125 vborder 0
247 +hsync +vsync
248 Detailed mode: Clock 74.250 MHz, 641 mm x 401 mm
249 1920 2008 2052 2200 hborder 0
250 540 542 547 562 vborder 0
251 +hsync +vsync interlaced
252 Detailed mode: Clock 74.250 MHz, 641 mm x 401 mm
253 1280 1390 1430 1650 hborder 0
254 720 725 730 750 vborder 0
255 +hsync +vsync
256 -Detailed mode: Clock 27.000 MHz, 641 mm x 401 mm
257 - 720 736 798 858 hborder 0
258 - 480 489 495 525 vborder 0
259 - -hsync -vsync
260 -Checksum: 0x94 (valid)
261 +Detailed mode: Clock 154.000 MHz, 641 mm x 401 mm
262 + 1920 1968 2000 2080 hborder 0
263 + 1200 1203 1209 1235 vborder 0
264 + +hsync -vsync
265 +Checksum: 0x16 (valid)
266
267 EDID block does NOT conform to EDID 1.3!
268 Detailed block string not properly terminated
269 {{/code}}
270
271 {{code language="diff"}}
272 colordiff -ruBbE -U3000 <(hexdump edid-rw/edid.bin ) <(hexdump /etc/edid.bin )
273 --- /dev/fd/63 2019-03-31 01:10:34.027759999 +0800
274 +++ /dev/fd/62 2019-03-31 01:10:34.027759999 +0800
275 @@ -1,17 +1,17 @@
276 0000000 ff00 ffff ffff 00ff ac10 4064 0000 0000
277 0000010 161b 0301 4080 7828 8dea ad85 354f 25b1
278 0000020 500e a554 004b 4f71 0081 8081 00d1 40a9
279 -0000030 0101 0101 0101 3c28 a080 b070 4023 2030
280 +0000030 0101 0101 0101 68e2 a000 40a0 602e 2030
281 0000040 0036 9181 0021 1a00 0000 ff00 4100 3142
282 0000050 4443 3332 3635 3837 0a58 0000 fc00 4400
283 0000060 4c45 204c 3355 3130 0a31 2020 0000 fd00
284 -0000070 3100 1d56 125e 0a00 2020 2020 2020 3001
285 +0000070 3100 1d56 2371 0a00 2020 2020 2020 df01
286 0000080 0302 f129 9050 0405 0203 1607 0601 1211
287 0000090 1315 1f14 2320 7f0d 8307 000f 6700 0c03
288 00000a0 1000 3800 e32d 0305 0201 803a 7118 2d38
289 00000b0 5840 452c 8100 2191 0000 011e 801d 7118
290 00000c0 161c 5820 252c 8100 2191 0000 019e 001d
291 -00000d0 5172 1ed0 6e20 5528 8100 2191 0000 8c1e
292 -00000e0 d00a 208a 2de0 1010 963e 8100 2191 0000
293 -00000f0 0018 0000 0000 0000 0000 0000 0000 9400
294 +00000d0 5172 1ed0 6e20 5528 8100 2191 0000 281e
295 +00000e0 803c 70a0 23b0 3040 3620 8100 2191 0000
296 +00000f0 001a 0000 0000 0000 0000 0000 0000 1600
297 0000100
298 {{/code}}