Re: Re: Nvidia Kernel Drivers ( Sarge )

2004-11-22 Thread Dave Ewart
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Monday, 22.11.2004 at 08:57 +0100, Andrea Vettorello wrote:

  May I add suggestions to your fine recipe page under Post-install?
  
  1) Directly edit /etc/X11/XF86Config-4.  For some reason,
  dpkg-reconfigure xserver-xfree86  didn't work for me.
  
 
 IIRC, if you modify your XF86Config-4 without dpkg-reconfigure, to
 preserve your customisations the X config are not updated
 automatically anymore when you upgrade them or when you use
 dpkg-reconfigure.
 
 There should be a FAQ in xfree86-common or xserver-common that has all
 the details...

The top of XF86Config-4 says:

# If you have edited this file but would like it to be automatically updated
# again, run the following commands as root:
#
#   cp /etc/X11/XF86Config-4 /etc/X11/XF86Config-4.custom
#   md5sum /etc/X11/XF86Config-4 /var/lib/xfree86/XF86Config-4.md5sum
#   dpkg-reconfigure xserver-xfree86

The file /var/lib/xfree86/XF86Config-4.md5sum is used to see whether the
file matches its state the last time it was dpkg-reconfigure-ed ...

Dave.
- -- 
Dave Ewart - [EMAIL PROTECTED] - jabber: [EMAIL PROTECTED]
All email from me is now digitally signed, key from http://www.sungate.co.uk/
Fingerprint: AEC5 9360 0A35 7F66 66E9 82E4 9E10 6769 CD28 DA92

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFBoa3lnhBnac0o2pIRAvxbAKDZesmr0/baCQ1bFZVQy+yj/Dv6AwCeMkx5
bPmgd9EFeNLz0ZaCaaTCFgU=
=e8h5
-END PGP SIGNATURE-


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



Re: Nvidia Kernel Drivers ( Sarge )

2004-11-21 Thread Hugo Vanwoerkom
Frederik Dannemare wrote:
On Saturday 20 November 2004 22:03, Tomy Alarie wrote:
Hi ! I just want to know if anyone here has installed yet these
drivers with Sarge and how did you do. Newbie with NVIDIA-Linux
drivers !

Though it doesn't cover the fancy module-assistant, it's still a pretty 
easy task (especially if you're using 2.4.x). I have written down the 
instructions at: http://www.sentinel.dk/cookbook/?nvidia_drivers

Nice recipe-book.
B/R,

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



Re: Nvidia Kernel Drivers ( Sarge )

2004-11-21 Thread martin f krafft
also sprach Nicolas [EMAIL PROTECTED] [2004.11.21.0041 +0100]:
 Yep, I installed the nvidia modules. It's a shame that's so badly made!

They are well-made and you can compile drivers with one command:

Make a new directory and drop the following Makefile there:

---snip---
KROOT = /usr/src/kernel-headers

.PHONY: all
all: modules/nvidia-kernel
ifndef KVERS
  @echo You must specify the kernel version to use like so: 12
  @echo   make ... KVERS=2.6.9-1-k7
  @/bin/false
endif
  @(umask 007  KSRC=$(KROOT)-$(KVERS) fakeroot make -C $ -f debian/rules 
binary_modules)
  chmod -R ug=rwX,o= $
  find $ -type d -exec chmodd g+s {} \;

modules/nvidia-kernel: /usr/src/nvidia-kernel-source.tar.gz modules
  rm -rf modules/nvidia-kernel
  tar xfz $
  chmod -R ug=rwX,o= $@
  find $@ -type d -exec chmod g+s {} \;

modules:
  mkdir -p2770 modules

/usr/src/nvidia-kernel-source.tar.gz:
  apt-get install -t unstable nvidia-kernel-source
---snip---

Now amend the first line and run

  make KVERS=2.6.9-1-k7

or whichever is your version.

-- 
Please do not send copies of list mail to me; I read the list!
 
 .''`. martin f. krafft [EMAIL PROTECTED]
: :'  :proud Debian developer, admin, user, and author
`. `'`
  `-  Debian - when you have better things to do than fixing a system
 
Invalid/expired PGP subkeys? Use subkeys.pgp.net as keyserver!


signature.asc
Description: Digital signature


Re: Nvidia Kernel Drivers ( Sarge )

2004-11-21 Thread martin f krafft
I noticed that my Makefile was suboptimal. Here's a better version,
requiring no modifications.

---snip---
KSRC ?= /usr/src/kernel-headers-$(KVERS)
SUITE ?= unstable

.PHONY: all
all: modules/nvidia-kernel $(KSRC)
ifndef KVERS
  @echo You must specify the kernel version to use like so: 12
  @echo   make ... KVERS=2.6.9-1-k7
  @/bin/false
endif
  (umask 007  fakeroot make -C $ -f debian/rules binary_modules)
  chmod -R ug=rwX,o= $
  find $ -type d -exec chmod g+s {} \;

modules/nvidia-kernel: /usr/src/nvidia-kernel-source.tar.gz modules
  rm -rf modules/nvidia-kernel
  tar xfz $
  chmod -R ug=rwX,o= $@
  find $@ -type d -exec chmod g+s {} \;

modules:
  mkdir -p2770 modules

/usr/src/nvidia-kernel-source.tar.gz:
  apt-get install -t $(SUITE) nvidia-kernel-source

$(KSRC):
  apt-get install -t $(SUITE) kernel-headers-$(KVERS)
---snip---

-- 
Please do not send copies of list mail to me; I read the list!
 
 .''`. martin f. krafft [EMAIL PROTECTED]
: :'  :proud Debian developer, admin, user, and author
`. `'`
  `-  Debian - when you have better things to do than fixing a system
 
Invalid/expired PGP subkeys? Use subkeys.pgp.net as keyserver!


signature.asc
Description: Digital signature


Re: Re: Nvidia Kernel Drivers ( Sarge )

2004-11-21 Thread Ralph Katz
On 11/20/2004 09:20 PM, Frederik Dannemare wrote:
it's still a pretty easy task (especially if you're using 2.4.x). I
have written down the instructions at:
http://www.sentinel.dk/cookbook/?nvidia_drivers
Frederik,
Thank you!  I've had several failed attempts at installing nvidia-glx 
and getting it working on sarge 2.4.27.  Your recipe made it easy. 
(Some other time I'll look to tackle 'which AGP driver?')

May I add suggestions to your fine recipe page under Post-install?
1) Directly edit /etc/X11/XF86Config-4.  For some reason,
dpkg-reconfigure xserver-xfree86  didn't work for me.
2) adduser user video  # needed for dri to work
3) reboot.  # The docs are correct about this!
4) Remind readers to read the docs in /usr/share/doc/nvidia-glx.
Thanks again.
Ralph
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Re: Nvidia Kernel Drivers ( Sarge )

2004-11-21 Thread Andrea Vettorello
On Sun, 21 Nov 2004 17:38:58 -0500, Ralph Katz [EMAIL PROTECTED] wrote:

[...]

 
 May I add suggestions to your fine recipe page under Post-install?
 
 1) Directly edit /etc/X11/XF86Config-4.  For some reason,
 dpkg-reconfigure xserver-xfree86  didn't work for me.
 

IIRC, if you modify your XF86Config-4 without dpkg-reconfigure, to
preserve your customisations the X config are not updated
automatically anymore when you upgrade them or when you use
dpkg-reconfigure.

There should be a FAQ in xfree86-common or xserver-common that has all
the details...


Andrea


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




Nvidia Kernel Drivers ( Sarge )

2004-11-20 Thread Tomy Alarie
Hi ! I just want to know if anyone here has installed yet these drivers with 
Sarge and how did you do. Newbie with NVIDIA-Linux drivers ! 

Thanks,
Tomy

-
Debian enthusiast, since I've tried Mandrake :P
 When I talk to technical people, I call myself a hacker, but when I talk 
to medias, I call myself a programmer.  - Linux Torvalds


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



Re: Nvidia Kernel Drivers ( Sarge )

2004-11-20 Thread Andreas Janssen
Hello

Tomy Alarie ([EMAIL PROTECTED]) wrote:

 Hi ! I just want to know if anyone here has installed yet these
 drivers with Sarge and how did you do. Newbie with NVIDIA-Linux
 drivers !

The easiest way is probably to install nvidia-kernel-source and
module-assistant. After the installation, run module-assistant. Make
sure that your system is up to date, especially that you use a kernel
that is still in Sarge (e.g. not 2.6.6). You will need to install the
matching header package, and this will of course fail if the packages
have been removed.

best regards
 Andreas Janssen

-- 
Andreas Janssen [EMAIL PROTECTED]
PGP-Key-ID: 0xDC801674 ICQ #17079270
Registered Linux User #267976
http://www.andreas-janssen.de/debian-tipps-sarge.html


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



Re: Nvidia Kernel Drivers ( Sarge )

2004-11-20 Thread Nicolas
On Sat, Nov 20, 2004 at 04:03:48PM -0500, Tomy Alarie wrote:
 Hi ! I just want to know if anyone here has installed yet these drivers with 
 Sarge and how did you do. Newbie with NVIDIA-Linux drivers ! 
 
 Thanks,
 Tomy

Yep, I installed the nvidia modules. It's a shame that's so badly made!
One has to type stuff like GCC=... and to COMPILE something in order to
have it working... Good luck anyway...

Nicolas.

-- 
--- OxStOnE --  O
- Z750  Linux ---  ._ /\_
--- Powered --  (x) (x)
~~~


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



Re: Nvidia Kernel Drivers ( Sarge )

2004-11-20 Thread Frederik Dannemare
On Saturday 20 November 2004 22:03, Tomy Alarie wrote:
 Hi ! I just want to know if anyone here has installed yet these
 drivers with Sarge and how did you do. Newbie with NVIDIA-Linux
 drivers !

Though it doesn't cover the fancy module-assistant, it's still a pretty 
easy task (especially if you're using 2.4.x). I have written down the 
instructions at: http://www.sentinel.dk/cookbook/?nvidia_drivers

B/R,
-- 
Frederik Dannemare | mailto:[EMAIL PROTECTED]
http://qa.debian.org/developer.php?login=Frederik+Dannemare
http://frederik.dannemare.net | http://www.linuxworlddomination.dk


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