Package Details: nvidiabl 0.88-3

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

Latest Comments

specter66 commented on 2016-11-09 14:15

For anyone getting various build errors through yaourt or makepkg:

1. Grab all the new files from here: https://github.com/manjaro/packages-extra/tree/master/linux48-extramodules/nvidiabl, and add them to the working directory that makepkg will operate from.

2. As kahlil88 said below, replace the source=(https://...) with this, starting on line 22-

source=(https://github.com/guillaumezin/nvidiabl/archive/master.zip
nvidiabl-master.patch
kernel-4.8.patch)

3. On or about line 28 after the array of MD5's, add this in place of whatever is there-

prepare() {
cd "${srcdir}/nvidiabl-master/"
patch -p1 -i "${srcdir}/nvidiabl-master.patch"
patch -p1 -i "${srcdir}/kernel-4.8.patch"
}

4. Use makepkg -g to generate new MD5's after you've done that and saved the file, and replace the entire array starting on line 25 of the PKGBUILD with the output from terminal.

5. On line 4 of the PKGBUILD, remove the 48 from linuxprefix=linux48

6. Totally replace line 5 with this-

_extramodules="extramodules-$(uname -r | cut -f-2 -d'.')-$(uname -r|sed -e 's/.*-//g')"

7. makepkg -sri


It built properly for me with those changes, and it's working as advertised.

kahlil88 commented on 2016-10-30 23:06

https://github.com/manjaro/packages-extra/tree/master/linux48-extramodules/nvidiabl
Grab the kernel-4.8.patch from here and include in the PKGBUILD

source=(https://github.com/guillaumezin/nvidiabl/archive/master.zip
nvidiabl-master.patch
kernel-4.8.patch)
md5sums=('5fdda33fedcb78320c1581e84b395d39'
'79e5699da970908d6ec8dba114df87cb'
'd94abebc5f40586fbed015d9fab29a37')

prepare() {
cd "${srcdir}/nvidiabl-master/"
patch -p1 -i "${srcdir}/nvidiabl-master.patch"
patch -p1 -i "${srcdir}/kernel-4.8.patch"
}

specter66 commented on 2016-10-26 13:34

showing a validity check failure prior to build

alexhawke commented on 2016-10-25 04:01

Build error after upgrading to new kernel.

.../nvidiabl/src/nvidiabl-master/nvidiabl-module.c:33:0:
.../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]
#warning USE_BACKLIGHT_SUSPEND
^~~~~~~
.../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

Disowned

All comments