nvidiabl icon indicating copy to clipboard operation
nvidiabl copied to clipboard

Does nvidiabl Work On Non Debian Based Distros?

Open ghost opened this issue 11 years ago • 7 comments

Hi,

I use Slackware 14.0 x64, will nvidiabl work on a Non Debian based distro and if so how can I install and use it?

Thanks...

ghost avatar Dec 24 '13 00:12 ghost

Yes, you can follow the "Installation from nvidiabl-x.xx-source-only.dkms.tar.gz" from the readme file (download the tar.gz file from "install/tarball").

guillaumezin avatar Dec 30 '13 08:12 guillaumezin

Not to undermine the efforts of the developer of this program, but what worked for me and my ThinkPad W520 running Fedora19 to finally enable the backlight feature while using the "kmod-nvidia" drivers was to append the following line to the /etc/X11/xorg.conf file as per this post on ThinkWiki:

Option "RegistryDwords" "EnableBrightnessControl=1"

ILMostro avatar Jan 04 '14 13:01 ILMostro

Thanks guillaumezin, actually there's nothing in the README on how to install from source... :(

Well there's only a Makefile, so I'm assuming 'make' is all that's needed to compile on Slackware as example?

Will the Makefile work with this cmd? ---> make install DESTDIR=$PKG

Also if I untar; nvidiabl-0.85.tar.gz I have these files & paths in the top directory;

ls; Makefile dkms.conf nvidiabl-gpu.h nvidiabl-laptops.h nvidiabl-models.h nvidiabl-types.h README install nvidiabl-ignore.h nvidiabl-models.c nvidiabl-module.c scripts

Can I just compile in that top directory or do I need to untar the source tar from this path? /nvidiabl-0.85/install/tarball;

nvidiabl-0.81-source-only.dkms.tar.gz nvidiabl-0.83-source-only.dkms.tar.gz nvidiabl-0.85-source-only.dkms.tar.gz nvidiabl-0.82-source-only.dkms.tar.gz nvidiabl-0.84-source-only.dkms.tar.gz

Thanks

ghost avatar Feb 01 '14 07:02 ghost

If you really want to install the driver without DKMS, you can do a "make install", it should be enough.

guillaumezin avatar Mar 18 '14 19:03 guillaumezin

Hi,

Ok all I'm doing is make make install DESTDIR=$PKG

This should be enough? If it should be enough, then why would I need the DKMS for?

Here's my slackware build script in case any Slackers want it, or can make some changes if needed, like having the DKMS?

http://pastebin.ca/2682008

By the way I tried compiling 0.86 and it failed;

make -C /lib/modules/3.10.34/build M=/tmp/sar/nvidiabl-0.86 modules make[1]: Entering directory /usr/src/linux-3.10.34' CC [M] /tmp/sar/nvidiabl-0.86/nvidiabl-module.o /tmp/sar/nvidiabl-0.86/nvidiabl-module.c:37:3: warning: #warning USE_BACKLIGHT_SUSPEND [-Wcpp] #warning USE_BACKLIGHT_SUSPEND ^ /tmp/sar/nvidiabl-0.86/nvidiabl-module.c: In function 'nvidiabl_init': /tmp/sar/nvidiabl-0.86/nvidiabl-module.c:297:49: error: 'FB_BACKLIGHT_LEVELS' undeclared (first use in this function) nvidiabl_device->props.max_brightness = FB_BACKLIGHT_LEVELS - 1; ^ /tmp/sar/nvidiabl-0.86/nvidiabl-module.c:297:49: note: each undeclared identifier is reported only once for each function it appears in make[2]: *** [/tmp/sar/nvidiabl-0.86/nvidiabl-module.o] Error 1 make[1]: *** [_module_/tmp/sar/nvidiabl-0.86] Error 2 make[1]: Leaving directory/usr/src/linux-3.10.34' make: *** [modules] Error 2

thanks

ghost avatar Mar 27 '14 06:03 ghost

I went back and commented out make in the slackbuild script so it only ran;

make install DESTDIR=$PKG

But this time it gave me this;

make: *** No rule to make target nvidiabl.ko', needed byinstall'. Stop.

thanks

ghost avatar Mar 28 '14 02:03 ghost

I made a reply to Issue #87

ghost avatar Apr 01 '14 02:04 ghost