nV News Forums


nV News Forums (http://www.nvnews.net/vbulletin/index.php)
-   NVIDIA Linux (http://www.nvnews.net/vbulletin/forumdisplay.php?f=14)
-   -   Black screen + segfault if glx is enabled (http://www.nvnews.net/vbulletin/showthread.php?t=87518)

bugmeplz 03-04-07 12:03 PM

Black screen + segfault if glx is enabled
1 Attachment(s)
I'm using 'nvidia' driver but if I enable 'glx' in xorg.conf I got only a black screen and a segfault

from lshw

                description: VGA compatible controller
                product: NV18 [GeForce4 MX 4000 AGP 8x]
                vendor: nVidia Corporation
                physical id: 0
                bus info: pci@01:00.0
                version: c1
                size: 128MB
                width: 32 bits
                clock: 66MHz
                capabilities: vga bus_master cap_list
                configuration: driver=nvidia
                resources: iomemory:e6000000-e6ffffff iomemory:e8000000-efffffff irq:11

netllama 03-04-07 12:24 PM

Re: Black screen + segfault if glx is enabled
How did you install the NVIDIA driver?

bugmeplz 03-04-07 01:08 PM

Re: Black screen + segfault if glx is enabled
I'm using ubuntu feisty, so I did
apt-get install nvidia-glx

bugmeplz 03-05-07 07:06 AM

Re: Black screen + segfault if glx is enabled

netllama 03-05-07 10:57 AM

Re: Black screen + segfault if glx is enabled
Does this problem persist if you install the official NVIDIA driver package?

bugmeplz 03-07-07 06:25 AM

Re: Black screen + segfault if glx is enabled
official drivers doesn't install


nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Tue Mar  6 20:38:42 2007

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: '/usr/src/linux'
-> Kernel output path: '/usr/src/linux'
-> Performing rivafb check.
-> Performing nvidiafb check.
-> 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=/usr/src/linux SYSOUT=/usr/s
  NVIDIA: calling KBUILD...
  make CC=cc  KBUILD_VERBOSE=1 -C /usr/src/linux SUBDIRS=/tmp/selfgz1347/NVIDI
  A-Linux-x86-1.0-7184-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;                                                                \
  mkdir -p /tmp/selfgz1347/NVIDIA-Linux-x86-1.0-7184-pkg1/usr/src/nv/.tmp_vers
  rm -f /tmp/selfgz1347/NVIDIA-Linux-x86-1.0-7184-pkg1/usr/src/nv/.tmp_version
    WARNING: Symbol version dump /usr/src/linux-source-2.6.20/Module.symvers
              is missing; modules will have no dependencies and modversions.
  make -f scripts/Makefile.build obj=/tmp/selfgz1347/NVIDIA-Linux-x86-1.0-7184
  echo \#define NV_COMPILER \"`cc -v 2>&1 | tail -n 1`\" > /tmp/selfgz1347/NVI
    cc -Wp,-MD,/tmp/selfgz1347/NVIDIA-Linux-x86-1.0-7184-pkg1/usr/src/nv/.nv.o
  .d  -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.1.2/include -D__KERNEL_
  _ -Iinclude  -include include/linux/autoconf.h -Iubuntu/include  -Wall -Wund
  ef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -O2 -
  pipe -msoft-float -mregparm=3 -mpreferred-stack-boundary=2  -march=i686 -ffr
  eestanding -maccumulate-outgoing-args  -Iinclude/asm-i386/mach-default -fom
  it-frame-pointer  -fno-stack-protector -Wdeclaration-after-statement -Wno-po
  inter-sign -I/tmp/selfgz1347/NVIDIA-Linux-x86-1.0-7184-pkg1/usr/src/nv -Wall
  -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -
  Wpointer-arith  -Wno-multichar  -Werror -O -fno-common -MD  -Wsign-compare
  -Wno-cast-qual -Wno-error -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE  -DNTR
  NV_INT64_OK  -DNVCPU_X86      -UDEBU
  o /tmp/selfgz1347/NVIDIA-Linux-x86-1.0-7184-pkg1/usr/src/nv/nv.o /tmp/selfgz
  In file included from /tmp/selfgz1347/NVIDIA-Linux-x86-1.0-7184-pkg1/usr/src
  error: linux/config.h: Nessun file o directory
  In file included from include/linux/list.h:8,
                    from include/linux/wait.h:22,
                    from include/asm/semaphore.h:41,
                    from include/linux/sched.h:59,
                    from include/linux/utsname.h:35,
                    from /tmp/selfgz1347/NVIDIA-Linux-x86-1.0-7184-pkg1/usr/src
                    from /tmp/selfgz1347/NVIDIA-Linux-x86-1.0-7184-pkg1/usr/src
  include/linux/prefetch.h: In function ‘prefetch_range’:
  include/linux/prefetch.h:62: warning: pointer of type ‘void *’ used in a
  /tmp/selfgz1347/NVIDIA-Linux-x86-1.0-7184-pkg1/usr/src/nv/nv.c: At top level
  /tmp/selfgz1347/NVIDIA-Linux-x86-1.0-7184-pkg1/usr/src/nv/nv.c:93: warning:
  ‘kmem_cache_t’ is deprecated
  /tmp/selfgz1347/NVIDIA-Linux-x86-1.0-7184-pkg1/usr/src/nv/nv.c: In function
  /tmp/selfgz1347/NVIDIA-Linux-x86-1.0-7184-pkg1/usr/src/nv/nv.c:1764: warning
  : passing argument 2 of ‘request_irq’ from incompatible pointer type
  make[3]: *** [/tmp/selfgz1347/NVIDIA-Linux-x86-1.0-7184-pkg1/usr/src/nv/nv.o
  ] Error 1
  make[2]: *** [_module_/tmp/selfgz1347/NVIDIA-Linux-x86-1.0-7184-pkg1/usr/src
  /nv] Error 2
  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.

netllama 03-07-07 12:18 PM

Re: Black screen + segfault if glx is enabled
This is a kernel incompatibilty issue which has been discussed in several other threads in the past. I'd suggest searching on 'autoconf.h' for workarounds.

All times are GMT -5. The time now is 09:42 AM.

Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright ©1998 - 2014, nV News.