smartdimmer doesn't increase brightness

Bug #422220 reported by andrew
28
This bug affects 4 people
Affects Status Importance Assigned to Milestone
nvclock (Ubuntu)
Confirmed
Low
TJ

Bug Description

Binary package hint: nvclock

The default brightness applet cannot adjust the brightness on my laptop (Sony Vaio FE890, nVidia Geforce Go 7600), so I use smartdimmer instead. smartdimmer -s will set the brightness correctly, and smartdimmer -d will decrease the brightness, but smartdimmer -i does nothing. I am using Ubuntu 9.10 Karmic Koala Alpha 4 32-bit, but this bug also occurs in the official release of Ubuntu 9.04.

ProblemType: Bug
Architecture: i386
Date: Mon Aug 31 15:09:54 2009
DistroRelease: Ubuntu 9.10
NonfreeKernelModules: nvidia
Package: smartdimmer 0.8b4-1ubuntu2
ProcEnviron:
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-5.24-generic
SourcePackage: nvclock
Uname: Linux 2.6.31-5-generic i686

Revision history for this message
andrew (ar144) wrote :
Revision history for this message
Jef van Schendel (schendje) wrote :

I think I have a similar problem here. I've never been able to use the brightness buttons on my HP laptop (an 8510w) so I used "nvclock -S" to set it. When pressing the Fn keys it changes the brightness in the notification, but the real brightness stays the same.

When using smartdimmer, -s works but both -d and -i don't.

Ubuntu 9.04 here, HP 8510w, NVIDIA Quadro FX 570M.

(If I need to file a new bug just tell me.)

Revision history for this message
Dogge (martin-dosch) wrote :

while smartdimmer -s and smartdimmer -d are working smartdimmer -i doesn't work here, too.

Xubuntu Release: 9.10
Smartdimmer & NVClock Version: 0.8b4-1ubuntu2
NVIDIA Graphics Driver Version: 190.53

$ uname -a
Linux schlepptop 2.6.31-17-generic #54-Ubuntu SMP Thu Dec 10 16:20:31 UTC 2009 i686 GNU/Linux

Hardware: Samsung X11 T5500 CeSeba [1] with NVIDIA GeForce Go 7400.

[1] http://www.amazon.de/Samsung-X11-T5500-CeSeba-Widescreen-Notebook/dp/B000INHGDI/ref=cm_cr_pr_product_top/280-4673958-5967758

description: updated
Revision history for this message
Leo S. (leo-santak) wrote :

I was able to confirm this bug. smardimmer -i didn't work for me either.

Hardware: Sony Vaio VGN-FE21H with its Nvidia GeForce Go 7400

Kubuntu: 9.10
NVIDIA driver version: 173.14.20

$ uname -a
Linux laptop 2.6.31-19-generic #56-Ubuntu SMP Thu Jan 28 01:26:53 UTC 2010 i686 GNU/Linux

nvclock: nvclock0.8b4-1ubuntu2

This bug is caused by a simple integer arithmetic issues in nv40.c (and nv50.c).
Changing the step width for the increase and decrease (for completeness ) of the background brightness from 1 to 5 fixed this problem.
The below patch works fine for me. I can't test it for any side-effects with other cards.

Revision history for this message
Leo S. (leo-santak) wrote :
Revision history for this message
Damian Nadales (dnadales) wrote :

Does anybody around here knows how to set up things in the system so that nvclock is used instead of the standard method whenever the dim keys are pressed?

TJ (tj)
Changed in nvclock (Ubuntu):
assignee: nobody → TJ (tj)
importance: Undecided → Low
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.