Bug#629418: nvidia-glx: PowerMizer doesn't detect change in power source

Diggory Hardy diggory.hardy at gmail.com
Mon Jun 6 14:16:19 UTC 2011


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 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 noticed that OpenSUSE running on the same laptop detects the power source correctly, so might this have something to do withpackaging? Looks like I have 260.19.44 installed on openSUSE and 270.41.19 on this debian system.



-- Package-specific info:
uname -a:
Linux SwissTPH-dhardy 2.6.38-2-amd64 #1 SMP Sun May 8 13:51:57 UTC 2011 x86_64 GNU/Linux

/proc/version:
Linux version 2.6.38-2-amd64 (Debian 2.6.38-5) (ben at decadent.org.uk) (gcc version 4.4.6 (Debian 4.4.6-3) ) #1 SMP Sun May 8 13:51:57 UTC 2011

/proc/driver/nvidia/version:
NVRM version: NVIDIA UNIX x86_64 Kernel Module  270.41.19  Mon May 16 23:32:08 PDT 2011
GCC version:  gcc version 4.4.6 (Debian 4.4.6-3) 

lspci 'VGA compatible controller [0300]':
01:00.0 VGA compatible controller [0300]: nVidia Corporation GT218 [NVS 3100M] [10de:0a6c] (rev a2) (prog-if 00 [VGA controller])
	Subsystem: Lenovo ThinkPad T410 [17aa:2142]
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0
	Interrupt: pin A routed to IRQ 16
	Region 0: Memory at cc000000 (32-bit, non-prefetchable) [size=16M]
	Region 1: Memory at d0000000 (64-bit, prefetchable) [size=256M]
	Region 3: Memory at ce000000 (64-bit, prefetchable) [size=32M]
	Region 5: I/O ports at 2000 [size=128]
	[virtual] Expansion ROM at cd000000 [disabled] [size=512K]
	Capabilities: <access denied>
	Kernel driver in use: nvidia

OpenGL and NVIDIA library files installed:
lrwxrwxrwx 1 root root       37 Jun  4 12:46 /etc/alternatives/ia32-libGL.so -> /usr/lib32/nvidia/diversions/libGL.so
lrwxrwxrwx 1 root root       28 Apr  7 11:49 /etc/alternatives/ia32-libGL.so.1 -> /usr/lib32/nvidia/libGL.so.1
lrwxrwxrwx 1 root root       35 Dec  1  2010 /etc/alternatives/libGL.so -> /usr/lib/nvidia/diversions/libGL.so
lrwxrwxrwx 1 root root       26 Jun  4 12:46 /etc/alternatives/libGL.so.1 -> /usr/lib/nvidia/libGL.so.1
lrwxrwxrwx 1 root root       26 Dec  1  2010 /usr/lib/libGL.so -> /etc/alternatives/libGL.so
lrwxrwxrwx 1 root root       28 Jun  4 12:46 /usr/lib/libGL.so.1 -> /etc/alternatives/libGL.so.1
lrwxrwxrwx 1 root root       26 May 25 08:52 /usr/lib/libnvidia-cfg.so.1 -> libnvidia-cfg.so.270.41.19
-rw-r--r-- 1 root root   133064 May 17 08:52 /usr/lib/libnvidia-cfg.so.270.41.19
-rw-r--r-- 1 root root 27484752 May 17 08:47 /usr/lib/libnvidia-glcore.so.270.41.19
-rw-r--r-- 1 root root     6008 May 17 08:51 /usr/lib/libnvidia-tls.so.270.41.19
lrwxrwxrwx 1 root root       31 Jun  4 12:46 /usr/lib32/libGL.so -> /etc/alternatives/ia32-libGL.so
lrwxrwxrwx 1 root root       33 Apr  7 11:49 /usr/lib32/libGL.so.1 -> /etc/alternatives/ia32-libGL.so.1
-rw-r--r-- 1 root root 24182932 May 17 08:48 /usr/lib32/libnvidia-glcore.so.270.41.19
-rw-r--r-- 1 root root     4504 May 17 08:51 /usr/lib32/libnvidia-tls.so.270.41.19

/usr/lib/nvidia:
total 7340
drwxr-xr-x   3 root root    4096 Jun  4 12:42 .
drwxr-xr-x 233 root root  139264 Jun  6 15:28 ..
-rwxr-xr-x   1 root root    1338 May 16 03:01 check-for-conflicting-opengl-libraries
drwxr-xr-x   2 root root    4096 Jun  4 12:41 diversions
lrwxrwxrwx   1 root root      18 May 25 08:52 libGL.so.1 -> libGL.so.270.41.19
-rw-r--r--   1 root root 1008272 May 17 08:48 libGL.so.270.41.19
lrwxrwxrwx   1 root root      19 May 25 08:52 libglx.so -> libglx.so.270.41.19
-rw-r--r--   1 root root 6327720 May 17 08:51 libglx.so.270.41.19
-rwxr-xr-x   1 root root     441 May 16 03:01 pre-install

