I'm glad I helped at least a little bit. It seems you may have a bit different problem than me, I was just hoping the same solution would work for you.
I don't know what is the "gamma output" problem about, you have to google that on your own. However I do have one more piece of advice. The "VGA1" parameter of the xrandr command has to be replaced with one that's valid for your computer, for example, in my case it was VGA-0 (with the dash). You can find out what it is, if you install a package named ARANDR and run it from System => Preferences.
good luck
Bookmarks