zentili Posted April 7, 2014 Share Posted April 7, 2014 Hi all! I recently installed Mountain Lion 10.8.5 on to my notebook Acer Aspire 5740g with ATI Mobility HD 5470, Intel core i3 330M. I managed to get everything working very fine except for just one last thing.. The problem comes when the laptop goes to stop, or even if just the screen goes to stop. Well, when i wake it up the display shows graphics artifacts, some kind of with striped screen and nothing is visible but the system wakes up good and it works, it's just the display so the problem is not with the sleep thing (the laptop sleeps and wakes correctly), i think it's more related to graphics. I'm getting my video thing working by using clover bootloader, injecting the EDID extracted from my own display, patching the famebuffer connectors and booting with AtiConfig=Hoolock, LoadVBios and PatchVbios parameters. Outside of this problem, i have to say that the graphics is working very good with full qe/ci and regognizes my display correct resolution (even the brighteness button on the laptop work). I know this is an old problem, i've had it in the past with other hackintosh (ATI) machines but never found a solution. Since i'm running on a laptop now i think it's time to fix this but i am not really sure on how to do it. Anyone have had experience with that or got some ideas? It would be very appreciated (not only by me) Link to comment Share on other sites More sharing options...
zentili Posted April 9, 2014 Author Share Posted April 9, 2014 after many tests, i'v come to understand that i need to patch the framebuffer. The only problem is that i'm stuck with catching the VideoBios. I've read that clover can do it by pressing F6 inside the GUI but when i do it, nothing happens, i find no file anywhere in the clover folders. Link to comment Share on other sites More sharing options...
zentili Posted April 9, 2014 Author Share Posted April 9, 2014 I'm glad to announce that after many tries i have solved my issue, now sleep is working good and it wakes up super fast with no problems on display! I write below the connectors patch i made to get it working: Framebuffer: Hoolock Original: 0000000 00 04 00 00 04 06 00 00 00 01 00 00 21 03 05 01 0000010 00 04 00 00 04 06 00 00 00 01 00 00 11 02 04 02 0000020 04 00 00 00 14 02 00 00 00 01 00 00 02 04 01 03 0000030 Patch: 0000000 02 00 00 00 40 00 00 00 00 09 00 00 10 00 05 07 0000010 00 08 00 00 04 06 00 00 00 01 00 00 11 02 04 02 0000020 10 00 00 00 10 00 00 00 00 00 00 00 00 10 01 01 0000030 I hope this will be helpful to someone with the same laptop/issue! One more thing is left, the VGA display doesn't get recognized, if i plug it in, it just remains in standby mode, like it was not plugged to anything at all. For the moment, i don't care too much because it didn't work even before the patch. The sleep thing was much more important to me. Anyway, i post my VBios dump data, maybe someone could help me getting the external VGA working too.. radeon_biod_decode: ATOM BIOS Rom: SubsystemVendorID: 0x1025 SubsystemID: 0x033f IOBaseAddress: 0x2000 Filename: BR35534.010 BIOS Bootup Message: Acer JV50CP PARK M2 XT DDR3 64Mx16 1GB PCI ID: 1002:68e0 Connector at index 0 Type [@offset 45040]: LVDS (7) Encoder [@offset 45044]: INTERNAL_UNIPHY (0x1e) i2cid [@offset 45114]: 0x96, OSX senseid: 0x7 Connector at index 1 Type [@offset 45050]: HDMI-A (11) Encoder [@offset 45054]: INTERNAL_UNIPHY1 (0x20) i2cid [@offset 45137]: 0x91, OSX senseid: 0x2 Connector at index 2 Type [@offset 45060]: VGA (1) Encoder [@offset 45064]: INTERNAL_KLDSCP_DAC1 (0x15) i2cid [@offset 45164]: 0x90, OSX senseid: 0x1 redsock_bios_decode: Subsystem Vendor ID: 1025 Subsystem ID: 33f 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 The patch i have applied of course is the one reported above. As said, I inject the patch via clover config.plist One more thing i want to say, is a big thank you to the guys that made the tools i used (radeon_bios_decode) and wrote the instructions to make this possible. here and here ps. maybe some mod could change the title into something like [sOLVED]Graphics issue after sleep Aspire 5740g - ATI Mobility HD5470 1 Link to comment Share on other sites More sharing options...
zentili Posted April 10, 2014 Author Share Posted April 10, 2014 one problem is remaining, the system doesn't go to sleep automatically but if i close the display lid or put it to stop via the menu it does and wakes fine, one other topic explaining this more in detail is here Link to comment Share on other sites More sharing options...
iFIRE Posted April 10, 2014 Share Posted April 10, 2014 try this in the terminal app and see if have any process open that prevent sleep pmset -g assertions and in many boards need the flag darkwake=0 to 10 mine works good with 8 or 10 Link to comment Share on other sites More sharing options...
zentili Posted April 10, 2014 Author Share Posted April 10, 2014 hi, pmset -g assertion only gives me backgroundtasks 1 and all zeros. The darkwake flag doesn't work but with darkwake=3 and 9 the screen turns white when it should shut down.. one other thing i have tried is changin <key>DeepSleep</key> to <true/> into System/Library/Extensions/IOPlatformPluginFamily.kext/Contents/PlugIns/ACPI_SMC_PlatfformPlugin.kext/Contents/Resources/MacBookPro8_1 that is the one i'm using but nothing has changed.. Link to comment Share on other sites More sharing options...
iFIRE Posted April 10, 2014 Share Posted April 10, 2014 try quit the flags USBFix in Clover, and try again Link to comment Share on other sites More sharing options...
zentili Posted April 10, 2014 Author Share Posted April 10, 2014 if you mean the DSDT mask, it was already disabled.. by the way i have some news.. now the sleep is working, the computer sleeps automatically when its supposed to but the display doesn't sleep first.. it sleeps together with the whole system but according to my energy settings it should sleep first! So we can assume it's a graphic relates issue? Link to comment Share on other sites More sharing options...
iFIRE Posted April 10, 2014 Share Posted April 10, 2014 note, now in Maverick , the sleep take like 10 seconds to go to sleep after the system notify the hardware for a idlesleep , this is new in 10.9 Link to comment Share on other sites More sharing options...
zentili Posted April 10, 2014 Author Share Posted April 10, 2014 i have mountain lion! and the difference between my screen sleep and system sleep setting is like 5-6 minutes, not 10 seconds! Link to comment Share on other sites More sharing options...
sistoelemento Posted November 27, 2015 Share Posted November 27, 2015 I'm glad to announce that after many tries i have solved my issue, now sleep is working good and it wakes up super fast with no problems on display! I write below the connectors patch i made to get it working: Framebuffer: Hoolock Original: 0000000 00 04 00 00 04 06 00 00 00 01 00 00 21 03 05 01 0000010 00 04 00 00 04 06 00 00 00 01 00 00 11 02 04 02 0000020 04 00 00 00 14 02 00 00 00 01 00 00 02 04 01 03 0000030 Patch: 0000000 02 00 00 00 40 00 00 00 00 09 00 00 10 00 05 07 0000010 00 08 00 00 04 06 00 00 00 01 00 00 11 02 04 02 0000020 10 00 00 00 10 00 00 00 00 00 00 00 00 10 01 01 0000030 I hope this will be helpful to someone with the same laptop/issue! One more thing is left, the VGA display doesn't get recognized, if i plug it in, it just remains in standby mode, like it was not plugged to anything at all. For the moment, i don't care too much because it didn't work even before the patch. The sleep thing was much more important to me. Anyway, i post my VBios dump data, maybe someone could help me getting the external VGA working too.. radeon_biod_decode: ATOM BIOS Rom: SubsystemVendorID: 0x1025 SubsystemID: 0x033f IOBaseAddress: 0x2000 Filename: BR35534.010 BIOS Bootup Message: Acer JV50CP PARK M2 XT DDR3 64Mx16 1GB PCI ID: 1002:68e0 Connector at index 0 Type [@offset 45040]: LVDS (7) Encoder [@offset 45044]: INTERNAL_UNIPHY (0x1e) i2cid [@offset 45114]: 0x96, OSX senseid: 0x7 Connector at index 1 Type [@offset 45050]: HDMI-A (11) Encoder [@offset 45054]: INTERNAL_UNIPHY1 (0x20) i2cid [@offset 45137]: 0x91, OSX senseid: 0x2 Connector at index 2 Type [@offset 45060]: VGA (1) Encoder [@offset 45064]: INTERNAL_KLDSCP_DAC1 (0x15) i2cid [@offset 45164]: 0x90, OSX senseid: 0x1 redsock_bios_decode: Subsystem Vendor ID: 1025 Subsystem ID: 33f 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 The patch i have applied of course is the one reported above. As said, I inject the patch via clover config.plist One more thing i want to say, is a big thank you to the guys that made the tools i used (radeon_bios_decode) and wrote the instructions to make this possible. here and here ps. maybe some mod could change the title into something like [sOLVED]Graphics issue after sleep Aspire 5740g - ATI Mobility HD5470 Thanks for the fix. My sleep is now working Anyway we could fix the VGA ? Can we get support from slice? i bet if anyone could fix this it will be him ! VGA port was working on lion for me with full QE , so i think this is a soft issue Link to comment Share on other sites More sharing options...
Recommended Posts