Jump to content

FixEDID V2.3.2, Application to generate overrides automatically for Apple Displays

FixEDID Display EDID iMac Cinema HD Thunderbolt MacBook MacBook Air HiDPI scale-resolutions

  • Please log in to reply
257 replies to this topic

#241
Andy Vandijck

Andy Vandijck

    InsanelyMac Deity

  • Coders
  • 1,600 posts
  • Gender:Male
  • Location:Tienen
  • Interests:Programming stuff for Mac OS X...
    Hacking...
    Hard rock (also really big Metallica...

I finished the code for established timings III.

Alpha 6!

It can already do everything mentioned previously and set established timings III.

Tomorrow works continues when I have the time (CVT is next)...

Screenshots attached too and alpha 6 too...

For those thinking the implementation was easy: look at the code... 44 checkboxes linked through for the desired result...

The detailed descriptors are till byte 125 from byte 54...

EDIT: Removed alpha 6 due to alpha 7 below...

Attached Files



#242
blackosx

blackosx

    InsanelyMacaholic

  • Coders
  • 3,053 posts
  • Gender:Male
  • Location:UK

I've done some more work on it...

I'm basing my sources on edie-decode mostly, but this was incomplete (so I've enhanced the current edid-decode sources).

I had to add decoding for 4 detailed descriptors.

Tomorrow I'll mod my app for these...

The work on edid-decode so far is finished...

I added color management, color point, established timings III, extra standard timings and decoding of color data...

EDIT: Synced my changes with latest version...

 

Hi Andy
 
I have compiled a 32-bit 10.6 compatible version of your edid-decode and will happily add to DarwinDumper once I just get the following checked.
 
Testing on my iMac 11,3.
 
Using the edid-decode that's currently in DarwinDumper I get the following text file:
Extracted contents:
header:          00 ff ff ff ff ff ff 00
serial number:   06 10 d6 9c 00 00 00 00 08 14
version:         01 04
basic params:    a5 3c 22 78 22
chroma info:     6f b1 a7 55 4c 9e 25 0c 50 54
established:     00 00 00
standard:        01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01
descriptor 1:    56 5e 00 a0 a0 a0 29 50 30 20 35 00 55 50 21 00 00 1a
descriptor 2:    1a 1d 00 80 51 d0 1c 20 40 80 35 00 55 50 21 00 00 1c
descriptor 3:    00 00 00 02 01 06 10 01 0a 01 00 00 00 00 00 00 00 00
descriptor 4:    00 00 00 fc 00 43 6f 6c 6f 72 20 4c 43 44 0a 20 20 20
extensions:      01
checksum:        fa
 
Manufacturer: APP Model 9cd6 Serial Number 0
Made week 8 of 2010
EDID version: 1.4
Digital display
8 bits per primary color channel
DisplayPort interface
Maximum image size: 60 cm x 34 cm
Gamma: 2.20
DPMS levels: Off
Supported color formats: RGB 4:4:4
First detailed timing is preferred timing
Established timings supported:
Standard timings supported:
Detailed mode: Clock 241.500 MHz, 597 mm x 336 mm
               2560 2608 2640 2720 hborder 0
               1440 1443 1448 1481 vborder 0
               +hsync -vsync 
Detailed mode: Clock 74.500 MHz, 597 mm x 336 mm
               1280 1344 1472 1664 hborder 0
                720  723  728  748 vborder 0
               -hsync +vsync 
Monitor descriptor block has byte 4 nonzero (0x01)
Manufacturer-specified data, tag 2
Monitor name: Color
Has 1 extension blocks
Checksum: 0xfa (valid)
 
CEA extension block
Extension version: 3
8 bytes of CEA data
  Audio data block
    Linear PCM, max channels 1
    Supported sample rates (kHz): 48 44.1 32
    Supported sample sizes (bits): 24 20 16
  Speaker allocation data block
Underscans PC formats by default
Basic audio support
1 native detailed modes
Detailed mode: Clock 241.500 MHz, 597 mm x 336 mm
               2560 2608 2640 2720 hborder 0
               1440 1443 1448 1481 vborder 0
               +hsync -vsync 
Detailed mode: Clock 74.500 MHz, 597 mm x 336 mm
               1280 1344 1472 1664 hborder 0
                720  723  728  748 vborder 0
               -hsync +vsync 
Checksum: 0x13 (valid)
 
EDID block does NOT conform to EDID 1.3!
Missing monitor ranges
Invalid descriptor block padding
Detailed block string not properly terminated
 
Using your edid-decode I get the same except for some unencoded characters at the beginning.
??????<"x"o??UL?%
                 PTV^???)P0 5UP!?Q? @?5UP!
?Color LCD
   ?
    ?# ?V^???)P0 5UP!?Q? @?5UP!Extracted contents:
header:          00 ff ff ff ff ff ff 00
serial number:   06 10 d6 9c 00 00 00 00 08 14
version:         01 04
basic params:    a5 3c 22 78 22
chroma info:     6f b1 a7 55 4c 9e 25 0c 50 54
established:     00 00 00
standard:        01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01
descriptor 1:    56 5e 00 a0 a0 a0 29 50 30 20 35 00 55 50 21 00 00 1a
descriptor 2:    1a 1d 00 80 51 d0 1c 20 40 80 35 00 55 50 21 00 00 1c
descriptor 3:    00 00 00 02 01 06 10 01 0a 01 00 00 00 00 00 00 00 00
descriptor 4:    00 00 00 fc 00 43 6f 6c 6f 72 20 4c 43 44 0a 20 20 20
extensions:      01
checksum:        fa
 
Manufacturer: APP Model 9cd6 Serial Number 0
Made week 8 of 2010
EDID version: 1.4
Digital display
8 bits per primary color channel
DisplayPort interface
Maximum image size: 60 cm x 34 cm
Gamma: 2.20
DPMS levels: Off
Supported color formats: RGB 4:4:4
First detailed timing is preferred timing
Chroma Info:
Red X: 0.653320 Y: 0.333984
Green X: 0.299805 Y: 0.620117
Blue X: 0.146484 Y: 0.049805
White X: 0.312500 Y: 0.329102
Established timings supported:
Standard timings supported:
Detailed mode: Clock 241.500 MHz, 597 mm x 336 mm
               2560 2608 2640 2720 hborder 0
               1440 1443 1448 1481 vborder 0
               +hsync -vsync 
Detailed mode: Clock 74.500 MHz, 597 mm x 336 mm
               1280 1344 1472 1664 hborder 0
                720  723  728  748 vborder 0
               -hsync +vsync 
Monitor descriptor block has byte 4 nonzero (0x01)
Manufacturer-specified data, tag 2
Monitor name: Color
Has 1 extension blocks
Checksum: 0xfa (valid)
 
CEA extension block
Extension version: 3
8 bytes of CEA data
  Audio data block
    Linear PCM, max channels 1
    Supported sample rates (kHz): 48 44.1 32
    Supported sample sizes (bits): 24 20 16
  Speaker allocation data block
Underscans PC formats by default
Basic audio support
1 native detailed modes
Detailed mode: Clock 241.500 MHz, 597 mm x 336 mm
               2560 2608 2640 2720 hborder 0
               1440 1443 1448 1481 vborder 0
               +hsync -vsync 
Detailed mode: Clock 74.500 MHz, 597 mm x 336 mm
               1280 1344 1472 1664 hborder 0
                720  723  728  748 vborder 0
               -hsync +vsync 
Checksum: 0x13 (valid)
 
EDID block does NOT conform to EDID 1.3!
Missing monitor ranges
Invalid descriptor block padding
Detailed block string not properly terminated
 
Can these unencoded characters be dropped from the output or is it something to do with my EDID data?
I'm attaching the EDID directory from DarwinDumper for you to check.
 
Thanks

Attached Files



#243
Andy Vandijck

Andy Vandijck

    InsanelyMac Deity

  • Coders
  • 1,600 posts
  • Gender:Male
  • Location:Tienen
  • Interests:Programming stuff for Mac OS X...
    Hacking...
    Hard rock (also really big Metallica...

 

Hi Andy
 
I have compiled a 32-bit 10.6 compatible version of your edid-decode and will happily add to DarwinDumper once I just get the following checked.
 
Testing on my iMac 11,3.
 
Using the edid-decode that's currently in DarwinDumper I get the following text file:
Extracted contents:
header:          00 ff ff ff ff ff ff 00
serial number:   06 10 d6 9c 00 00 00 00 08 14
version:         01 04
basic params:    a5 3c 22 78 22
chroma info:     6f b1 a7 55 4c 9e 25 0c 50 54
established:     00 00 00
standard:        01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01
descriptor 1:    56 5e 00 a0 a0 a0 29 50 30 20 35 00 55 50 21 00 00 1a
descriptor 2:    1a 1d 00 80 51 d0 1c 20 40 80 35 00 55 50 21 00 00 1c
descriptor 3:    00 00 00 02 01 06 10 01 0a 01 00 00 00 00 00 00 00 00
descriptor 4:    00 00 00 fc 00 43 6f 6c 6f 72 20 4c 43 44 0a 20 20 20
extensions:      01
checksum:        fa
 
Manufacturer: APP Model 9cd6 Serial Number 0
Made week 8 of 2010
EDID version: 1.4
Digital display
8 bits per primary color channel
DisplayPort interface
Maximum image size: 60 cm x 34 cm
Gamma: 2.20
DPMS levels: Off
Supported color formats: RGB 4:4:4
First detailed timing is preferred timing
Established timings supported:
Standard timings supported:
Detailed mode: Clock 241.500 MHz, 597 mm x 336 mm
               2560 2608 2640 2720 hborder 0
               1440 1443 1448 1481 vborder 0
               +hsync -vsync 
Detailed mode: Clock 74.500 MHz, 597 mm x 336 mm
               1280 1344 1472 1664 hborder 0
                720  723  728  748 vborder 0
               -hsync +vsync 
Monitor descriptor block has byte 4 nonzero (0x01)
Manufacturer-specified data, tag 2
Monitor name: Color
Has 1 extension blocks
Checksum: 0xfa (valid)
 
CEA extension block
Extension version: 3
8 bytes of CEA data
  Audio data block
    Linear PCM, max channels 1
    Supported sample rates (kHz): 48 44.1 32
    Supported sample sizes (bits): 24 20 16
  Speaker allocation data block
Underscans PC formats by default
Basic audio support
1 native detailed modes
Detailed mode: Clock 241.500 MHz, 597 mm x 336 mm
               2560 2608 2640 2720 hborder 0
               1440 1443 1448 1481 vborder 0
               +hsync -vsync 
Detailed mode: Clock 74.500 MHz, 597 mm x 336 mm
               1280 1344 1472 1664 hborder 0
                720  723  728  748 vborder 0
               -hsync +vsync 
Checksum: 0x13 (valid)
 
EDID block does NOT conform to EDID 1.3!
Missing monitor ranges
Invalid descriptor block padding
Detailed block string not properly terminated
 
Using your edid-decode I get the same except for some unencoded characters at the beginning.
??????<"x"o??UL?%
                 PTV^???)P0 5UP!?Q? @?5UP!
?Color LCD
   ?
    ?# ?V^???)P0 5UP!?Q? @?5UP!Extracted contents:
header:          00 ff ff ff ff ff ff 00
serial number:   06 10 d6 9c 00 00 00 00 08 14
version:         01 04
basic params:    a5 3c 22 78 22
chroma info:     6f b1 a7 55 4c 9e 25 0c 50 54
established:     00 00 00
standard:        01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01
descriptor 1:    56 5e 00 a0 a0 a0 29 50 30 20 35 00 55 50 21 00 00 1a
descriptor 2:    1a 1d 00 80 51 d0 1c 20 40 80 35 00 55 50 21 00 00 1c
descriptor 3:    00 00 00 02 01 06 10 01 0a 01 00 00 00 00 00 00 00 00
descriptor 4:    00 00 00 fc 00 43 6f 6c 6f 72 20 4c 43 44 0a 20 20 20
extensions:      01
checksum:        fa
 
Manufacturer: APP Model 9cd6 Serial Number 0
Made week 8 of 2010
EDID version: 1.4
Digital display
8 bits per primary color channel
DisplayPort interface
Maximum image size: 60 cm x 34 cm
Gamma: 2.20
DPMS levels: Off
Supported color formats: RGB 4:4:4
First detailed timing is preferred timing
Chroma Info:
Red X: 0.653320 Y: 0.333984
Green X: 0.299805 Y: 0.620117
Blue X: 0.146484 Y: 0.049805
White X: 0.312500 Y: 0.329102
Established timings supported:
Standard timings supported:
Detailed mode: Clock 241.500 MHz, 597 mm x 336 mm
               2560 2608 2640 2720 hborder 0
               1440 1443 1448 1481 vborder 0
               +hsync -vsync 
Detailed mode: Clock 74.500 MHz, 597 mm x 336 mm
               1280 1344 1472 1664 hborder 0
                720  723  728  748 vborder 0
               -hsync +vsync 
Monitor descriptor block has byte 4 nonzero (0x01)
Manufacturer-specified data, tag 2
Monitor name: Color
Has 1 extension blocks
Checksum: 0xfa (valid)
 
CEA extension block
Extension version: 3
8 bytes of CEA data
  Audio data block
    Linear PCM, max channels 1
    Supported sample rates (kHz): 48 44.1 32
    Supported sample sizes (bits): 24 20 16
  Speaker allocation data block
Underscans PC formats by default
Basic audio support
1 native detailed modes
Detailed mode: Clock 241.500 MHz, 597 mm x 336 mm
               2560 2608 2640 2720 hborder 0
               1440 1443 1448 1481 vborder 0
               +hsync -vsync 
Detailed mode: Clock 74.500 MHz, 597 mm x 336 mm
               1280 1344 1472 1664 hborder 0
                720  723  728  748 vborder 0
               -hsync +vsync 
Checksum: 0x13 (valid)
 
EDID block does NOT conform to EDID 1.3!
Missing monitor ranges
Invalid descriptor block padding
Detailed block string not properly terminated
 
Can these unencoded characters be dropped from the output or is it something to do with my EDID data?
I'm attaching the EDID directory from DarwinDumper for you to check.
 
Thanks

 

Output not needed, checked and verified.

The original author made a mistake:

    edid = extract_edid(fd);
    if (!edid) {
	fprintf(stderr, "edid extract failed\n");
	return 1;
    }
    if (fd != 0)
	close(fd);

    if (ofd != -1) {
    // <-- This causes the bytes issue
	//write(ofd, edid, edid_lines * 16);
	close(ofd);
    }

    dump_breakdown(edid);

Note my new change... no write in ofd of edid... this duplicates the EDID before decode (not needed...)

I fixed this issue and attached the new version here.

Fixed :D

Attached Files



#244
blackosx

blackosx

    InsanelyMacaholic

  • Coders
  • 3,053 posts
  • Gender:Male
  • Location:UK

Bingo! That's fixed it.

Thanks Andy :)



#245
Andy Vandijck

Andy Vandijck

    InsanelyMac Deity

  • Coders
  • 1,600 posts
  • Gender:Male
  • Location:Tienen
  • Interests:Programming stuff for Mac OS X...
    Hacking...
    Hard rock (also really big Metallica...
I'm currently coding the CVT 3B descriptors (4 of them in the descriptor).
So far reading works...
Gonna write setting them now...

#246
Andy Vandijck

Andy Vandijck

    InsanelyMac Deity

  • Coders
  • 1,600 posts
  • Gender:Male
  • Location:Tienen
  • Interests:Programming stuff for Mac OS X...
    Hacking...
    Hard rock (also really big Metallica...

CVT 3B descriptors can now be set...

You do it like this:

Enter vertical resolution, select refresh rates, select preferred refresh rate, select aspect ratio and click set.

You can set up to 4 resolutions in 1 CVT block...

Example shown in screenshot...

Alpha 7 is ready... the rest I can do tomorrow or sunday... (when I have the time)

It wasn't easy implementing this but it is done now :D

Attached Files



#247
Ramalama

Ramalama

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 207 posts
  • Gender:Not Telling
  • Location:Germany

Andy? Do you know, how i can calculate Pixel Clock?

I Changed Active Horzontal to 3840 (from 2560) and vertical to 2160 (from 1440)...

 

But it seems that i need todo more, because i get stripes and pixel bugs... :-)

 

But with the new "Buggy" EDID, i get Retina-Display, with all the nice Switches :-)

 

Attached :-)

Attached Files



#248
Andy Vandijck

Andy Vandijck

    InsanelyMac Deity

  • Coders
  • 1,600 posts
  • Gender:Male
  • Location:Tienen
  • Interests:Programming stuff for Mac OS X...
    Hacking...
    Hard rock (also really big Metallica...

Andy? Do you know, how i can calculate Pixel Clock?
I Changed Active Horzontal to 3840 (from 2560) and vertical to 2160 (from 1440)...

But it seems that i need todo more, because i get stripes and pixel bugs... :-)

But with the new "Buggy" EDID, i get Retina-Display, with all the nice Switches :-)

Attached :-)

It has something to do with the number of lines and stuff.
Look for EEDIDrAr2.pdf on Google.
This contains all the needed info.

#249
Andy Vandijck

Andy Vandijck

    InsanelyMac Deity

  • Coders
  • 1,600 posts
  • Gender:Male
  • Location:Tienen
  • Interests:Programming stuff for Mac OS X...
    Hacking...
    Hard rock (also really big Metallica...
Ok did some research.
Detailed timing descriptor can be made using the resolution and refresh rate.
I know about how it works for GTF.
I will create this in the app first (is in high demand).
Keep you posted ;)

#250
Andy Vandijck

Andy Vandijck

    InsanelyMac Deity

  • Coders
  • 1,600 posts
  • Gender:Male
  • Location:Tienen
  • Interests:Programming stuff for Mac OS X...
    Hacking...
    Hard rock (also really big Metallica...

An app for calculating every bit of info in Ruby:

example: ./gtf.rb 1280 960 60 -v

./gtf.rb:517: warning: assigned but unused variable - gtf
 1: [H PIXELS RND]             :     1280.000000
 2: [V LINES RND]              :      960.000000
 3: [V FIELD RATE RQD]         :       60.000000
 4: [TOP MARGIN (LINES)]       :        0.000000
 5: [BOT MARGIN (LINES)]       :        0.000000
 6: [INTERLACE]                :        0.000000
 7: [H PERIOD EST]             :       16.770725
 8: [V SYNC+BP]                :       33.000000
 9: [V BACK PORCH]             :       30.000000
10: [TOTAL V LINES]            :      994.000000
11: [V FIELD RATE EST]         :       59.987640
12: [H PERIOD]                 :       16.767270
13: [V FIELD RATE]             :       60.000000
14: [V FRAME RATE]             :       60.000000
15: [LEFT MARGIN (PIXELS)]     :        0.000000
16: [RIGHT MARGIN (PIXELS)]    :        0.000000
17: [TOTAL ACTIVE PIXELS]      :     1280.000000
18: [IDEAL DUTY CYCLE]         :       24.969819
19: [H BLANK (PIXELS)]         :      432.000000
20: [TOTAL PIXELS]             :     1712.000000
21: [PIXEL FREQ]               :      102.103680
22: [H FREQ]                   :       59.640000
17: [H SYNC (PIXELS)]          :      136.000000
18: [H FRONT PORCH (PIXELS)]   :       80.000000
36: [V ODD FRONT PORCH(LINES)] :        1.000000

  # 1280x960 @ 60.00 Hz (GTF) hsync: 59.64 kHz; pclk: 102.10 MHz
  Modeline "1280x960_60.00"  102.10  1280 1360 1496 1712  960 961 964 994  -HSync +Vsync

Attached Files



#251
Andy Vandijck

Andy Vandijck

    InsanelyMac Deity

  • Coders
  • 1,600 posts
  • Gender:Male
  • Location:Tienen
  • Interests:Programming stuff for Mac OS X...
    Hacking...
    Hard rock (also really big Metallica...

Here is another.

It is a tool from Apple's IOGraphicsFamily.

./gtf 1280 960 60

GTF:

hPeriod 16.767269699 us, hFreq 59.640003906 kHz
pixFreq 102.103680000 Mhz
hTotal 214(1712), hFP 10(80), hBlank 54(432), hSync 17(136)
vTotal 994, vFP 1.0(E:1.0), vBlank 34.0(E:34.0), vSync 3


CVT:

pixFreq 101.250000000 Mhz
hPeriod 16.750616851 us, hFreq 59.699292969 kHz
hTotal 212(1696), hFP 10(80), hBlank 52(416), hSync 16(128)
vTotal 996, vFP 3.0(E:3.0), vBlank 36.0(E:36.0), vSync 4


CVT reduced blank:

pixFreq 85.250000000 Mhz
hPeriod 16.891495761 us, hFreq 59.201390625 kHz
hTotal 180(1440), hFP 6(48), hBlank 20(160), hSync 4(32)
vTotal 988, vFP 3.0(E:3.0), vBlank 28.0(E:28.0), vSync 4

It can also generate CVT and CVT reduced blanking timings.

@Ramalama: For your resolution the parameters:

gtf 3840 2160 60

GTF:

hPeriod 7.457121228 us, hFreq 134.100000000 kHz
pixFreq 712.339200000 Mhz
hTotal 664(5312), hFP 39(312), hBlank 184(1472), hSync 53(424)
vTotal 2235, vFP 1.0(E:1.0), vBlank 75.0(E:75.0), vSync 3


CVT:

pixFreq 712.750016000 Mhz
hPeriod 7.452822956 us, hFreq 134.177343750 kHz
hTotal 664(5312), hFP 39(312), hBlank 184(1472), hSync 53(424)
vTotal 2237, vFP 3.0(E:3.0), vBlank 77.0(E:77.0), vSync 5


CVT reduced blank:

pixFreq 533.249984000 Mhz
hPeriod 7.501172149 us, hFreq 133.312500000 kHz
hTotal 500(4000), hFP 6(48), hBlank 20(160), hSync 4(32)
vTotal 2222, vFP 3.0(E:3.0), vBlank 62.0(E:62.0), vSync 5

Which is 3840x2160@60Hz

I could make it into your EDID without issues.

EDIT: I had to mod a Medion display because of bad 1600x900@60Hz resolution and used these parameters.

It worked Nicely...

 


Here is another.

It is a tool from Apple's IOGraphicsFamily.

./gtf 1280 960 60

GTF:

hPeriod 16.767269699 us, hFreq 59.640003906 kHz
pixFreq 102.103680000 Mhz
hTotal 214(1712), hFP 10(80), hBlank 54(432), hSync 17(136)
vTotal 994, vFP 1.0(E:1.0), vBlank 34.0(E:34.0), vSync 3


CVT:

pixFreq 101.250000000 Mhz
hPeriod 16.750616851 us, hFreq 59.699292969 kHz
hTotal 212(1696), hFP 10(80), hBlank 52(416), hSync 16(128)
vTotal 996, vFP 3.0(E:3.0), vBlank 36.0(E:36.0), vSync 4


CVT reduced blank:

pixFreq 85.250000000 Mhz
hPeriod 16.891495761 us, hFreq 59.201390625 kHz
hTotal 180(1440), hFP 6(48), hBlank 20(160), hSync 4(32)
vTotal 988, vFP 3.0(E:3.0), vBlank 28.0(E:28.0), vSync 4

It can also generate CVT and CVT reduced blanking timings.

@Ramalama: For your resolution the parameters:

gtf 3840 2160 60

GTF:

hPeriod 7.457121228 us, hFreq 134.100000000 kHz
pixFreq 712.339200000 Mhz
hTotal 664(5312), hFP 39(312), hBlank 184(1472), hSync 53(424)
vTotal 2235, vFP 1.0(E:1.0), vBlank 75.0(E:75.0), vSync 3


CVT:

pixFreq 712.750016000 Mhz
hPeriod 7.452822956 us, hFreq 134.177343750 kHz
hTotal 664(5312), hFP 39(312), hBlank 184(1472), hSync 53(424)
vTotal 2237, vFP 3.0(E:3.0), vBlank 77.0(E:77.0), vSync 5


CVT reduced blank:

pixFreq 533.249984000 Mhz
hPeriod 7.501172149 us, hFreq 133.312500000 kHz
hTotal 500(4000), hFP 6(48), hBlank 20(160), hSync 4(32)
vTotal 2222, vFP 3.0(E:3.0), vBlank 62.0(E:62.0), vSync 5

Which is 3840x2160@60Hz

I could make it into your EDID without issues.

EDIT: I had to mod a Medion display because of bad 1600x900@60Hz resolution and used these parameters.

It worked Nicely...

EDIT2: I made a WIN32 version of the gtf tool and edid-decode for people who need to mod stuff under Windows.

Attached here, compiled with MinGW32.

Attached Files



#252
prashant@8530

prashant@8530

    InsanelyMac Protégé

  • Members
  • Pip
  • 38 posts

Here is another.
It is a tool from Apple's IOGraphicsFamily.

./gtf 1280 960 60

GTF:

hPeriod 16.767269699 us, hFreq 59.640003906 kHz
pixFreq 102.103680000 Mhz
hTotal 214(1712), hFP 10(80), hBlank 54(432), hSync 17(136)
vTotal 994, vFP 1.0(E:1.0), vBlank 34.0(E:34.0), vSync 3


CVT:

pixFreq 101.250000000 Mhz
hPeriod 16.750616851 us, hFreq 59.699292969 kHz
hTotal 212(1696), hFP 10(80), hBlank 52(416), hSync 16(128)
vTotal 996, vFP 3.0(E:3.0), vBlank 36.0(E:36.0), vSync 4


CVT reduced blank:

pixFreq 85.250000000 Mhz
hPeriod 16.891495761 us, hFreq 59.201390625 kHz
hTotal 180(1440), hFP 6(48), hBlank 20(160), hSync 4(32)
vTotal 988, vFP 3.0(E:3.0), vBlank 28.0(E:28.0), vSync 4

It can also generate CVT and CVT reduced blanking timings.
@Ramalama: For your resolution the parameters:
gtf 3840 2160 60

GTF:

hPeriod 7.457121228 us, hFreq 134.100000000 kHz
pixFreq 712.339200000 Mhz
hTotal 664(5312), hFP 39(312), hBlank 184(1472), hSync 53(424)
vTotal 2235, vFP 1.0(E:1.0), vBlank 75.0(E:75.0), vSync 3


CVT:

pixFreq 712.750016000 Mhz
hPeriod 7.452822956 us, hFreq 134.177343750 kHz
hTotal 664(5312), hFP 39(312), hBlank 184(1472), hSync 53(424)
vTotal 2237, vFP 3.0(E:3.0), vBlank 77.0(E:77.0), vSync 5


CVT reduced blank:

pixFreq 533.249984000 Mhz
hPeriod 7.501172149 us, hFreq 133.312500000 kHz
hTotal 500(4000), hFP 6(48), hBlank 20(160), hSync 4(32)
vTotal 2222, vFP 3.0(E:3.0), vBlank 62.0(E:62.0), vSync 5
Which is 3840x2160@60Hz
I could make it into your EDID without issues.
EDIT: I had to mod a Medion display because of bad 1600x900@60Hz resolution and used these parameters.
It worked Nicely...
EDIT2: I made a WIN32 version of the gtf tool and edid-decode for people who need to mod stuff under Windows.
Attached here, compiled with MinGW32.

Here is another.
It is a tool from Apple's IOGraphicsFamily.

./gtf 1280 960 60

GTF:

hPeriod 16.767269699 us, hFreq 59.640003906 kHz
pixFreq 102.103680000 Mhz
hTotal 214(1712), hFP 10(80), hBlank 54(432), hSync 17(136)
vTotal 994, vFP 1.0(E:1.0), vBlank 34.0(E:34.0), vSync 3


CVT:

pixFreq 101.250000000 Mhz
hPeriod 16.750616851 us, hFreq 59.699292969 kHz
hTotal 212(1696), hFP 10(80), hBlank 52(416), hSync 16(128)
vTotal 996, vFP 3.0(E:3.0), vBlank 36.0(E:36.0), vSync 4


CVT reduced blank:

pixFreq 85.250000000 Mhz
hPeriod 16.891495761 us, hFreq 59.201390625 kHz
hTotal 180(1440), hFP 6(48), hBlank 20(160), hSync 4(32)
vTotal 988, vFP 3.0(E:3.0), vBlank 28.0(E:28.0), vSync 4

It can also generate CVT and CVT reduced blanking timings.
@Ramalama: For your resolution the parameters:
gtf 3840 2160 60

GTF:

hPeriod 7.457121228 us, hFreq 134.100000000 kHz
pixFreq 712.339200000 Mhz
hTotal 664(5312), hFP 39(312), hBlank 184(1472), hSync 53(424)
vTotal 2235, vFP 1.0(E:1.0), vBlank 75.0(E:75.0), vSync 3


CVT:

pixFreq 712.750016000 Mhz
hPeriod 7.452822956 us, hFreq 134.177343750 kHz
hTotal 664(5312), hFP 39(312), hBlank 184(1472), hSync 53(424)
vTotal 2237, vFP 3.0(E:3.0), vBlank 77.0(E:77.0), vSync 5


CVT reduced blank:

pixFreq 533.249984000 Mhz
hPeriod 7.501172149 us, hFreq 133.312500000 kHz
hTotal 500(4000), hFP 6(48), hBlank 20(160), hSync 4(32)
vTotal 2222, vFP 3.0(E:3.0), vBlank 62.0(E:62.0), vSync 5
Which is 3840x2160@60Hz
I could make it into your EDID without issues.
EDIT: I had to mod a Medion display because of bad 1600x900@60Hz resolution and used these parameters.
It worked Nicely...
EDIT2: I made a WIN32 version of the gtf tool and edid-decode for people who need to mod stuff under Windows.
Attached here, compiled with MinGW32.

Hey ii get this just before my login screen at every startup https://www.dropbox....14 18 45 42.jpg
What can i do to fix jt?

#253
passmaster16

passmaster16

    InsanelyMac Protégé

  • Members
  • Pip
  • 23 posts

Hi, I'm using FixEDID to inject a modified Macbook Air profile for my laptop's display.  Everything works fine until I inject the PNLF patch either by DSDT or Clover.  For some reason after injecting the PNLF patch, the EDID which was previously set by DisplayMergeNub.kext is reset back to the original LVDS EDID.  Any idea why this would happen?  I'm trying to implement brightness control on my Sony Vaio laptop which does work with the PNLF patch but I also need the EDID override from DisplayMergeNub.kext to resolve the broken encoding/output caused by my LVDS' EDID.  More discussion is here: http://www.insanelym...-senseid/page-2

 

Thanks in advance!



#254
bronxteck

bronxteck

    InsanelyMac Protégé

  • Members
  • Pip
  • 37 posts

clover has an option to inject EDID. use the one generated with Displaymerge. see if that helps.



#255
passmaster16

passmaster16

    InsanelyMac Protégé

  • Members
  • Pip
  • 23 posts

clover has an option to inject EDID. use the one generated with Displaymerge. see if that helps.

 

Thanks that is what I ended up doing.  The reason why it didn't work initially from Clover is I had a bad checksum.  Once I updated the checksum, injected worked correctly via Clover.



#256
yves31

yves31

    InsanelyMac Protégé

  • Members
  • Pip
  • 2 posts

Hi,

My laptop lcd display has a resolution of 1920x1080 and can do 960x540 hidpi mode. Any higher resolution setting in Overrider display folder shows Invalid. I am trying to get the system to accept 1280x720 HIDPI mode (2560x1440 scaled resolution). Using FixEDID I was able to change VendorID and ProductID, but scaled resolution is still the same as before, no 1280x720 hi dpi mode. How can I fix this?

Thanks for your help. 

Attached File  Screen Shot 2014-07-19 at 3.25.24 PM.png   99.88KB   0 downloads



#257
truesoldier

truesoldier

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 141 posts

hi Andy Vandijck

can you make that kext can load with Clover please?

 

thx in advance

 

best regards



#258
AeonWorld

AeonWorld

    InsanelyMac Protégé

  • Members
  • Pip
  • 6 posts

Sorry if this is offtopic , is there a way to edit the brightness levels of each step of the applebacklightdisplay kext ? , am using your displaymergenub method to make native kext to work







Also tagged with one or more of these keywords: FixEDID, Display, EDID, iMac, Cinema HD, Thunderbolt, MacBook, MacBook Air, HiDPI, scale-resolutions

  Topic Stats Last Post Info

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

© 2014 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Mac Netbook  |   PHP hosting by CatN  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy