Package Details: nvidiabl 0.88-3

Git Clone URL: (read-only)
Package Base: nvidiabl
Description: Backlight driver for NVidia graphics adapters
Upstream URL:
Licenses: GPL
Conflicts: nvidia-bl, nvidiablctl
Submitter: uwinkelvos
Maintainer: None
Last Packager: padfoot
Votes: 41
Popularity: 0.990633
First Submitted: 2011-07-15 21:39
Last Updated: 2015-06-10 08:51

Latest Comments

alexhawke commented on 2016-10-25 04:01

Build error after upgrading to new kernel.

.../nvidiabl/src/nvidiabl-master/nvidiabl-models.h:24:8: error: type defaults to ‘int’ in declaration of ‘DEFINE_PCI_DEVICE_TABLE’ [-Werror=implicit-int]
extern DEFINE_PCI_DEVICE_TABLE(nvidiabl_device_table);
.../nvidiabl/src/nvidiabl-master/nvidiabl-models.h:24:1: warning: parameter names (without types) in function declaration
extern DEFINE_PCI_DEVICE_TABLE(nvidiabl_device_table);
.../nvidiabl/src/nvidiabl-master/nvidiabl-module.c:37:3: warning: #warning USE_BACKLIGHT_SUSPEND [-Wcpp]
.../nvidiabl/src/nvidiabl-master/nvidiabl-module.c: In function ‘nvidiabl_match_id’:
.../nvidiabl/src/nvidiabl-master/nvidiabl-module.c:134:48: error: ‘nvidiabl_device_table’ undeclared (first use in this function)
const struct pci_device_id *id = pci_match_id(nvidiabl_device_table, dev);
...nvidiabl/src/nvidiabl-master/nvidiabl-module.c:134:48: note: each undeclared identifier is reported only once for each function it appears in

padfoot commented on 2016-05-26 08:09

zierler-f, if you are having issues and are using scripts to set the backlight using either nvidiablctl or directly setting /sys/class/backlight/nvidia_backlight/brightness, and you have acpid running, then acpi is also changing the backlight.

While nvidiabl uses /sys/class/backlight/nvidia_backlight, acpid uses /sys/class/backlight/acpi_videoX and adjusts the backlight elsewhere....I am trying to work out where myself as I don't have xbacklight installed and it does not appear to be using xrandr.

padfoot commented on 2016-05-26 08:03

@ zierler-f I don't see why not. Using 4.5.4 here and it is working perfectly.

zierler-f commented on 2016-05-25 10:21

Should this work with 4.4.11?

padfoot commented on 2015-06-10 08:34

This package now includes the nvidiablctl control script by default.

padfoot commented on 2015-05-22 08:22

Updated to 0.88 and patched.

MrMen commented on 2015-05-17 10:05


kahlil88 commented on 2015-05-17 10:01

@padfoot: I can't get this to build with your modifications. Keeps giving me patch errors.

patch: **** malformed patch at line 7: for (iii = 0 ; iii < sizeof(backlight_type_ids) ; iii++) {

padfoot commented on 2015-05-08 07:43

Got this building and working again for me with the following:

Change the PKGBUILD as follows:
source=($pkgname-$pkgver-source-only.dkms.tar.gz nvidiabl.patch)

Add a prepare function to the PKGBUILD:
prepare() {
cd "$srcdir/dkms_source_tree/"
patch -p1 -i $srcdir/nvidiabl.patch

And add the following file called nvidiabl.patch
diff -aur dkms_source_tree.src/nvidiabl-module.c dkms_source_tree.patch/nvidiabl-module.c
--- dkms_source_tree.src/nvidiabl-module.c 2014-04-06 01:43:49.000000000 +1100
+++ dkms_source_tree.patch/nvidiabl-module.c 2015-05-08 17:19:17.546837448 +1000
@@ -214,7 +215,7 @@

for (iii = 0 ; iii < sizeof(backlight_type_ids) ; iii++) {
- if (strnicmp(bl_type, backlight_type_ids[iii].id, sizeof(bl_type)) == 0) {
+ if (strncasecmp(bl_type, backlight_type_ids[iii].id, sizeof(bl_type)) == 0) {
props.type = backlight_type_ids[iii].type;
printk(KERN_INFO "nvidiabl: backlight type is %s\n", backlight_type_ids[iii].id);

Working for me now on kernel >= 4

MrMen commented on 2015-02-15 12:53

I can't see the reason why the package has been flagged out of date…
As I haven't a macbook, I will disown this package.

All comments