Re: nvidia building from source (2.6.15)

2006-04-07 Thread Jo Shields

Sebastian Haase wrote:


On Wednesday 05 April 2006 23:43, Jo Shields wrote:
 


Sebastian Haase wrote:
   


snip
 


Thanks (I'm back ...)
- Sebastian Haase
 


Build one. Add a normal 32-bit mirror's deb-src to /etc/apt/sources.list
(e.g. deb-src http://mirror.ox.ac.uk/debian unstable non-free).
Install some building-related bits  bobs (apt-get build-dep
nvidia-glx). Download the package source (apt-get source nvidia-glx).
Change to that folder (cd nvidia*). If building 7174 on Sarge, tweak
debian.binary/rules (change DH_COMPAT to some smaller number like 3 or
2). Run dpkg-buildpackage. Change down a folder (cd ..). Install the
kernel source package (dpkg -i nvidia-kernel-source_*_amd64.deb).
Install module-assistant and build-essential - and an appropriate GCC if
not using your standard system gcc for kernels (e.g. on Sarge, you must
install gcc-3.4 here or you'll get misleading rivafb errors - use cat
/proc/version to check; aptitude install module-assistant
build-essential). Compile  install the kernel module (m-a a-i
nvidia). Load the module (If you've an older module loaded, then run
modprobe -r nvidia first. Then, modprobe nvidia  echo nvidia 
/etc/modules). Install the driver packages (dpkg -i nvidia-glx*).
Tell X to use nvidia instead of nv (dpkg-reconfigure
xserver-(xfree86|xorg)). Restart X (/etc/init.d/*dm restart).

Building non-free packages isn't automatic, especially on unofficial
architectures, which is why this sort of thing becomes neccessary.

--Jo Shields
   



Thanks Jo, for the details.
OK - I found nvidia-installer --uninstall
You remind(claim?) that nvidia only works (well) when built with gcc-3.4 !?
But just /installing/ gcc-3.4 would not be enough ! How and at what step can I 
tell the build-chain to really use 3.4 ??
 



It doesn't really matter what GCC you use, as long as the compiler used 
for the kernel (as detailed by cat /proc/version) is installed. All 
Sarge kernels on AMD64 use GCC 3.4 - however, due to a bug in rdonald's 
build scripts, if you don't have the right compiler installed, you are 
given a useless error message (telling you that rivafb is compiled into 
your kernel). You merely need to have it INSTALLED - the build script 
automatically selects  uses the correct version.


Also: your line  modprobe nvidia  echo nvidia  /etc/modules  suprises 
me:  In the past I never needed this for nvidia ! It just gets auto-loaded 
when X starts ! (I thought it was not according to debian policy to 
change /etc/modules anyway ;-) )
 



The module is auto-loaded when something tries to play with /dev/nvidia* 
- however, the /dev/nvidia* device nodes, on a modern udev-based system, 
are only created when there are nvidia-related entries in /sys. nvidia 
stuff only appears in /sys AFTER the module is already loaded.


--Jo Shields


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: nvidia building from source (2.6.15)

2006-04-06 Thread Jo Shields

Sebastian Haase wrote:


On Wednesday 05 April 2006 17:12, David Liontooth wrote:
 


Jo Shields wrote:
   


Sebastian Haase wrote:
 


On Wednesday 05 April 2006 13:38, you wrote:
   


On Wed, Apr 05, 2006 at 12:05:57PM -0800, Sebastian Haase wrote:
 


Thanks for the reply. (Just for reference I just found
http://www.debian.org/doc/manuals/apt-howto/ch-sourcehandling.en.html

BUT: In all places I found (including
http://people.debian.org/~rdonald/nvidia/...) there seems to be only
version 7174 for AMD64
AND then I always get complains from the debian/rules scripts that
essentially say that they only work with the kernel-headers
packages  but
not with linux-headers ...

What needs to be fixed to get anything of nvidia to work with  lthe
inux-headers   package ?
   


Works for me with linux-headers.  At least 8178-3 does.
 


Thanks for the reply - as I said the only 8178 I found claimed to be
only for i386.
Now, I went to the nvidia web site and got their driver-installer
script (appr. 9MB) -- it worked right-away (I followed instructions
from
http://wiki.serios.net/wiki/Debian_NVIDIA_proprietary_display_driver_ins
tallation)

Only concern of course now is that I would like to know where the
hell this script put its (glx / module / X ) files  !?!?!?
   


All over the place. Which is why you NEVER use the stuff from
nvidia.com directly
 


Exactly. That said, I think there may be an uninstaller in the package
now? BTW, although Randall Donald says he puts his packages on his own
repository at http://people.debian.org/~rdonald/nvidia, he hasn't done
that since December. The main repositories get them, though.

Dave
   



Please point me to a mirror that has the 8178  version for amd64.

-- I'm already starting to have problems with building GL programs (it seems 
like a gl.h mixup after installing xlibmesa-gl-dev ...)   
So I'm looking for a NVIDIA deinstall script (it seems all NVIDIA files have 
the same creation date ...)


Thanks (I'm back ...)
- Sebastian Haase



Build one. Add a normal 32-bit mirror's deb-src to /etc/apt/sources.list 
(e.g. deb-src http://mirror.ox.ac.uk/debian unstable non-free). 
Install some building-related bits  bobs (apt-get build-dep 
nvidia-glx). Download the package source (apt-get source nvidia-glx). 
Change to that folder (cd nvidia*). If building 7174 on Sarge, tweak 
debian.binary/rules (change DH_COMPAT to some smaller number like 3 or 
2). Run dpkg-buildpackage. Change down a folder (cd ..). Install the 
kernel source package (dpkg -i nvidia-kernel-source_*_amd64.deb). 
Install module-assistant and build-essential - and an appropriate GCC if 
not using your standard system gcc for kernels (e.g. on Sarge, you must 
install gcc-3.4 here or you'll get misleading rivafb errors - use cat 
/proc/version to check; aptitude install module-assistant 
build-essential). Compile  install the kernel module (m-a a-i 
nvidia). Load the module (If you've an older module loaded, then run 
modprobe -r nvidia first. Then, modprobe nvidia  echo nvidia  
/etc/modules). Install the driver packages (dpkg -i nvidia-glx*). 
Tell X to use nvidia instead of nv (dpkg-reconfigure 
xserver-(xfree86|xorg)). Restart X (/etc/init.d/*dm restart).


Building non-free packages isn't automatic, especially on unofficial 
architectures, which is why this sort of thing becomes neccessary.


--Jo Shields


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: nvidia building from source (2.6.15)

2006-04-06 Thread Jo Shields

Jo Shields wrote:


Sebastian Haase wrote:


On Wednesday 05 April 2006 17:12, David Liontooth wrote:
 


Jo Shields wrote:
  


Sebastian Haase wrote:



On Wednesday 05 April 2006 13:38, you wrote:
  


On Wed, Apr 05, 2006 at 12:05:57PM -0800, Sebastian Haase wrote:



Thanks for the reply. (Just for reference I just found
http://www.debian.org/doc/manuals/apt-howto/ch-sourcehandling.en.html 



BUT: In all places I found (including
http://people.debian.org/~rdonald/nvidia/...) there seems to be 
only

version 7174 for AMD64
AND then I always get complains from the debian/rules scripts that
essentially say that they only work with the kernel-headers
packages  but
not with linux-headers ...

What needs to be fixed to get anything of nvidia to work with  
lthe

inux-headers   package ?
  


Works for me with linux-headers.  At least 8178-3 does.



Thanks for the reply - as I said the only 8178 I found claimed to be
only for i386.
Now, I went to the nvidia web site and got their driver-installer
script (appr. 9MB) -- it worked right-away (I followed instructions
from
http://wiki.serios.net/wiki/Debian_NVIDIA_proprietary_display_driver_ins 


tallation)

Only concern of course now is that I would like to know where the
hell this script put its (glx / module / X ) files  !?!?!?
  


All over the place. Which is why you NEVER use the stuff from
nvidia.com directly



Exactly. That said, I think there may be an uninstaller in the package
now? BTW, although Randall Donald says he puts his packages on his own
repository at http://people.debian.org/~rdonald/nvidia, he hasn't done
that since December. The main repositories get them, though.

Dave
  



Please point me to a mirror that has the 8178  version for amd64.

-- I'm already starting to have problems with building GL programs 
(it seems like a gl.h mixup after installing xlibmesa-gl-dev ...)   
So I'm looking for a NVIDIA deinstall script (it seems all NVIDIA 
files have the same creation date ...)


Thanks (I'm back ...)
- Sebastian Haase



Build one. Add a normal 32-bit mirror's deb-src to 
/etc/apt/sources.list (e.g. deb-src http://mirror.ox.ac.uk/debian 
unstable non-free). Install some building-related bits  bobs 
(apt-get build-dep nvidia-glx). Download the package source 
(apt-get source nvidia-glx). Change to that folder (cd nvidia*). 
If building 7174 on Sarge, tweak debian.binary/rules (change 
DH_COMPAT to some smaller number like 3 or 2). Run 
dpkg-buildpackage. Change down a folder (cd ..). Install the 
kernel source package (dpkg -i nvidia-kernel-source_*_amd64.deb). 
Install module-assistant and build-essential - and an appropriate GCC 
if not using your standard system gcc for kernels (e.g. on Sarge, you 
must install gcc-3.4 here or you'll get misleading rivafb errors - use 
cat /proc/version to check; aptitude install module-assistant 
build-essential). Compile  install the kernel module (m-a a-i 
nvidia). Load the module (If you've an older module loaded, then run 
modprobe -r nvidia first. Then, modprobe nvidia  echo nvidia  
/etc/modules). Install the driver packages (dpkg -i nvidia-glx*). 
Tell X to use nvidia instead of nv (dpkg-reconfigure 
xserver-(xfree86|xorg)). Restart X (/etc/init.d/*dm restart).


Building non-free packages isn't automatic, especially on unofficial 
architectures, which is why this sort of thing becomes neccessary.


--Jo Shields



Oh, and I almost forgot. nvidia-installer --uninstall is the first step.


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: nvidia building from source (2.6.15)

2006-04-06 Thread Lennart Sorensen
On Wed, Apr 05, 2006 at 02:37:36PM -0700, David Liontooth wrote:
 I ran nvidia 7676 for 2.6.14, but had to upgrade to 8178-3 for 2.6.16. 
 Not sure about 2.6.15.
 To build the package, I install nvidia-kernel-source, cd /usr/src/linux 
 (where I have the kernel) and
 
make-kpkg -rev 1 modules_image
 
 Works beautifully.

m-a -t a-i -k /usr/src/linux nvidia

Should also have done the job (including install the package).

The -k might even be optional if already running the kernel.

Len Sorensen


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: nvidia building from source (2.6.15)

2006-04-06 Thread Lennart Sorensen
On Wed, Apr 05, 2006 at 02:06:35PM -0800, Sebastian Haase wrote:
 Thanks for the reply - as I said the only 8178 I found claimed to be only for 
 i386.

Just because you only see i386 doens't mean the source package can't be
compiled with dpkg-buildpackage on amd64 (it can, quite well)

 Now, I went to the nvidia web site and got their driver-installer script 
 (appr. 9MB) -- it worked right-away (I followed instructions from 
 http://wiki.serios.net/wiki/Debian_NVIDIA_proprietary_display_driver_installation)
 Only concern of course now is that I would like to know where the hell this 
 script put its (glx / module / X ) files  !?!?!?

nvidia's package doesn't install libraries in the correct location.  And
it puts files in places that dpkg owns.  It is a very bad idea.  Windows
is broken a lot for good reasons: People run 3rd party installers that
mess with system files.  If you want a system that can run for years
without a reinstall with many upgrades along the way, then never run a
3rd party installer on your system, well unless it lets you install
entirely in /usr/local or somewhere else not in dpkg land.  I have
machiens that are still running without a reinstall after 8 years.  It
seems like the policy works.

Len Sorensen


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: nvidia building from source (2.6.15)

2006-04-06 Thread Rafael Rodríguez
mmm... btw... for the ones that don't use DRI at all.. is there any single 
advantage of nvidia propietary driver over nv?

Rafael Rodríguez

El Jueves, 6 de Abril de 2006 14:55, Lennart Sorensen escribió:
 On Wed, Apr 05, 2006 at 02:37:36PM -0700, David Liontooth wrote:
  I ran nvidia 7676 for 2.6.14, but had to upgrade to 8178-3 for 2.6.16.
  Not sure about 2.6.15.
  To build the package, I install nvidia-kernel-source, cd /usr/src/linux
  (where I have the kernel) and
 
 make-kpkg -rev 1 modules_image
 
  Works beautifully.

 m-a -t a-i -k /usr/src/linux nvidia

 Should also have done the job (including install the package).

 The -k might even be optional if already running the kernel.

 Len Sorensen



Re: nvidia building from source (2.6.15)

2006-04-06 Thread Lennart Sorensen
On Thu, Apr 06, 2006 at 03:29:18PM +0200, Rafael Rodr?guez wrote:
 mmm... btw... for the ones that don't use DRI at all.. is there any single 
 advantage of nvidia propietary driver over nv?

Supports newer chips sooner than x.org

That's about it.  Not sure you can do dual head on the x.org driver
either.

Len Sorensen


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: nvidia building from source (2.6.15)

2006-04-06 Thread Bora Ugurlu
Temperature control is built only in the nvidia driver (nvidia-settings
tool displays it in 6xxx models and upwards), as well.


--- sigi [EMAIL PROTECTED] schrieb:

 On Thu, Apr 06, 2006 at 09:37:22AM -0400, Lennart Sorensen wrote:
  On Thu, Apr 06, 2006 at 03:29:18PM +0200, Rafael Rodr?guez wrote:
   mmm... btw... for the ones that don't use DRI at all.. is there
 any single 
   advantage of nvidia propietary driver over nv?
  
  Supports newer chips sooner than x.org
  
  That's about it.  Not sure you can do dual head on the x.org driver
  either.
 
 
 Here on my machine, the nvidia-driver works a lot faster than 
 X.org's nv-module. 
 It works better with my console, too - e.g. shows no broken 
 fonts/colors as nv does.
 
 
 sigi.
 
 
 -- 
 To UNSUBSCRIBE, email to [EMAIL PROTECTED]
 with a subject of unsubscribe. Trouble? Contact
 [EMAIL PROTECTED]
 
 







___ 
Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: nvidia building from source (2.6.15)

2006-04-05 Thread Sebastian Haase
Len,
Thanks for the reply. Could you be little more verbose on what 
dpkg-source -x nvidia*dsc
means !?  Where do I get the nvidia*dsc  file(s) ? Does 
dpkg-buildpackage -rfakeroot -us -uc -b  
automatically try to get all the build-dependencies ?

Thanks,
Sebastian Haase


On Tuesday 04 April 2006 11:29, Lennart Sorensen wrote:
 On Tue, Apr 04, 2006 at 10:24:19AM -0800, Sebastian Haase wrote:
  Hi,
  I'm running kernel version 2.6.15 from backports (2.6.15-1-amd64-k8-smp)
snip

 Perhaps you can rebuild the newer nvidia package.  Not sure.  Then again
 it might depend on a newer debhelper version or something.  You can try
 it though with the source package from etch/sid, and doing:

 dpkg-source -x nvidia*dsc
 cd nvidia-...
 dpkg-buildpackage -rfakeroot -us -uc -b

 Then install the resulting packages with dpkg -i

 I actually though 7174-3 worked with 2.6.15 though.  Maybe that is x86
 only though.  Or maybe amd64 doesn't have the same version as sarge i386
 does.  Worth checking actually.

 Len Sorensen


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: nvidia building from source (2.6.15)

2006-04-05 Thread Lennart Sorensen
On Wed, Apr 05, 2006 at 09:10:42AM -0800, Sebastian Haase wrote:
 Len,
 Thanks for the reply. Could you be little more verbose on what 
 dpkg-source -x nvidia*dsc
 means !?  Where do I get the nvidia*dsc  file(s) ? Does 
 dpkg-buildpackage -rfakeroot -us -uc -b  
 automatically try to get all the build-dependencies ?

Well there is:

http://ftp.us.debian.org/debian/pool/non-free/n/nvidia-graphics-drivers/

It should have a tar file, a diff and a dsc.

7174-3 is sarge's version.  I know that one will build on sarge amd64.
not sure if it works with 2.6.15, although I thought it did when I tried
it on i386 at least.  8178-2 or -3 might require a dpkg/debhelper/other
stuff upgrade to compile/use at all.

Heck, even apt-get source nvidia-source ought to grab it for you, if
pointed at the official debian sources location.

Len Sorensen


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: nvidia building from source (2.6.15)

2006-04-05 Thread Micheal Waltz
I don't know if you knew this already, but I had to apply some patches 
to 1.0-8178 found in the NVIDIA forums in order to get everything 
working properly for 2.6.14+.


http://www.nvnews.net/vbulletin/showthread.php?s=050a38613ebb399cc07314ea5e6d04e4t=62021

I'm running Sarge AMD64 with kernel 2.6.16 and the 8178 driver release.

Micheal

Lennart Sorensen wrote:

On Wed, Apr 05, 2006 at 09:10:42AM -0800, Sebastian Haase wrote:
  

Len,
Thanks for the reply. Could you be little more verbose on what 
dpkg-source -x nvidia*dsc
means !?  Where do I get the nvidia*dsc  file(s) ? Does 
dpkg-buildpackage -rfakeroot -us -uc -b  
automatically try to get all the build-dependencies ?



Well there is:

http://ftp.us.debian.org/debian/pool/non-free/n/nvidia-graphics-drivers/

It should have a tar file, a diff and a dsc.

7174-3 is sarge's version.  I know that one will build on sarge amd64.
not sure if it works with 2.6.15, although I thought it did when I tried
it on i386 at least.  8178-2 or -3 might require a dpkg/debhelper/other
stuff upgrade to compile/use at all.

Heck, even apt-get source nvidia-source ought to grab it for you, if
pointed at the official debian sources location.

Len Sorensen


  


--
Micheal Waltz
System Administrator
UCSD Educational Computing
858-822-3959
http://meded.ucsd.edu/edcom


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: nvidia building from source (2.6.15)

2006-04-05 Thread Lennart Sorensen
On Wed, Apr 05, 2006 at 12:47:00PM -0700, Micheal Waltz wrote:
 I don't know if you knew this already, but I had to apply some patches 
 to 1.0-8178 found in the NVIDIA forums in order to get everything 
 working properly for 2.6.14+.

8178-3 includes the patches for 2.6.16

 http://www.nvnews.net/vbulletin/showthread.php?s=050a38613ebb399cc07314ea5e6d04e4t=62021
 
 I'm running Sarge AMD64 with kernel 2.6.16 and the 8178 driver release.

Len Sorensen


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: nvidia building from source (2.6.15)

2006-04-05 Thread Sebastian Haase
On Wednesday 05 April 2006 11:43, you wrote:
 On Wed, Apr 05, 2006 at 09:10:42AM -0800, Sebastian Haase wrote:
  Len,
  Thanks for the reply. Could you be little more verbose on what
  dpkg-source -x nvidia*dsc
  means !?  Where do I get the nvidia*dsc  file(s) ? Does
  dpkg-buildpackage -rfakeroot -us -uc -b
  automatically try to get all the build-dependencies ?

 Well there is:

 http://ftp.us.debian.org/debian/pool/non-free/n/nvidia-graphics-drivers/

 It should have a tar file, a diff and a dsc.

 7174-3 is sarge's version.  I know that one will build on sarge amd64.
 not sure if it works with 2.6.15, although I thought it did when I tried
 it on i386 at least.  8178-2 or -3 might require a dpkg/debhelper/other
 stuff upgrade to compile/use at all.

 Heck, even apt-get source nvidia-source ought to grab it for you, if
 pointed at the official debian sources location.

 Len Sorensen

Thanks for the reply. (Just for reference I just found 
http://www.debian.org/doc/manuals/apt-howto/ch-sourcehandling.en.html

BUT: In all places I found (including 
http://people.debian.org/~rdonald/nvidia/...) there seems to be only version 
7174 for AMD64
AND then I always get complains from the debian/rules scripts that essentially 
say that they only work with the kernel-headers packages  but not with 
linux-headers ...

What needs to be fixed to get anything of nvidia to work with  lthe 
inux-headers   package ?

Thanks very much for your help !!
- Sebastian Haase


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: nvidia building from source (2.6.15)

2006-04-05 Thread Lennart Sorensen
On Wed, Apr 05, 2006 at 12:05:57PM -0800, Sebastian Haase wrote:
 Thanks for the reply. (Just for reference I just found 
 http://www.debian.org/doc/manuals/apt-howto/ch-sourcehandling.en.html
 
 BUT: In all places I found (including 
 http://people.debian.org/~rdonald/nvidia/...) there seems to be only version 
 7174 for AMD64
 AND then I always get complains from the debian/rules scripts that 
 essentially 
 say that they only work with the kernel-headers packages  but not with 
 linux-headers ...
 
 What needs to be fixed to get anything of nvidia to work with  lthe 
 inux-headers   package ?

Works for me with linux-headers.  At least 8178-3 does.

Len Sorensen


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: nvidia building from source (2.6.15)

2006-04-05 Thread David Liontooth

Sebastian Haase wrote:

Len,
Thanks for the reply. Could you be little more verbose on what 
dpkg-source -x nvidia*dsc
means !?  Where do I get the nvidia*dsc  file(s) ? Does 
dpkg-buildpackage -rfakeroot -us -uc -b  
automatically try to get all the build-dependencies ?


Thanks,
Sebastian Haase


On Tuesday 04 April 2006 11:29, Lennart Sorensen wrote:
  

On Tue, Apr 04, 2006 at 10:24:19AM -0800, Sebastian Haase wrote:


Hi,
I'm running kernel version 2.6.15 from backports (2.6.15-1-amd64-k8-smp)
  

snip
  

Perhaps you can rebuild the newer nvidia package.  Not sure.  Then again
it might depend on a newer debhelper version or something.  You can try
it though with the source package from etch/sid, and doing:

dpkg-source -x nvidia*dsc
cd nvidia-...
dpkg-buildpackage -rfakeroot -us -uc -b

Then install the resulting packages with dpkg -i

I actually though 7174-3 worked with 2.6.15 though.  Maybe that is x86
only though.  Or maybe amd64 doesn't have the same version as sarge i386
does.  Worth checking actually.

I ran nvidia 7676 for 2.6.14, but had to upgrade to 8178-3 for 2.6.16. 
Not sure about 2.6.15.
To build the package, I install nvidia-kernel-source, cd /usr/src/linux 
(where I have the kernel) and


   make-kpkg -rev 1 modules_image

Works beautifully.

Dave

Len Sorensen




  



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: nvidia building from source (2.6.15)

2006-04-05 Thread Sebastian Haase
On Wednesday 05 April 2006 13:38, you wrote:
 On Wed, Apr 05, 2006 at 12:05:57PM -0800, Sebastian Haase wrote:
  Thanks for the reply. (Just for reference I just found
  http://www.debian.org/doc/manuals/apt-howto/ch-sourcehandling.en.html
 
  BUT: In all places I found (including
  http://people.debian.org/~rdonald/nvidia/...) there seems to be only
  version 7174 for AMD64
  AND then I always get complains from the debian/rules scripts that
  essentially say that they only work with the kernel-headers packages  but
  not with linux-headers ...
 
  What needs to be fixed to get anything of nvidia to work with  lthe
  inux-headers   package ?

 Works for me with linux-headers.  At least 8178-3 does.

Thanks for the reply - as I said the only 8178 I found claimed to be only for 
i386.
Now, I went to the nvidia web site and got their driver-installer script 
(appr. 9MB) -- it worked right-away (I followed instructions from 
http://wiki.serios.net/wiki/Debian_NVIDIA_proprietary_display_driver_installation)
Only concern of course now is that I would like to know where the hell this 
script put its (glx / module / X ) files  !?!?!?

But its working
Thanks again for your help.
Sebastian Haase


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: nvidia building from source (2.6.15)

2006-04-05 Thread Jo Shields

Sebastian Haase wrote:


On Wednesday 05 April 2006 13:38, you wrote:
 


On Wed, Apr 05, 2006 at 12:05:57PM -0800, Sebastian Haase wrote:
   


Thanks for the reply. (Just for reference I just found
http://www.debian.org/doc/manuals/apt-howto/ch-sourcehandling.en.html

BUT: In all places I found (including
http://people.debian.org/~rdonald/nvidia/...) there seems to be only
version 7174 for AMD64
AND then I always get complains from the debian/rules scripts that
essentially say that they only work with the kernel-headers packages  but
not with linux-headers ...

What needs to be fixed to get anything of nvidia to work with  lthe
inux-headers   package ?
 


Works for me with linux-headers.  At least 8178-3 does.
   



Thanks for the reply - as I said the only 8178 I found claimed to be only for 
i386.
Now, I went to the nvidia web site and got their driver-installer script 
(appr. 9MB) -- it worked right-away (I followed instructions from 
http://wiki.serios.net/wiki/Debian_NVIDIA_proprietary_display_driver_installation)
Only concern of course now is that I would like to know where the hell this 
script put its (glx / module / X ) files  !?!?!?
 



All over the place. Which is why you NEVER use the stuff from nvidia.com 
directly



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: nvidia building from source (2.6.15)

2006-04-05 Thread David Liontooth

Jo Shields wrote:

Sebastian Haase wrote:


On Wednesday 05 April 2006 13:38, you wrote:
 


On Wed, Apr 05, 2006 at 12:05:57PM -0800, Sebastian Haase wrote:
  

Thanks for the reply. (Just for reference I just found
http://www.debian.org/doc/manuals/apt-howto/ch-sourcehandling.en.html

BUT: In all places I found (including
http://people.debian.org/~rdonald/nvidia/...) there seems to be only
version 7174 for AMD64
AND then I always get complains from the debian/rules scripts that
essentially say that they only work with the kernel-headers 
packages  but

not with linux-headers ...

What needs to be fixed to get anything of nvidia to work with  lthe
inux-headers   package ?


Works for me with linux-headers.  At least 8178-3 does.
  


Thanks for the reply - as I said the only 8178 I found claimed to be 
only for i386.
Now, I went to the nvidia web site and got their driver-installer 
script (appr. 9MB) -- it worked right-away (I followed instructions 
from 
http://wiki.serios.net/wiki/Debian_NVIDIA_proprietary_display_driver_installation) 

Only concern of course now is that I would like to know where the 
hell this script put its (glx / module / X ) files  !?!?!?
 



All over the place. Which is why you NEVER use the stuff from 
nvidia.com directly
Exactly. That said, I think there may be an uninstaller in the package 
now? BTW, although Randall Donald says he puts his packages on his own 
repository at http://people.debian.org/~rdonald/nvidia, he hasn't done 
that since December. The main repositories get them, though.


Dave



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: nvidia building from source (2.6.15)

2006-04-05 Thread David Liontooth

Sebastian Haase wrote:

On Wednesday 05 April 2006 17:12, David Liontooth wrote:
  

Jo Shields wrote:


Sebastian Haase wrote:
  

On Wednesday 05 April 2006 13:38, you wrote:


On Wed, Apr 05, 2006 at 12:05:57PM -0800, Sebastian Haase wrote:
  

Thanks for the reply. (Just for reference I just found
http://www.debian.org/doc/manuals/apt-howto/ch-sourcehandling.en.html

BUT: In all places I found (including
http://people.debian.org/~rdonald/nvidia/...) there seems to be only
version 7174 for AMD64
AND then I always get complains from the debian/rules scripts that
essentially say that they only work with the kernel-headers
packages  but
not with linux-headers ...

What needs to be fixed to get anything of nvidia to work with  lthe
inux-headers   package ?


Works for me with linux-headers.  At least 8178-3 does.
  

Thanks for the reply - as I said the only 8178 I found claimed to be
only for i386.
Now, I went to the nvidia web site and got their driver-installer
script (appr. 9MB) -- it worked right-away (I followed instructions
from
http://wiki.serios.net/wiki/Debian_NVIDIA_proprietary_display_driver_ins
tallation)

Only concern of course now is that I would like to know where the
hell this script put its (glx / module / X ) files  !?!?!?


All over the place. Which is why you NEVER use the stuff from
nvidia.com directly
  

Exactly. That said, I think there may be an uninstaller in the package
now? BTW, although Randall Donald says he puts his packages on his own
repository at http://people.debian.org/~rdonald/nvidia, he hasn't done
that since December. The main repositories get them, though.

Dave



Please point me to a mirror that has the 8178  version for amd64.
  
Looking more closely into this I realize I was mistaken -- Randall does 
put the files in his archives, but his new syntax puts them in a 
different location, and I don't see them in the directory listings. 
However, this line gets them:


deb http://people.debian.org/~rdonald/nvidia unstable 
nvidia-graphics-drivers nvidia-settings nvidia-kernel-common nvidia-xconfig


As you note, they haven't propagated yet for some reason, possibly 
related to the inclusion of amd64 in official Debian?


There are ways to build Debian packages from nvidia's sources, patched 
or otherwise, cf. 
http://home.comcast.net/~andrex/Debian-nVidia/index.html, but Randall 
packages save you a lot of trouble. Did you manage to uninstall the 
files created by nVidia's installer?


Dave

-- I'm already starting to have problems with building GL programs (it seems 
like a gl.h mixup after installing xlibmesa-gl-dev ...)   
So I'm looking for a NVIDIA deinstall script (it seems all NVIDIA files have 
the same creation date ...)


Thanks (I'm back ...)
 - Sebastian Haase


  



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: nvidia building from source (2.6.15)

2006-04-05 Thread Sebastian Haase

David Liontooth wrote:

Sebastian Haase wrote:

On Wednesday 05 April 2006 17:12, David Liontooth wrote:
 

Jo Shields wrote:
   

Sebastian Haase wrote:
 

On Wednesday 05 April 2006 13:38, you wrote:
   

On Wed, Apr 05, 2006 at 12:05:57PM -0800, Sebastian Haase wrote:
 

Thanks for the reply. (Just for reference I just found
http://www.debian.org/doc/manuals/apt-howto/ch-sourcehandling.en.html 



BUT: In all places I found (including
http://people.debian.org/~rdonald/nvidia/...) there seems to be only
version 7174 for AMD64
AND then I always get complains from the debian/rules scripts that
essentially say that they only work with the kernel-headers
packages  but
not with linux-headers ...

What needs to be fixed to get anything of nvidia to work with  
lthe

inux-headers   package ?


Works for me with linux-headers.  At least 8178-3 does.
  

Thanks for the reply - as I said the only 8178 I found claimed to be
only for i386.
Now, I went to the nvidia web site and got their driver-installer
script (appr. 9MB) -- it worked right-away (I followed instructions
from
http://wiki.serios.net/wiki/Debian_NVIDIA_proprietary_display_driver_ins 


tallation)

Only concern of course now is that I would like to know where the
hell this script put its (glx / module / X ) files  !?!?!?


All over the place. Which is why you NEVER use the stuff from
nvidia.com directly
  

Exactly. That said, I think there may be an uninstaller in the package
now? BTW, although Randall Donald says he puts his packages on his own
repository at http://people.debian.org/~rdonald/nvidia, he hasn't done
that since December. The main repositories get them, though.

Dave



Please point me to a mirror that has the 8178  version for amd64.
  
Looking more closely into this I realize I was mistaken -- Randall does 
put the files in his archives, but his new syntax puts them in a 
different location, and I don't see them in the directory listings. 
However, this line gets them:


deb http://people.debian.org/~rdonald/nvidia unstable 
nvidia-graphics-drivers nvidia-settings nvidia-kernel-common nvidia-xconfig


As you note, they haven't propagated yet for some reason, possibly 
related to the inclusion of amd64 in official Debian?


There are ways to build Debian packages from nvidia's sources, patched 
or otherwise, cf. 
http://home.comcast.net/~andrex/Debian-nVidia/index.html, but Randall 
packages save you a lot of trouble. Did you manage to uninstall the 
files created by nVidia's installer?


I did not see an uninstall option in nVidia's script - did I overlook it 
 ? - maybe tomorrow morning I'll see it ...
Otherwise I will try to mv all from-nVidia-installed files into some 
backup place in my home directory ... (just in case I CAN use e.g. the 
kernel module later ;-) )


I tried http://people.debian.org/~rdonald/nvidia unstable
(refer to my post here few days ago)   - BAD idea !!
I'm running sarge ! - and binary unstable packages are already compiled 
against a newer glibc  ! they don't work ...


So what I would need is the corresponding deb-src line  ... I could not 
get that one right !!!


Thanks for help,
Sebastian Haase



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: nvidia building from source (2.6.15)

2006-04-05 Thread David Liontooth

Sebastian Haase wrote:

David Liontooth wrote:

Sebastian Haase wrote:

On Wednesday 05 April 2006 17:12, David Liontooth wrote:
 

Jo Shields wrote:
  

Sebastian Haase wrote:


On Wednesday 05 April 2006 13:38, you wrote:
  

On Wed, Apr 05, 2006 at 12:05:57PM -0800, Sebastian Haase wrote:


Thanks for the reply. (Just for reference I just found
http://www.debian.org/doc/manuals/apt-howto/ch-sourcehandling.en.html 



BUT: In all places I found (including
http://people.debian.org/~rdonald/nvidia/...) there seems to be 
only

version 7174 for AMD64
AND then I always get complains from the debian/rules scripts that
essentially say that they only work with the kernel-headers
packages  but
not with linux-headers ...

What needs to be fixed to get anything of nvidia to work 
with  lthe

inux-headers   package ?


Works for me with linux-headers.  At least 8178-3 does.
  

Thanks for the reply - as I said the only 8178 I found claimed to be
only for i386.
Now, I went to the nvidia web site and got their driver-installer
script (appr. 9MB) -- it worked right-away (I followed instructions
from
http://wiki.serios.net/wiki/Debian_NVIDIA_proprietary_display_driver_ins 


tallation)

Only concern of course now is that I would like to know where the
hell this script put its (glx / module / X ) files  !?!?!?


All over the place. Which is why you NEVER use the stuff from
nvidia.com directly
  

Exactly. That said, I think there may be an uninstaller in the package
now? BTW, although Randall Donald says he puts his packages on his own
repository at http://people.debian.org/~rdonald/nvidia, he hasn't done
that since December. The main repositories get them, though.

Dave



Please point me to a mirror that has the 8178  version for amd64.
  
Looking more closely into this I realize I was mistaken -- Randall 
does put the files in his archives, but his new syntax puts them in a 
different location, and I don't see them in the directory listings. 
However, this line gets them:


deb http://people.debian.org/~rdonald/nvidia unstable 
nvidia-graphics-drivers nvidia-settings nvidia-kernel-common 
nvidia-xconfig


As you note, they haven't propagated yet for some reason, possibly 
related to the inclusion of amd64 in official Debian?


There are ways to build Debian packages from nvidia's sources, 
patched or otherwise, cf. 
http://home.comcast.net/~andrex/Debian-nVidia/index.html, but Randall 
packages save you a lot of trouble. Did you manage to uninstall the 
files created by nVidia's installer?


I did not see an uninstall option in nVidia's script - did I overlook 
it  ? - maybe tomorrow morning I'll see it ...
Otherwise I will try to mv all from-nVidia-installed files into some 
backup place in my home directory ... (just in case I CAN use e.g. the 
kernel module later ;-) )


I tried http://people.debian.org/~rdonald/nvidia unstable
(refer to my post here few days ago)   - BAD idea !!
I'm running sarge ! - and binary unstable packages are already 
compiled against a newer glibc  ! they don't work ...

Does this one work?

deb http://people.debian.org/~rdonald/nvidia sarge 
nvidia-graphics-drivers nvidia-settings nvidia-kernel-common nvidia-xconfig


So what I would need is the corresponding deb-src line  ... I could 
not get that one right !!!
deb-src http://people.debian.org/~rdonald/nvidia unstable 
nvidia-graphics-drivers nvidia-settings nvidia-kernel-common nvidia-xconfig


I haven't tested this one.

Dave


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



nvidia building from source (2.6.15)

2006-04-04 Thread Sebastian Haase
Hi,
I'm running kernel version 2.6.15 from backports (2.6.15-1-amd64-k8-smp)
Then I tried to build the nvidia kernel module after dpkg -i
linux-headers-2.6.15-1...(also from backports)
when trying to build the nvidia-kernel-source (following the instructions 
in /usr/share/doc/nvidia-kernel-source
I got: cannot open perl script 
/usr/src/linux-headers-2.6.15-1/scripts/setlocalversion
The scripts folder seems not to exist in linux-headers anymore (vs. for 
older kernels  the package was called: kernel-headers)

Then I tried the module-assistant: it first went all well until
(EE) Failed to load module nvidia (module does not exist, 0)
in /var/log/XFree86.0.log
Trying a manual modprobe nvidia says:
[EMAIL PROTECTED]:/lib/modules# modprobe nvidia
nvidia: Unknown symbol register_ioctl32_conversion
nvidia: Unknown symbol unregister_ioctl32_conversion
FATAL: Error inserting nvidia 
(/lib/modules/2.6.15-1-amd64-k8-smp/nvidia/nvidia.
ko): Unknown symbol in module, or unknown parameter (see dmesg)

(I was wondering were the nvidia-glx-ia32 might come in - but it did not fix 
the problem...)

Then I decided to go for a new version of the nvidia  - 7174 from sarge might 
be rather old anyway ...
so I googled and found 
http://people.debian.org/~rdonald/nvidia/dists/unstable/nvidia-graphics-drivers/binary-amd64/

BAD idea !! In deselect it now complains that libc6 needs = 2.3.5-1
So: I hope I can undo this ...

Any hint on where I can get a working (new) nvidia module for (any) rather new 
kernel  !?

Thanks,
Sebastian Haase


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: nvidia building from source (2.6.15)

2006-04-04 Thread Lennart Sorensen
On Tue, Apr 04, 2006 at 10:24:19AM -0800, Sebastian Haase wrote:
 Hi,
 I'm running kernel version 2.6.15 from backports (2.6.15-1-amd64-k8-smp)
 Then I tried to build the nvidia kernel module after dpkg -i
 linux-headers-2.6.15-1...(also from backports)
 when trying to build the nvidia-kernel-source (following the instructions 
 in /usr/share/doc/nvidia-kernel-source
 I got: cannot open perl script 
 /usr/src/linux-headers-2.6.15-1/scripts/setlocalversion
 The scripts folder seems not to exist in linux-headers anymore (vs. for 
 older kernels  the package was called: kernel-headers)
 
 Then I tried the module-assistant: it first went all well until
 (EE) Failed to load module nvidia (module does not exist, 0)
 in /var/log/XFree86.0.log
 Trying a manual modprobe nvidia says:
 [EMAIL PROTECTED]:/lib/modules# modprobe nvidia
 nvidia: Unknown symbol register_ioctl32_conversion
 nvidia: Unknown symbol unregister_ioctl32_conversion
 FATAL: Error inserting nvidia 
 (/lib/modules/2.6.15-1-amd64-k8-smp/nvidia/nvidia.
 ko): Unknown symbol in module, or unknown parameter (see dmesg)
 
 (I was wondering were the nvidia-glx-ia32 might come in - but it did not fix 
 the problem...)
 
 Then I decided to go for a new version of the nvidia  - 7174 from sarge might 
 be rather old anyway ...
 so I googled and found 
 http://people.debian.org/~rdonald/nvidia/dists/unstable/nvidia-graphics-drivers/binary-amd64/
 
 BAD idea !! In deselect it now complains that libc6 needs = 2.3.5-1
 So: I hope I can undo this ...
 
 Any hint on where I can get a working (new) nvidia module for (any) rather 
 new 
 kernel  !?

Perhaps you can rebuild the newer nvidia package.  Not sure.  Then again
it might depend on a newer debhelper version or something.  You can try
it though with the source package from etch/sid, and doing:

dpkg-source -x nvidia*dsc
cd nvidia-...
dpkg-buildpackage -rfakeroot -us -uc -b

Then install the resulting packages with dpkg -i

I actually though 7174-3 worked with 2.6.15 though.  Maybe that is x86
only though.  Or maybe amd64 doesn't have the same version as sarge i386
does.  Worth checking actually.

Len Sorensen


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: nvidia building from source (2.6.15)

2006-04-04 Thread Sebastian Haase
On Tuesday 04 April 2006 11:29, you wrote:
 On Tue, Apr 04, 2006 at 10:24:19AM -0800, Sebastian Haase wrote:
  Hi,
  I'm running kernel version 2.6.15 from backports (2.6.15-1-amd64-k8-smp)
  Then I tried to build the nvidia kernel module after dpkg -i
  linux-headers-2.6.15-1...(also from backports)
  when trying to build the nvidia-kernel-source (following the instructions
  in /usr/share/doc/nvidia-kernel-source
  I got: cannot open perl script
  /usr/src/linux-headers-2.6.15-1/scripts/setlocalversion
  The scripts folder seems not to exist in linux-headers anymore (vs. for
  older kernels  the package was called: kernel-headers)
 
  Then I tried the module-assistant: it first went all well until
  (EE) Failed to load module nvidia (module does not exist, 0)
  in /var/log/XFree86.0.log
  Trying a manual modprobe nvidia says:
  [EMAIL PROTECTED]:/lib/modules# modprobe nvidia
  nvidia: Unknown symbol register_ioctl32_conversion
  nvidia: Unknown symbol unregister_ioctl32_conversion
  FATAL: Error inserting nvidia
  (/lib/modules/2.6.15-1-amd64-k8-smp/nvidia/nvidia.
  ko): Unknown symbol in module, or unknown parameter (see dmesg)
 
  (I was wondering were the nvidia-glx-ia32 might come in - but it did not
  fix the problem...)
 
  Then I decided to go for a new version of the nvidia  - 7174 from sarge
  might be rather old anyway ...
  so I googled and found
  http://people.debian.org/~rdonald/nvidia/dists/unstable/nvidia-graphics-d
 rivers/binary-amd64/
 
  BAD idea !! In deselect it now complains that libc6 needs = 2.3.5-1
  So: I hope I can undo this ...
 
  Any hint on where I can get a working (new) nvidia module for (any)
  rather new kernel  !?

 Perhaps you can rebuild the newer nvidia package.  Not sure.  Then again
 it might depend on a newer debhelper version or something.  You can try
 it though with the source package from etch/sid, and doing:

 dpkg-source -x nvidia*dsc
 cd nvidia-...
 dpkg-buildpackage -rfakeroot -us -uc -b

 Then install the resulting packages with dpkg -i

 I actually though 7174-3 worked with 2.6.15 though.  Maybe that is x86
 only though.  Or maybe amd64 doesn't have the same version as sarge i386
 does.  Worth checking actually.

 Len Sorensen

google just gave me this:
http://colossus.apana.org.au/cgi-bin/dwww?type=filelocation=/usr/share/doc/nvidia-kernel-2.6.15-1-amd64-k8

does that mean the package already exists !?  Is anyone from apana.org.au on 
this list ;-) 

- Sebastian Haase


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]