Jump to content

Gradient Issue With AMD Radeon HD 7650M Sony Vaio SVE1712BCXB

SVE1712BCXB gradient radeon 7650m clover

  • Please log in to reply
15 replies to this topic

#1
passmaster16

passmaster16

    InsanelyMac Protégé

  • Members
  • Pip
  • 23 posts

I'm new to the OSx86 scene and trying to get a retail Mavericks 10.9.3 build running on my Sony Vaio SVE1712BCXB.  CPU is a Intel Core i5 3210M (2.50GHz) and video card is an AMD Radeon HD 7650M.  The internal display is a 17" LCD with 1920 x 1080 native resolution.  I am currently booting Mavericks using Clover R2689 from a USB drive.  From my research I've found that many people have had trouble getting video output on the LVDS of these Sony Vaio E series laptops equipped with the Radeon HD 7650M.  I've managed to get the card recognized with full QE/CI acceleration on all three outputs (LVDS, HDMI, and VGA) using my dumped VBIOS and a modified Pondweed framebuffer.  My issue at the moment is that gradients are being handled poorly on the LVDS. It's very apparent in the Chess app as well as the test here: http://www.lagom.nl/...st/gradient.php 

 

Since the gradients are handled fine on HDMI and VGA, my thought is that there is something wrong with the EDID recognition.  However when I tried to modify the first byte of the basic params from 80 to 90 per freeuser16's suggestion here http://www.insanelym...28#entry1933143 and inject a custom EDID via Clover, I get no display output on the LVDS, just a black screen with no backlighting or anything, like its turned off.  If anybody has any suggestions on how I might be able to able to resolve this problem, it would be greatly appreciated.  My decoded VBIOS is below.  EDID is also below and the output from Windows is identical to DarwinDumper.  Attached are Clover config.plist and unmodified DSDT dumped from Windows.

 

Radeon Bios Decode

ATOM BIOS Rom: 
	SubsystemVendorID: 0x104d SubsystemID: 0x908a
	IOBaseAddress: 0x0000
	Filename: BR41586.023 
	BIOS Bootup Message: 
Sony/Wistron Z70CR ThamesPro DDR3                                           

PCI ID: 1002:6841
Connector at index 0
	Type [@offset 44962]: LVDS (7)
	Encoder [@offset 44966]: INTERNAL_UNIPHY (0x1e)
	i2cid [@offset 45036]: 0x96, OSX senseid: 0x7
Connector at index 1
	Type [@offset 44972]: HDMI-A (11)
	Encoder [@offset 44976]: INTERNAL_UNIPHY1 (0x20)
	i2cid [@offset 45059]: 0x90, OSX senseid: 0x1
Connector at index 2
	Type [@offset 44982]: VGA (1)
	Encoder [@offset 44986]: INTERNAL_KLDSCP_DAC1 (0x15)
	i2cid [@offset 45086]: 0x97, OSX senseid: 0x8

Redsock Bios Decode

BR41586.023 :

Sony/Wistron Z70CR ThamesPro DDR3                                           

Subsystem Vendor ID: 104d
       Subsystem ID: 908a
Object Header Structure Size: 199
Connector Object Table Offset: 34
Router Object Table Offset: 0
Encoder Object Table Offset: 99
Display Path Table Offset: 12
Connector Object Id [14] which is [LVDS]
	encoder obj id [0x1e] which is [INTERNAL_UNIPHY (osx txmit 0x10 [duallink 0x0] enc 0x0)] linkb: false
Connector Object Id [12] which is [HDMI_TYPE_A]
	encoder obj id [0x20] which is [INTERNAL_UNIPHY1 (osx txmit 0x11 [duallink 0x1] enc 0x2)] linkb: false
Connector Object Id [5] which is [VGA]
	encoder obj id [0x15] which is [INTERNAL_KLDSCP_DAC1 (osx txmit 0x00 enc 0x10?)] linkb: false

Edited Pondweed Framebuffer - Output working on LVDS, HDMI, and VGA

02000000400000000901010010010707
00080000000200000001020011020101
10000000100000000001030000000808

EDID From DarwinDumper - Matches Windows

Extracted contents:
header:          00 ff ff ff ff ff ff 00
serial number:   0d af 20 17 00 00 00 00 02 15
version:         01 03
basic params:    80 26 15 78 0a
chroma info:     d8 95 a3 55 4d 9d 27 0f 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 fe 00 4e 31 37 33 48 47 45 2d 4c 31 31 0a 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:        dc

Manufacturer: CMO Model 1720 Serial Number 0
Made week 2 of 2011
EDID version: 1.3
Digital display
Maximum image size: 38 cm x 21 cm
Gamma: 2.20
Supported color formats: RGB 4:4:4, YCrCb 4:2:2
First detailed timing is preferred timing
Chroma Info:
Red X: 0.639648 Y: 0.333008
Green X: 0.302734 Y: 0.613281
Blue X: 0.154297 Y: 0.059570
White X: 0.313477 Y: 0.329102
Established timings supported:
Standard timings supported:
Detailed mode: Clock 152.400 MHz, 382 mm x 215 mm
               1920 2013 2075 2230 hborder 0
               1080 1086 1096 1139 vborder 0
               -hsync -vsync 
ASCII string: N173HGE
ASCII string: CMO
ASCII string: N173HGE
Checksum: 0xdc (valid)
EDID block does NOT conform to EDID 1.3!
	Missing name descriptor
	Missing monitor ranges
	Detailed block string not properly terminated

Attached Files



#2
Vlad

Vlad

    InsanelyMac Protégé

  • Members
  • PipPip
  • 56 posts
  • Gender:Male
  • Location:Romania

@passmaster16 could you describe how you managed to dump your video bios?... As far as I know switchable graphics does not work on hackintosh.



#3
passmaster16

passmaster16

    InsanelyMac Protégé

  • Members
  • Pip
  • 23 posts

@vlad I used the Intel Flash Programming Tool (fptw64.exe) on Windows 8 to dump the entire bios.  The vbios is contained within the main system bios.  The Intel tool will dump everything then just look for the 64-65kb rom file which should be the vbios.  The Intel tool was the only one that was successful for me.  I was unable to dump the vbios using GPU-Z or AIDA64, both on Windows.

 

Regarding the switchable graphics, this machine has a severely locked down bios but it doesn't matter because even with a modded bios, there is no way to get output from the HD4000 card on this system  http://www.insanelym...on-sve1711x1eb/



#4
passmaster16

passmaster16

    InsanelyMac Protégé

  • Members
  • Pip
  • 23 posts

Now I'm wondering if my issue can be due to the fact that I changed the encoder from 00 to 01.  With LVDS encoder set to 00, I get output similar to the image in this thread http://www.insanelym...m-lvds-problems but with it set to 01, the output is much better with exception to the gradient issue.  Is the gradient issue due to 16-bit color vs 32-bit color set by the encoder?



#5
Trucker MK

Trucker MK

    InsanelyMac Sage

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

Now I'm wondering if my issue can be due to the fact that I changed the encoder from 00 to 01. With LVDS encoder set to 00, I get output similar to the image in this thread http://www.insanelym...m-lvds-problems but with it set to 01, the output is much better with exception to the gradient issue. Is the gradient issue due to 16-bit color vs 32-bit color set by the encoder?

Check here how to edit your custom EDID, you must use Serial number from Mac, not just changing the Basic Params and Chroma Info. I am not able to inject the EDID with Clover, I use DisplayMergeNUB.kext instead. The black screen can be fixed with the Dual Link patch.



#6
passmaster16

passmaster16

    InsanelyMac Protégé

  • Members
  • Pip
  • 23 posts

Check here http://www.insanelym...---2674G50Mnkk-[Gradients--Fixed] how to edit your custom EDID, you must use Serial number from Mac, not just changing the Basic Params and Chroma Info. I am not able to inject the EDID with Clover, I use DisplayMergeNUB.kext instead. The black screen can be fixed with the Dual Link patch.

 

Hey Trucker, I was hoping you'd stop by this thread as I know you have vast knowledge on this issue.  I followed your steps in the post http://www.insanelym...ixed/?p=2023266 and used FixEDID to generate a DisplayMergeNUB.kext.  I used my original dumped EDID with FixEDID to generate the kext using an Apple profile.  I used MacBook Pro Display profile since it is 16:10.  I then modified the basic params of the info.plist in the newly generated kext to the original EDID with exception of the first byte, changed to 90 vs 80, and fixed the checksum.  The gradients are gone  :thumbsup_anim:  even with switching the LVDS encoder back to 00.  Thank you for your help and pointing me in the right direction!

 

Two more questions:

 

1.) In the FixEDID app, there is a display class and override display class.  These are both set to AppleDisplay but I noted that they can be changed to AppleBackLightDisplay.  What is this used for and is there any benefit to changing the kext to use it?  Would this provide the ability to control brightness on the LVDS because I don't believe I have that capability right now?

 

2.) I know that VGA really isn't supported by Apple anymore but I noticed that while VGA will output to my Dell 24" monitor, the highest resolution I can output from the VGA port is 1280x1020.  The monitor is capable of 1900x1200.  Just curious if there is anything I could do to correct it like patch the framebuffer? I had to change the encoder from  10 to 08 to get it to output anything so maybe I'm doing something else wrong that is affecting the resolution?

 

Thx again,

Josh



#7
Trucker MK

Trucker MK

    InsanelyMac Sage

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

The gradients are gone  :thumbsup_anim:  even with switching the LVDS encoder back to 00.  Thank you for your help and pointing me in the right direction!

Using encoder 00 enables proper Display sleep for me, otherwise i get just black screen with backlight.

 


 

 

Two more questions:

 

1.) In the FixEDID app, there is a display class and override display class.  These are both set to AppleDisplay but I noted that they can be changed to AppleBackLightDisplay.  What is this used for and is there any benefit to changing the kext to use it?  Would this provide the ability to control brightness on the LVDS because I don't believe I have that capability right now?

 

2.) I know that VGA really isn't supported by Apple anymore but I noticed that while VGA will output to my Dell 24" monitor, the highest resolution I can output from the VGA port is 1280x1020.  The monitor is capable of 1900x1200.  Just curious if there is anything I could do to correct it like patch the framebuffer? I had to change the encoder from  10 to 08 to get it to output anything so maybe I'm doing something else wrong that is affecting the resolution?

 

Thx again,

Josh

1. Using AppleBacklightDisplay doesn't provide the ability to control the brightness with the slider from System Preferences/Displays.

2. I haven't tested this but in theory you can try this.

 Connect your VGA Display, Use FixEDID to create the Display Override file for the VGA Display (when you open FixEDID, choose your VGA Display and previously saved EDID.bin, edit/ choose only inject EDID unpatched /edit, than click Make and the folder with the VendorID and ProductID of the VGA will be created on the Desktop). There is a tutorial here on the forum, something like Advanced EDID injection, look for it, you will find there how to add custom resolution for the VGA by editing the Display Override file. When you are done, copy the folder to /System/Library/Displays/Overrides, reboot and you should be able to select your desired resolution.


Edited by Trucker MK, 10 June 2014 - 04:32 AM.


#8
passmaster16

passmaster16

    InsanelyMac Protégé

  • Members
  • Pip
  • 23 posts

Thx Trucker, I'll give it a shot.  Do you have a link to a good guide for enabling brightness control through pref pane as well as my function keys (fn + f5/f6)?  I wasn't sure if the procedure is different on the radeon cards vs the on board intel ones?



#9
Trucker MK

Trucker MK

    InsanelyMac Sage

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

No, i tried the PNLF patch from DSDT Editor plus some other patches but none worked. My FN keys work even without the FN Keys patch from DSDT Editor, try it if you haven't tried yet.



#10
passmaster16

passmaster16

    InsanelyMac Protégé

  • Members
  • Pip
  • 23 posts

No, i tried the PNLF patch from DSDT Editor plus some other patches but none worked. My FN keys work even without the FN Keys patch from DSDT Editor, try it if you haven't tried yet.

 

Trucker - do you have the brightness slider showing in the pref pane without applying the PNLF patch?  When I apply the PNLF patch to scope _SB in the DSDT, it breaks the EDID that's being merged by DisplayMergeNUB.kext, making the display unusable again.  It does make the slider show up but the slider doesn't appear to function either, no change when adjusted.  I could deal without the function key control for brightness if the slider worked.  Oddly enough the function keys work fully for audio using the VoodooHDA driver.



#11
Trucker MK

Trucker MK

    InsanelyMac Sage

  • Members
  • PipPipPipPipPipPip
  • 397 posts
  • Gender:Male
  • Location:Republic Of Macedonia
Make another DisplayMergeNub.kext but this time choose AppleBacklightDisplay. I do have it but because Clover is kinda Auto Applying the PNLF patch even though I haven't choosed so in my config.plist
19:826  0:000  ========= Auto patch DSDT Starting ========
19:826  0:000  VideoCard devID=0x67411002
19:826  0:000  DisplayADR1[0] = 0x10000, DisplayADR2[0] = 0x0
19:826  0:000  Display 0 is PCIE
19:826  0:000  USBADR[0] = 0x1A0000 and PCIe = 0xFFFE
19:826  0:000  Found Airport Atheros at 0x1C0001, 0x0
19:826  0:000  USBADR[1] = 0x1C0003 and PCIe = 0x0
19:826  0:000  USBADR[2] = 0x1D0000 and PCIe = 0xFFFE
19:826  0:000  Found ACPI CPU: CPU0 And CPU1 And CPU2 And CPU3 And CPU4 And CPU5 And CPU6 And CPU7 
19:827  0:000  Found PCIROOTUID = 0
19:827  0:000  Start _WAK Return Fix
19:827  0:000  _WAK Method find return data, don't need to patch.
19:827  0:000  return len=965B
19:827  0:000   deleting device CRT_
19:827  0:000   deleting device DVI_
19:827  0:000   deleting device SPKR
19:827  0:000   deleting device ECP_
19:827  0:000   deleting device LPT_
19:828  0:000   deleting device FDC0
19:828  0:000   deleting device ECP1
19:828  0:000   deleting device LPT1
19:829  0:000  Start PNLF Fix
19:829  0:000  found PWRB at 2D4F
19:829  0:000  Start _S3D Fix
19:829  0:000  OperationRegion (GNVS...) corrected to addr=0xAF7BCE18
19:829  0:000  OperationRegion (OGNS...) corrected to addr=0xAF7BBD98
19:829  0:000  OperationRegion (COMP...) corrected to addr=0xAF7BEF98
19:829  0:000  OperationRegion (MCHT...) corrected to addr=0xFED10000
19:829  0:000    indirect name=SRCB
19:829  0:000  OperationRegion (RCRB...) corrected to addr=0xFED1C000
19:829  0:000  OperationRegion (MDBG...) corrected to addr=0xAF76B018
19:829  0:000    indirect name=ASLB
19:829  0:000  ... value not defined
19:829  0:000  OperationRegion (IGDM...) corrected to addr=0x0
19:829  0:000  Start ADP1 fix
19:829  0:000  NewName ADP1 already present, renaming impossibble
19:829  0:000  _prw is present
19:830  0:000  Start Darwin Fix
19:830  0:000  Name _OSI present at 0x4BFF, renaming to OOSI
19:830  0:000  Name _OSI present at 0x4C06, renaming to OOSI
19:830  0:000  Name _OSI present at 0x4C22, renaming to OOSI
19:830  0:000  Name _OSI present at 0x4C42, renaming to OOSI
19:830  0:000  Name _OSI present at 0x4C62, renaming to OOSI
19:830  0:000  Name _OSI present at 0x4C80, renaming to OOSI
19:830  0:000  Name _OSI present at 0x4C9C, renaming to OOSI
19:830  0:000  Name _OSI present at 0x4CB8, renaming to OOSI
19:830  0:000  Start SHUTDOWN Fix len=9730
19:830  0:000  ========= Auto patch DSDT Finished ========


#12
Trucker MK

Trucker MK

    InsanelyMac Sage

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

Few days ago I found the reason why EDID injection with Clover (and probably DSDT) never worked for me and another interesting thing about the 6650M. I will start a new thread regarding this issue today.



#13
passmaster16

passmaster16

    InsanelyMac Protégé

  • Members
  • Pip
  • 23 posts

Make another DisplayMergeNub.kext but this time choose AppleBacklightDisplay. I do have it but because Clover is kinda Auto Applying the PNLF patch even though I haven't choosed so in my config.plist

19:826  0:000  ========= Auto patch DSDT Starting ========
19:826  0:000  VideoCard devID=0x67411002
19:826  0:000  DisplayADR1[0] = 0x10000, DisplayADR2[0] = 0x0
19:826  0:000  Display 0 is PCIE
19:826  0:000  USBADR[0] = 0x1A0000 and PCIe = 0xFFFE
19:826  0:000  Found Airport Atheros at 0x1C0001, 0x0
19:826  0:000  USBADR[1] = 0x1C0003 and PCIe = 0x0
19:826  0:000  USBADR[2] = 0x1D0000 and PCIe = 0xFFFE
19:826  0:000  Found ACPI CPU: CPU0 And CPU1 And CPU2 And CPU3 And CPU4 And CPU5 And CPU6 And CPU7 
19:827  0:000  Found PCIROOTUID = 0
19:827  0:000  Start _WAK Return Fix
19:827  0:000  _WAK Method find return data, don't need to patch.
19:827  0:000  return len=965B
19:827  0:000   deleting device CRT_
19:827  0:000   deleting device DVI_
19:827  0:000   deleting device SPKR
19:827  0:000   deleting device ECP_
19:827  0:000   deleting device LPT_
19:828  0:000   deleting device FDC0
19:828  0:000   deleting device ECP1
19:828  0:000   deleting device LPT1
19:829  0:000  Start PNLF Fix
19:829  0:000  found PWRB at 2D4F
19:829  0:000  Start _S3D Fix
19:829  0:000  OperationRegion (GNVS...) corrected to addr=0xAF7BCE18
19:829  0:000  OperationRegion (OGNS...) corrected to addr=0xAF7BBD98
19:829  0:000  OperationRegion (COMP...) corrected to addr=0xAF7BEF98
19:829  0:000  OperationRegion (MCHT...) corrected to addr=0xFED10000
19:829  0:000    indirect name=SRCB
19:829  0:000  OperationRegion (RCRB...) corrected to addr=0xFED1C000
19:829  0:000  OperationRegion (MDBG...) corrected to addr=0xAF76B018
19:829  0:000    indirect name=ASLB
19:829  0:000  ... value not defined
19:829  0:000  OperationRegion (IGDM...) corrected to addr=0x0
19:829  0:000  Start ADP1 fix
19:829  0:000  NewName ADP1 already present, renaming impossibble
19:829  0:000  _prw is present
19:830  0:000  Start Darwin Fix
19:830  0:000  Name _OSI present at 0x4BFF, renaming to OOSI
19:830  0:000  Name _OSI present at 0x4C06, renaming to OOSI
19:830  0:000  Name _OSI present at 0x4C22, renaming to OOSI
19:830  0:000  Name _OSI present at 0x4C42, renaming to OOSI
19:830  0:000  Name _OSI present at 0x4C62, renaming to OOSI
19:830  0:000  Name _OSI present at 0x4C80, renaming to OOSI
19:830  0:000  Name _OSI present at 0x4C9C, renaming to OOSI
19:830  0:000  Name _OSI present at 0x4CB8, renaming to OOSI
19:830  0:000  Start SHUTDOWN Fix len=9730
19:830  0:000  ========= Auto patch DSDT Finished ========

 

I actually tried this yesterday.  I used FixEDID and set display class to AppleDisplay and override display to AppleBacklightDisplay.  IOReg shows AppleBacklightDisplay for display0 but still no slider in pref pane.  Any other ideas?



#14
freeuser16

freeuser16

    InsanelyMac Geek

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

Few days ago I found the reason why EDID injection with Clover (and probably DSDT) never worked for me and another interesting thing about the 6650M. I will start a new thread regarding this issue today.

Really? And what was the reason? Have you actually fixed it?



#15
Trucker MK

Trucker MK

    InsanelyMac Sage

  • Members
  • PipPipPipPipPipPip
  • 397 posts
  • Gender:Male
  • Location:Republic Of Macedonia
I am writing it right now, I will post it in a few minutes.

#16
osmanos

osmanos

    InsanelyMac Protégé

  • Members
  • Pip
  • 9 posts

hey you are hope now passmaster16

sorry for my bad english..

 

i have sony vaio too with ati hd 4570 graphics card.

(in your thread you have clarified that with laptop lvds you some how enabled full qe/ci and everthing.)

that is hope for me but  how??

now a little back ground of my issue.

 

with coustom dsdt i somehow enabled full qe/ci etc but on vga(external mon). on LVDS i got black screen. i use mavericks 10.9.3, chameleon.

 

here is vbios (in yours i have noticed senseid) but in mine it hasnt

 

please guide me how can i solve my issue.

thanks in advance bro

 

ATOM BIOS Rom:          SubsystemVendorID: 0x104d SubsystemID: 0x9056         IOBaseAddress: 0xd000         Filename: BR34079.001          BIOS Bootup Message:  Sony_M851_M92S2_XT_GDDR3 M92 GDDR3 64bit 680e/800m                             PCI ID: 1002:9553 Connector at index 0         Type [@offset 46244]: LVDS (7)         Encoder [@offset 46248]: INTERNAL_UNIPHY2 (0x21) Connector at index 1         Type [@offset 46254]: VGA (1)         Encoder [@offset 46258]: INTERNAL_KLDSCP_DAC1 (0x15)         i2cid [@offset 46325]: 0x90, OSX senseid: 0x1 Connector at index 2         Type [@offset 46264]: HDMI-A (11)         Encoder [@offset 46268]: INTERNAL_UNIPHY (0x1e)         i2cid [@offset 46348]: 0x94, OSX senseid: 0x5





Also tagged with one or more of these keywords: SVE1712BCXB, gradient, radeon, 7650m, clover


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