WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: nvidia-glx  (Read 2867 times)

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
nvidia-glx
« on: January 16, 2010, 02:57:39 AM »
Thanks to Arslan S. for:

Code: [Select]
Title:          nvidia-glx-dev.tcz
Description:    Dev files from NVIDIA Linux drivers package.(TESTING)
Version:        190.53
Author:         NVIDIA
Original-site:  http://www.nvidia.com
Copying-policy: Distributable
Size: 248K
Extension_by:   Arslan S.
Comments:      This extension depends on Xorg.

This extension is PPI compatible.
Change-log:     ---
Current:    2010/01/15 Original


Code: [Select]
Title:          nvidia-glx-doc.tcz
Description:    NVIDIA Linux drivers documentation.(TESTING)
Version:        190.53
Author:         NVIDIA
Original-site:  http://www.nvidia.com
Copying-policy: Distributable
Size: 200K
Extension_by:   Arslan S.
Comments:      This extension is PPI compatible.
Change-log:     ---
Current:    2010/01/15 Original


Code: [Select]
Title:          nvidia-glx.tcz
Description:    NVIDIA Linux Drivers.(TESTING)
Version:        190.53
Author:         NVIDIA
Original-site:  http://www.nvidia.com
Copying-policy: Distributable
Size: 16.4M
Extension_by:   Arslan S.
Comments:      This extension depends on Xorg.

Supported devices:
http://www.nvidia.com/object/linux_display_ia32_190.53.html

Basic installation:
1) load nvidia-glx.tcz
2) exit to prompt
3) create xorg.conf
"Xorg -configure" to create a xorg.conf file
move new created config file to /etc/X11/ and name it xorg.conf
4) sudo nvidia-xconfig
5) startx

Note: If you already have Xorg installed and have xorg.conf skip steps 1-3.

Testing:
1) Run glxgears
2) Test if libraries are linked correct.
   ldd `which glxgears`
   tc@box:~$ ldd `which glxgears`
        linux-gate.so.1 =>  (0xb7f83000)
        libGL.so.1 => /usr/local/lib/libGL.so.1 (0xb7eb8000)
        libm.so.6 => /lib/libm.so.6 (0xb7e92000)
        libc.so.6 => /lib/libc.so.6 (0xb7d35000)
        libX11.so.6 => /usr/lib/libX11.so.6 (0xb7c35000)
        libGLcore.so.1 => /usr/local/lib/libGLcore.so.1 (0xb6b99000)
        libnvidia-tls.so.1 => /usr/local/lib/libnvidia-tls.so.1 (0xb6b97000)
        libXext.so.6 => /usr/lib/libXext.so.6 (0xb6b8a000)
        libdl.so.2 => /lib/libdl.so.2 (0xb6b86000)
        /lib/ld-linux.so.2 (0xb7f84000)
        libXau.so.6 => /usr/lib/libXau.so.6 (0xb6b83000)
        libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0xb6b7d000)

Persistency:
1) Add etc/X11/xorg.conf to /opt/.filetool.lst

You can configure your device with nvidia-settings.
If you want to save X server settings to /etc/X11/xorg.conf run nvidia-settings as root.

This extension is PPI compatible.
Change-log:     ---
Current:    2010/01/15 Original


Offline Arslan S.

  • Hero Member
  • *****
  • Posts: 825
Re: nvidia-glx
« Reply #1 on: January 16, 2010, 03:47:35 AM »
i am not sure if kernel module is distributable

ubuntu handles this package distributing kernel module source and compiling it

for example ati does not allow it

Offline ^thehatsrule^

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 1726
Re: nvidia-glx
« Reply #2 on: January 16, 2010, 04:38:05 AM »
It was decided that the onus is on nvidia (from previous threads).

Copying-policy should probably be something more descriptive like Proprietary ... , since nv has their own software license.

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: nvidia-glx
« Reply #3 on: January 16, 2010, 06:14:24 AM »
Actually, the kernel module itself is not compiled, as it is the proprietary part from nvidia.  There is a kernel interface layer that is GPL that is compiled, and that is what keeps nvidia legal with the kernel and the GPL by using it for the Linux specific stuff.


Offline Arslan S.

  • Hero Member
  • *****
  • Posts: 825
Re: nvidia-glx
« Reply #4 on: January 16, 2010, 06:22:37 AM »
so you think what i did is legal ?

but why does ubuntu compile kernel interface from source and link it with nvidia.o module

i think the answer is they have lots of kernels not one like we have

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: nvidia-glx
« Reply #5 on: January 16, 2010, 07:03:09 AM »
I do not know UBUNTU, but there are many distros are asking to accept or reject propriatry software at installation time or startup of LIVE CD.
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: nvidia-glx
« Reply #6 on: January 16, 2010, 07:17:54 AM »
I read that Ubuntu does not include Nvidia in their default install for philosophical reasons.  Arch linux distributes Nvidia as a standard package.  I remember spending several hours reading up on the Nvidia license issue when TC first started and we had our first Nvidia extension, and the debate boils down to being philosophical rather than legal.  And basically our approach here is if it is legal to distribute then we distribute.

And here is the Linux part of the Nvidia license:

Code: [Select]
2.1.2 Linux/FreeBSD/OpenSolaris Exception. Notwithstanding the foregoing terms
 of Section 2.1.1, SOFTWARE designed exclusively for use on the Linux or FreeBSD
 operating systems, or other operating systems derived from the source code to
 these operating systems, may be copied and redistributed, provided that the
 binary files thereof are not modified in any way (except for unzipping of
 compressed files).
« Last Edit: January 16, 2010, 07:22:07 AM by Jason W »

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11050
Re: nvidia-glx
« Reply #7 on: January 16, 2010, 08:52:19 AM »
About the deps, it's not necessary to have Xlibs_support when you have Xorg. Updated the dep file.
The only barriers that can stop you are the ones you create yourself.

Offline ^thehatsrule^

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 1726
Re: nvidia-glx
« Reply #8 on: January 16, 2010, 03:47:05 PM »
It is debatable whether it is distributable or not.  This has been discussed in previous threads.  Nvidia says it is, so we assume that they know what they are doing and leave the responsibility to them.  In any case, this was already decided upon so there's no point in diluting this thread any further.  (see past threads for more)