Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 140554 - Ati POWERPlay does not work with Xgl/binary drivers.
Summary: Ati POWERPlay does not work with Xgl/binary drivers.
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: Highest normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-15 13:24 UTC by Ryan Neufeld
Modified: 2009-08-17 21:01 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch to check for Xgl and and adjust display number (ati-powermode-gentoo-and-Xgl.patch,1.46 KB, patch)
2006-07-15 13:28 UTC, Ryan Neufeld
Details | Diff
This patch will heavily modify the original ati-powermode.sh (ati-powermode-beatryder.patch,4.00 KB, patch)
2006-07-15 13:35 UTC, Ryan Neufeld
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ryan Neufeld 2006-07-15 13:24:12 UTC
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.
Comment 1 Ryan Neufeld 2006-07-15 13:28:55 UTC
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.
Comment 2 Ryan Neufeld 2006-07-15 13:35:38 UTC
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).
Comment 3 Pacho Ramos gentoo-dev 2008-06-20 11:00:04 UTC
Is this still valid? Recent ATI drivers also support AIGLX...
Comment 4 Rémi Cardona (RETIRED) gentoo-dev 2009-08-17 21:01:21 UTC
Xgl is dead and we no longer ship it. There's nothing to fix anymore.

Thanks