guillaumezin / nvidiabl

/!\ Please note that I don't maintain this repository anymore, please have a look at forked projects. /!\
82 stars 82 forks source link

Too many brightness levels #23

Closed igorsa closed 12 years ago

igorsa commented 12 years ago

I've just installed this driver and I'm finally able to control display brightess on my Samsung Q530, equipped with GeForce 310M and running Fedora 14 (GNOME). The only issue i have left is that using Fn keys to control brightness i have about 23 different brightness levels and this is a bit annoying, cos adjusting the brightness takes too much time this way. Is there a way to set the number of levels to a reasonable value? (The 8 levels that i get in Windows would be fine).

Thanks

Since I have to set a max value when i load the driver (when I boot on AC power the max value is detected correctly, but when i unplug the adapter the screen gets very dark even at max brightess, so I set as max the max level detected when on AC power), I'm posting the output of commands i read in other threads, in case this helps.

igor@sabra [~]$ dmesg | grep nvidiabl [ 12.419881] nvidiabl: loading driver version 0.71 [ 12.419908] nvidiabl: Supported Nvidia graphics adapter 10de:0a70:144d:c079 detected [ 12.420194] nvidiabl: backup register value 0x400021d7 [ 12.420198] nvidiabl: using value 0x1df67 as maximum [ 12.420201] nvidiabl: autodetecting off [ 12.420226] nvidiabl: using value 0x0 as off [ 12.420229] nvidiabl: autodetecting minimum [ 12.420232] nvidiabl: minimum is 5% of maximum [ 12.420235] nvidiabl: using value 0x63 as minimum

igor@sabra [~]$ lspci -nn 00:00.0 Host bridge [0600]: Intel Corporation Core Processor DRAM Controller [8086:0044](rev 02) 00:01.0 PCI bridge [0604]: Intel Corporation Core Processor PCI Express x16 Root Port [8086:0045](rev 02) 00:1a.0 USB Controller [0c03]: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller [8086:3b3c](rev 05) 00:1b.0 Audio device [0403]: Intel Corporation 5 Series/3400 Series Chipset High Definition Audio [8086:3b56](rev 05) 00:1c.0 PCI bridge [0604]: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 1 [8086:3b42](rev 05) 00:1c.3 PCI bridge [0604]: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 4 [8086:3b48](rev 05) 00:1d.0 USB Controller [0c03]: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller [8086:3b34](rev 05) 00:1e.0 PCI bridge [0604]: Intel Corporation 82801 Mobile PCI Bridge [8086:2448](rev a5) 00:1f.0 ISA bridge [0601]: Intel Corporation Mobile 5 Series Chipset LPC Interface Controller [8086:3b09](rev 05) 00:1f.2 SATA controller [0106]: Intel Corporation 5 Series/3400 Series Chipset 4 port SATA AHCI Controller [8086:3b29](rev 05) 00:1f.3 SMBus [0c05]: Intel Corporation 5 Series/3400 Series Chipset SMBus Controller [8086:3b30](rev 05) 02:00.0 VGA compatible controller [0300]: nVidia Corporation GT218 [GeForce 310M] [10de:0a70](rev a2) 02:00.1 Audio device [0403]: nVidia Corporation High Definition Audio Controller [10de:0be3](rev a1) 03:00.0 Network controller [0280]: Broadcom Corporation BCM4313 802.11b/g LP-PHY [14e4:4727](rev 01) 05:00.0 Ethernet controller [0200]: Marvell Technology Group Ltd. 88E8040 PCI-E Fast Ethernet Controller [11ab:4354] 3f:00.0 Host bridge [0600]: Intel Corporation Core Processor QuickPath Architecture Generic Non-core Registers [8086:2c62](rev 02) 3f:00.1 Host bridge [0600]: Intel Corporation Core Processor QuickPath Architecture System Address Decoder [8086:2d01](rev 02) 3f:02.0 Host bridge [0600]: Intel Corporation Core Processor QPI Link 0 [8086:2d10](rev 02) 3f:02.1 Host bridge [0600]: Intel Corporation Core Processor QPI Physical 0 [8086:2d11](rev 02) 3f:02.2 Host bridge [0600]: Intel Corporation Core Processor Reserved [8086:2d12](rev 02) 3f:02.3 Host bridge [0600]: Intel Corporation Core Processor Reserved [8086:2d13](rev 02)

igor@sabra [~]$ cat /sys/class/dmi/id/sys_vendor SAMSUNG ELECTRONICS CO., LTD.

igor@sabra [~]$ cat /sys/class/dmi/id/product_name Q430/Q530

guillaumezin commented 12 years ago

Hello,

The driver doesn't fix the number of backlight steps. Indeed, this is not true, this driver is using internally 128 steps. Your problem has more to do with the way Gnome Power Manager and your distro is handling Fn keys. I would suggest to ask directly on Fedora's forum as I have no experience on this distro recently.

Thank you for your settings, they will be applied automatically starting next release (version 0.72).

Best regards.

Guillaume Zin