Wiki source code of Dell U3011 HDMI EDID override

Last modified by Leon Poon on 2021/03/05 12:25

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