Автор Гілка: Проблемі з NVIDIA  (Прочитано 11966 раз)

Відсутній Rishon

  • Новачок
  • *
  • дописів: 20
  • Карма: +0/-0
Проблемі з NVIDIA
« : 2005-01-06 10:19:32 »
Добрий день!
Хто небудь, ставив дрова NVIDIA-Linux-x86-1.0-6629-pkg1.run на Мендрейк 10.0 (2.6.3-4). Коли я запускаю NVIDIA-Linux-x86-1.0-6629-pkg1.run вилазе ось такий лог:
option status:
  license pre-accepted    : false
  update                  : false
  force update            : false
  expert                  : false
  uninstall               : false
  driver info             : false
  no precompiled interface: false
  no ncurses color        : false
  query latest driver ver : false
  OpenGL header files     : false
  no questions            : false
  silent                  : 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
  force tls               : (not specified)
  force compat32 tls      : (not specified)
  X install prefix        : /usr/X11R6
  OpenGL install prefix   : /usr
  compat32 install prefix : (not specified)
  installer install prefix: /usr
  utility install prefix  : /usr
  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                  : /root/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: No)
-> No precompiled kernel interface was found to match your kernel; this means
   that the installer will need to compile a new kernel interface.
-> Kernel source path: '/lib/modules/2.6.3-4mdk/build'
-> Performing CC test with CC="cc".
-> Performing rivafb check.
-> Performing rivafb module check.
WARNING: Your kernel was configured to include rivafb support as
         a loadable kernel module.
        
         The rivafb driver conflicts with the NVIDIA driver; the
         NVIDIA kernel module will still be built and installed,
         but be aware that the NVIDIA driver will not be able to
         function properly if the rivafb module is loaded!
-> Cleaning kernel module build directory.
   executing: 'cd ./usr/src/nv; make clean'...
   rm -f -f nv.o nv-vm.o os-agp.o os-interface.o os-registry.o nv.o nv-vm.o os-
   agp.o os-interface.o os-registry.o nvidia.mod.o
   rm -f -f build-in.o nv-linux.o *.d .*.{cmd,flags}
   rm -f -f nvidia.{o,ko,mod.{o,c}} nv_compiler.h *~
   rm -f -rf .tmp_versions
-> Building kernel module:
   executing: 'cd ./usr/src/nv; make module SYSSRC=/lib/modules/2.6.3-4mdk/buil
   d SYSOUT=/lib/modules/2.6.3-4mdk/build'...
   Your kernel was configured to include rivafb support as
   a loadable kernel module.
  
   The rivafb driver conflicts with the NVIDIA driver; the
   NVIDIA kernel module will still be built and installed,
   but be aware that the NVIDIA driver will not be able to
   function properly if the rivafb module is loaded!
  
   *** Failed rivafb module sanity check, but continuing! ***
  
  
   NVIDIA: calling KBUILD...
   make CC=cc  KBUILD_VERBOSE=1 -C /lib/modules/2.6.3-4mdk/build SUBDIRS=/root/
   tmp/selfgz1410/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv modules
   make -f scripts/Makefile.build obj=scripts
   make -f scripts/Makefile.build obj=scripts/genksyms
     cc -Wp,-MD,scripts/.empty.o.d -nostdinc -iwithprefix include -D__KERNEL__
   -Iinclude  -D__KERNEL__ -Iinclude  -Wall -Wstrict-prototypes -Wno-trigraphs
   -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i
   586 -Iinclude/asm-i386/mach-default -O2     -DKBUILD_BASENAME=empty -DKBUILD
   _MODNAME=empty -c -o scripts/.tmp_empty.o scripts/empty.c
     scripts/mk_elfconfig i386 < scripts/empty.o > scripts/elfconfig.h
     gcc -Wp,-MD,scripts/.file2alias.o.d -Wall -Wstrict-prototypes -O2 -fomit-f
   rame-pointer       -c -o scripts/file2alias.o scripts/file2alias.c
     gcc -Wp,-MD,scripts/.modpost.o.d -Wall -Wstrict-prototypes -O2 -fomit-fram
   e-pointer       -c -o scripts/modpost.o scripts/modpost.c
     gcc  -o scripts/modpost scripts/modpost.o scripts/file2alias.o  
     SPLIT   include/linux/autoconf.h -> include/config/*
   *** Warning: Overriding SUBDIRS on the command line can cause
   ***          inconsistencies
   mkdir -p .tmp_versions
   make -f scripts/Makefile.build obj=arch/i386/kernel arch/i386/kernel/asm-off
   sets.s
     cc -Wp,-MD,arch/i386/kernel/.asm-offsets.s.d -nostdinc -iwithprefix includ
   e -D__KERNEL__ -Iinclude  -D__KERNEL__ -Iinclude  -Wall -Wstrict-prototypes
   -Wno-trigraphs -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boun
   dary=2 -march=i586 -Iinclude/asm-i386/mach-default -O2     -DKBUILD_BASENAME
   =asm_offsets -DKBUILD_MODNAME=asm-offsets -S -o arch/i386/kernel/asm-offsets
   .s arch/i386/ker
   nel/asm-offsets.c
     CHK     include/asm-i386/asm_offsets.h
   make -f scripts/Makefile.build obj=/root/tmp/selfgz1410/NVIDIA-Linux-x86-1.0
   -6629-pkg1/usr/src/nv
   echo \#define NV_COMPILER \"`cc -v 2>&1 | tail -n 1`\" > /root/tmp/selfgz141
   0/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv_compiler.h
     cc -Wp,-MD,/root/tmp/selfgz1410/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/
   .nv.o.d -nostdinc -iwithprefix include -D__KERNEL__ -Iinclude  -D__KERNEL__
   -Iinclude  -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fn
   o-common -pipe -mpreferred-stack-boundary=2 -march=i586 -Iinclude/asm-i386/m
   ach-default -O2  -I/root/tmp/selfgz1410/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/s
   rc/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wp
   arentheses -Wpointer-arith  -Wno-multichar  -Werror -O -fno-common -MD   -Wn
   o-cast-qual -Wno-error -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE  -DNTRM -
   D_GNU_SOURCE -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE  -DNV_MAJOR_VERSION
   =1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=6629  -D
   NV_UNIX   -DNV_LINUX   -DNV_INT64_OK   -DNVCPU_X86      -UDEBUG -U_DEBUG -DN
   DEBUG -DNV_REMAP_PAGE_RANGE_5 -DNV_CHANGE_PAGE_ATTR_PRESENT -DNV_PCI_DISABLE
   _DEVICE_PRESENT -DNV_CLASS_SIMPLE_CREATE_PRESENT  -DMODULE -DKBUILD_BASENAME
   =nv -DKBUILD_MODNAME=nvidia -c -o /root/tmp/selfgz1410/NVIDIA-Linux-x86-1.0-
   6629-pkg1/usr/src/nv/.tmp_nv.o /root/tmp/selfgz1410/NVIDIA-Linux-x86-1.0-662
   9-pkg1/usr/src/nv/nv.c
     cc -Wp,-MD,/root/tmp/selfgz1410/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/
   .nv-vm.o.d -nostdinc -iwithprefix include -D__KERNEL__ -Iinclude  -D__KERNEL
   __ -Iinclude  -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing
   -fno-common -pipe -mpreferred-stack-boundary=2 -march=i586 -Iinclude/asm-i38
   6/mach-default -O2  -I/root/tmp/selfgz1410/NVIDIA-Linux-x86-1.0-6629-pkg1/us
   r/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts
   -Wparentheses -Wpointer-arith  -Wno-multichar  -Werror -O -fno-common -MD  
   -Wno-cast-qual -Wno-error -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE  -DNTR
   M -D_GNU_SOUR
   CE -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE  -DNV_MAJOR_VERSION=1 -DNV_MI
   NOR_VERSION=0 -DNV_PATCHLEVEL=6629  -DNV_UNIX   -DNV_LINUX   -DNV_INT64_OK  
   -DNVCPU_X86      -UDEBUG -U_DEBUG -DNDEBUG -DNV_REMAP_PAGE_RANGE_5 -DNV_CHAN
   GE_PAGE_ATTR_PRESENT -DNV_PCI_DISABLE_DEVICE_PRESENT -DNV_CLASS_SIMPLE_CREAT
   E_PRESENT  -DMODULE -DKBUILD_BASENAME=nv_vm -DKBUILD_MODNAME=nvidia -c -o /r
   oot/tmp/selfgz1410/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/.tmp_nv-vm.o /r
   oot/tmp/selfgz1410/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv-vm.c
   /root/tmp/selfgz1410/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv-vm.c:59: w
   arning: `cache_flush' defined but not used
     cc -Wp,-MD,/root/tmp/selfgz1410/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/
   .os-agp.o.d -nostdinc -iwithprefix include -D__KERNEL__ -Iinclude  -D__KERNE
   L__ -Iinclude  -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing
   -fno-common -pipe -mpreferred-stack-boundary=2 -march=i586 -Iinclude/asm-i38
   6/mach-default -O2  -I/root/tmp/selfgz1410/NVIDIA-Linux-x86-1.0-6629-pkg1/
   usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscript
   s -Wparentheses -Wpointer-arith  -Wno-multichar  -Werror -O -fno-common -MD
    -Wno-cast-qual -Wno-error -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE  -DNT
   RM -D_GNU_SOURCE -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE  -DNV_MAJOR_VER
   SION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=6629  -DNV_UNIX   -DNV_LINUX   -
   DNV_INT64_OK   -DNVCPU_X86      -UDEBUG -U_DEBUG -DNDEBUG -DNV_REMAP_PAGE_RA
   NGE_5 -DNV_CHANGE_PAGE_ATTR_PRESENT -DNV_PCI_DISABLE_DEVICE_PRESENT -DNV_CLA
   SS_SIMPLE_CREATE_PRESENT  -DMODULE -DKBUILD_BASENAME=os_agp -DKBUILD_MODNAME
   =nvidia -c -o /root/tmp/selfgz1410/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv
   /.tmp_os-agp.o /root/tmp/selfgz1410/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/n
   v/os-agp.c
     cc -Wp,-MD,/root/tmp/selfgz1410/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/
   .os-interface.o.d -nostdinc -iwithprefix include -D__KERNEL__ -Iinclude  -D_
   _KERNEL__ -Iinclude  -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-al
   iasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i586 -Iinclude/
   asm-i386/mach-default -O2  -I/root/tmp/selfgz1410/NVIDIA-Linux-x86-1.0-6629-
   pkg1/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subs
   cripts -Wparentheses -Wpointer-arith  -Wno-multichar  -Werror -O -fno-common
   -MD   -Wno-cast-qual -Wno-error -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE
   -DNTRM -D_GNU_SOURCE -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE  -DNV_MAJOR
   _VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=6629  -DNV_UNIX   -DNV_LINUX
     -DNV_INT64_OK   -DNVCPU_X86      -UDEBUG -U_DEBUG -DNDEBUG -DNV_REMAP_PAGE
   _RANGE_5 -DNV_CHANGE_PAGE_ATTR_PRESENT -DNV_PCI_DISABLE_DEVICE_PRESENT -DNV_
   CLASS_SIMPLE_CREATE_PRESENT  -DMODULE -DKBUILD_BASENAME=os_interface -DKBUIL
   D_MODNAME=nvidia -c -o /root/tmp/selfgz1410/NVIDIA-Linux-x86-1.0-6629-pkg1/u
   sr/src/nv/.tmp_os-interface.o /root/tmp/selfgz1410/NVIDIA-Linux-x86-1.0-6629
   -pkg1/usr/src/nv/os-interface.c
     cc -Wp,-MD,/root/tmp/selfgz1410/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/
   .os-registry.o.d -nostdinc -iwithprefix include -D__KERNEL__ -Iinclude  -D__
   KERNEL__ -Iinclude  -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-ali
   asing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i586 -Iinclude/a
   sm-i386/mach-default -O2  -I/root/tmp/selfgz1410/NVIDIA-Linux-x86-1.0-6629-p
   kg1/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subsc
   ripts -Wparentheses -Wpointer-arith  -Wno-multichar  -Werror -O -fno-common
   -MD   -Wno-cast-qual -Wno-error -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE
   -DNTRM -D_GNU_SOURCE -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE  -DNV_MAJOR
   _VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=6629  -DNV_UNIX   -DNV_LINUX
     -DNV_INT64_OK   -DNVCPU_X86      -UDEBUG -U_DEBUG -DNDEBUG -DNV_REMAP_PAGE
   _RANGE_5 -DNV_CHANGE_PAGE_ATTR_PRESENT -DNV_PCI_DISABLE_DEVICE_PRESENT -DNV_
   CLASS_SIMPLE_CREATE_PRESENT  -DMODULE -DKBUILD_BASENAME=os_registry -DKBUILD
   _MODNAME=nvidia -c -o /root/tmp/selfgz1410/NVIDIA-Linux-x86-1.0-6629-pkg1/us
   r/src/nv/.tmp_os-registry.o /root/tmp/selfgz1410/NVIDIA-Lin
   ux-x86-1.0-6629-pkg1/usr/src/nv/os-registry.c
     ld -m elf_i386  -r -o /root/tmp/selfgz1410/NVIDIA-Linux-x86-1.0-6629-pkg1/
   usr/src/nv/nvidia.o /root/tmp/selfgz1410/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/
   src/nv/nv-kernel.o /root/tmp/selfgz1410/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/s
   rc/nv/nv.o /root/tmp/selfgz1410/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv
   -vm.o /root/tmp/selfgz1410/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.
   o /root/tmp/selfgz1410/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-interfac
   e.o /root/tmp/selfgz1410/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-regist
   ry.o
     Building modules, stage 2.
   make -rR -f /usr/src/linux-2.6.3-4mdk/scripts/Makefile.modpost
     scripts/modpost /root/tmp/selfgz1410/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/sr
   c/nv/nvidia.o
     cc -Wp,-MD,/root/tmp/selfgz1410/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/
   .nvidia.mod.o.d -nostdinc -iwithprefix include -D__KERNEL__ -Iinclude  -D__K
   ERNEL__ -Iinclude  -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-alia
   sing -fno-common -pipe -mprefer
   red-stack-boundary=2 -march=i586 -Iinclude/asm-i386/mach-default -O2     -DK
   BUILD_BASENAME=nvidia  -DMODULE -c -o /root/tmp/selfgz1410/NVIDIA-Linux-x86-
   1.0-6629-pkg1/usr/src/nv/nvidia.mod.o /root/tmp/selfgz1410/NVIDIA-Linux-x86-
   1.0-6629-pkg1/usr/src/nv/nvidia.mod.c
     ld -m elf_i386 -r -o /root/tmp/selfgz1410/NVIDIA-Linux-x86-1.0-6629-pkg1/u
   sr/src/nv/nvidia.ko /root/tmp/selfgz1410/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/
   src/nv/nvidia.o /root/tmp/selfgz1410/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/
   nv/nvidia.mod.o
   NVIDIA: left KBUILD.
-> done.
-> Kernel module compilation complete.
-> Installing both new and classic TLS OpenGL libraries.
-> Installing 'NVIDIA Accelerated Graphics Driver for Linux-x86' (1.0-6629):
   executing: './usr/src/nv/makedevices.sh'...
   executing: '/sbin/ldconfig'...
   executing: '/sbin/depmod -aq'...
-> done.
-> Driver file installation is complete.
-> Running post-install sanity check:
-> done.
-> Post-install sanity check passed.
-> Shared memory test passed.
-> Running runtime sanity check:
-> done.
-> Runtime sanity check passed.
-> Installation of the NVIDIA Accelerated Graphics Driver for Linux-x86
   (version: 1.0-6629) is now complete.  Please update your XF86Config or
   xorg.conf file as appropriate; see the file
   /usr/share/doc/NVIDIA_GLX-1.0/README for details.
 Змінюю ХF86Config - нічого, на працюють дрова.
 Я вже перечитав купу статей , намагався встановити з сирців, так Х-си зовсім здохли.
mdk 10.0 (2.6.3-4)
Дуже дякую за допомогу.
« Змінено: 2005-01-06 11:07:45 від Rishon »

Zevs

  • Гість
Re: Проблемі з NVIDIA
« Відповідей #1 : 2005-01-06 11:34:17 »
Попробуй поставити NVIDIA-Linux-x86-1.0-6111-pkg1.run поідеї ця версія трохи старіша але на Mandrake linux 10.0 Official має поставитись без проблем (хоча може бути і таке що після перезагрузки Х можуть і не загрузитися але це лікується просто повторною установкою драйвера(!) як це не дивно звучить) принаймі в мене цей драйвер працює без проблем.

Відсутній Rishon

  • Новачок
  • *
  • дописів: 20
  • Карма: +0/-0
Re: Проблемі з NVIDIA
« Відповідей #2 : 2005-01-06 13:01:12 »
А як видалити з ядра модуль rivafb? Може в ньому справа?

Сергій Кудрик

  • Гість
Re: Проблемі з NVIDIA
« Відповідей #3 : 2005-01-06 13:35:43 »
Я компілював версію 6629 для RedHat 9.0/X.Org 6.8.2,
працює не дуже стабільно .. чомусь вибірає лише 8-бітний колір

Наразі я використовую стандартний драйвер nv який в X.Org
підтримує overlay (розширення XVideo).

Щоб активізувати драйвер від Nvidia  необхідно
у файлі /etc/X11/XF86Config (xorg.conf)
деактивізувати модуль DRI, та активізувати OPENGL:

# Load "dri"
   Load "opengl"

та активізувати драйвер nvidia замість nv

у файлі /etc/modules.conf (modprobe.conf)
закоментувати рядок активізації модуля rivafb

# alias char-major-29 rivafb

після команд:

/sbin/rmmod rivafb (якщо ядро було запущено з параметром video=rivafb:..)

/sbin/modprobe nvidia

зможете запустити графічний режим.


Відсутній Rishon

  • Новачок
  • *
  • дописів: 20
  • Карма: +0/-0
Re: Проблемі з NVIDIA
« Відповідей #4 : 2005-01-06 15:58:49 »
Дуже дякую всім за поради! :)
Все запрацювало. ;)