Bug#629418: nvidia-glx: PowerMizer doesn't detect change in power source
diggory.hardy at gmail.com
Tue Jun 7 19:20:15 UTC 2011
Sorry, correct link is as follows (but you've probably seen the page
The nvidia-packaged nvidia-settings has the exact same output, as you
expected (also when querying GPUCurrentPerfLevel and GPUCurrentClockFreqs).
I was surprised earlier to find "nvidia-settings -q GPUPowerSource -t" did
list the computer as being on battery power. This was after resuming from
standby on battery power. After plugging it back in to a power source, it
didn't immediately say the laptop had changed to AC power, but coming back
perhaps half an hour later it did, so it appears it *is* detecting changes
in power source, but not for several minutes at least (when tested on
openSUSE it was immediate).
I have also noticed KDE's battery meter is often completely wrong, but
that's probably totally unrelated. /sys/class/power_supply/AC/online changes
immediately in response to disconnecting/connecting the power supply, as
well as the tp_smapi interface.
On 6 June 2011 19:55, Andreas Beckmann <debian at abeckmann.de> wrote:
> On 2011-06-06 16:16, Diggory Hardy wrote:
> > Package: nvidia-glx
> > Version: 270.41.19-1
> > Severity: normal
> > I have set up nvidia's PowerMizer to use different profiles on mains
> > and battery power as documented at
> > http://tutanhamon.com.a/technovodstvo/NVIDIA-UNIX-driver/ , however
> incorrect URL
> > according to nvidia-settings the laptop is always on mains power, even
> > when it's actually running off the battery:
> >> $ nvidia-settings -q GPUPowerSource -t
> >> 0
> I get the same result on my laptop using 270.41.06 driver and several
> versions of nvidia-settings. But I never looked at this before, so I
> can't say whether this was working with older releases.
> Eventually a driver problem.
> > I noticed that OpenSUSE running on the same laptop detects the power
> > source correctly, so might this have something to do withpackaging?
> I don't think so. But as the nvidia-settings package is built from free
> source code, you might want to try the binary built by nvidia. Download
> the driver *.run file from
> ftp://download.nvidia.com/XFree86/Linux-x86_64/ to a temporary directory
> and run it with the --extract-only command line option so that it does
> not start the installer. The nvidia-settings binary can be found in the
> root of the tree that is being extracted. Switch to that directory and run
> ./nvidia-settings -q GPUPowerSource -t
> > Looks like I have 260.19.44 installed on openSUSE and 270.41.19 on
> > this debian system.
> Downgrading to 260.xx does not work due to missing support for Xorg
> 1.10, but eventually you could try the newer driver from experimental
> (275.xx) and see if this was fixed.
> A quick search in the NVIDIA forum found the following threads:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the pkg-nvidia-devel