OS X: Disable your v-sync


This post falls under the heading of "maybe not the single greatest idea in the world, but perhaps not the worst either." As we all know, Apple, in its infinite wisdom put some (ok, lots of) extra eye candy into OS X when it leaped from 10.4 to 10.5, and as a result you and all your loved ones took a graphics hit moving from Tiger to Leopard. Many argue the hit is minimal, and Leopard has so much more software and hardware compatibility that is more than worth it, a sentiment to which I firmly adhere. I do miss Classic, but otherwise Leopard...rocks. On x86 Linux I got used to doing all kinds of tweaks to get better video performance out of older machines, and one of the main ways was to set the v-sync to blank. Usually this was achieved by clicking a box deep within the bowels of compiz or editing a metacity preference file in nano. I'm no expert, but on LCD monitors I've read the benefits afforded by v-sync are pretty much a non issue. Lets face it, not many people are sitting in front of CRT's in 2013. If I've just deeply insulted Al in Syracuse, who is still in love with his 21inch ViewSonic purchased for $1500 (no, for real) from MacMall back in 1997, I apologize.

Honestly I never knew this tweak was possible in OS X. I thought Apple just locked all of that graphics stuff down tight to keep it away from those pesky end users. Then I stumbled upon a youtube video from a fellow PowerPC enthusiast, which sadly now seems to have been taken down or I'd post a link to it for reference. He had a bunch of good tips for improving graphics performance, most of which are well known, like using a 2-D instead of a 3-D dock, etc, etc. I was just about to stop watching when he showed viewers how to disable v-sync, and that caught my attention.

In order to perform this maneuver safely you'll need to have Xcode installed. If you don't have it its a free download from Apple, you will have to register as a developer and then sign over your first born child for ritual sacrifice, but once that's done its just a 300 MB download. You'll need an older version of Xcode, 3.3.1, as the newer ones are naturally Intel only. It is possible to do this in Text Edit, but personally I lack the intestinal fortitude to do so, see..I once hosed a Panther install fiddling around with a preference file in Text Edit. Xcode makes this simple, and for reasons probably only in my head it feels much safer.

What you want to do is go to your Hard Drive and open up the Library folder, then the Preferences folder. What you are looking for is com.apple.windowserver.plist, right click on that file, if you have Xcode you'll have the Property List Editor as an option, and open it with that. Now under Compositor look for "deferred updates" and set that to zero. Congratulations, you have just set your v-sync to blank on 10.5. There are some other settings which some turn off in there relating to Quartz Extreme and OpenGL but personally, I left those well enough alone.

Now anytime one fools around with system files, especially com.apple.plist's, bad things can happen. So, readers beware, and exercise all due caution. I followed the above steps and nothing bad happened, and, upon reboot I noted some definite improvements in overall window snappiness (such a technical term). Dock minimizations, even the hated "genie" effect were now lightning quick. The vicious tear I had passing my cursor over the dock in 3-D mode was also gone. Personally I use the 2-D dock so it wasn't a huge win for me, but overall this was a satisfying tweak.

On PowerPC OS X in 2013 its all about them little victories.

Help the Children Learn


Today someone, probably well under the age of 15, excitedly sent this Doctor a Youtube link to a recently posted video which they claimed showed a user how to install Flash 11.5 on a PowerPC Mac. It was of course no such thing, just a redo of the old "Facebook" hack which tricks some websites into offering up Flash video to your tired, unsupported, enough security holes to drive a (pun intended) Mack truck through 10.1 Flash plugin. I will not bother to repost the video or link here, as I do not like to spread bad or misleading information around the interwebs. But this does bring up a very important point. PowerPC macs are now so cheap they are an easy entry point for young mac enthusiasts eager to test out the OS X and Linux waters. I think that's great, but as with all things, kids need to be educated. So if you know one of these young PowerPC mac enthusiasts, don't be embarrassed, sit them down and give them the talk. Not that talk, this talk:

"Now young man (or woman), you need to know Adobe Flash was never a great piece of software on PowerPC. It was poorly written and never optimized for your machine. Today its old, and such a crap-tastic performer that will bring your otherwise excellent system to a screeching halt. It should be avoided on OS X PowerPC, at all costs. On PowerPC Linux this is a non issue, as there never was nor will there ever be Flash Player or Plugin. In this here year of 2013 you are far, far better using Flash workarounds. Here are few you can try..

Mactubes. Its been often said that this is an awesome piece of kit that keeps PowerPC Macs alive and well in the age of youtube. Make sure to set your player to Quicktime for best results, and have Perian installed as well. This makes many larger format flash files available for download and playback. The version of Quicktime that works with Mactubes well is 7.6.4.

Youview. This software pretty much does what Mactubes does, but unlike Mactubes you have to pay for certain features, like downloading. But it's handy to have in reserve.

Viewtube. This is a Greasemonkey script for Tenfourfox, it can be made to work with Safari as well by installing SIMBL and Greasekit. First go to Add-ons under tools and install Greasemonkey. You'll have to stick with Tenfourfox 17.X.X, as anything newer has plugins disabled and it just won't work. It works with some other sites besides youtube too, and the developer is a decent guy who is constantly improving and updating the script. It'll also use the Quicktime plugin, but right in the browser.

ClicktoFlash and ClicktoPlugin these work great with Safari (and Leopard webkit). By installing both you can do the same thing your trying to do with the Flash hack, that is, trick the website into believing you have the latest Flash installed. Many websites will then offer you up video. You'll have to click on the "QT Player" logo, and it will launch a standalone Quicktime player.

There are some other methods too, they're a little trickier, so try these ones out first. And remember... on PowerPC the only good Flash is no Flash. Tell all your mac loving friends."

It's a tired old cliche, but the kids really are the future, especially it seems when it comes to PowerPC macs...