alternate xf86config

Jim Conner jconner
Mon Jan 3 02:42:27 PST 2005


I've had problems with Nvidia drivers and 2.6.8 kernel.  I had a TNT2 card in 
a machine running Mandrake 10.1(stock kernel).  I couldn't get the 6629 
nvidia drivers to work(it's well documented in the Nvidia forums), but the 
6111 drivers would work with a couple of code changes.  Here's the 
instructions that I saved in a file:

Code:

diff -urN NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c 
NVIDIA-Linux-x86-1.0-66
29-pkg1/usr/src/nv/nv.c
--- NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c      2004-07-27 
09:33:20.0000
00000 -0600
+++ NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv.c      2004-11-03 
14:53:00.0000
00000 -0700
@@ -3694,12 +3337,12 @@

     switch (state)
     {
-        case PM_SAVE_STATE:
-            nv_printf(NV_DBG_INFO, "NVRM: ACPI: received standby event\n");
+        case PM_SUSPEND_MEM:
+            nv_printf(NV_DBG_INFO, "NVRM: ACPI: received suspend event\n");
             status = rm_power_management(nv, 0, NV_PM_ACPI_STANDBY);
             break;

-        case PM_RESUME:
+        case PM_SUSPEND_ON:
             nv_printf(NV_DBG_INFO, "NVRM: ACPI: received resume event\n");
             status = rm_power_management(nv, 0, NV_PM_ACPI_RESUME);
             break;



 Instructions:

 1) Create a file called "patchfile" containing the above patch code.

 2) Extract the contents of the 6111 installer by running it with the "-x" 
option... "./NVIDIA-Linux-x86-1.0-6111-pkg1.run -x"

 3) copy the patch file to the directory that was created when you extraced 
the contents of the NV installer (NVIDIA-Linux-x86-1.0-6111-pkg1).

 4) cd to the directory that was created by the installer 
(NVIDIA-Linux-x86-1.0-6111-pkg1) and run this command "patch -p1 < patchfile"

 5) run the installer in the current directory "./nvidia-installer" and follow 
the directions.

You can either make the patch file or change the 3 lines that need to be 
changed after extracting the files from the installer, then run the 
installer.  I was then able to get it to work just fine.  You probably will 
have to add the line:
nvidia
to /etc/modprobe.conf and change X config file to load nvidia instead of load 
nv.  I got it to work just fine.

Jim

On Sunday 02 January 2005 03:29 pm, Net Llama! wrote:
> On 01/02/2005 11:42 AM, Ben Duncan wrote:
> > Looks like this is the Nvidia Club year .....
> >
> > I have 2.6.10 and the latest from nVidia locks up as well.
> >
> > But, believe it or not, 5.3 backwards works ok.
> >
> > You could try an older version.
>
> I've tried every version that existed going back 7 months.  Same problem
>   for all of them.
>
> > For the time being I am running JUST the nv stock driver.
> >
> > Anyone got any ideas on enabling 3d with nv driver ?
>
> You can't.  Only the nvidia version supports 3D.
>
> > Wade Barocsi wrote:
> >> Hi, and Happy New Year,
> >>
> >> I just jumped to the modern era with a 2.6 series kernel.
> >> Libranet is a bit slow releasing, so I upgraded to
> >> a mix of libranet and debian"unstable".
> >>
> >> The Nvidia driver (for 3d acceleration) locks up.
> >> I used the newest version and nvidia's installer, but can't seem
> >> to get it to work.
> >>
> >> I've given up (for now) on 3d with 2.6.7-1,
> >> How can I have 2 different configurations for xf86config-4 ?
> >> I'm using grub, perhaps some boot time voodo? or some other way
> >> to swich between "nv" and "nvidia" drivers between 2 kernels.
> >>
> >> My son is a big tuxracer fan, so 3D becomes important.

-- 
 
 02:01:02 up 10 days,  6:54,  2 users,  load average: 1.38, 0.49, 0.19
------------------------------------------------------------------------
Running Mandrake 9.2 - Linux - because life is too short for reboots...
Registered Linux User: 181038      --        http://counter.li.org



More information about the Linux-users mailing list