Re: [opensuse] opensuse 11.2 and Nvidia



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



Relevant Pages

  • Compiling the drivers for a ADSL Modem (IceData500)
    ... My modem model is IceData500 and the vendor says it is compatible with RH ... The unicorn driver is a standard Linux ... PPPoE, PPPoA or RFC2684 protocols, the kernel may need to be patched. ... To compile the drivers, ...
    (Fedora)
  • Re: [Fedora] Re: Nvidia sucks, sucks, sucks !
    ... The problem was that installing the new kernel killed nvidia from ... -> There appears to already be a driver installed on your system ...
    (Fedora)
  • Re: Fedora 13 - How to blacklist certain updates?
    ... That's because they are Free drivers, while the nVidia drivers are not. ... Uh, what exactly is "PAE"? ... kernel was configured differently, but this is generally not the case ... This driver is supplied by nVidia as a binary blob, ...
    (alt.os.linux)
  • Re: [opensuse] call for NVIDIA testers of 11.2 kernel update
    ... We are currently having difficulties with the 11.2 kernel update, ... A cursory test here showed that the NVIDIA drivers from the NVIDIA YMPs ... As this is the manual driver install you will need to rebuild ...
    (SuSE)
  • Re: startx fails with new kernel
    ... the previous kernel. ... The latter will blacklist nouveau driver, ... appropriately for nVidia driver to work. ...
    (Fedora)