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: padfoot
Last Packager: padfoot
Votes: 40
Popularity: 1.071785
First Submitted: 2011-07-15 21:39
Last Updated: 2015-06-10 08:51

Latest Comments

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

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=(https://github.com/guillaumezin/nvidiabl/raw/master/install/tarball/$pkgname-$pkgver-source-only.dkms.tar.gz nvidiabl.patch)
md5sums=('3024170a5e9f678899cd10eb5eb6aab6'
'55b1db746b207d0b5616697955ccdd7b')

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 @@
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,39)

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.

MrMen commented on 2014-05-18 12:39

Update done.
Sorry for multiple mistakes and delay.

All comments