BeamSyncDropper – Tool to disable BeamSync permanently.

Discussion in 'Customization' started by Withoutaface, Mar 11, 2013.

Tags:
  1. Withoutaface

    Withoutaface

    Joined:
    May 2, 2012
    Messages:
    47
    Motherboard:
    DC3217IYE
    CPU:
    i3-3217U
    Graphics:
    Intel HD4000
    Mar 11, 2013 at 12:51 AM #1
    Withoutaface

    Withoutaface

    Joined:
    May 2, 2012
    Messages:
    47
    Motherboard:
    DC3217IYE
    CPU:
    i3-3217U
    Graphics:
    Intel HD4000
    Hello all,

    after a lot of time trying to hack my Acer Notebook with OS X higher then 10.7.1, i noticed that disabling BeamSync with QuartzDebug is a solution for me.

    It's like pressing a 'magic-button' :). All …
    glitches,
    system lags,
    hangs,
    unusable mission control,
    main-ring-hangs in kernel.log
    …disappeared.
    OK... little tearing effect is there while moving windows very fast but it's because i disabled BeamSync ;). I have nothing else on the con side.

    I can't explain in detail why it has this effect for me but i think it skips now some not proper working 'alignment job' between display and display-driver. I guess that my laptop screen isn't compatible with the newer osx HD3000 drivers (external hdmi monitors worked fine). I also tried a lot of solutions for my Laptop before. Like GraphicGlitchFix, connector patching, creating display edid and so on.

    At first i used a applescript to open QuartzDebug, disable BeamSync and kill it so that the effect stays permanently - But it's ugly as hell… :)

    I found no program on the net to do it invisible. After googling a bit i found a code snippet for osx tiger opened Xcode and damned myself being such a objective-c/Xcode novice.

    So if you just like to try it for your machine or you need more fps in you favorite game
    (I read some guys have performance boost with disabled beamsync - dunno)
    here it is:

    #### BeamSyncDropper ####

    --- Just trying: ---
    1. Go to the extracted directory with Terminal
    (example: 'cd /Users/Name/Desktop/BeamSyncDropper2/LionBuild')
    2. chmod 775 BeamSyncDropper2
    3. run with './BeamSyncDropper2'

    Just log off and log in to turn BeamSync on again.

    --- Installation: ---
    1. Copy the file BeamSyncDropper2 to a location (i use '/Extra') and set permissions ('chmod 775 BeamSyncDropper2').
    2. edit the 1 row of the applescript BeamSyncDropper2Starter to your
    path.
    3. Save the script as program (use 'save as' option).
    4. Open system settings, go to user menu and add the script in the start items section.
    5. Logout and login again.

    (If you see a apple script icon in the taskbar for <= 5 sec then it's alive!)

    Note: I only tested the tool on 10.7.5 and 10.8.2

    enjoy!

    [Upd 14.03] WARNING: Tool will add key Compositor to com.apple.windowserver.plist. I can confirm this on 10.7.5 and 10.8.2.
    If you have trouble after using my tool please run the following command in terminal:
    "sudo defaults delete /Library/Preferences/com.apple.windowserver.plist Compositor"
    Many thanks to nyolc8!

    [Upd 20.09.13] v2 version released! Now with -stop -start and -force parameter to turn Beam Sync on and off directly. Post #12 !!!
     

    Attached Files:

  2. RehabMan

    RehabMan Moderator

    Joined:
    May 3, 2012
    Messages:
    190,237
    Motherboard:
    Intel DH67BL
    CPU:
    Core i7-2600K
    Graphics:
    Intel HD 3000
    Mac:
    MacBook Air
    Mobile Phone:
    iOS
    Mar 11, 2013 at 1:13 AM #2
    RehabMan

    RehabMan Moderator

    Joined:
    May 3, 2012
    Messages:
    190,237
    Motherboard:
    Intel DH67BL
    CPU:
    Core i7-2600K
    Graphics:
    Intel HD 3000
    Mac:
    MacBook Air
    Mobile Phone:
    iOS
    Do you plan to publish the source code? Might be a bit more educational if you did...
     
  3. Withoutaface

    Withoutaface

    Joined:
    May 2, 2012
    Messages:
    47
    Motherboard:
    DC3217IYE
    CPU:
    i3-3217U
    Graphics:
    Intel HD4000
    Mar 11, 2013 at 6:30 PM #3
    Withoutaface

    Withoutaface

    Joined:
    May 2, 2012
    Messages:
    47
    Motherboard:
    DC3217IYE
    CPU:
    i3-3217U
    Graphics:
    Intel HD4000
    Hello RehabMan,

    did not plan to publish the code. But there is no reason to not do :) So here it is.

    You have to link the code with GraphicsCore library to compile it with SDK 10.8 (or Cocoa library for SDK 10.7).
     

    Attached Files:

  4. RehabMan

    RehabMan Moderator

    Joined:
    May 3, 2012
    Messages:
    190,237
    Motherboard:
    Intel DH67BL
    CPU:
    Core i7-2600K
    Graphics:
    Intel HD 3000
    Mac:
    MacBook Air
    Mobile Phone:
    iOS
    Mar 12, 2013 at 2:33 PM #4
    RehabMan

    RehabMan Moderator

    Joined:
    May 3, 2012
    Messages:
    190,237
    Motherboard:
    Intel DH67BL
    CPU:
    Core i7-2600K
    Graphics:
    Intel HD 3000
    Mac:
    MacBook Air
    Mobile Phone:
    iOS
    Thanks, I was just kind of curious what it did. Seems like it is manipulating the same stuff Quartz Debug...
     
  5. nyolc8

    nyolc8

    Joined:
    Oct 11, 2011
    Messages:
    42
    Motherboard:
    Mountain Lion 10.8.2
    CPU:
    Intel Core 2 Duo 2.66Ghz (OC 3Ghz)
    Graphics:
    Sapphire AMD Radeon HD 4830 512MB
    Mobile Phone:
    iOS
    Mar 14, 2013 at 5:15 PM #5
    nyolc8

    nyolc8

    Joined:
    Oct 11, 2011
    Messages:
    42
    Motherboard:
    Mountain Lion 10.8.2
    CPU:
    Intel Core 2 Duo 2.66Ghz (OC 3Ghz)
    Graphics:
    Sapphire AMD Radeon HD 4830 512MB
    Mobile Phone:
    iOS
    Tried, it removed some stuttering, but for example at launchpad, I get the same effect as when I play a game with v-sync off. So the screen getting glitchy when many thing moving on the screen.
    Anyway, thanks for sharing, it's interesting.


    edit.: so I just tried it (just ran throught terminal) and this thing f.cked up my beamsync or something because now every animation sucks even after restart... So... how to make it good again? Is this thing make some change in a plist or something? Maybe some cache file? Please help because now my system fcked up.

    edit2.: so tried to create a new user, but the problem is the same with that... EVERY (windows opening, mission control, notification center opening, scrolling, etc..) animation stuttering now... really badly. How to fix this? It was nice before trying this thing....

    edit3.: FIXED! Needed to delete "Compositor" key from "com.apple.windowserver.plist" file. Your tool makes this key in that file and messes up the animations. But it can be fixed with this Terminal command:
    Code:
    sudo defaults delete /Library/Preferences/com.apple.windowserver.plist Compositor
     
  6. Withoutaface

    Withoutaface

    Joined:
    May 2, 2012
    Messages:
    47
    Motherboard:
    DC3217IYE
    CPU:
    i3-3217U
    Graphics:
    Intel HD4000
    Mar 14, 2013 at 10:29 PM #6
    Withoutaface

    Withoutaface

    Joined:
    May 2, 2012
    Messages:
    47
    Motherboard:
    DC3217IYE
    CPU:
    i3-3217U
    Graphics:
    Intel HD4000
    I'm really sorry for the trouble you ran into. Did'nt noticed such effects with my Desktop @ 10.8.2

    Thanks for testing and reporting your experience. I will add the fix to the first post.
     
  7. kcuneyt

    kcuneyt

    Joined:
    Feb 19, 2011
    Messages:
    13
    Motherboard:
    Hackintosh
    CPU:
    q8300
    Graphics:
    8600gtx2
    Mar 19, 2013 at 2:44 PM #7
    kcuneyt

    kcuneyt

    Joined:
    Feb 19, 2011
    Messages:
    13
    Motherboard:
    Hackintosh
    CPU:
    q8300
    Graphics:
    8600gtx2
    Hello There... Thank you for your effort, since i have been waiting this tool for a very very long time...

    The thing I want to ask is :

    How to revert this back? everything? Because after deleting the starter from the login items and performing the "sudo compositor" trick, it does not revert back, in other words, with the Force Beam enabled, it is slower than ever before...

    Again, and agin, thank you for this wonderful tool...
     
  8. Withoutaface

    Withoutaface

    Joined:
    May 2, 2012
    Messages:
    47
    Motherboard:
    DC3217IYE
    CPU:
    i3-3217U
    Graphics:
    Intel HD4000
    Mar 19, 2013 at 10:06 PM #8
    Withoutaface

    Withoutaface

    Joined:
    May 2, 2012
    Messages:
    47
    Motherboard:
    DC3217IYE
    CPU:
    i3-3217U
    Graphics:
    Intel HD4000
    Try to run Quartz Debug. It will enable BeamSync everytime you run and close it. There is also a little gui to switch between BeamSync on and off.
    You can get it from the probook installer:
    http://www.tonymacx86.com/hp-probook/78407-hp-probook-installer-6-a.html

    Normally these steps shall uninstall the tool:
    1.) delete Starter from the start up items
    2.) the sudo compositor command
    3.) a restart

    What osx version do you use?
     
  9. kcuneyt

    kcuneyt

    Joined:
    Feb 19, 2011
    Messages:
    13
    Motherboard:
    Hackintosh
    CPU:
    q8300
    Graphics:
    8600gtx2
    Mar 19, 2013 at 10:22 PM #9
    kcuneyt

    kcuneyt

    Joined:
    Feb 19, 2011
    Messages:
    13
    Motherboard:
    Hackintosh
    CPU:
    q8300
    Graphics:
    8600gtx2
    It's 10.8.3 and nope, the steps you are telling is not the solution, it think, i tried everything only the Quartz Debug option is bringing the Beam Sync optin to automatic, so problem solved :) Thank You
     
  10. Withoutaface

    Withoutaface

    Joined:
    May 2, 2012
    Messages:
    47
    Motherboard:
    DC3217IYE
    CPU:
    i3-3217U
    Graphics:
    Intel HD4000
    Mar 19, 2013 at 10:40 PM #10
    Withoutaface

    Withoutaface

    Joined:
    May 2, 2012
    Messages:
    47
    Motherboard:
    DC3217IYE
    CPU:
    i3-3217U
    Graphics:
    Intel HD4000
    Good to know :)

    I think i will provide a update soon where you can switch between enabled an disabled with a parameter.
    So that it will be more comfortable to use.

    Thank you for your feedback!
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice