Package Details: nvidia-bl 0.17.3-9

Git Clone URL: https://aur.archlinux.org/nvidia-bl.git (read-only)
Package Base: nvidia-bl
Description: Driver to adjust display backlight on modern mobile NVidia graphics adapters.
Upstream URL: https://launchpad.net/~mactel-support/+archive/ppa
Licenses: GPL
Submitter: paulburton
Maintainer: dlandau
Last Packager: dlandau
Votes: 42
Popularity: 0.759939
First Submitted: 2009-04-11 10:34
Last Updated: 2016-02-20 19:00

Latest Comments

dlandau commented on 2016-02-20 19:00

Fixed, thanks for reporting.

flpa commented on 2016-02-03 18:07

Hi, right now this package can't be built on my machine using makepkg/pacman 5.0.0. The error message states:
`==> ERROR: backup should be an array`

After some research it seems to me like pacman 5 requires this variable to be an array. Wrapping the backupd dir into an array does solve that issue but I do not know whether there are other parts of the PKGBUILD which should be migrated for pacman 5.

Atsuri commented on 2015-09-27 16:24

Builds and works as advertised. Thank you, dlandau!

dlandau commented on 2015-01-11 10:33

Updated, thanks.

antoined commented on 2015-01-03 13:16

Hi, I have issues with this package and makepkg (pacman) 4.2.0 (makepkg returns errors about missing package() function).

I have updated the PKGBUILD (add the package() function) and it's OK for me now.
Here is the updated PKGBUILD: https://gist.github.com/adetante/0b0e9a99436006bc7d19

antoined commented on 2015-01-03 13:16

Hi, I have issues with this package and makepkg (pacman) 4.2.0 (makepkg returns errors about missing package() function).

I have updated the PKGBUILD (add the package() function) and it's OK for me now.
Here is the updated PKBUILD: https://gist.github.com/adetante/0b0e9a99436006bc7d19

antoined commented on 2015-01-03 12:55

Hi, I have troubles to make this package:
makepkg -s
returns an error about missing package() function in PKGBUILD.

makepkg -V
makepkg (pacman) 4.2.0

I think this is due to an incompatible PKGBUILD with my version of makepkg, but I'm new with archlinux and I don't know how to fix it. Any advice would be welcome! Thanks.

magicfish1990 commented on 2013-07-07 01:17

@JoKer the latest official version on PPA is 0.17.3 (Last updated 2011-04-21).
Where did you see 0.18.2, github?

JoKer commented on 2013-07-06 19:51

Hi, is there a reason why you didn't update to 0.18.2?

magicfish1990 commented on 2013-03-18 20:09

@Mr_Men updated, thanks.

MrMen commented on 2013-03-18 19:51

Because of new kernel, __devinitconst is problematic. You should add

sed -i 's/__devinitconst//g' nvidia_bl.c

in PKGBUILD before make || return 1

magicfish1990 commented on 2012-07-15 10:03

@bjpbakker done.

Anonymous comment on 2012-07-14 16:27

Please use /usr/lib instead of /lib as it conflicts with latest glibc update.

Anonymous comment on 2012-06-16 12:16

@magicfish1990 And you don't need to put the module in "kernel/drivers". You can leave it in "extramodules". Thanks.

Anonymous comment on 2012-06-16 12:14

@magicfish1990 You can simply use the symlink /lib/modules/`uname -R`/extramodules. But your solution works. Thanks.

magicfish1990 commented on 2012-06-16 05:42

@damien.flament done.

Anonymous comment on 2012-06-15 22:32

Please, modify the PKGBUILD in order to install the module into the "extramodules" directory to prevent rebuilding when upgrading the kernel.
Thanks.

rwd2 commented on 2012-01-13 19:53

build fails with "FATAL: vmlinux is truncated. sechdrs[i].sh_offset=18446744071588955904 > sizeof(*hrd)=64"

