Package Details: nvidia-bl-dkms 18.11.0-2

Git Clone URL: (read-only, click to copy)
Package Base: nvidia-bl-dkms
Description: Driver to adjust display backlight on legacy mobile NVidia graphics adapters - DKMS edition.
Upstream URL: None
Licenses: GPL
Conflicts: nvidia-bl
Submitter: kiffmet
Maintainer: kiffmet
Last Packager: kiffmet
Votes: 5
Popularity: 0.025539
First Submitted: 2018-11-22 23:26
Last Updated: 2018-11-26 20:17

Latest Comments

sapphire commented on 2020-12-22 17:17

To make it compile/build/work the following changes are needed:

In Makefile: default: $(MAKE) -C $(KDIR) M=$(PWD) SUBDIRS=$(PWD) modules

clean: $(MAKE) -C $(KDIR) M=$(PWD) SUBDIRS=$(PWD) clean

In nvidia_bl.c at line 928 change the name of the function ioremap_nocache to ioremap_cache e.g.
dd->smartdimmer = ioremap_cache(reg_addr, dd->reg_size);

friday13 commented on 2020-07-11 03:11

Creating symlink /var/lib/dkms/nvidia-bl/18.11.0/source ->

DKMS: add completed.

Kernel preparation unnecessary for this kernel.  Skipping...

Building module:
cleaning build area...(bad exit status: 2)
make -j8 KERNELRELEASE=5.7.7-arch1-1 KVER=5.7.7-arch1-1...(bad exit status: 2)
Error! Bad return status for module build on kernel: 5.7.7-arch1-1 (x86_64)
Consult /var/lib/dkms/nvidia-bl/18.11.0/build/make.log for more information.
error: command failed to execute correctly

cat /var/lib/dkms/nvidia-bl/18.11.0/build/make.log

DKMS make.log for nvidia-bl-18.11.0 for kernel 5.7.7-arch1-1 (x86_64)
Sat 11 Jul 2020 06:09:36 AM +03
make -C /usr/lib/modules/5.7.7-arch1-1/build SUBDIRS=/var/lib/dkms/nvidia-bl/18.11.0/build modules
make[1]: Entering directory '/usr/lib/modules/5.7.7-arch1-1/build'
make[2]: Nothing to be done for 'objtool'.
scripts/ arch/x86/entry/syscalls/Makefile: No such file or directory
make[2]: *** No rule to make target 'arch/x86/entry/syscalls/Makefile'.  Stop.
make[1]: *** [arch/x86/Makefile:217: archheaders] Error 2
make[1]: *** Waiting for unfinished jobs....
scripts/ arch/x86/tools/Makefile: No such file or directory
make[2]: *** No rule to make target 'arch/x86/tools/Makefile'.  Stop.
make[1]: *** [arch/x86/Makefile:211: archscripts] Error 2
make[1]: Leaving directory '/usr/lib/modules/5.7.7-arch1-1/build'
make: *** [Makefile:12: default] Error 2

pok0 commented on 2020-03-14 01:09

For drivers supporting setting backlight via backlight property of xrandr, you can instead use xorg-xbacklight package. This is the case for nvidia-340xx-dkms.

bboogie commented on 2020-02-15 20:41

The module does not build on my system against de 5.x kernel.

Hope you can fix this. It is really helpful.