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

#161
Sirc

Sirc

    InsanelyMac Protégé

  • Members
  • Pip
  • 2 posts
This rotate trick doesn't work for me. Neither does the sleep trick (still white screens after waking).

The only thing(s) that work for me thus far are:
1) iGPU enabled primary, but no cable connected, so booting blind into OSx86. No white screens, goes right to login.
2) iGPU enabled primary, but one cable connected, boots to OSx86 no white screen.

If PCIE is set as primary, it will always boot to white screens, even if I can see the mouse.

Hardware:
- Asus Sabertooth Z77
- i7 3770k
- Asus 7970

Currently using the blind boot (method 1) so I can drive all my monitors through the 7970, however I'd like to be able to ditch the blind boot if possible and use PCIE as primary. I've tried various FramBuffers no change, currently using Chutoro. I'm open to trying any suggestions, however based on other threads/blog posts this seems to be an un-resolvable problem.

#162
fnordsensei

fnordsensei

    InsanelyMac Protégé

  • Members
  • Pip
  • 4 posts
  • Gender:Male
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.

#163
B_Q

B_Q

    InsanelyMac Protégé

  • Members
  • Pip
  • 8 posts
Possible solution for some people with multi-monitor issues with different resolutions. This works on 10.8.3/10.84

Explanation: I have a 7850 and am successfully using clover boot and the rotate trick to get to my 10.8.3 desktop. Small issue however. I have dual monitors. One is a 1080p and one is a 1280x1024. The rotate tool doesn't work with this ... well it does but mirroring is enable by default on the first boot. Graphics revert to 1280x1024 and mirror and then I get corrupted with no updates. So basically dead in the water. In trying to fix this I was looking into ways to force each monitor to native resolutions then I realized how about just setting up extended desktop. I was searching on where the config file that dictates this was when I stumbled upon an easy fix.

Solution: After you figure out your monitor IDs and create a fb-rotate (read back in the thread for this) script to run at startup just download the following app and place it in startup. It removed mirroring automatically: http://www.fabiancan...MirrorDisplays/. I did have an issue with the mirroring executing too fast so I installed delay start and set it to 10 seconds which allowed it to do its thing.

If this is helpful then great..posting this as nobody seemed to be complaining about this exact symptom I was having and it was driving me nuts.

#164
tubbiesss

tubbiesss

    InsanelyMac Protégé

  • Members
  • Pip
  • 44 posts
@ fnordsensei
Thanks for the script. It works as its supposed to when run manually.
But I can't get it to run during the white screen.
Adding the Automator app to "Login Items" makes the script run *after* I can successfully boot in by manually hitting the power button to sleep and waking back up.
Would appreciate any help on how to go about fixing this.
Thanks in advance.

#165
DAXGr

DAXGr

    InsanelyMac Protégé

  • Members
  • PipPip
  • 60 posts
  • Gender:Male
  • Location:Thessaloniki - Greece
  • Interests:C#, Game development and hobbyist automation.

@ fnordsensei
Thanks for the script. It works as its supposed to when run manually.
But I can't get it to run during the white screen.
Adding the Automator app to "Login Items" makes the script run *after* I can successfully boot in by manually hitting the power button to sleep and waking back up.
Would appreciate any help on how to go about fixing this.
Thanks in advance.

so it auto logs you in, and you have to sleep-cycle and then it will run on its own OR do you have to sleep-cycle to log-in? you have to enable auto login

#166
tubbiesss

tubbiesss

    InsanelyMac Protégé

  • Members
  • Pip
  • 44 posts

so it auto logs you in, and you have to sleep-cycle and then it will run on its own OR do you have to sleep-cycle to log-in? you have to enable auto login

The first one... I have auto login enabled, but I have attached a screenshot of it to be sure I have everything right
If I have any Automator app in Login Items, as I boot it would go:
white screen > I wait till HDD light is off > hit power button > wait for 1-2min > computer shuts down > hit power button again > screen goes blue for 1-2secs if I have FBrotatate / sleeps and wake up again if I have fnordsensei's script > desktop immediately appears.

Attached Files



#167
DAXGr

DAXGr

    InsanelyMac Protégé

  • Members
  • PipPip
  • 60 posts
  • Gender:Male
  • Location:Thessaloniki - Greece
  • Interests:C#, Game development and hobbyist automation.

The first one... I have auto login enabled, but I have attached a screenshot of it to be sure I have everything right
If I have any Automator app in Login Items, as I boot it would go:
white screen > I wait till HDD light is off > hit power button > wait for 1-2min > computer shuts down > hit power button again > screen goes blue for 1-2secs if I have FBrotatate / sleeps and wake up again if I have fnordsensei's script > desktop immediately appears.

that's strange.. I let it boot up and then i wait about 2 mins before it does the blue screen thing. Have you tried waiting more?

#168
tubbiesss

tubbiesss

    InsanelyMac Protégé

  • Members
  • Pip
  • 44 posts

that's strange.. I let it boot up and then i wait about 2 mins before it does the blue screen thing. Have you tried waiting more?

I tried waiting over 5 minutes and it remains white the entire time.
Drive activities stopped after the first 10secs or so, and after waiting a bit more after that moment, the sleep trick would no longer work.
The sleep trick doesn't seem to be predictable to begin with, because the drive LED flashes at random and inconsistent timings - pressing the power button too early or too late wouldn't work.
Very strange indeed... I'm almost giving up on this and thinking of going back to my 6870 again :(

#169
B_Q

B_Q

    InsanelyMac Protégé

  • Members
  • Pip
  • 8 posts

Couple of thoughts.  Have you tested the app in safe mode?  Set security to allow any app to run?  I ran into that snag rebuilding mine and I forgot to fix that stuff.  

 

Have you tried the rotate script?  It's pretty easy to do and works for me even on multi monitors.  Just have to get it right.   If you have more than one monitor try working with just one at a time.  My sleep doesn't work because of a bios issue but rotate fix helps me. 

I tried waiting over 5 minutes and it remains white the entire time.
Drive activities stopped after the first 10secs or so, and after waiting a bit more after that moment, the sleep trick would no longer work.
The sleep trick doesn't seem to be predictable to begin with, because the drive LED flashes at random and inconsistent timings - pressing the power button too early or too late wouldn't work.
Very strange indeed... I'm almost giving up on this and thinking of going back to my 6870 again :(



#170
DAXGr

DAXGr

    InsanelyMac Protégé

  • Members
  • PipPip
  • 60 posts
  • Gender:Male
  • Location:Thessaloniki - Greece
  • Interests:C#, Game development and hobbyist automation.

Couple of thoughts.  Have you tested the app in safe mode?  Set security to allow any app to run?  I ran into that snag rebuilding mine and I forgot to fix that stuff.  

 

Have you tried the rotate script?  It's pretty easy to do and works for me even on multi monitors.  Just have to get it right.   If you have more than one monitor try working with just one at a time.  My sleep doesn't work because of a bios issue but rotate fix helps me. 

He says the rotate script doesn't work; he can see the desktop if he sleep-cycles



#171
nexx892

nexx892

    InsanelyMac Protégé

  • Members
  • Pip
  • 7 posts

So I know you don't need the sleep trick if you download the 10.9 dp1 on 7970.

 

But do you need the sleep trick on 7950 on 10.8.4 or 10.9dp1?

 

Thanks



#172
DAXGr

DAXGr

    InsanelyMac Protégé

  • Members
  • PipPip
  • 60 posts
  • Gender:Male
  • Location:Thessaloniki - Greece
  • Interests:C#, Game development and hobbyist automation.

So I know you don't need the sleep trick if you download the 10.9 dp1 on 7970.

 

But do you need the sleep trick on 7950 on 10.8.4 or 10.9dp1?

 

Thanks

Can you confirm that 10.9 DP1 works ok for you? What kexts had you installed and which ones did you reinstall?



#173
VultUx

VultUx

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 109 posts
  • Gender:Male
  • Location:Brasil

Can you confirm that 10.9 DP1 works ok for you? What kexts had you installed and which ones did you reinstall?

http://www.insanelym...-dp1/?p=1922929



#174
nexx892

nexx892

    InsanelyMac Protégé

  • Members
  • Pip
  • 7 posts

So because the 7970 works native, the 7950 should too?

 

I guess you could always flash 7950 bios to 7970.

I have to make a descion between 7950 and 670 4gb. I can get both for about 310USD, but am not sure what to get.



#175
DAXGr

DAXGr

    InsanelyMac Protégé

  • Members
  • PipPip
  • 60 posts
  • Gender:Male
  • Location:Thessaloniki - Greece
  • Interests:C#, Game development and hobbyist automation.

So because the 7970 works native, the 7950 should too?

 

I guess you could always flash 7950 bios to 7970.

I have to make a descion between 7950 and 670 4gb. I can get both for about 310USD, but am not sure what to get.

Well you do get higher performance/USD with the 7950 but nVidia has better support with OSX. Get the 7950 if it has UEFI GOP VBIOS and your mobo can boot clover in UEFI mode else 670 if ease of use means much to you. I would wait though and see how 10.9 plays with both cards.



#176
tubbiesss

tubbiesss

    InsanelyMac Protégé

  • Members
  • Pip
  • 44 posts

Couple of thoughts.  Have you tested the app in safe mode?  Set security to allow any app to run?  I ran into that snag rebuilding mine and I forgot to fix that stuff.  

 

Have you tried the rotate script?  It's pretty easy to do and works for me even on multi monitors.  Just have to get it right.   If you have more than one monitor try working with just one at a time.  My sleep doesn't work because of a bios issue but rotate fix helps me. 

Yup, and yup.

I can't get the rotate trick to work properly even for a single display.

The rotate script does activate, but *after* the sleep cycle. 

And as DAXGr mentioned, I can see my desktop after it.

 

Well you do get higher performance/USD with the 7950 but nVidia has better support with OSX. Get the 7950 if it has UEFI GOP VBIOS and your mobo can boot clover in UEFI mode else 670 if ease of use means much to you. I would wait though and see how 10.9 plays with both cards.

Knowing the GTX6xx have better OSX support, I initially wanted to get a nVidia card, but apart from the GTX680/690, it seems none of their cards have a miniDP :(



#177
maleorderbride

maleorderbride

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 275 posts
  • Gender:Male

K3nny, could you please edit this VBIOS for GOP support?  I am using an MSI VBIOS of a very similar card right now and getting a few graphical glitches.  The MSI card has a 50Mhz higher clock.

 

Original VBIOS: (XFX HD7870 FX-787A-CNFC): https://dl.dropboxus...al/Pitcairn.rom

 

I can boot the UEFI Clover screen (after disabling Secure Boot) and select my 10.8.4 install, but after the verbose output it goes to all an all black screen.  I am re-reading the Clover help page to see what I seems to be the problem.

 

This is on an P9X79 Pro running BIOS ver 4005.  There are no unusual errors in the verbose output.

 

Edit:

1.  Tried a different framebuffer (Chutoro) and now get the white screen instead of the black screen as before.  Aji does not work for my 7870.

 

2.  I then attempted to edit the VBIOS myself, but it appears I did it incorrectly as I still get the white screen after flashing to it and booting with Clover UEFI64-bit with Secure Boot disabled.



#178
k3nny

k3nny

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 538 posts
  • Gender:Male

K3nny, could you please edit this VBIOS for GOP support?  I am using an MSI VBIOS of a very similar card right now and getting a few graphical glitches.  The MSI card has a 50Mhz higher clock.

 

Original VBIOS: (XFX HD7870 FX-787A-CNFC): https://dl.dropboxus...al/Pitcairn.rom

 

I can boot the UEFI Clover screen (after disabling Secure Boot) and select my 10.8.4 install, but after the verbose output it goes to all an all black screen.  I am re-reading the Clover help page to see what I seems to be the problem.

 

This is on an P9X79 Pro running BIOS ver 4005.  There are no unusual errors in the verbose output.

 

Edit:

1.  Tried a different framebuffer (Chutoro) and now get the white screen instead of the black screen as before.  Aji does not work for my 7870.

 

2.  I then attempted to edit the VBIOS myself, but it appears I did it incorrectly as I still get the white screen after flashing to it and booting with Clover UEFI64-bit with Secure Boot disabled.

Hi, the file is not available anymore but it shouldn't matter much at this point. Please check if you are really booting in UEFI mode by disabling the CSM (Compatibility Support Module) in your BIOS. If you can make it to the point when you can use the sleep trick, it should be an issue with the framebuffer setting I believe. Try different variants: Aji, Dashimaki, Futomaki and Hamachi are the most compatible ones.



#179
maleorderbride

maleorderbride

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 275 posts
  • Gender:Male

Attached is the original VBIOS if it does matter.

 

I will try what you suggested.  Thanks!

Attached Files



#180
fnordsensei

fnordsensei

    InsanelyMac Protégé

  • Members
  • Pip
  • 4 posts
  • Gender:Male

@ fnordsensei
Thanks for the script. It works as its supposed to when run manually.
But I can't get it to run during the white screen.
Adding the Automator app to "Login Items" makes the script run *after* I can successfully boot in by manually hitting the power button to sleep and waking back up.
Would appreciate any help on how to go about fixing this.
Thanks in advance.

 

You need to auto login for this to work. Also, try to increase the 20 seconds and see if that helps. If the script is invoked, but the machine is for some reason prevented to go to sleep for 20 seconds, the "wake up" is going to be run before the script has a chance to put the machine to sleep. Unfortunately, I have not been able to discern a way to set the timer to count from the moment the machine goes to sleep, only from the moment the sleep command is sent to the system, which may be well before that.







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


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