(http://pastebin.com/vRen1guH)

rwd2 commented on 2012-01-13 19:36

build fails with "FATAL: vmlinux is truncated. sechdrs[i].sh_offset=18446744071588955904 > sizeof(*hrd)=64"

(http://pastebin.com/vRen1guH)

The cause seems to be a bug in libarchive that has just been fixed:
https://bbs.archlinux.org/viewtopic.php?id=133138
http://code.google.com/p/libarchive/issues/detail?id=222

rwd2 commented on 2012-01-13 19:36

build fails with "FATAL: vmlinux is truncated. sechdrs[i].sh_offset=18446744071588955904 > sizeof(*hrd)=64"

(http://pastebin.com/vRen1guH)

The cause seems to be a bug in libarchive that is has just been fixed:
https://bbs.archlinux.org/viewtopic.php?id=133138
http://code.google.com/p/libarchive/issues/detail?id=222

rwd2 commented on 2012-01-13 19:32

The cause seems to be a bug in libarchive that is about to be fixed:
https://bbs.archlinux.org/viewtopic.php?id=133138
http://code.google.com/p/libarchive/issues/detail?id=222

rwd2 commented on 2012-01-13 19:28

build fails with "FATAL: vmlinux is truncated. sechdrs[i].sh_offset=18446744071588955904 > sizeof(*hrd)=64"

http://pastebin.com/vRen1guH

rwd2 commented on 2012-01-13 19:28

build fails with "FATAL: vmlinux is truncated. sechdrs[i].sh_offset=18446744071588955904 > sizeof(*hrd)=64"

http://pastebin.com/vRen1guH

omn commented on 2011-08-17 08:41

depends(kernel26>=..) should be replaced by depends(linux>=...)
See, http://www.archlinux.org/news/changes-to-kernel-package-and-filenames/.
Thanks.

omn commented on 2011-08-17 08:41

depends(kernel26>=..) should be replaced by depends(linux>=...)
See, http://www.archlinux.org/news/changes-to-kernel-package-and-filenames/.
Thanks.

Anonymous comment on 2011-08-09 18:20

@shadyabhi Yepp. Same as before, no problems.

Anonymous comment on 2011-08-09 00:15

@shadyabhi, https://aur.archlinux.org/packages.php?ID=50749 worked here.

shadyabhi commented on 2011-08-08 23:06

@Espen11 Does it work with kernel 3.0. I don't want to mess with the dependencies unless it works perfectly with the new kernel.

Anonymous comment on 2011-08-08 03:12

The dependencies has to be changed to be compatible with the new linux 3.x file-naming.

uwinkelvos commented on 2011-07-15 21:55

i just did some research. And my guess is - that as raguj13 suggested - the version of guillaumezin is the only activly maintained version. Atleast the scaling works better for me. The PKG is available here: https://aur.archlinux.org/packages.php?ID=50749

mikezackles commented on 2011-05-06 17:48

I think the MacBook 7,1 entry in nvidia_bl.c should be apple_quirks instead of apple_quirks_320m.

Anonymous comment on 2011-02-19 11:22

thanks =)

uwinkelvos commented on 2011-02-18 14:04

There should be a file "/sys/class/backlight/[nvidia?]/brightness". You can echo some value to that file and your display brightness should change.

e.g. as root: "echo 200 > /sys/class/backlight/*/brightness"

if that works, you can put this line in your rc.local or use laptopmode-utils.

Cheers Ulf

Anonymous comment on 2011-02-17 19:04

hi, i've latest installed and it wroks great.

the only problem is that my screen dims at boot and i can "raise" brightness only after login.

is there a way to set initial brightness to a satisfactory level?

Anonymous comment on 2011-02-09 11:25

Updated to version 0.17.3. Works wothout problems on my macbook.

Anonymous comment on 2011-01-11 14:25

@raghu13: Hmm... this package is the original from mactel. I recommend you submit a nvidia-bl-guilhermizin (or something like that) PKGBUILD.
@teme: please update the package.

Anonymous comment on 2010-12-12 08:27

Don't use the source provided here. It is outdated. For latest ones, use http://www.nvnews.net/vbulletin/showthread.php?t=143025 (the attachments on the first post are updated regularly) and don't link to the ppa repository -- it is nearly impossible to find the source repository there.

Anonymous comment on 2010-12-07 20:15

to anyone who is using a samsung laptop.
if your backlight is very dim and you cant set the brightness higher,
make a new conf file in your /etc/modprobe.d/ and have copy this

options nvidia_bl max_level=0x1ffff shift=11

Anonymous comment on 2010-11-30 12:44

Tested on nvidia driver 260.12.26 and kernel 2.6.36.1 and it's working here.

Anonymous comment on 2010-11-10 22:38

0.17.3: https://launchpad.net/~mactel-support/+archive/ppa/+files/nvidia-bl-dkms_0.17.3%7Emaverick.tar.gz

Anonymous comment on 2010-11-10 21:58

I'm using 256.53 version. The 260.12.x is not working here on my geforce 330m.

teme commented on 2010-11-10 09:43

ok alessandro_umfs, I update it. Which is nvidia driver you are using?

teme commented on 2010-11-10 08:33

ok alessandro_umfs, I update it. Which is nvidia driver you are using?

Anonymous comment on 2010-11-02 01:54

nvidia_bl.c 0.17 version: http://pastebin.com/XrLa041u
I tested and it works here

Anonymous comment on 2010-09-02 08:06

Must've been a mistake, i have built it for 2.6.35 before without problems..

teme commented on 2010-09-02 07:03

Hi,
why do you flagged this packaged when out of date? There is'n the new version? Probably don't work with last kernel?

teme commented on 2010-06-30 12:32

Updated...

teme commented on 2010-06-30 07:28

Sorry for this delay, I had problems and I did not work. I will immediately.

Anonymous comment on 2010-06-24 20:04

The nvidia_bl.c 0.16.10 version: http://gist.github.com/451904
Its working with kernel 2.6.34.

Anonymous comment on 2010-06-23 02:44

Please, update to 0.16.10

k0001 commented on 2010-06-23 02:40

This patch upgrades the package to the latest version 0.16.10. Please apply it.

http://gist.github.com/449417

Anonymous comment on 2010-06-21 18:07

Does not work after updating to 2.6.34, returns as error:


make -C /lib/modules/2.6.34-ARCH/build SUBDIRS=/tmp/yaourt-tmp-alessandro/aur-nvidia-bl/src modules
make[1]: Entering directory `/usr/src/linux-2.6.34-ARCH'
CC [M] /tmp/yaourt-tmp-alessandro/aur-nvidia-bl/src/nvidia_bl.o
/tmp/yaourt-tmp-alessandro/aur-nvidia-bl/src/nvidia_bl.c: In function ‘nvidia_bl_init’:
/tmp/yaourt-tmp-alessandro/aur-nvidia-bl/src/nvidia_bl.c:905:47: error: invalid operands to binary & (have ‘const struct backlight_ops *’ and ‘struct backlight_properties’)
/tmp/yaourt-tmp-alessandro/aur-nvidia-bl/src/nvidia_bl.c:905:47: error: too few arguments to function ‘backlight_device_register’
include/linux/backlight.h:105:33: note: declared here
make[2]: *** [/tmp/yaourt-tmp-alessandro/aur-nvidia-bl/src/nvidia_bl.o] Error 1
make[1]: *** [_module_/tmp/yaourt-tmp-alessandro/aur-nvidia-bl/src] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.34-ARCH'
make: *** [default] Error 2


Anyway, thanks for the effort of taking care of nvidia backlight control :)

Anonymous comment on 2010-05-03 09:15

with the modification included for GT310, brightness is now varying but as mentioned by teme not perfectly. This is for records.(GT 330M; PCI Device ID = 0x0a2b ; PCI vendor ID = 0x10de; OS : Arch 64 bit)

teme commented on 2010-05-02 16:19

I have update nvidia_bl.c with Geforce 310M support. It's don't work perfecty!

teme commented on 2010-05-02 09:37

It's work!

teme commented on 2010-05-02 08:12

My VGA, GeForce 310M (id 0x0A72) there isn't in nvidia_bl.c. I have the id in this file but when tryng to modprobe, the error is same kgas. My kernel is 2.6.33-ARCH. Modprobe don't find "kernel/drivers/nvidia_bl.ko" but
ls -al /lib/modules/2.6.33-ARCH/kernel/drivers/nv*
-rw-r--r-- 1 root root 23821 2 mag 09.48 /lib/modules/2.6.33-ARCH/kernel/drivers/nvidia_bl.ko

Anonymous comment on 2010-05-01 16:41

After editing the PKGBUILD compiling was ok. But trying to modprobe failed with usual FATAL error. Any help? I need to try this for GT 330 M nvidia card. Thanks

uwinkelvos commented on 2010-04-13 15:03

just do it! :)

Anonymous comment on 2010-04-13 10:37

works fine with kernel 2.6.33, please update the pkgbuild