Jump to content

HD 7xxx-Can we eliminate the Sleep Trick?

7970 7xxx sleep trick

  • Please log in to reply
186 replies to this topic

#181
fugedigergely

fugedigergely

    InsanelyMac Protégé

  • Members
  • Pip
  • 17 posts

do we still need the sleep trick on 10.8.5?



#182
rhys216

rhys216

    InsanelyMac Protégé

  • Members
  • Pip
  • 30 posts

yes



#183
rhys216

rhys216

    InsanelyMac Protégé

  • Members
  • Pip
  • 30 posts

I wrote a script to automate the sleeping/waking cycle. Available here: http://cl.ly/PEL2

Make sure to change PASSWORD to your user password as pmset needs to be run by root. Also change time_to_sleep to whatever is desired. 20 seconds oddly enough seems to be pretty much instantaneous on my machine.

In plain text:

#!/bin/bash
time_to_sleep=20 #seconds
now=$(date +%s)
target_unix=$(($now+$time_to_sleep))
target_time=$(date -r $target_unix +"%m/%d/%y %T")
echo PASSWORD | sudo -S pmset schedule wake "$target_time"
if [ $? -eq 0 ]; then
	pmset sleepnow
else
	echo "This script must be run as root."
fi
EDIT: Running the code as an Automator application seems to work better.

 

How can I make this into a automator app?

Apologies but I'm new to OSX.



#184
LoLL

LoLL

    InsanelyMac Protégé

  • Members
  • PipPip
  • 67 posts

Under 10.9, my 7970 doesn't need any more sleep trick :thumbsup_anim:

I hope it will be the same with final release...



#185
hugeschnauzer

hugeschnauzer

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 226 posts

Hi

Im using Chameleon.

Boot just possible with GE=NO (if YES get memory allocation error)

added ATI Config Chutoro with port 4 selected. 



No need sleep trick at startup.

BUT... Wake from sleep sometimes work, sometimes not.

Is there another step that im missing? 

Chameleon / 10.9

Tks a lot



#186
ekica

ekica

    InsanelyMac Protégé

  • Members
  • PipPip
  • 64 posts
  • Gender:Male
  • Location:Serbia,Zaječar,Salaš

Some info on bypassing the "Sleep Trick"

Hardware requirements:

  • UEFI capable motherboard
  • HD 7000 series video card, obviously
Software requirements:
  • EFI capable video card VBIOS (UEFI GOP)
  • UEFI boot manager - currently only Clover is capable of UEFI mode
Should you not meet the hardware requirements, then this is not for you.

Should you meet them, check your VBIOS for GOP support. One way to do it is to dump it with GPU-Z for instance and check the area 0x10000 to 0x20000 with a hex editor.
If all you can see is an ongoing sequence of same bits, then your VBIOS does not contain the GOP driver and you will have to turn to the manufacturer for an update. Another way is simply flash another similar card's VBIOS which is known to support GOP. This is very experimental though and I can not recommend it.

Once you made sure that your card supports GOP, set up Clover in UEFI mode. These might be very few words on the subject but let's not misuse this thread and stick to the topic. Use Clover's GraphicsEnabler and find out which framebuffer works for you, most probably "Aji" will do it.

That's all. I'm sure that there must be other ways to get around it but this is what has worked for me.

If you want to inject the video properties by yourself, this should be the minimum needed to get around the bug:
Example with an XFX Radeon HD 7870 (Vendor Id: 1002, Device Id: 6818) set to use the Aji framebuffer with all its 4 ports:
"model",
Buffer (0x13)
{
"XFX Radeon HD 7870"
},
"ATY,DeviceID",
Buffer (0x04)
{
0x18, 0x68
},
"@0,name",
Buffer (0x0D)
{
"ATY,Aji"
},
"@1,name",
Buffer (0x0D)
{
"ATY,Aji"
},
"@2,name",
Buffer (0x0D)
{
"ATY,Aji"
},
"@3,name",
Buffer (0x0D)
{
"ATY,Aji"
}

 

 

Please place your DSDT file here.I have a ASUS 7870 but have a little problem.I'm use this DSDT.

Thanks...

Attached Files



#187
khe91

khe91

    InsanelyMac Protégé

  • Members
  • PipPip
  • 66 posts
  • Gender:Male
  • Location:Germany
What is your little problem ?





Also tagged with one or more of these keywords: 7970, 7xxx, sleep trick

  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  |   Web hosting by CatN  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy