NVIDIA & glx (проблема)

SLAX, Deep Style, ZenWalk

Модератор: Модераторы разделов

L.Marvell
Сообщения: 29

NVIDIA & glx

Сообщение L.Marvell »

Впервые пришлось ставить драйвер для NVIDIA. Ставил по инструкции с http://lafox.net/docs/nvidia/nvidia.html Драйвер собрался, проинсталился, закоментил я в xorg.conf подгрузку dri и заменил nv на nvidia. При загрузке Х машина вылетает в консоль. В xorg.0.log кроме варнингов по поводу путей к шрифтам есть еще такое:
(WW) Open APM failed (/dev/apm_bios) (No such device)
...
(WW) NVIDIA(0): Multiple displays connected, but only one display allowed;
(WW) NVIDIA(0): using first display
...
(WW) (1600x1200,Monitor0) mode clock 162MHz exceeds DDC maximum 140MHz
(WW) (1600x1200,Monitor0) mode clock 175.5MHz exceeds DDC maximum 140MHz
...
(WW) (1400x1050,Monitor0) mode clock 155.8MHz exceeds DDC maximum 140MHz
...
(WW) NVIDIA(0): Not using mode "800x600" (height 1200 is larger than
(WW) NVIDIA(0): EDID-specified maximum 1024)
(WW) NVIDIA(0): Not using mode "800x600" (height 1200 is larger than
(WW) NVIDIA(0): EDID-specified maximum 1024)
(WW) NVIDIA(0): Not using mode "700x525" (height 1050 is larger than
(WW) NVIDIA(0): EDID-specified maximum 1024)
(WW) NVIDIA(0): Not using mode "700x525" (height 1050 is larger than
(WW) NVIDIA(0): EDID-specified maximum 1024)

И в самом конце:
(II) NVIDIA(0): Setting mode "1280x1024"
(II) Loading extension NV-GLX
(II) NVIDIA(0): NVIDIA 3D Acceleration Architecture Initialized
(II) NVIDIA(0): Using the NVIDIA 2D acceleration architecture
(==) NVIDIA(0): Backing store disabled
(==) NVIDIA(0): Silken mouse enabled
(**) Option "dpms"
(**) NVIDIA(0): DPMS enabled
(II) Loading extension NV-CONTROL
(==) RandR enabled
(II) Initializing built-in extension MIT-SHM
(II) Initializing built-in extension XInputExtension
(II) Initializing built-in extension XTEST
(II) Initializing built-in extension XKEYBOARD
(II) Initializing built-in extension LBX
(II) Initializing built-in extension XC-APPGROUP
(II) Initializing built-in extension SECURITY
(II) Initializing built-in extension XINERAMA
(II) Initializing built-in extension XFIXES
(II) Initializing built-in extension XFree86-Bigfont
(II) Initializing built-in extension RENDER
(II) Initializing built-in extension RANDR
(II) Initializing built-in extension COMPOSITE
(II) Initializing built-in extension DAMAGE
(II) Initializing built-in extension XEVIE
(II) Initializing extension GLX

*** If unresolved symbols were reported above, they might not
*** be the reason for the server aborting.

Fatal server error:
Caught signal 11. Server aborting


Please consult the The X.Org Foundation support
at http://wiki.X.Org
for help.
Please also check the log file at "/var/log/Xorg.0.log" for additional information.

Если закоментить glx, то грузится замечательно, но ессно никакого OpenGL и в помине нету.
Используется DeepStyle 1.1 (если кто не в курсе, то это тот же Слак, только чуть-чуть "подкрашен"), kernel 2.4.31 bareacpi.i

З.Ы. В аттаче лог инсталяции NVIDIA и xorg.conf.
Спасибо сказали:
Аватара пользователя
TuLiss
Сообщения: 1611
Статус: 01100
ОС: Gentoo,Ubuntu,MacOS X

Re: NVIDIA & glx

Сообщение TuLiss »

Hello.

I have problem with NVidia drivers at Slackware Linux.

I installed the nvidia drivers v7676 for my Slackware Linux 10.2 and reconfigured xorg.conf, but when I startx I have an error. I post the log (startx -logverbose 5):

---- cut here ----
(II) Initializing extension GLX

*** If unresolved symbols were reported above, they might not
*** be the reason for the server aborting.

Fatal server error:
Caught signal 11. Server aborting


Please consult the The X.Org Foundation support
at http://wiki.X.Org
for help.
Please also check the log file at "/var/log/Xorg.0.log" for additional information.

(II) NVIDIA(0): Restored console TV mode: 3
---- cut here ----

When I comment string ' Load "glx" ' in my config file it's worked perfectly, but opengl programms (such as opengl screensavers) doesn't work. I try to search information about this problem at internet. I have found many forums, where other peoples asking about analoque problem, but discission thread ended with answers: "do you realy needed OpenGl to use?", "On my Debian/Mandrake/etc Linux (not Slackware) all worked fine"...

Fully log's, configuration files and other information in attachment file.

My configuration:
Processor: Athlon 1800 XP+
Memory: 256Mb PC2700 Hynix
Video Card: ASUS Geforce 4 FX 5200 128Mb AGP.
OS: Linux Slackware 10.2
NVidia drivers: v7676 downloaded from official cite.

What's I do wrong?

P.S. Sorry for my terrible English.

WBR,
Tronix.


Ответ NVidia:

The driver installs two versions of libnvidia-tls.so (each with a symlink):
/usr/lib/tls/libnvidia-tls.so.1.0.7676
/usr/lib/tls/libnvidia-tls.so.1
/usr/lib/libnvidia-tls.so.1.0.7676
/usr/lib/libnvidia-tls.so.1

Please try renaming/moving one of them at a time and see if that helps.

Thanks,
NVIDIA Corporation
Чтение man'нов в слух ещЁ никому не помогало!...
kernel 4.2
chmod -x `which chmod`
War, war never changes...
Спасибо сказали:
L.Marvell
Сообщения: 29

Re: NVIDIA & glx

Сообщение L.Marvell »

Спасибо, попробуем. А никто не в курсе, помогло? :unsure:
Спасибо сказали:
Аватара пользователя
TuLiss
Сообщения: 1611
Статус: 01100
ОС: Gentoo,Ubuntu,MacOS X

Re: NVIDIA & glx

Сообщение TuLiss »

L.Marvell писал(а):
26.12.2005 18:22
Спасибо, попробуем. А никто не в курсе, помогло? :unsure:


Помогло :)
Чтение man'нов в слух ещЁ никому не помогало!...
kernel 4.2
chmod -x `which chmod`
War, war never changes...
Спасибо сказали:
L.Marvell
Сообщения: 29

Re: NVIDIA & glx

Сообщение L.Marvell »

TuLiss писал(а):
26.12.2005 18:51
L.Marvell писал(а):
26.12.2005 18:22

Спасибо, попробуем. А никто не в курсе, помогло? :unsure:


Помогло :)

:) Это радует.

Тогда я еще уточню, на всякий случай, правильно ли я понял. Нужно просто переименовать/перенести(/удалить) указанные вещи либо из /usr/lib, либо из /usr/lib/tls и усе?
Спасибо сказали:
L.Marvell
Сообщения: 29

Re: NVIDIA & glx

Сообщение L.Marvell »

L.Marvell писал(а):
26.12.2005 19:04
TuLiss писал(а):
26.12.2005 18:51

L.Marvell писал(а):
26.12.2005 18:22

Спасибо, попробуем. А никто не в курсе, помогло? :unsure:


Помогло :)

:) Это радует.

Тогда я еще уточню, на всякий случай, правильно ли я понял. Нужно просто переименовать/перенести(/удалить) указанные вещи либо из /usr/lib, либо из /usr/lib/tls и усе?

Извините за последний глупый вопрос. Все работает. Огромное спасибо.
Спасибо сказали:
NitroJuice
Сообщения: 12

Re: NVIDIA & glx

Сообщение NitroJuice »

А у меня вот такая вот проблема. NVIDIA-Linux-x86-1.0-6106-pkg1 не компилится на машине с SlackwareLinux 10.2 (2.6.11.12). Ниже приведу содержимое /var/log/nvidia-installer.log

Код: Выделить всё

nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Sun Jan  1 21:05:57 2006

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
  X install prefix        : /usr/X11R6
  OpenGL install prefix   : /usr
  Installer install prefix: /usr
  kernel source path      : (not specified)
  kernel install path     : (not specified)
  proc mount point        : /proc
  ui                      : (not specified)
  tmpdir                  : /tmp
  ftp site                : ftp://download.nvidia.com

Using: nvidia-installer ncurses user interface
-> License accepted.
-> There appears to already be a driver installed on your system (version: 1.0-
   6629).  As part of installing this driver (version: 1.0-6106), the existing
   driver will be uninstalled.  Are you sure you want to continue? ('no' will a
   bort installation) (Answer: Yes)
-> 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.11.12/build'
-> Performing cc_version_check with CC="cc".
-> Performing rivafb check.
-> Performing rivafb module check.
-> Cleaning kernel module build directory.
   executing: 'cd ./usr/src/nv; make clean'...
   rm -f -f nv.o os-agp.o os-interface.o os-registry.o nv.o os-agp.o os-interfa
   ce.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 *~
-> Building kernel module:
   executing: 'cd ./usr/src/nv; make module SYSSRC=/lib/modules/2.6.11.12/build
   '...

   NVIDIA: calling KBUILD...
   mkdir -p /tmp/selfgz6838/NVIDIA-Linux-x86-1.0-6106-pkg1/usr/src/nv/.tmp_vers
   ions
   make -f scripts/Makefile.build obj=/tmp/selfgz6838/NVIDIA-Linux-x86-1.0-6106
   -pkg1/usr/src/nv
   echo \#define NV_COMPILER \"`cc -v 2>&1 | tail -n 1`\" > /tmp/selfgz6838/NVI
   DIA-Linux-x86-1.0-6106-pkg1/usr/src/nv/nv_compiler.h
     cc -Wp,-MD,/tmp/selfgz6838/NVIDIA-Linux-x86-1.0-6106-pkg1/usr/src/nv/.nv.o
   .d -nostdinc -isystem /usr/lib/gcc-lib/i486-slackware-linux/3.3.6/include -D
   __KERNEL__ -Iinclude  -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-a
   liasing -fno-common -ffreestanding -O2     -fomit-frame-pointer -pipe -msoft
   -float -mpreferred-stack-boundary=2  -march=i686  -Iinclude/asm-i386/mach-de
   fault   -I/tmp/selfgz6838/NVIDIA-Linux-x86-1.0-6106-pkg1/usr/src/nv -Wall -W
   implicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wp
   ointer-arith  -Wno-multichar  -Werror -O -fno-common -MD   -Wno-cast-qual -W
   no-error -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE  -DNTRM -D_GNU_SOURCE -
   D_LOOSE_K
   ERNEL_NAMES -D__KERNEL__ -DMODULE  -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0
   -DNV_PATCHLEVEL=6106  -DNV_UNIX   -DNV_LINUX   -DNV_INT64_OK   -DNVCPU_X86
       -DNV_CHANGE_PAGE_ATTR_PRESENT -DNV_CLASS_SIMPLE_PRESENT  -DMODULE -DKBUI
   LD_BASENAME=nv -DKBUILD_MODNAME=nvidia -c -o /tmp/selfgz6838/NVIDIA-Linux-x8
   6-1.0-6106-pkg1/usr/src/nv/nv.o /tmp/selfgz6838/NVIDIA-Linux-x86-1.0-6106-pk
   g1/usr/src/nv/nv.c
   In file included from include/linux/list.h:7,
                    from include/linux/wait.h:23,
                    from include/asm/semaphore.h:41,
                    from include/linux/sched.h:19,
                    from include/linux/module.h:10,
                    from /tmp/selfgz6838/NVIDIA-Linux-x86-1.0-6106-pkg1/usr/src
   /nv/nv-linux.h:52,
                    from /tmp/selfgz6838/NVIDIA-Linux-x86-1.0-6106-pkg1/usr/src
   /nv/nv.c:14:
   include/linux/prefetch.h: In function `prefetch_range':
   include/linux/prefetch.h:62: warning: pointer of type `void *' used in arith
   metic
   In file included from include/linux/dmapool.h:14,
                    from include/linux/pci.h:863,
                    from /tmp/selfgz6838/NVIDIA-Linux-x86-1.0-6106-pkg1/usr/src
   /nv/nv-linux.h:75,
                    from /tmp/selfgz6838/NVIDIA-Linux-x86-1.0-6106-pkg1/usr/src
   /nv/nv.c:14:
   include/asm/io.h: In function `check_signature':
   include/asm/io.h:242: warning: wrong type argument to increment
   /tmp/selfgz6838/NVIDIA-Linux-x86-1.0-6106-pkg1/usr/src/nv/nv.c: In function
   `nvos_find_agp_by_class':
   /tmp/selfgz6838/NVIDIA-Linux-x86-1.0-6106-pkg1/usr/src/nv/nv.c:642: warning:
   implicit declaration of function `pci_find_class'
   /tmp/selfgz6838/NVIDIA-Linux-x86-1.0-6106-pkg1/usr/src/nv/nv.c:642: warning:
   assignment makes pointer from integer without a cast
   /tmp/selfgz6838/NVIDIA-Linux-x86-1.0-6106-pkg1/usr/src/nv/nv.c:653: warning:
   assignment makes pointer from integer without a cast
   /tmp/selfgz6838/NVIDIA-Linux-x86-1.0-6106-pkg1/usr/src/nv/nv.c: In function
   `nv_kern_mmap':
   /tmp/selfgz6838/NVIDIA-Linux-x86-1.0-6106-pkg1/usr/src/nv/nv.c:1764: warning
   : implicit declaration of function `remap_page_range'
   /tmp/selfgz6838/NVIDIA-Linux-x86-1.0-6106-pkg1/usr/src/nv/nv.c: In function
   `_get_phys_address':
   /tmp/selfgz6838/NVIDIA-Linux-x86-1.0-6106-pkg1/usr/src/nv/nv.c:2732: warning
   : passing arg 1 of `pmd_offset' from incompatible pointer type
   /tmp/selfgz6838/NVIDIA-Linux-x86-1.0-6106-pkg1/usr/src/nv/nv.c: In function
   `nv_agp_init':
   /tmp/selfgz6838/NVIDIA-Linux-x86-1.0-6106-pkg1/usr/src/nv/nv.c:3324: warning
   : `inter_module_put' is deprecated (declared at include/linux/module.h:578)
   /tmp/selfgz6838/NVIDIA-Linux-x86-1.0-6106-pkg1/usr/src/nv/nv.c: In function
   `nvos_count_devices':
   /tmp/selfgz6838/NVIDIA-Linux-x86-1.0-6106-pkg1/usr/src/nv/nv.c:3474: warning
   : assignment makes pointer from integer without a cast
   /tmp/selfgz6838/NVIDIA-Linux-x86-1.0-6106-pkg1/usr/src/nv/nv.c:3479: warning
   : assignment makes pointer from integer without a cast
   /tmp/selfgz6838/NVIDIA-Linux-x86-1.0-6106-pkg1/usr/src/nv/nv.c: In function
   `nv_acpi_event':
   /tmp/selfgz6838/NVIDIA-Linux-x86-1.0-6106-pkg1/usr/src/nv/nv.c:3677: error:
   `PM_SAVE_STATE' undeclared (first use in this function)
   /tmp/selfgz6838/NVIDIA-Linux-x86-1.0-6106-pkg1/usr/src/nv/nv.c:3677: error:
   (Each undeclared identifier is reported only once
   /tmp/selfgz6838/NVIDIA-Linux-x86-1.0-6106-pkg1/usr/src/nv/nv.c:3677: error:
   for each function it appears in.)
   make[3]: *** [/tmp/selfgz6838/NVIDIA-Linux-x86-1.0-6106-pkg1/usr/src/nv/nv.o
   ] Ошибка 1
   make[2]: *** [_module_/tmp/selfgz6838/NVIDIA-Linux-x86-1.0-6106-pkg1/usr/src
   /nv] Ошибка 2
   NVIDIA: left KBUILD.
   nvidia.ko failed to build!
   make[1]: *** [module] Ошибка 1
   make: *** [module] Ошибка 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.