/usr/lib/nvidia/diversions:
total 916
drwxr-xr-x 2 root root   4096 Jun  4 12:41 .
drwxr-xr-x 3 root root   4096 Jun  4 12:42 ..
-rw-r--r-- 1 root root    189 Mar 22 07:38 dummy.txt
lrwxrwxrwx 1 root root     10 May  2 12:39 libGL.so -> libGL.so.1
lrwxrwxrwx 1 root root     12 May  2 12:39 libGL.so.1 -> libGL.so.1.2
-rw-r--r-- 1 root root 474024 May  2 12:39 libGL.so.1.2
-rw-r--r-- 1 root root 438632 May 26 11:13 libglx.so

/usr/lib32/nvidia:
total 816
drwxr-xr-x  3 root root   4096 Jun  4 12:42 .
drwxr-xr-x 35 root root  40960 Jun  4 12:46 ..
drwxr-xr-x  2 root root   4096 Jun  4 12:45 diversions
lrwxrwxrwx  1 root root     18 May 25 08:52 libGL.so.1 -> libGL.so.270.41.19
-rw-r--r--  1 root root 781540 May 17 08:48 libGL.so.270.41.19

/usr/lib32/nvidia/diversions:
total 408
drwxr-xr-x 2 root root   4096 Jun  4 12:45 .
drwxr-xr-x 3 root root   4096 Jun  4 12:42 ..
lrwxrwxrwx 1 root root     10 Jun  4 12:45 libGL.so -> libGL.so.1
lrwxrwxrwx 1 root root     12 Mar 22 14:07 libGL.so.1 -> libGL.so.1.2
-rw-r--r-- 1 root root 401528 Jul 15  2010 libGL.so.1.2

Files from nvidia-installer:


-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.38-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages nvidia-glx depends on:
ii  dpkg                         1.16.0.3    Debian package management system
ii  libc6                        2.13-4      Embedded GNU C Library: Shared lib
ii  libgl1-nvidia-glx [libgl1-nv 270.41.19-1 NVIDIA binary OpenGL libraries
ii  libglx-nvidia-alternatives   270.41.19-1 simplifies replacing Xorg module l
ii  nvidia-installer-cleanup     20110515+1  Cleanup after driver installation 
ii  nvidia-kernel-dkms [nvidia-k 270.41.19-1 NVIDIA binary kernel module DKMS s
ii  nvidia-support               20110515+1  NVIDIA binary graphics driver supp
ii  xserver-xorg-core [xorg-vide 2:1.10.1-2r Xorg X server - core server

Versions of packages nvidia-glx recommends:
ii  nvidia-vdpau-driver          270.41.19-1 NVIDIA vdpau driver

Versions of packages nvidia-glx suggests:
ii  nvidia-kernel-dkms [nvidia-k 270.41.19-1 NVIDIA binary kernel module DKMS s
ii  nvidia-kernel-source         270.41.19-1 NVIDIA binary kernel module source
ii  nvidia-settings              270.41.06-1 Tool for configuring the NVIDIA gr

Versions of packages nvidia-kernel-dkms depends on:
ii  dkms                          2.1.1.2-6  Dynamic Kernel Module Support Fram
ii  nvidia-kernel-common          20110515+1 NVIDIA binary kernel module suppor

nvidia-kernel-dkms recommends no packages.

Versions of packages nvidia-kernel-source depends on:
ii  debhelper                     8.1.6      helper programs for debian/rules
ii  make                          3.81-8.1   An utility for Directing compilati
ii  quilt                         0.48-7     Tool to work with series of patche

Versions of packages nvidia-kernel-source recommends:
ii  kernel-package               12.036+nmu1 A utility for building Linux kerne
ii  module-assistant             0.11.3      tool to make module package creati
ii  nvidia-kernel-common         20110515+1  NVIDIA binary kernel module suppor

nvidia-kernel-source suggests no packages.

Versions of packages nvidia-glx is related to:
ii  linux-headers-2.6-amd6 2.6.38+34         Header files for Linux 2.6-amd64 (
ii  linux-headers-2.6.32-5 2.6.32-34squeeze1 Header files for Linux 2.6.32-5-am
ii  linux-headers-2.6.38-2 2.6.38-5          Header files for Linux 2.6.38-2-am
ii  nvidia-glx [nvidia-glx 270.41.19-1       NVIDIA binary Xorg driver
ii  nvidia-kernel-common   20110515+1        NVIDIA binary kernel module suppor
ii  nvidia-kernel-dkms [nv 270.41.19-1       NVIDIA binary kernel module DKMS s
ii  nvidia-kernel-source   270.41.19-1       NVIDIA binary kernel module source
ii  xserver-xorg           1:7.6+6           the X.Org X server
ii  xserver-xorg-core      2:1.10.1-2r       Xorg X server - core server

-- no debconf information





More information about the pkg-nvidia-devel mailing list