mirror of
https://github.com/akatrevorjay/edid-generator.git
synced 2026-01-15 23:50:28 +01:00
Add in proper mode for thunderbolt monitor as it's checksum is off plus it's edid randomly decides when to respond
Also added in modes for Apple Thunderbolt Display and Retina MacbookPro.
This commit is contained in:
19
1280x720.S
Normal file
19
1280x720.S
Normal file
@@ -0,0 +1,19 @@
|
||||
/* 1280x720: Modeline "1280x720" 74.50 1280 1344 1472 1664 720 723 728 748 -hsync +vsync */
|
||||
#define HSYNC_POL 1
|
||||
#define VSYNC_POL 1
|
||||
#define YPULSE (63+5)
|
||||
#define XPULSE 128
|
||||
#define YPIX 720
|
||||
#define XPIX 1280
|
||||
#define VFREQ 60
|
||||
#define DPI 96
|
||||
#define CLOCK 74500
|
||||
#define VERSION 1
|
||||
#define REVISION 3
|
||||
#define XOFFSET 64
|
||||
#define YOFFSET (63+3)
|
||||
#define XY_RATIO XY_RATIO_16_9
|
||||
#define YBLANK 28
|
||||
#define XBLANK 384
|
||||
#define TIMING_NAME "1280x720"
|
||||
#include "edid.S"
|
||||
19
2560x1440.S
Normal file
19
2560x1440.S
Normal file
@@ -0,0 +1,19 @@
|
||||
/* 2560x1440: Modeline "2560x1440" 241.50 2560 2608 2640 2720 1440 1443 1448 1481 +hsync -vsync */
|
||||
#define HSYNC_POL 1
|
||||
#define VSYNC_POL 1
|
||||
#define YPULSE (63+5)
|
||||
#define XPULSE 32
|
||||
#define YPIX 1440
|
||||
#define XPIX 2560
|
||||
#define VFREQ 60
|
||||
#define DPI 96
|
||||
#define CLOCK 241500
|
||||
#define VERSION 1
|
||||
#define REVISION 3
|
||||
#define XOFFSET 48
|
||||
#define YOFFSET (63+3)
|
||||
#define XY_RATIO XY_RATIO_16_9
|
||||
#define YBLANK 41
|
||||
#define XBLANK 160
|
||||
#define TIMING_NAME "2560x1440"
|
||||
#include "edid.S"
|
||||
19
2880x1800.S
Normal file
19
2880x1800.S
Normal file
@@ -0,0 +1,19 @@
|
||||
/* 2880x1800: Modeline "2880x1800" 337.75 2880 2928 2960 3040 1800 1803 1809 1852 +hsync -vsync */
|
||||
#define HSYNC_POL 1
|
||||
#define VSYNC_POL 1
|
||||
#define YPULSE (63+6)
|
||||
#define XPULSE 32
|
||||
#define YPIX 1800
|
||||
#define XPIX 2880
|
||||
#define VFREQ 60
|
||||
#define DPI 96
|
||||
#define CLOCK 337750
|
||||
#define VERSION 1
|
||||
#define REVISION 3
|
||||
#define XOFFSET 48
|
||||
#define YOFFSET (63+3)
|
||||
#define XY_RATIO XY_RATIO_16_9
|
||||
#define YBLANK 52
|
||||
#define XBLANK 160
|
||||
#define TIMING_NAME "2880x1800"
|
||||
#include "edid.S"
|
||||
@@ -1,4 +1,4 @@
|
||||
/* 3840x2160: Modeline "3840x2160" 594.000 3840 4016 4104 4400 2160 2168 2178 2250 +hsync +vsync */
|
||||
/* 3840x2160: Modeline "3840x2160" 594.00 3840 4016 4104 4400 2160 2168 2178 2250 +hsync +vsync */
|
||||
#define HSYNC_POL 1
|
||||
#define VSYNC_POL 1
|
||||
#define YPULSE (63+10)
|
||||
|
||||
@@ -10,3 +10,23 @@ Section "Monitor"
|
||||
Identifier "Fake"
|
||||
Modeline "test_xorg" 594.000 3840 4016 4104 4400 2160 2168 2178 2250 +vsync
|
||||
EndSection
|
||||
|
||||
##
|
||||
## Apple Thunderbolt Display
|
||||
##
|
||||
|
||||
Modeline "1280x720" 74.50 1280 1344 1472 1664 720 723 728 748 -hsync +vsync
|
||||
Modeline "2560x1440" 241.50 2560 2608 2640 2720 1440 1443 1448 1481 +hsync -vsync
|
||||
|
||||
##
|
||||
## Sceptre U435CV-UMC @ 60hz (needed or else it will stay at 30hz due to timing being out of bounds)
|
||||
##
|
||||
|
||||
Modeline "3840x2160" 594.00 3840 4016 4104 4400 2160 2168 2178 2250 +hsync +vsync
|
||||
|
||||
##
|
||||
## Retina MacbookPro (all)
|
||||
## Not needed at all. Just an example.
|
||||
##
|
||||
|
||||
Modeline "2880x1800" 337.75 2880 2928 2960 3040 1800 1803 1809 1852 +hsync -vsync
|
||||
|
||||
Reference in New Issue
Block a user