Mailinglist Archive: opensuse (2519 mails)

< Previous Next >
Re: [opensuse] opensuse 11.2 and Nvidia
  • From: Basil Chupin <blchupin@xxxxxxxxxxxx>
  • Date: Fri, 20 Nov 2009 14:08:55 +1100
  • Message-id: <4B060847.8090307@xxxxxxxxxxxx>
On 20/11/09 01:09, Carlos E. R. wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 11/19/2009 12:22 PM, Basil Chupin wrote:

On 19/11/09 20:42, Carlos E. R. wrote:

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 11/19/2009 10:12 AM, Basil Chupin wrote:


On 19/11/09 19:36, Carlos E. R. wrote:




So, the basic tenet is: when you compile your own kernel you also need
to compile the nvidia driver ( the *.run from nVidia) to fit the newly
compiled kernel.


Right. I had some notes about this somewhere... :-?


:-)

I go with, "If it worked before then stick with it" :-)

Some saved notes:


*** New style. ********* (suse 8.2)

run:
/usr/share/doc/nvidia/NVIDIA-Linux-x86-1.0-4363.run

Or, after a kernel recompile:

cd /usr/share/doc/nvidia/NVIDIA-Linux-x86-1.0-4363
make install


*** New style. ********* (suse 9.1)

Generate
/lib/modules/2.6.5-7.108-cer/kernel/drivers/video/nvidia.ko

How?

Date: Sun, 6 Feb 2005 17:10:11 -0600
From: Sunny <sloncho@xxxxxxxxx>
To: suse-linux-e@xxxxxxxx
Subject: Re: [SLE] update problem
...
With kernel-sources installed:
1. Boot (or switch) to runlevel 3
2. login as root
3. #cd /usr/src/linux
4. #make cloneconfig
5. #make prepare-all
6. #nvidia-installer --uppdate -f



*** New style. ********* (suse 9.3)


ftp://ftp.suse.com/pub/suse/i386/supplementary/X/XFree86/nvidia-installer-HOWTO.

Date: Sun, 12 Jun 2005 01:15:28 +0200 (CEST)
From: Carlos E. R. <robin1.listas@xxxxxxxxxx>
To: SLE <suse-linux-e@xxxxxxxx>
Subject: Re: [SLE] New kernel and nVidia


* If new kernel update, edit /etc/X11/xorg.conf --> nv instead of
nvidia (safeguard)
reboot. If reboot with nvidia, level 5, crash.

* runlevel 3
* Change to /usr/src/linux, and run:
make cloneconfig
make prepare-all
* cd /usr/share/doc/nvidia/
./NVIDIA-Linux-x86-1.0-7664-pkg1.run --accept-license --no-network
* edit xorg.conf, back to nvidia
* Test with 'startx'


The procedure just after updating the kernel would be:

1) Edit '/etc/X11/xorg.conf'. Change line

Driver "nv"

for

Driver "nvidia"

(I use customized device sections instead). Reboot. The new kernel will
be active, but X will use the open driver, without 3D.

2) Log-off your X session. Open a text terminal (ctrl-alt-f1), login as
root, type "init 3".

3) Change to /usr/src/linux, and run:

make cloneconfig
make prepare-all

cd whatever (probably /usr/share/doc/nvidia/)
./NVIDIA-Linux-x86-1.0-7664-pkg1.run

(the '-q' option in the readme is for "no questions").

4) Edit '/etc/X11/xorg.conf' again, undo the previous change (put
'nvidia' now).

5) Test with 'startx'.


6) Works? Exit session, type init 5 again. Doesn't work? Probably reboot,
make sure to enter runlevel 3. Think what could have gone wrong...

**********

Guess I'll have to add a "newer" section O:-)


One more thing to do:

if the kernel has been updated/upgraded/replaced, REBOOT the computer
before running make cloneconfig etc and compiling the nvidia driver.

I forgot to do this the other day when I installed the desktop kernel
and the driver would not compile - until I realised my mistake.

BC

--
I work to live not live to work.


--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups