Problemas con los drives Nvidia...

2002-10-15 Thread N0K
Estoy intentando instalar los drivers de la nvidia ya que segun
he leido en algunos post aumenta realmente el rendimiento de la tarjeta.
Estoy intentando instalarlos desde tar.gz ya que lo que viene con
apt-get install NVIDIA... el kernel y el GLX no lo tengo muy claro como
se hace. Bien he intentado instalar las versiones 2880, 2881 y 3127 y
en todas obtengo el mismo error:

Dark:/usr/local/src/1.0-3127/NVIDIA_kernel-1.0-3127# make
cc -c -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts
-Wparentheses -Wpointer-arith -Wcast-qual -Wno-multichar  -O -MD
-D__KERNEL__ -DMODULE -D_LOOSE_KERNEL_NAMES -ffixed-r13
-mfixed-range=f10-f15,f32-f127 -falign-functions=32 -DIA64=1
-D_LINUX64=1 -DNTRM -D_GNU_SOURCE -DRM_HEAPMGR -D_LOOSE_KERNEL_NAMES
-D__KERNEL__ -DMODULE  -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0
-DNV_PATCHLEVEL=3127   -DNV_UNIX -DNV_LINUX -DNV_64_BITS
-DNVCPU_IA64_LINUX -DNVCPU_IA64  -I. -I/lib/modules/2.4.19/build/include
-Wno-cast-qual nv.c
cc1: Invalid option `fixed-range=f10-f15,f32-f127'
cc1: warning: unknown register name: r13
cc1: Invalid option `-falign-functions=32'
nv.c: In function `nv_kern_mmap':
nv.c:1419: warning: implicit declaration of function `pgprot_noncached'
nv.c:1419: incompatible types in assignment
nv.c:1436: incompatible types in assignment
nv.c:1509: warning: implicit declaration of function
`pgprot_writecombine'
nv.c:1509: incompatible types in assignment
nv.c: In function `nv_vtop':
nv.c:2218: warning: cast from pointer to integer of different size
nv.c:2218: warning: cast to pointer from integer of different size
nv.c:: warning: cast from pointer to integer of different size
nv.c:: warning: cast to pointer from integer of different size
nv.c: In function `nv_get_phys_address':
nv.c:2278: `__IA64_UNCACHED_OFFSET' undeclared (first use in this
function)
nv.c:2278: (Each undeclared identifier is reported only once
nv.c:2278: for each function it appears in.)
nv.c:2311: `_PFN_MASK' undeclared (first use in this function)
nv.c: In function `nv_agp_translate_address':
nv.c:3027: warning: cast from pointer to integer of different size
nv.c: In function `nv_agp_retrieve_mapping':
nv.c:3053: warning: cast from pointer to integer of different size
make: *** [nv.o] Error 1

La version del gcc que uso es la 2.95.4 20011002 no se si esto
puede afectar pero la pongo por si a caso.

Saludos.N0Kpor si a caso.

Saludos.N0K



Re: Problemas con los drives Nvidia...

2002-10-15 Thread N0K

Al final lo estoy probando con los paquetes que trae debian.
Según el README hay que hacer lo siguiente: 

cd /usr/src
tar -zxf nvidia-kernel-src.tar.gz
cd linux (or your kernel source directory)
make-kpkg modules_image
cd /usr/src
dpkg -i
nvidia-kernel-KVER*.deb

Pues a la hora de hacer el make-kpkg modules_image me pasa lo
siguiente:

make[2]: Leaving directory `/usr/src/linux-2.4.19/Documentation/DocBook'
make[1]: Leaving directory `/usr/src/linux-2.4.19'
touch stamp-kernel-configure
touch stamp-configure
The changelog says we are creating 2.4.19, but I thought the version is
2.4.20-pre10
make: *** [modules_image] Error 1

Y es que acabo de compilar el kernel de 2.4.19 a 2.4.20-pre10.
Cómo puedo cambiar el changelog para poner ahí la versión correcta o
cómo cambio ese error en el changelog ???

Saludos.N0K.



Re: Problemas con los drives Nvidia...

2002-10-16 Thread Emilio J. Padrón
On Wed, Oct 16, 2002 at 12:12:27AM +0200, N0K wrote:
>   Estoy intentando instalar los drivers de la nvidia ya que segun
> he leido en algunos post aumenta realmente el rendimiento de la tarjeta.
> Estoy intentando instalarlos desde tar.gz ya que lo que viene con
> apt-get install NVIDIA... el kernel y el GLX no lo tengo muy claro como
> se hace. Bien he intentado instalar las versiones 2880, 2881 y 3127 y
> en todas obtengo el mismo error:
> 
> Dark:/usr/local/src/1.0-3127/NVIDIA_kernel-1.0-3127# make
> cc -c -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts
> -Wparentheses -Wpointer-arith -Wcast-qual -Wno-multichar  -O -MD
> -D__KERNEL__ -DMODULE -D_LOOSE_KERNEL_NAMES -ffixed-r13
> -mfixed-range=f10-f15,f32-f127 -falign-functions=32 -DIA64=1
> -D_LINUX64=1 -DNTRM -D_GNU_SOURCE -DRM_HEAPMGR -D_LOOSE_KERNEL_NAMES
> -D__KERNEL__ -DMODULE  -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0
> -DNV_PATCHLEVEL=3127   -DNV_UNIX -DNV_LINUX -DNV_64_BITS
> -DNVCPU_IA64_LINUX -DNVCPU_IA64  -I. -I/lib/modules/2.4.19/build/include
> -Wno-cast-qual nv.c
> cc1: Invalid option `fixed-range=f10-f15,f32-f127'
> cc1: warning: unknown register name: r13
> cc1: Invalid option `-falign-functions=32'

Hola, no sé si estarás compilando los drivers correctos. ¿Tienes una
Quadro? lo digo por lo del flag DNVCPU_IA64_LINUX.

A mi, compilando los drivers para una GeForce3 no me salen esos flags.
Si tienes una TNT/GeForce creo que te has confundido de drivers. Si
tienes una Quadro pues ni idea de lo que puede fallar.

Saludos.



Re: Problemas con los drives Nvidia...

2002-10-16 Thread Omar Lopez
El mié, 16-10-2002 a las 00:12, N0K escribió:
>   Estoy intentando instalar los drivers de la nvidia ya que segun
> he leido en algunos post aumenta realmente el rendimiento de la tarjeta.
> Estoy intentando instalarlos desde tar.gz ya que lo que viene con
> apt-get install NVIDIA... el kernel y el GLX no lo tengo muy claro como
> se hace. Bien he intentado instalar las versiones 2880, 2881 y 3127 y
> en todas obtengo el mismo error:
> 

Haber necesitas los fuentes sucios del kernel, para poder instalar el
modulo del kernel, creo q lo q ocurre es q no lo tienes. 
> Dark:/usr/local/src/1.0-3127/NVIDIA_kernel-1.0-3127# make
> cc -c -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts
> -Wparentheses -Wpointer-arith -Wcast-qual -Wno-multichar  -O -MD
> -D__KERNEL__ -DMODULE -D_LOOSE_KERNEL_NAMES -ffixed-r13
> -mfixed-range=f10-f15,f32-f127 -falign-functions=32 -DIA64=1
> -D_LINUX64=1 -DNTRM -D_GNU_SOURCE -DRM_HEAPMGR -D_LOOSE_KERNEL_NAMES
> -D__KERNEL__ -DMODULE  -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0
> -DNV_PATCHLEVEL=3127   -DNV_UNIX -DNV_LINUX -DNV_64_BITS
> -DNVCPU_IA64_LINUX -DNVCPU_IA64  -I. -I/lib/modules/2.4.19/build/include
> -Wno-cast-qual nv.c
> cc1: Invalid option `fixed-range=f10-f15,f32-f127'
> cc1: warning: unknown register name: r13
> cc1: Invalid option `-falign-functions=32'
> nv.c: In function `nv_kern_mmap':
> nv.c:1419: warning: implicit declaration of function `pgprot_noncached'
> nv.c:1419: incompatible types in assignment
> nv.c:1436: incompatible types in assignment
> nv.c:1509: warning: implicit declaration of function
> `pgprot_writecombine'
> nv.c:1509: incompatible types in assignment
> nv.c: In function `nv_vtop':
> nv.c:2218: warning: cast from pointer to integer of different size
> nv.c:2218: warning: cast to pointer from integer of different size
> nv.c:: warning: cast from pointer to integer of different size
> nv.c:: warning: cast to pointer from integer of different size
> nv.c: In function `nv_get_phys_address':
> nv.c:2278: `__IA64_UNCACHED_OFFSET' undeclared (first use in this
> function)
> nv.c:2278: (Each undeclared identifier is reported only once
> nv.c:2278: for each function it appears in.)
> nv.c:2311: `_PFN_MASK' undeclared (first use in this function)
> nv.c: In function `nv_agp_translate_address':
> nv.c:3027: warning: cast from pointer to integer of different size
> nv.c: In function `nv_agp_retrieve_mapping':
> nv.c:3053: warning: cast from pointer to integer of different size
> make: *** [nv.o] Error 1
> 
>   La version del gcc que uso es la 2.95.4 20011002 no se si esto
> puede afectar pero la pongo por si a caso.
> 
>   Saludos.N0Kpor si a caso.
>   
>   Saludos.N0K
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> 




Re: Problemas con los drives Nvidia...

2002-10-16 Thread Juan Bueno
Haz directamente un make install para nvidia-kernel y nvidia-glx.

On Wed, Oct 16, 2002 at 12:12:27AM +0200, N0K wrote:
>   Estoy intentando instalar los drivers de la nvidia ya que segun
> he leido en algunos post aumenta realmente el rendimiento de la tarjeta.
> Estoy intentando instalarlos desde tar.gz ya que lo que viene con
> apt-get install NVIDIA... el kernel y el GLX no lo tengo muy claro como
> se hace. Bien he intentado instalar las versiones 2880, 2881 y 3127 y
> en todas obtengo el mismo error:
> 
> Dark:/usr/local/src/1.0-3127/NVIDIA_kernel-1.0-3127# make
> cc -c -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts
> -Wparentheses -Wpointer-arith -Wcast-qual -Wno-multichar  -O -MD
> -D__KERNEL__ -DMODULE -D_LOOSE_KERNEL_NAMES -ffixed-r13
> -mfixed-range=f10-f15,f32-f127 -falign-functions=32 -DIA64=1
> -D_LINUX64=1 -DNTRM -D_GNU_SOURCE -DRM_HEAPMGR -D_LOOSE_KERNEL_NAMES
> -D__KERNEL__ -DMODULE  -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0
> -DNV_PATCHLEVEL=3127   -DNV_UNIX -DNV_LINUX -DNV_64_BITS
> -DNVCPU_IA64_LINUX -DNVCPU_IA64  -I. -I/lib/modules/2.4.19/build/include
> -Wno-cast-qual nv.c
> cc1: Invalid option `fixed-range=f10-f15,f32-f127'
> cc1: warning: unknown register name: r13
> cc1: Invalid option `-falign-functions=32'
> nv.c: In function `nv_kern_mmap':
> nv.c:1419: warning: implicit declaration of function `pgprot_noncached'
> nv.c:1419: incompatible types in assignment
> nv.c:1436: incompatible types in assignment
> nv.c:1509: warning: implicit declaration of function
> `pgprot_writecombine'
> nv.c:1509: incompatible types in assignment
> nv.c: In function `nv_vtop':
> nv.c:2218: warning: cast from pointer to integer of different size
> nv.c:2218: warning: cast to pointer from integer of different size
> nv.c:: warning: cast from pointer to integer of different size
> nv.c:: warning: cast to pointer from integer of different size
> nv.c: In function `nv_get_phys_address':
> nv.c:2278: `__IA64_UNCACHED_OFFSET' undeclared (first use in this
> function)
> nv.c:2278: (Each undeclared identifier is reported only once
> nv.c:2278: for each function it appears in.)
> nv.c:2311: `_PFN_MASK' undeclared (first use in this function)
> nv.c: In function `nv_agp_translate_address':
> nv.c:3027: warning: cast from pointer to integer of different size
> nv.c: In function `nv_agp_retrieve_mapping':
> nv.c:3053: warning: cast from pointer to integer of different size
> make: *** [nv.o] Error 1
> 
>   La version del gcc que uso es la 2.95.4 20011002 no se si esto
> puede afectar pero la pongo por si a caso.
> 
>   Saludos.N0Kpor si a caso.
>   
>   Saludos.N0K
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

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

iD8DBQE9pV4AcopWN41751ERAhcSAJ0VRRpwYJxG8Atlifb/HQdKqxjtbgCePHaP
WmSWAtFzzUsbUKdv8EU589s=
=Tocz
-END PGP SIGNATURE-



Re: Problemas con los drives Nvidia...

2002-10-16 Thread N0K
Ya esta solucionado, al final lo conseguí instalar con los
drivers que trae Debian Woody. Tengo otro problema, pero ya lo ha
comentado otro usuario unos cuantos post mas abajo, asi que estoy
esperando a que le respondan a el o a averiguarlo yo para responerle.
Muchas gracia :)
Saludos..N0K.



Re: Problemas con los drives Nvidia...

2002-10-17 Thread Marta Pla i Castells
El mié, 16-10-2002 a las 19:50, N0K escribió:
>   Ya esta solucionado, al final lo conseguí instalar con los
> drivers que trae Debian Woody. Tengo otro problema, pero ya lo ha
> comentado otro usuario unos cuantos post mas abajo, asi que estoy
> esperando a que le respondan a el o a averiguarlo yo para responerle.
>   Muchas gracia :)
>   Saludos..N0K.
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]


Vamos a ver:


Los drivers de nvidia (versión 3127) solo funcionan con las X 4.2.0
dando el error

(EE) NVIDIA(0): Failed to initialize the NVdriver kernel module!
> (EE) NVIDIA(0):  *** Aborting ***


si las X no son las que tocan. Siempre refiriéndome a los que te bajas
de la página de nvidia. Si lees detenidamente el mensaje de log de las X
/var/log/XFree86.0.log te darás cuenta que cuando carga el módulo al
principio dice que es un binario compilado para esta versión de las X.
Así que o bajas la versión del módulo de nvidia o subes las X.
 
-- 


gpg pub  1024D/A2D21610 Marta Pla i Castells <[EMAIL PROTECTED]>
Key fingerprint = 9578 8116 FC87 C4D2 1A5C  993F 86B4 52D2 A2D2 1610

***

Marta Pla i Castells ([EMAIL PROTECTED])
http://www.uv.es/~mplac




Mathematicians are like Frenchmen:
Whenever you say something to them, they translate it into
their own language, and at once it is something entirely different

Goethe.


signature.asc
Description: Esta parte del mensaje esta firmada digitalmente


Re: Problemas con los drives Nvidia...

2002-10-17 Thread gustavo
perdón, pero yo solo encuentro los driver 3123, donde estan los 3127? xq los
del 3123 funcan con  xfree4.0.1 incluso



Re: Problemas con los drives Nvidia...

2002-10-17 Thread Marta Pla i Castells
El jue, 17-10-2002 a las 23:15, gustavo escribió:
> perdón, pero yo solo encuentro los driver 3123, donde estan los 3127? xq los
> del 3123 funcan con  xfree4.0.1 incluso

Perdón que me equivoqué de versión. Esto es lo que me sale cuando
arranco las X. Y a mi no me arrancaba con las 4.0.1. Cuando subí de
versión, dejé de tener problemas. Además, es lo que dice, compiladas
para 4.0.2.


 Module glx: vendor="NVIDIA Corporation"
compiled for 4.0.2, module version = 1.0.3123
Module class: XFree86 Server Extension
ABI class: XFree86 Server Extension, version 0.1


-- 


gpg pub  1024D/A2D21610 Marta Pla i Castells <[EMAIL PROTECTED]>
Key fingerprint = 9578 8116 FC87 C4D2 1A5C  993F 86B4 52D2 A2D2 1610

***

Marta Pla i Castells ([EMAIL PROTECTED])
http://www.uv.es/~mplac




Mathematicians are like Frenchmen:
Whenever you say something to them, they translate it into
their own language, and at once it is something entirely different

Goethe.


signature.asc
Description: Esta parte del mensaje esta firmada digitalmente


Re: Problemas con los drives Nvidia...

2002-10-17 Thread Eduardo Andres Leon
No se si servira de mucha ayuda, pero a mi me daba ese mismo error  y 
consegui solucionarlo, lo que pasa es que no recuerdo mi version de 
Xfree (y ahora no puedo mirarla). La cosa es que al hacer un lsmod, el 
modulo no estaba. Solo tuve que hacer insmod NVdriver y probar con 
startx y se arreglo todo.
   Ahora para que siempre me cargara el modulo en el arranque tuve que 
añadir una linea en el XFreeconfig (algo asi : alias char major195 ...). 
Joe no me acuerdo de la linea. Lo que te pùedo decir es que aparece en 
el manual de instalacion en las  FAQS. Alli te pone la linea y asi en mi 
caso todo se soluciono.


Ahora os hago yo una pregunta. Ahora que tengo el driver para mi TNT2 
M64, no he notado ninguna diferenci positiva, pero si una negativa. Si 
me salgo a un terminal (tty1 por ejemplo), la tipica rayita que aparece 
parpadeando se ha convertido en un cuadrado de unos 4 centimetros cuadrados.

   Le ha pasado esto a alguien? lo ha podido solucionar??


gracias

Marta Pla i Castells wrote:


El mié, 16-10-2002 a las 19:50, N0K escribió:


Ya esta solucionado, al final lo conseguí instalar con los
drivers que trae Debian Woody. Tengo otro problema, pero ya lo ha
comentado otro usuario unos cuantos post mas abajo, asi que estoy
esperando a que le respondan a el o a averiguarlo yo para responerle.
Muchas gracia :)
Saludos..N0K.


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




Vamos a ver:


Los drivers de nvidia (versión 3127) solo funcionan con las X 4.2.0
dando el error

(EE) NVIDIA(0): Failed to initialize the NVdriver kernel module!


(EE) NVIDIA(0):  *** Aborting ***




si las X no son las que tocan. Siempre refiriéndome a los que te bajas
de la página de nvidia. Si lees detenidamente el mensaje de log de las X
/var/log/XFree86.0.log te darás cuenta que cuando carga el módulo al
principio dice que es un binario compilado para esta versión de las X.
Así que o bajas la versión del módulo de nvidia o subes las X.