Resultados 1 al 7 de 7

driver nvidia

  1. #1 driver nvidia 
    Avanzado
    Fecha de ingreso
    Jan 2008
    Mensajes
    170
    Descargas
    8
    Uploads
    0
    Hola , me acabo de pasar a debian lenny (testing) y estoy intentando configurar la aceleración grafica de este modo :


    # apt-get install linux-headers-2.6.26-1-686
    # ln -s /usr/src/linux-headers-xxx /usr/src/linux

    Me bajo el último controlador de nvidia

    http://www.nvidia.com/object/linux_display_archive.html
    NVIDIA Accelerated Graphics Driver for Linux-x86 171.06.01

    Ahora me salgo a control + f1 y tecleo killall kdm , después ejecuto el instalador con # sh NVIDIA-Linux-x86-100.14.19-pkg1.run

    y me sale un error, os pego el log :


    nvidia-installer log file '/var/log/nvidia-installer.log'
    creation time: Thu Feb 19 12:47:44 2009

    option status:
    license pre-accepted : false
    update : false
    force update : false
    expert : false
    uninstall : false
    driver info : false
    precompiled interfaces : true
    no ncurses color : false
    query latest version : false
    OpenGL header files : true
    no questions : false
    silent : false
    no recursion : false
    no backup : false
    kernel module only : false
    sanity : false
    add this kernel : false
    no runlevel check : false
    no network : false
    no ABI note : false
    no RPMs : false
    no kernel module : false
    force SELinux : default
    no X server check : false
    force tls : (not specified)
    X install prefix : (not specified)
    X library install path : (not specified)
    X module install path : (not specified)
    OpenGL install prefix : (not specified)
    OpenGL install libdir : (not specified)
    utility install prefix : (not specified)
    utility install libdir : (not specified)
    doc install prefix : (not specified)
    kernel name : (not specified)
    kernel include path : (not specified)
    kernel source path : (not specified)
    kernel output path : (not specified)
    kernel install path : (not specified)
    proc mount point : /proc
    ui : (not specified)
    tmpdir : /tmp
    ftp mirror : ftp://download.nvidia.com
    RPM file list : (not specified)

    Using: nvidia-installer ncurses user interface
    -> License accepted.
    -> No precompiled kernel interface was found to match your kernel; would you li
    ke the installer to attempt to download a kernel interface for your kernel f
    rom the NVIDIA ftp site (ftp://download.nvidia.com)? (Answer: Yes)
    -> No matching precompiled kernel interface was found on the NVIDIA ftp site;
    this means that the installer will need to compile a kernel interface for
    your kernel.
    -> Performing CC sanity check with CC="cc".
    -> Performing CC version check with CC="cc".
    -> The CC version check failed:

    The compiler used to compile the kernel (gcc 4.1) does not exactly match the
    current compiler (gcc 4.3). The Linux 2.6 kernel module loader rejects kern
    el modules built with a version of gcc that does not exactly match that of t
    he compiler used to build the running kernel.

    If you know what you are doing and want to ignore the gcc version check, sel
    ect "No" to continue installation. Otherwise, select "Yes" to abort install
    ation, set the CC environment variable to the name of the compiler used to c
    ompile your kernel, and restart installation. Abort now? (Answer: No)
    ERROR: The kernel header file '/usr/src/linux/include/linux/kernel.h' does not
    exist. The most likely reason for this is that the kernel source path
    '/usr/src/linux' is incorrect. Please make sure you have installed the
    kernel source files for your kernel and that they are properly
    configured; on Red Hat Linux systems, for example, be sure you have the
    'kernel-source' or 'kernel-devel' RPM installed. If you know the
    correct kernel source files are installed, you may specify the kernel
    source path with the '--kernel-source-path' command line option.
    ERROR: Installation has failed. Please see the file
    '/var/log/nvidia-installer.log' for details. You may find suggestions
    on fixing installation problems in the README available on the Linux
    driver download page at www.nvidia.com.

    .Si conseguimos sacarlo hago un manual XD .Salu2
    "La información es poder "
     

  2. #2  
    Moderador Global
    Fecha de ingreso
    Aug 2005
    Mensajes
    6.279
    Descargas
    7
    Uploads
    0
    Yo lo resuelvo del siguiente modo:

    El archivo /usr/bin/gcc es un enlace simbólico a la versión de gcc que estás usando. Puedes verlo con
    Código:
    ls -l /usr/bin/gcc
    Ése es el archivo que el instalador que estás usando buscará. Así que puedes simplemente quitarlo de ahí temporalmente
    Código:
    mv /usr/bin/gcc /usr/bin/gcc.copia
    y poner uno que apunte a la versión que te pide (que por supuesto debe estar instalada)
    Código:
    ln -s /usr/bin/gcc-4.1 /usr/bin/gcc
    No olvides dejarlo todo como estaba!

    Salu2


    Keep on Rollin'

    . . . . . . . . . . . . . . . . . . . .
    [[ NORMAS DEL FORO ]]
    . . . . . . . . . . . . . . . . . . . .
    __________
     

  3. #3 igual 
    Avanzado
    Fecha de ingreso
    Jan 2008
    Mensajes
    170
    Descargas
    8
    Uploads
    0
    ya lo hice y me sigue tirando el mismo error .
    "La información es poder "
     

  4. #4 mejorando 
    Avanzado
    Fecha de ingreso
    Jan 2008
    Mensajes
    170
    Descargas
    8
    Uploads
    0
    vamos mejorando , pero todavia me da este error del kernel

    nvidia-installer log file '/var/log/nvidia-installer.log'
    creation time: Thu Feb 19 22:33:27 2009

    option status:
    license pre-accepted : false
    update : false
    force update : false
    expert : false
    uninstall : false
    driver info : false
    precompiled interfaces : true
    no ncurses color : false
    query latest version : false
    OpenGL header files : true
    no questions : false
    silent : false
    no recursion : false
    no backup : false
    kernel module only : false
    sanity : false
    add this kernel : false
    no runlevel check : false
    no network : false
    no ABI note : false
    no RPMs : false
    no kernel module : false
    force SELinux : default
    no X server check : false
    force tls : (not specified)
    X install prefix : (not specified)
    X library install path : (not specified)
    X module install path : (not specified)
    OpenGL install prefix : (not specified)
    OpenGL install libdir : (not specified)
    utility install prefix : (not specified)
    utility install libdir : (not specified)
    doc install prefix : (not specified)
    kernel name : (not specified)
    kernel include path : (not specified)
    kernel source path : (not specified)
    kernel output path : (not specified)
    kernel install path : (not specified)
    proc mount point : /proc
    ui : (not specified)
    tmpdir : /tmp
    ftp mirror : ftp://download.nvidia.com
    RPM file list : (not specified)

    Using: nvidia-installer ncurses user interface
    -> License accepted.
    -> No precompiled kernel interface was found to match your kernel; would you li
    ke the installer to attempt to download a kernel interface for your kernel f
    rom the NVIDIA ftp site (ftp://download.nvidia.com)? (Answer: Yes)
    -> No matching precompiled kernel interface was found on the NVIDIA ftp site;
    this means that the installer will need to compile a kernel interface for
    your kernel.
    -> Performing CC sanity check with CC="cc".
    -> Performing CC version check with CC="cc".
    -> Kernel source path: '/lib/modules/2.6.26-1-686/build'
    -> Kernel output path: '/lib/modules/2.6.26-1-686/build'
    -> Performing rivafb check.
    -> Performing nvidiafb check.
    -> Performing Xen check.
    -> Cleaning kernel module build directory.
    executing: 'cd ./usr/src/nv; make clean'...
    -> Building kernel module:
    executing: 'cd ./usr/src/nv; make module SYSSRC=/lib/modules/2.6.26-1-686/bu
    ild SYSOUT=/lib/modules/2.6.26-1-686/build'...
    NVIDIA: calling KBUILD...
    make CC=cc KBUILD_VERBOSE=1 -C /lib/modules/2.6.26-1-686/build SUBDIRS=/tmp
    /selfgz6301/NVIDIA-Linux-x86-171.06.01-pkg1/usr/src/nv modules
    test -e include/linux/autoconf.h -a -e include/config/auto.conf || ( \
    echo; \
    echo " ERROR: Kernel configuration is invalid."; \
    echo " include/linux/autoconf.h or include/config/auto.conf are mis
    sing."; \
    echo " Run 'make oldconfig && make prepare' on kernel src to fix it
    ."; \
    echo; \
    /bin/false)
    mkdir -p /tmp/selfgz6301/NVIDIA-Linux-x86-171.06.01-pkg1/usr/src/nv/.tmp_ver
    sions ; rm -f /tmp/selfgz6301/NVIDIA-Linux-x86-171.06.01-pkg1/usr/src/nv/.tm
    p_versions/*
    make -f scripts/Makefile.build obj=/tmp/selfgz6301/NVIDIA-Linux-x86-171.06.0
    1-pkg1/usr/src/nv
    cc -Wp,-MD,/tmp/selfgz6301/NVIDIA-Linux-x86-171.06.01-pkg1/usr/src/nv/.nv.
    o.d -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.1.3/include -D__KERNEL
    __ -Iinclude -include include/linux/autoconf.h -Wall -Wundef -Wstrict-proto
    types -Wno-trigraphs -fno-strict
    -aliasing -fno-common -Werror-implicit-function-declaration -Os -fno-stack
    -protector -m32 -msoft-float -mregparm=3 -freg-struct-return -mpreferred-sta
    ck-boundary=2 -march=i686 -ffreestanding -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_
    SIGNAL_FRAME=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-
    sse -mno-mmx -mno-sse2 -mno-3dnow -Iinclude/asm-x86/mach-default -fomit-fram
    e-pointer -Wdeclaration-after-statement -Wno-pointer-sign -I/tmp/selfgz630
    1/NVIDIA-Linux-x86-171.06.01-pkg1/usr/src/nv -Wall -Wimplicit -Wreturn-type
    -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wpointer-arith -Wno-multi
    char -Werror -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DM
    ODULE -DNVRM -DNV_VERSION_STRING=\"171.06.01\" -UDEBUG -U_DEBUG -DNDEBUG -D
    MODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv)" -D"KBUILD_MO
    DNAME=KBUILD_STR(nvidia)" -c -o /tmp/selfgz6301/NVIDIA-Linux-x86-171.06.01-p
    kg1/usr/src/nv/.tmp_nv.o /tmp/selfgz6301/NVIDIA-Linux-x86-171.06.01-pkg1/usr
    /src/nv/nv.c
    In file included from include/linux/list.h:6,
    from include/linux/preempt.h:11,
    from include/linux/spinlock.h:49,
    from include/linux/seqlock.h:29,
    from include/linux/time.h:8,
    from include/linux/timex.h:57,
    from include/linux/sched.h:54,
    from include/linux/utsname.h:35,
    from /tmp/selfgz6301/NVIDIA-Linux-x86-171.06.01-pkg1/usr/sr
    c/nv/nv-linux.h:19,
    from /tmp/selfgz6301/NVIDIA-Linux-x86-171.06.01-pkg1/usr/sr
    c/nv/nv.c:14:
    include/linux/prefetch.h: In function ‘prefetch_range’:
    include/linux/prefetch.h:57: warning: pointer of type ‘void *’ used in a
    rithmetic
    In file included from include/asm/dma-mapping.h:9,
    from include/linux/dma-mapping.h:52,
    from include/asm-generic/pci-dma-compat.h:7,
    from include/asm/pci.h:92,
    from include/linux/pci.h:948,
    from /tmp/selfgz6301/NVIDIA-Linux-x86-171.06.01-pkg1/usr/sr
    c/nv/nv-linux.h:86,
    from /tmp/selfgz6301/NVIDIA-Linux-x86-171.06.01-pkg1/usr/sr
    c/nv/nv.c:14:
    include/linux/scatterlist.h: In function ‘sg_virt’:
    include/linux/scatterlist.h:199: warning: pointer of type ‘void *’ used
    in arithmetic
    In file included from /tmp/selfgz6301/NVIDIA-Linux-x86-171.06.01-pkg1/usr/sr
    c/nv/nv-linux.h:109,
    from /tmp/selfgz6301/NVIDIA-Linux-x86-171.06.01-pkg1/usr/sr
    c/nv/nv.c:14:
    include/linux/highmem.h: In function ‘zero_user_segments’:
    include/linux/highmem.h:134: warning: pointer of type ‘void *’ used in a
    rithmetic
    include/linux/highmem.h:134: warning: pointer of type ‘void *’ used in a
    rithmetic
    include/linux/highmem.h:134: warning: pointer of type ‘void *’ used in a
    rithmetic
    include/linux/highmem.h:134: warning: pointer of type ‘void *’ used in a
    rithmetic
    include/linux/highmem.h:137: warning: pointer of type ‘void *’ used in a
    rithmetic
    include/linux/highmem.h:137: warning: pointer of type ‘void *’ used in a
    rithmetic
    include/linux/highmem.h:137: warning: pointer of type ‘void *’ used in a
    rithmetic
    include/linux/highmem.h:137: warning: pointer of type ‘void *’ used in a
    rithmetic
    /tmp/selfgz6301/NVIDIA-Linux-x86-171.06.01-pkg1/usr/src/nv/nv.c: In function
    ‘nvos_proc_create’:
    /tmp/selfgz6301/NVIDIA-Linux-x86-171.06.01-pkg1/usr/src/nv/nv.c:616: error:
    ‘proc_root_driver’ undeclared (first use in this function)
    /tmp/selfgz6301/NVIDIA-Linux-x86-171.06.01-pkg1/usr/src/nv/nv.c:616: error:
    (Each undeclared identifier is reported only once
    /tmp/selfgz6301/NVIDIA-Linux-x86-171.06.01-pkg1/usr/src/nv/nv.c:616: error:
    for each function it appears in.)
    /tmp/selfgz6301/NVIDIA-Linux-x86-171.06.01-pkg1/usr/src/nv/nv.c: In function
    ‘nv_kern_vma_nopage’:
    /tmp/selfgz6301/NVIDIA-Linux-x86-171.06.01-pkg1/usr/src/nv/nv.c:1832: error:
    ‘NOPAGE_SIGBUS’ undeclared (first use in this function)
    /tmp/selfgz6301/NVIDIA-Linux-x86-171.06.01-pkg1/usr/src/nv/nv.c: At top leve
    l:
    /tmp/selfgz6301/NVIDIA-Linux-x86-171.06.01-pkg1/usr/src/nv/nv.c:1839: error:
    unknown field ‘nopage’ specified in initializer
    /tmp/selfgz6301/NVIDIA-Linux-x86-171.06.01-pkg1/usr/src/nv/nv.c:1839: warnin
    g: initialization from incompatible pointer type
    make[3]: *** [/tmp/selfgz6301/NVIDIA-Linux-x86-171.06.01-pkg1/usr/src/nv/nv.
    o] Error 1
    make[2]: *** [_module_/tmp/selfgz6301/NVIDIA-Linux-x86-171.06.01-pkg1/usr/sr
    c/nv] Error 2
    NVIDIA: left KBUILD.
    nvidia.ko failed to build!
    make[1]: *** [module] Error 1
    make: *** [module] Error 2
    -> Error.
    ERROR: Unable to build the NVIDIA kernel module.
    ERROR: Installation has failed. Please see the file
    '/var/log/nvidia-installer.log' for details. You may find suggestions
    on fixing installation problems in the README available on the Linux
    driver download page at www.nvidia.com.
    "La información es poder "
     

  5. #5 instalando 
    Avanzado
    Fecha de ingreso
    Jan 2008
    Mensajes
    170
    Descargas
    8
    Uploads
    0
    ahora lo estoy instalando así :

    # apt-get install module-assistant build-essentials
    # m-a build nvidia
    # m-a install nvidia
    # dpkg-reconfigure xserver-xorg (seleccionas nvidia)

    Ha fallado la compilación del paquete

    nvidia-kernel-source! ¿Qué desea hacer?

    VIEW Examinar el fichero del registro de la compilación
    CONTINUE Omitirlo y continuar con la operación siguiente
    STOP Detener el procesamiento de órdenes de compilación

    el fichero es de log es:

    Build log starting, file:
    /var/cache/modass/nvidia-kernel-source.buildlog.2.6.26-1-686.1235176686
    Date: Sat, 21 Feb 2009 01:38:06 +0100

    Porqúe siempre me falla la configuración del kernel?

    Tambien lo he intentado instalar así:

    Aida:/# apt-get install nvidia-kernel-source nvidia-kernel-common

    Seguidamente instalaremos los headers de nuestro kernel precompilado
    (en el caso que sea un kernel oficial de Debian)

    Aida:/# apt-get install kernel-headers-`uname -r`

    En el caso que no sea un kernel oficial de Debian, no existirán los headers del mismo.
    Deberíamos haber guardado las fuentes de nuestro kernel en /usr/src/kernel-source-`uname -r`

    Exportaremos las variables de las headers.

    Aida:/# export KSRC=/usr/src/kernel-headers-`uname -r`
    Aida:/# export KVERS=`uname -r`

    Descomprimir las fuentes del driver.

    Aida:/# cd /usr/src
    Aida:/# tar zxvf nvidia-kernel-source.tar.gz

    Compilar las fuentes y generar el paquete deb.

    Aida:/# cd modules/nvidia-kernel
    Aida:/# debian/rules binary_modules

    Instalar el paquete deb.

    Aida:/# dpkg -i ../nvidia-kernel-`uname -r`*deb
    Aida:/# depmod -a

    Ahora instalamos las X y las restantes dependencias de nuestro driver de nvidia.

    Aida:/# apt-get install nvidia-glx nvidia-glx-dev xserver-xfree86 x-window-system

    Como último paso configuramos las X seleccionando ( nvidia ) en el primer menú.

    Aida:/# dpkg-reconfigure xserver-xfree86

    Pero al hacer el Aida:/# tar zxvf nvidia-kernel-source.tar.gz
    Me dice que no se encuentra , hago un dir y este se llama nvidia-kernel.tar.bz2.gz

    Asique hago un tar zxvf nvidia-kernel-source.tar.bz2.gz y me dice

    tar: Esto no parece un archivo tar
    tar: Saltando a la siguiente cabecera
    tar: Salida con error demorada desde errores anteriores
    pcsayker:/usr/src# tar zxvf nvidia-kernel.tar.bz2.gz

    Después le doy permisos al archivo para intentarlo descomprimir en el entorno gráfico con chmod 777 nvidia-kernel.tar.bz2.gz
    y cuando lo intento descomprimir me sale :

    ARK - El manejador de fallos de kde

    Descripcion corta .
    La aplicacion ark fallo y provoco la señal 11 (SIGSEGV)

    ¿porqué me sale esto?Gracias
    Última edición por 54yk3r; 21-02-2009 a las 02:07
    "La información es poder "
     

  6. #6 solucionado!! 
    Avanzado
    Fecha de ingreso
    Jan 2008
    Mensajes
    170
    Descargas
    8
    Uploads
    0
    segui los pasos de esta página :

    http://usuariodebian.blogspot.com/2007/06/instalar-driver-de-nvidia-aceleracin-3d.html

    Y me bajé el driver que han sacado hace poco de la página de nvidia http://www.nvidia.es/object/linux_display_ia32_180.29_es.html y me funciona a la perfección.Gracias
    "La información es poder "
     

  7. #7  
    Moderador Global
    Fecha de ingreso
    Aug 2005
    Mensajes
    6.279
    Descargas
    7
    Uploads
    0
    Perfecto, cierro el hilo

    Salu2


    Keep on Rollin'

    . . . . . . . . . . . . . . . . . . . .
    [[ NORMAS DEL FORO ]]
    . . . . . . . . . . . . . . . . . . . .
    __________
     

Temas similares

  1. Driver nvidia
    Por chico1988 en el foro HARDWARE
    Respuestas: 2
    Último mensaje: 07-11-2008, 11:34
  2. Problema con nvidia y ati
    Por j8k6f4v9j en el foro LINUX - MAC - OTROS
    Respuestas: 5
    Último mensaje: 03-10-2007, 14:46
  3. ATI o NVIDIA??
    Por juan_kily en el foro HARDWARE
    Respuestas: 7
    Último mensaje: 22-02-2004, 20:33
  4. tarjeta NVIDIA
    Por elgranpichu en el foro HARDWARE
    Respuestas: 4
    Último mensaje: 17-08-2003, 11:04
  5. gforce2 nvidia
    Por Xevian en el foro LINUX - MAC - OTROS
    Respuestas: 4
    Último mensaje: 07-03-2003, 17:16

Marcadores

Marcadores