VectorLinux

Please login or register.

Login with username, password and session length
Advanced search  

News:

Visit our home page for VL info. For support and documentation, visit the Vector Linux Knowledge Center or search the Knowledge Center and this Forum using the search box above.

Author Topic: installing nVidia proprietary driver for 32bit VL 7.1 light  (Read 132 times)

FuglyFloom

  • Member
  • *
  • Posts: 8
  • user
installing nVidia proprietary driver for 32bit VL 7.1 light
« on: April 25, 2016, 01:15:42 pm »

Hello all.

I am trying to install the 2011 nVidia proprietary driver for my ancient RIVA TNT2 graphics card, because the Nouveau driver produces some unpleasant artefacts.

I was able to disable the Nouveau driver and in the command line I am able to start the nVidia installer. However, this was where the trouble really began.

The installer told me I was missing the kernel source. So I downloaded a file "kernel-src-3.18.16-x86-1vl71.txz" from the VectorLinux repositories. I then installed this file from the console using "installpkg kernel-src-3.18.16-x86-1vl71.txz".

The next time I tried running the nVidia installer this message was replaced by another error message.

Quote
ERROR: The kernel header file '/lib/modules/3.18.16/build/include/linux/version.h' does not exist. The most likely reason for this is that the kernel source files in '/lib/modules/3.18.16/build' have not been configured.

I hope I have not already borked this... :P
Logged

M0E-lnx

  • Administrator
  • Vectorian
  • *****
  • Posts: 3405
Re: installing nVidia proprietary driver for 32bit VL 7.1 light
« Reply #1 on: April 25, 2016, 06:31:45 pm »

Make sure you have a kernel-headers package with a version matching your kernel installed

FuglyFloom

  • Member
  • *
  • Posts: 8
  • user
Re: installing nVidia proprietary driver for 32bit VL 7.1 light
« Reply #2 on: April 26, 2016, 01:20:06 am »

Make sure you have a kernel-headers package with a version matching your kernel installed
I checked using "slapt-get --search" and I have the "kernel-headers" and "kernel-modules" packages installed for my kernel version (3.18.16).
Logged

rbistolfi

  • Packager
  • Vectorian
  • ****
  • Posts: 2352
Re: installing nVidia proprietary driver for 32bit VL 7.1 light
« Reply #3 on: April 26, 2016, 07:57:42 am »

do not forget kernel-src!
Logged
"There is a concept which corrupts and upsets all others. I refer not to Evil, whose limited realm is that of ethics; I refer to the infinite."
Jorge Luis Borges, Avatars of the Tortoise.

--
Jumalauta!!

M0E-lnx

  • Administrator
  • Vectorian
  • *****
  • Posts: 3405
Re: installing nVidia proprietary driver for 32bit VL 7.1 light
« Reply #4 on: April 26, 2016, 08:06:36 am »

Does that match your running kernel? (check the output of "uname -a")

FuglyFloom

  • Member
  • *
  • Posts: 8
  • user
Re: installing nVidia proprietary driver for 32bit VL 7.1 light
« Reply #5 on: April 26, 2016, 08:23:44 am »

That is confirmed to be my current kernel I'm afraid.

The card is from 1999 and the 2011 driver was the last one NVidia published. It seems that the missing "version.h" file is stored in a different folder in later kernels, so the 2011 NVidia binary is not compatible anymore. That is a real shame as VL light looks like a sweet OS.

When I use the old open-source "nv" driver, there are no artefacts, and I don't need 3d acceleration anyway, so this might be my best option. Please can someone suggest the best way to enable this driver and set the correct screen resolution in VL 7.1 light?
Logged

M0E-lnx

  • Administrator
  • Vectorian
  • *****
  • Posts: 3405
Re: installing nVidia proprietary driver for 32bit VL 7.1 light
« Reply #6 on: April 26, 2016, 08:59:45 am »

I did a
Code: [Select]
grep -R linux/version.h /var/log/packages/ on a 7.1 install and this is the results I got

Code: [Select]
/var/log/packages/kernel-headers-3.18.16-x86_64-1vl71:usr/include/linux/version.h
/var/log/packages/kernel-src-3.18.26-x86_64-1vl71:usr/src/linux-3.18.26/usr/include/linux/version.h
/var/log/packages/kernel-src-3.18.26-x86_64-1vl71:usr/src/linux-3.18.26/include/generated/uapi/linux/version.h
/var/log/packages/kernel-headers-3.18.26-x86_64-1vl71:usr/include/linux/version.h
So, your kernel-headers and kernel-src should match the running kernel

FuglyFloom

  • Member
  • *
  • Posts: 8
  • user
Re: installing nVidia proprietary driver for 32bit VL 7.1 light
« Reply #7 on: April 26, 2016, 09:27:12 am »

I just did a clean install, since I tried a few other things which did not work.

Without doing anything to the fresh install, I ran the command you mentioned. This was the result:
/var/log/packages/kernel-headers-3.18.16-x86_64-1vl71:usr/include/linux/version.h
Note: this was on a fresh install.

However, previously I am sure that the NVidia error message complained that the "version.h" file could not be found in a directory:
/lib/modules/3.18.16/build/include/linux/version.h

What would you recommend that I do next?

EDIT: I know that I need to install some packages, but it would reassure me if I had some explicit instructions to follow. ;)

(also, thanks for help so far)
« Last Edit: April 26, 2016, 09:39:44 am by Fugly Floom »
Logged

M0E-lnx

  • Administrator
  • Vectorian
  • *****
  • Posts: 3405
Re: installing nVidia proprietary driver for 32bit VL 7.1 light
« Reply #8 on: April 26, 2016, 10:01:40 am »

If you can get me a link to the driver download I can script the build process for you.

FuglyFloom

  • Member
  • *
  • Posts: 8
  • user
Logged

wigums

  • Packager
  • Packager
  • Vectorite
  • ****
  • Posts: 331
Re: installing nVidia proprietary driver for 32bit VL 7.1 light
« Reply #10 on: April 26, 2016, 04:53:12 pm »

ive still got an tnt2 too. 32 mb used to be screaming fast
Logged
When the people fear their government, there is tyranny; when the government fears the people, there is liberty.

https://wigums.wordpress.com/drawings-2/
https://vlcoredocumentation.readthedocs.org/en/latest/
wigums@vectorlinux.net

FuglyFloom

  • Member
  • *
  • Posts: 8
  • user
Re: installing nVidia proprietary driver for 32bit VL 7.1 light
« Reply #11 on: Today at 07:00:46 am »

I read that the last NVidia driver which supported the TNT2 (71.86.15) does not support later versions of the Linux kernel, hence the errors. Would version 7.0 of VectorLinux allow me to install the proprietary NVidia driver? If so would I have to do it manually?
Logged