Есть какие-нибудь идеи? Мне уже жизнь не мила из-за этой проблемы :\
Спасибо сказали:
v04bvs
Сообщения: 636
ОС: Debian GNU/Linux

Re: NVIDIA & glx

Сообщение v04bvs »

Кажется старые драйверы могут быть не совместимы с новыми ядрами. Т.е. придётся либо устанавливать старое ядро, либо использовать более новые драйверы. Возможен вариант поискать в интернете патч, адаптирующий эти драйверы для новых ядер.
Спасибо сказали:
Аватара пользователя
vg2.0
Сообщения: 832
Статус: *BSD admin ;)
ОС: *BSD =)

Re: NVIDIA & glx

Сообщение vg2.0 »

to NitroJuice
Большие файлы нужно не постить, а прикреплять файлом. :angry:

Попробуйте поставить новые драйвера, вот ссылка
http://www.nvidia.com/object/unix.html

А ядро собственной сборки? И на всякий случай прикрепите конфиг ядра и иксов.
FreeBSD 6-stable
FreeBSD 5.5-stable
Спасибо сказали:
Аватара пользователя
TuLiss
Сообщения: 1611
Статус: 01100
ОС: Gentoo,Ubuntu,MacOS X

Re: NVIDIA & glx

Сообщение TuLiss »

тут обнавлять драйвер надо
Чтение man'нов в слух ещЁ никому не помогало!...
kernel 4.2
chmod -x `which chmod`
War, war never changes...
Спасибо сказали:
NitroJuice
Сообщения: 12

Re: NVIDIA & glx

Сообщение NitroJuice »

Пробовал свежий драйвер, не помогло :(

Прикрепил конфиги.
Спасибо сказали: