Jump to content

AMD Radeon HD 6650M, The Last Piece Of The Puzzle - EDID Injection with Clover or DSDT (The mistery of the "wrong" LVDS SenseID)

AMD Radeon HD 6650M Gradients EDID injection AMD 6650M Clover AMD 6650M Graphics Enabler AMD6650M DSDT patch AMD 6650M Mavericks Radeon HD 6650M OS X EDID injection not working Clover EDID Injection

  • Please log in to reply
34 replies to this topic

#21
mmon

mmon

    InsanelyMac Protégé

  • Members
  • Pip
  • 29 posts
  • Gender:Male

Laptop is busy in work now, I'll test it later



#22
Trucker MK

Trucker MK

    InsanelyMac Sage

  • Members
  • PipPipPipPipPipPip
  • 397 posts
  • Gender:Male
  • Location:Republic Of Macedonia
No problem at all.

#23
Trucker MK

Trucker MK

    InsanelyMac Sage

  • Members
  • PipPipPipPipPipPip
  • 397 posts
  • Gender:Male
  • Location:Republic Of Macedonia

It appears that no matter what I do, I cannot successfully inject the EDID using clover.  Even if I take a known working EDID that's being used in DisplayMergeNub.kext and add to the Clover custom EDID field, I either end up with a completely black screen or a black screen with backlight.  When it's just a black screen, its not recognized at all in ioreg, when it's a black screen + backlight, it is recognized as AppleDisplay.  This is on a Radeon HD 7650M.  Dual link is set to 1 in the Clover configuration.  Any other ideas why this wouldn't work???

The reason why EDID injection works and it works also with "wrong" senseid for me is because in my custom EDID i am using Descriptor Name from MacBook Pro, i just figured this out (my display was recognized as DisplayProductID 0x0a14 and DisplayVendorID 0x610). I tried with my original Descriptor Name and it's not working.

Post your original and custom EDID, i will help you.



#24
mmon

mmon

    InsanelyMac Protégé

  • Members
  • Pip
  • 29 posts
  • Gender:Male

Does sleep work with "wrong" senseid? I think framebuffer patch has some effect on it.

Hey, could you test VGA output? As far as I remember you wanted to get it working)



#25
Trucker MK

Trucker MK

    InsanelyMac Sage

  • Members
  • PipPipPipPipPipPip
  • 397 posts
  • Gender:Male
  • Location:Republic Of Macedonia

You don't have to, i am getting a VGA monitor today, I'll test it.



#26
passmaster16

passmaster16

    InsanelyMac Protégé

  • Members
  • Pip
  • 23 posts

The reason why EDID injection works and it works also with "wrong" senseid for me is because in my custom EDID i am using Descriptor Name from MacBook Pro, i just figured this out (my display was recognized as DisplayProductID 0x0a14 and DisplayVendorID 0x610). I tried with my original Descriptor Name and it's not working.

Post your original and custom EDID, i will help you.

 

Hey Trucker, thanks for helping out with this.  My original EDID as shown in Windows and DarwinDumper is:

0x00	 00 FF FF FF FF FF FF 00 0D AF 20 17 00 00 00 00	
0x10	 02 15 01 03 80 26 15 78 0A D8 95 A3 55 4D 9D 27	
0x20	 0F 50 54 00 00 00 01 01 01 01 01 01 01 01 01 01	
0x30	 01 01 01 01 01 01 88 3B 80 36 71 38 3B 40 5D 3E	
0x40	 6A 00 7E D7 10 00 00 18 00 00 00 FE 00 4E 31 37	
0x50	 33 48 47 45 2D 4C 31 31 0A 20 00 00 00 FE 00 43	
0x60	 4D 4F 0A 20 20 20 20 20 20 20 20 20 00 00 00 FE	
0x70	 00 4E 31 37 33 48 47 45 2D 4C 31 31 0A 20 00 DC

I am using a Macbook Air profile with AppleBacklightDisplay override in FixEDID to generate this profile.  After changing the first byte of basic params, I end up with the following:

Extracted contents:
header:          00 ff ff ff ff ff ff 00
serial number:   06 10 f2 9c 00 00 00 00 1a 15
version:         01 04
basic params:    90 26 15 78 0a
chroma info:     ef 05 97 57 54 92 27 22 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:    88 3b 80 36 71 38 3b 40 5d 3e 6a 00 7e d7 10 00 00 18
descriptor 2:    00 00 00 fc 00 43 6f 6c 6f 72 20 4c 43 44 0a 20 20 20
descriptor 3:    00 00 00 fe 00 43 4d 4f 0a 20 20 20 20 20 20 20 20 20
descriptor 4:    00 00 00 fe 00 4e 31 37 33 48 47 45 2d 4c 31 31 0a 20
extensions:      00
checksum:        f4


#27
Trucker MK

Trucker MK

    InsanelyMac Sage

  • Members
  • PipPipPipPipPipPip
  • 397 posts
  • Gender:Male
  • Location:Republic Of Macedonia
00FFFFFFFFFFFF00061014A0000000000A160104902615780A6FB1A7554C9E250C505400000001010101010101010101010101010101883B803671383B405D3E6A007ED710000018000000FC00436F6C6F72204C43440A202020000000FE00434D4F0A202020202020202020000000FE004E3137334847452D4C31310A2000DC
If you want, try this one is for MacBook Pro.
Edit. I tried MacBook Air and its not working, with the right and wrong senseid. So give this a try. You only need to fix the broken checksum.

#28
passmaster16

passmaster16

    InsanelyMac Protégé

  • Members
  • Pip
  • 23 posts
00FFFFFFFFFFFF00061014A0000000000A160104902615780A6FB1A7554C9E250C505400000001010101010101010101010101010101883B803671383B405D3E6A007ED710000018000000FC00436F6C6F72204C43440A202020000000FE00434D4F0A202020202020202020000000FE004E3137334847452D4C31310A2000DC
If you want, try this one is for MacBook Pro.
Edit. I tried MacBook Air and its not working, with the right and wrong senseid. So give this a try. You only need to fix the broken checksum.

 

 

Thanks, I gave it a try using custom EDID in Clover with the updated checksum, but still no luck.  All I end up is with a black screen with no backlight.  Neither AppleDisplay nor AppleBackLightDisplay show up in IOReg so it's as though the display is not detected at all.  I've tried multiple different EDIDs for different models and cannot get it to inject and pickup the display.  If I put the original EDID in the custom EDID field, I do get the garbled output.  I just don't understand why I cannot inject an EDID that otherwise works in DisplayMergeNub.kext?

 

The other thing I was trying to figure out is that I used Clover's PNLF injection for brightness.  When I do this, the brightness slider appears in the display pref pane but the video output is garbled.  The brightness slider does work as I can see brightness adjusting upon moving it.  Looking at IOReg, it appears that when PNLF patch is injected, it forces the EDID back to the original value which is what causes the weird output in the first place.  I notice this same behavior whether I inject the PNLF via Clover or directly in the DSDT.  Any idea why the PNLF would override the EDID in DisplayMergeNub.kext to the original EDID?



#29
passmaster16

passmaster16

    InsanelyMac Protégé

  • Members
  • Pip
  • 23 posts

Trucker - Can you post what your config.plist looks like and what version of Clover you are using?  Also are you injecting your VBIOS using Clover?

 

The reason I ask is that during my testing yesterday, Clover's debug.log shows the following line "EdidDiscovered size=128" but I never see the actual EDID itself in the log.  I believe I should see the custom EDID in the debug log if it is being applied by Clover, correct?  So could I possibly have a configuration problem or something wrong with the formatting of the EDID? 



#30
Trucker MK

Trucker MK

    InsanelyMac Sage

  • Members
  • PipPipPipPipPipPip
  • 397 posts
  • Gender:Male
  • Location:Republic Of Macedonia

Trucker - Can you post what your config.plist looks like and what version of Clover you are using?  Also are you injecting your VBIOS using Clover?

 

I've attached my config.plist and yes, i use Clover o inject the custom EDID. Attached File  config.plist.zip   1.7KB   7 downloads

 

 

The reason I ask is that during my testing yesterday, Clover's debug.log shows the following line "EdidDiscovered size=128" but I never see the actual EDID itself in the log.  I believe I should see the custom EDID in the debug log if it is being applied by Clover, correct?  So could I possibly have a configuration problem or something wrong with the formatting of the EDID? 

 

In my case it was picking up the custom EDID but it didn't inject it until i used wrong senseid for LVDS. Try this, when you create the DisplayMergeNUB.kext with FixEDID, it also creates a Display Override folder/file on your Desktop, copy it to /System/Library/Displays/Overrides/ and try injecting the EDID again with Clover. Use the same EDID in Clover and in the Display Override file. When you are making the kext your Display must be recognized, this way you get the correct address, ProductID and VendorID of the display. When done, use the custom EDID i made for you in Clover and in the override folder. If it's not working, try with wrong senseid and try every framebuffer without patching it.
 



#31
freeuser16

freeuser16

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 170 posts
  • Gender:Male
  • Location:Lithuania

Hey, could you test VGA output? As far as I remember you wanted to get it working)

I would wait with all the experiments till Yosemite is released. Some things might start working, some things might stop working :)



#32
passmaster16

passmaster16

    InsanelyMac Protégé

  • Members
  • Pip
  • 23 posts

I've attached my config.plist and yes, i use Clover o inject the custom EDID. attachicon.gifconfig.plist.zip

 

 

 

In my case it was picking up the custom EDID but it didn't inject it until i used wrong senseid for LVDS. Try this, when you create the DisplayMergeNUB.kext with FixEDID, it also creates a Display Override folder/file on your Desktop, copy it to /System/Library/Displays/Overrides/ and try injecting the EDID again with Clover. Use the same EDID in Clover and in the Display Override file. When you are making the kext your Display must be recognized, this way you get the correct address, ProductID and VendorID of the display. When done, use the custom EDID i made for you in Clover and in the override folder. If it's not working, try with wrong senseid and try every framebuffer without patching it.

 

OK, so after looking at this for a week, I isolated my problem to a bad checksum in the EDID.  I had tried a number of EDIDs in Clover's custom EDID field and what I found was that my original EDID and your EDID were the only ones that would be recognized in IOReg.  Obviously your EDID didn't match my LVDS so it would give a quick flash and then just a black screen with backlight.  My original EDID gave the garbled output.  I went back to the modified Macbook Air EDID I posted above and injected it using DisplayMergeNub.kext.  I got normal output on the display and then ran DarwinDumper.  Sure enough, it detected the bad checksum in the EDID.

 

It threw me off though because the bad checksum didn't appear to be causing any problems using DisplayMergeNub.kext so I had no reason to think it was incorrect nor would it cause any problem in Clover's custom EDID field.  My original mistake was that I was messing around with the FixEDID app to generate a new EDID for AppleBacklightDisplay but apparently forgot to fix the checksum  :surprised: DisplayMergeNub.kext apparently did not care and worked despite this error.

 

So I have the Macbook Air modified EDID working using Clover's custom EDID injection and deleted DisplayMergeNub.kext.  Also, I resolved the original issue I was attempting to resolve by injecting the PNLF patch with Clover, giving me brightness control in the display pref pane  :yes:  No changes to my modified Pondweed framebuffer were needed.

 

The moral of this story is that the checksum must be correct for Clover's custom EDID injection to work.  I confirmed this by taking your original EDID which I knew was being detected in IOReg and changed the checksum to a bogus one, and it gave the same result as my Macbook Air EDID with its wrong checksum...a black screen with no backlight and no detection in IOReg.

 

Thanks again for your help Trucker.  



#33
Trucker MK

Trucker MK

    InsanelyMac Sage

  • Members
  • PipPipPipPipPipPip
  • 397 posts
  • Gender:Male
  • Location:Republic Of Macedonia
Great.

#34
mmon

mmon

    InsanelyMac Protégé

  • Members
  • Pip
  • 29 posts
  • Gender:Male

Some strange result. When VGA "wakes up" after sleep, in IORegistry Display connects to HDMI port and port number property changes to 2(that is VGA hotplugID).

No activity to VGA port at all in IORegistry.



#35
Trucker MK

Trucker MK

    InsanelyMac Sage

  • Members
  • PipPipPipPipPipPip
  • 397 posts
  • Gender:Male
  • Location:Republic Of Macedonia

I would wait with all the experiments till Yosemite is released. Some things might start working, some things might stop working :)

I just installed DP2 and the only issue so far is USB 3.0. Everything else seems to be ok.
P.S
I don't like the new Dock and some things in the new look.







Also tagged with one or more of these keywords: AMD Radeon HD 6650M, Gradients, EDID injection, AMD 6650M Clover, AMD 6650M Graphics Enabler, AMD6650M DSDT patch, AMD 6650M Mavericks, Radeon HD 6650M OS X, EDID injection not working, Clover EDID Injection


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