Contribute
Register

10.8.3: AMD Radeon HD 7xxx Graphics Testing Thread

Status
Not open for further replies.
Here is a small script that "fix" the "white screen" bug for those with "sleep" problems.

You have to blindly type your password or set auto-login. Not perfect, but at least I can use my desktop... :)

-----------------

First, boot with -x or another supported GPU

Get fp-rotate from this site and uncompress it somewhere:
http://modbookish.lefora.com/2010/06/29/a-unix-utility-to-change-the-primary-display-on-os/

Open Automator.app
Select "Application"
Choose "Run shell script" (from the Actions/Utilities)
Paste this script (change de path):



/Users/user/fb-rotate -d 0 -r 90
/Users/user/fb-rotate -d 0 -r 0



Save the script somewhere.

Go to System Preferences -> Accounts -> Login items and add the script.

(Optional: you can set auto login too).

Boot the same way you used to get the white screen. :)


It works !!!!!!!!! Thanks so much !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! <3 <3 <3 <3 <3
 
Just posted it, working for me... For sure someone will use this idea and write a more elegant solution that will run before the login.

OK, how about this? I want a certain network volume mounted as soon as I boot, and there's no reason you can't use the same technique to do this screen-rotation trick. First create the file /Library/LaunchDaemons/localboot.plist, and put this in:

Code:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC -//Apple Computer//DTD PLIST 1.0//EN http://www.apple.com/DTDs/PropertyList-1.0.dtd >
<plist version="1.0">
<dict>
    <key>Label</key>
    <string>localboot</string>
    <key>ProgramArguments</key>
    <array>
        <string>/usr/local/bin/boot.sh</string>
    </array>
    <key>RunAtLoad</key>
    <true/>
    <key>LaunchOnlyOnce</key>
    <true/>
</dict>
</plist>

That tells your Mac that when it boots, it should run the shell script "/usr/local/bin/boot.sh". Once that's done, create /usr/local/bin if it doesn't exist, and make the shell script containing your fb-rotate command. Note that this script will execute as root, not as any user, so you probably want fb-rotate to go in /usr/local/bin as well, and you should invoke it using a complete path. So, you'd make it look like this:

Code:
#!/bin/sh
# rotate screen twice to overcome white screen startup bug.

# If things aren't working out, you'll need to redirect output to someplace you can
# actually see it, by uncommenting the next line
# exec 2>&1 >/tmp/boot.sh.output.txt

/usr/local/bin/fb-rotate -d 0 -r 90
/usr/local/bin/fb-rotate -d 0 -r 0
# Any other startup code can be placed here

Lastly, do "chmod 700 /usr/local/bin/boot.sh" and "chown root:wheel /usr/local/bin/boot.sh" in case you ever decide to put anything there that you don't want prying eyes to see (like low-security passwords). If you created /usr/local/bin, make sure local and bin are owned by root and mode 755.

Let me know how this goes. I can imagine a slight possibility of this not working: fb-rotate might want to execute in a user session. But as long as it works OK when nobody is logged in on the GUI, it should work fine this way. (You can test before doing all this stuff by logging out all users, and then sshing in from somewhere else.)
 
Tomorrow I will try your trick from my wife's iMac trough remote desktop.

I tried the rotation from a remote desktop and it works and it easy enough! Thanks dwbr, you are great! :thumbup:

One note: I have two displays and I have to rotate both of them.
 
Yesss, this script work for me to. I used sleep trick till now but this is better solution for me, because after waking my xbox360 controller blinking and not working properly.
But I noticed smt strange i didn't before, this message in Console kernel[0]: Found client, reallocating 47001600, kernel[0]: Found client, reallocating 94003200 when watching movie or using youtube...is this related with video driver or not?
 
Does anybody know how to get hdmi audio from xfx 7950 ?
 
In BIOS for the setting "Init Display First" I select the option IGFX instead of Auto. (My mobo is the UD5H)


No matter how many times I set it to IGFX, when I save and my system restarts, it's in Auto again.


What can i do?
 
I have a MSI Z77A-G43 motherboard with an ATI Radeon 7950 video card. I installed a fresh copy of Mountain Lion and was able to boot into it with GraphicsEnabler=no. I then updated with 10.8.3 Combo update and restarted. I was never able to boot back into it and safe mode does not work either. Please help what should I do?
 
In BIOS for the setting "Init Display First" I select the option IGFX instead of Auto.

No matter how many times I set it to IGFX, when I save and my system restarts, it's in Auto again.

What can i do?

i had the same problem.. use MK500's guide thats the only way i got it to work for me
 
In BIOS for the setting "Init Display First" I select the option IGFX instead of Auto. (My mobo is the UD5H)


No matter how many times I set it to IGFX, when I save and my system restarts, it's in Auto again.


What can i do?

Nothing; your computer is acting as it should.

When you disable the internal graphics--then there is no longer any IGFX--therefore setting the IGFX to primary display is not valid. The computer sees this and reverts it back to auto.

When the OP is saying "set the IGFX to the primary display" he means that you must have the 'internal graphics' enabled or set to Auto in order for you to select it as an 'always on' primary display option.

This was a slight mixup in his instructions though that is the case.

If you have the Internal Graphics e.g. HD4000 paired with a Radeon card and you set the Internal Graphics to Enabled or Auto and select IGFX to the primary driver, your Hack will likely boot into the OSX without the sleep trick and work flawlessly with the Radeon as the main graphics card when inside OSX. The only drawback to this is that if you are dual-booting--whether from the same HD or separate one--Windows will always use the Internal graphics if it is set to the primary display. Since we are wanting to eliminate the need to have to constantly reconfigure options, this will add more tedium.
 
OK, how about this? I want a certain network volume mounted as soon as I boot, and there's no reason you can't use the same technique to do this screen-rotation trick. First create the file /Library/LaunchDaemons/localboot.plist, and put this in...

Thank you Wundorn for LaunchDaemon idea and script! The shell script is working great for me. I can "Screen Share" into my computer after boot and run the script and my screens come right up.

The problem is that the localboot.plist is not working as it should at boot. It could be that it's happening at the wrong time; or not at all. Any suggestions on troubleshooting the problem and improving your idea? I'd love to document the procedure in my build thread to make it even easier for new 7xxx users.

Is the /Library/LaunchDaemons/localboot.plist process working for others automatically at boot, or only the AppleScript?
 
Status
Not open for further replies.
Back
Top