WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: [SOLVED] NVIDIA-Linux-x86-173.14.39-pkg1.run  (Read 34568 times)

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14851
Re: NVIDIA-Linux-x86-173.14.39-pkg1.run
« Reply #45 on: June 06, 2015, 03:42:05 AM »
unpack the nvidia source and try to compile the driver..

Offline jls

  • Hero Member
  • *****
  • Posts: 2135
Re: NVIDIA-Linux-x86-173.14.39-pkg1.run
« Reply #46 on: June 07, 2015, 08:51:43 AM »
Hi
Build scripts for the nvidia driver already exists for tc 4.x, thanks to arslanserc:
https://code.google.com/p/tc-ext-tools/source/browse/packages/nvidia/
dCore user

Offline Stone.Giant

  • Full Member
  • ***
  • Posts: 100
Re: NVIDIA-Linux-x86-173.14.39-pkg1.run
« Reply #47 on: June 08, 2015, 04:09:25 AM »
Hi
Build scripts for the nvidia driver already exists for tc 4.x, thanks to arslanserc:
https://code.google.com/p/tc-ext-tools/source/browse/packages/nvidia/

can I use that with TC 6.x ?

Offline Stone.Giant

  • Full Member
  • ***
  • Posts: 100
Re: NVIDIA-Linux-x86-173.14.39-pkg1.run
« Reply #48 on: June 08, 2015, 06:38:12 AM »
I got error

Code: [Select]
$ sudo ./NVIDIA-Linux-x86-173.14.39-pkg1.run --kernel-source-path=/usr/src/linux-3.16.6

Offline Misalf

  • Hero Member
  • *****
  • Posts: 1702
Re: NVIDIA-Linux-x86-173.14.39-pkg1.run
« Reply #49 on: June 08, 2015, 07:11:32 AM »
IIRC, you're supposed to compile the nvidia drivers in CLI while not running X.

Also you will need  procps.tcz  .
Download a copy and keep it handy: Core book ;)

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14851
Re: NVIDIA-Linux-x86-173.14.39-pkg1.run
« Reply #50 on: June 08, 2015, 07:14:22 AM »
If you have compiletc, perl5, ncurses-dev, bash and bc loaded things should work.

Offline jls

  • Hero Member
  • *****
  • Posts: 2135
Re: NVIDIA-Linux-x86-173.14.39-pkg1.run
« Reply #51 on: June 08, 2015, 08:39:16 AM »
Hi
Build scripts for the nvidia driver already exists for tc 4.x, thanks to arslanserc:
https://code.google.com/p/tc-ext-tools/source/browse/packages/nvidia/

can I use that with TC 6.x ?
Hi Stone.Giant
Try it and please report the eventual errors
dCore user

Offline Stone.Giant

  • Full Member
  • ***
  • Posts: 100
Re: NVIDIA-Linux-x86-173.14.39-pkg1.run
« Reply #52 on: June 08, 2015, 09:42:21 AM »
Hi
Build scripts for the nvidia driver already exists for tc 4.x, thanks to arslanserc:
https://code.google.com/p/tc-ext-tools/source/browse/packages/nvidia/

can I use that with TC 6.x ?
Hi Stone.Giant
Try it and please report the eventual errors

I depend on .tcz extensions. im a newbie could you teach me how to use it?

Offline Stone.Giant

  • Full Member
  • ***
  • Posts: 100
Re: NVIDIA-Linux-x86-173.14.39-pkg1.run
« Reply #53 on: June 08, 2015, 09:47:59 AM »
I got newer error. I already made a symlink to /usr from /home/seed/usr/src
Code: [Select]
seed@avocado:/usr$ ls -l
total 0
drwxr-sr-x    2 root     root          3640 Jun  8 20:52 bin/
drwxr-xr-x   36 root     root          3020 Sep 17  2014 include/
drwxr-xr-x    6 root     root          1300 Jun  8 20:52 lib/
lrwxrwxrwx    1 root     root            30 Jun  8 21:08 linux-3.16.6 -> home/seed/usr/src/linux-3.16.6
drwxr-xr-x   15 tc       staff          320 Jun  8 21:35 local/
drwxr-xr-x    2 root     root           560 May  3 12:38 sbin/
drwxr-xr-x   16 root     root           320 Sep 17  2014 share/

I exited X-server (Ctrl+Alt+F1) and sudo kill <Nvidia PID>. When I executed this command this is what I got...
Code: [Select]
seed@avocado:~$ sudo ./NVIDIA-Linux-x86-173.14.39-pkg1.run -kernel-source-path=/
usr/linux.3.16.6



WWW?

Offline Misalf

  • Hero Member
  • *****
  • Posts: 1702
Re: NVIDIA-Linux-x86-173.14.39-pkg1.run
« Reply #54 on: June 08, 2015, 09:54:50 AM »
It should be
Code: [Select]
/usr/src/linux.3.16.6
not
Code: [Select]
/usr/linux.3.16.6

CTRL+ALT+F1 does not exit X.
CTRL+ALT+Backspace does.
Download a copy and keep it handy: Core book ;)

Offline Stone.Giant

  • Full Member
  • ***
  • Posts: 100
Re: NVIDIA-Linux-x86-173.14.39-pkg1.run
« Reply #55 on: June 08, 2015, 10:58:33 AM »
It should be
Code: [Select]
/usr/src/linux.3.16.6
not
Code: [Select]
/usr/linux.3.16.6

CTRL+ALT+F1 does not exit X.
CTRL+ALT+Backspace does.

You mean I place my symlink to /usr/src? I shud make a folder first.

Offline Misalf

  • Hero Member
  • *****
  • Posts: 1702
Re: NVIDIA-Linux-x86-173.14.39-pkg1.run
« Reply #56 on: June 08, 2015, 11:27:15 AM »
I did not need to use  --kernel-source-path  when I compiled the nvidia drivers.
Maybe because the kernel sources where stored at the correct location in my case.

However, I just noticed that you didn't use the correct command parameter.
Code: [Select]
-kernel-source-path
vs
Code: [Select]
--kernel-source-path
Download a copy and keep it handy: Core book ;)

Offline Stone.Giant

  • Full Member
  • ***
  • Posts: 100
Re: NVIDIA-Linux-x86-173.14.39-pkg1.run
« Reply #57 on: June 08, 2015, 12:04:43 PM »
I did not need to use  --kernel-source-path  when I compiled the nvidia drivers.
Maybe because the kernel sources where stored at the correct location in my case.

However, I just noticed that you didn't use the correct command parameter.
Code: [Select]
-kernel-source-path
vs
Code: [Select]
--kernel-source-path

Sorry for the typo, but i did use the correct synta in CLI. Is it ok to use the /usr/linux-3.16.6 as destination folder or Nvidia installation script is configured to find it in /usr/src/linux3.16.6?

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14851
Re: NVIDIA-Linux-x86-173.14.39-pkg1.run
« Reply #58 on: June 09, 2015, 06:26:38 AM »
The nvidia script should work with where ever you set "--kernel-source-path" to.

I see from the build script link that it uses "--extract-only" and then a bunch of individual commands to get things done, maybe this might be a better way to go?

Offline Stone.Giant

  • Full Member
  • ***
  • Posts: 100
Re: NVIDIA-Linux-x86-173.14.39-pkg1.run
« Reply #59 on: June 09, 2015, 07:33:34 AM »
As u can see in the picture I have some scarce file included in my symlink (which made it in red text if u ls -l). I already deleted my previous symlink and created a new one.
Quote


i also tried to rerun linux-kernel-sources-env but it gave error:


now it gave me again this error

Quote
ERROR: The kernel source path '/usr/src/linux-3.16.6' does not exist.  Please
       make sure you have installed the kernel source files for your kernel and
       that they are properly configured; on Red Hat Linux systems, for
       example, be sure you have the 'kernel-source' or 'kernel-devel' RPM
       installed.  If you know the correct kernel source files are installed,
       you may specify the kernel source path with the '--kernel-source-path'
       command line option.
« Last Edit: June 09, 2015, 07:35:53 AM by Stone.Giant »