I was recently playing with Xgl, and I noticed that my ACPI script for controlling ATI's powerplay settings (ati-powermode.sh) no longer worked. I had already patched the file to use "who" rather than "finger" to get the correct user for the Xorg display number. After some playing around with some scripts found on the Wiki I was able to get it working. I will post a patch for to solve this problem, although its a tad hackish and I am not certain it will for for all ati users.
Created attachment 91820 [details, diff] Patch to check for Xgl and and adjust display number For reference, I already submitted a patch for the ati-powermode.sh that will work for non-Xgl users. http://bugs.gentoo.org/show_bug.cgi?id=139436 The patch submitted is the above patch plus a check/compensation for Xgl users. It works on my laptop, suggestions welcome.
Created attachment 91821 [details, diff] This patch will heavily modify the original ati-powermode.sh This patch will heavily modify the original ati-powermode.sh This patch incorporates the previously posted patch, and adds a level of customization for those who want it. Some users have found that the default setting of "--set-powerstate=1" is too slow, and the system becomes unpleasant to use (not so much unusable but close).
Is this still valid? Recent ATI drivers also support AIGLX...
Xgl is dead and we no longer ship it. There's nothing to fix anymore. Thanks