Gå til innhold

Problem med opengl


Anbefalte innlegg

Jeg har også litt problemer med GF2ti kortet mitt i Linux.

 

etter kjører "sudo nvidia-glx-config enable" får jeg:

 

Error: your X configuration has been altered.

This script cannot proceed automatically. If you believe that this

not correct, you can update the md5sum entry executing the following

command:

md5sum /etc/X11/xorg.conf | sudo tee /var/lib/xfree86/xorg.conf.md5sum

otherwise edit manually /etc/X11/xorg.conf to change the Driver section

from nv to nvidia.

 

Får ikke opp X når jeg skifter til nvidia i xorg heller.

 

Og når jeg prøver og installere driveren fra nvidia.com får jeg mye feil om kernel osv. og log fila ser slik ut:

 

nvidia-installer log file '/var/log/nvidia-installer.log'

creation time: Sun Mar  5 20:32:31 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.

-> 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.

ERROR: Unable to find the kernel source tree for the currently running kernel.

      Please make sure you have installed the kernel source files for your

      kernel; on Red Hat Linux systems, for example, be sure you have the

      'kernel-source' rpm installed.  If you know the correct kernel source

      files are installed, you may specify the kernel source path with the

      '--kernel-source-path' commandline 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.

Endret av Gakkakk
Lenke til kommentar
Videoannonse
Annonse
Kortet ditt er ikke lengre støttet av nVIDIA. Du må bruke eldre drivere.

 

Når det gjelder kompilering så står det jo hva som er feil, du trenger kernel-header/source.

5706326[/snapback]

 

Ja, jeg bruker eldre drivere som jeg mener skal støtte kortet

 

Har fått installert kernel-source2.6.11 med apt-get, men den vil ikke installere headers. Finner ikke kernel-header på pakkesøk hos packages.ubuntu.com heller

Lenke til kommentar
Hvis du har installert kildekoden så trenger du ikke headers.

5706417[/snapback]

 

Har fått installert Kernel-source nå og installasjonen begynner og bygge, men på ca. 75% får jeg no error.

 

LOG:

....

 

-> Building kernel module:

  executing: 'cd ./usr/src/nv; make module SYSSRC=/usr/src/kernel-source-2.6.1

  1'...

 

  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...

  mkdir -p /tmp/selfgz28211/NVIDIA-Linux-x86-1.0-6106-pkg1/usr/src/nv/.tmp_ver

  sions

  make -f scripts/Makefile.build obj=/tmp/selfgz28211/NVIDIA-Linux-x86-1.0-610

  6-pkg1/usr/src/nv

  echo \#define NV_COMPILER \"`cc -v 2>&1 | tail -n 1`\" > /tmp/selfgz28211/NV

  IDIA-Linux-x86-1.0-6106-pkg1/usr/src/nv/nv_compiler.h

    cc -Wp,-MD,/tmp/selfgz28211/NVIDIA-Linux-x86-1.0-6106-pkg1/usr/src/nv/.nv.

  o.d -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.0.2/include -D__KERNEL_

  _ -Iinclude  -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -

  fno-common -ffreestanding -Os    -fomit-frame-pointer -pipe -msoft-float -m

  preferred-stack-boundar

  y=2 -fno-unit-at-a-time -march=athlon -Iinclude/asm-i386/mach-default -Wdecl

  aration-after-statement -Wno-pointer-sign -I/tmp/selfgz28211/NVIDIA-Linux-x8

  6-1.0-6106-pkg1/usr/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  -DNTRM -D_GNU_SOURCE -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODUL

  E  -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=6106  -DNV_UNIX

    -DNV_LINUX  -DNV_INT64_OK  -DNVCPU_X86      -DNV_CHANGE_PAGE_ATTR_PRESE

  NT -DNV_CLASS_SIMPLE_PRESENT  -DMODULE -DKBUILD_BASENAME=nv -DKBUILD_MODNAME

  =nvidia -c -o /tmp/selfgz28211/NVIDIA-Linux-x86-1.0-6106-pkg1/usr/src/nv/.tm

  p_nv.o /tmp/selfgz28211/NVIDIA-Linux-x86-1.0-6106-pkg1/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/selfgz28211/NVIDIA-Linux-x86-1.0-6106-pkg1/usr/sr

  c/nv/nv-linux.h:52,

                    from /tmp/selfgz28211/NVIDIA-Linux-x86-1.0-6106-pkg1/usr/sr

  c/nv/nv.c:14:

  include/linux/prefetch.h: In function ‘prefetch_range’:

  include/linux/prefetch.h:62: warning: pointer of type ‘void *’ used in a

  rithmetic

  In file included from include/linux/dmapool.h:14,

                    from include/linux/pci.h:863,

                    from /tmp/selfgz28211/NVIDIA-Linux-x86-1.0-6106-pkg1/usr/sr

  c/nv/nv-linux.h:75,

                    from /tmp/selfgz28211/NVIDIA-Linux-x86-1.0-6106-pkg1/usr/sr

  c/nv/nv.c:14:

  include/asm/io.h: In function ‘check_signature’:

  include/asm/io.h:242: warning: wrong type argument to increment

  /tmp/selfgz28211/NVIDIA-Linux-x86-1.0-6106-pkg1/usr/src/nv/nv.c: In function

  ‘nvos_find_agp_by_class’:

  /tmp/selfgz28211/NVIDIA-Linux-x86-1.0-6106-pkg1/usr/src/nv/nv.c:642: warning

  : implicit declaration of function ‘pci_find_class’

  /tmp/selfgz28211/NVIDIA-Linux-x86-1.0-6106-pkg1/usr/src/nv/nv.c:642: warning

  : assignment makes pointer from integer without a cast

  /tmp/selfgz28211/NVIDIA-Linux-x86-1.0-6106-pkg1/usr/src/nv/nv.c:653: warning

  : assignment makes pointer from integer without a cast

  /tmp/selfgz28211/NVIDIA-Linux-x86-1.0-6106-pkg1/usr/src/nv/nv.c: In function

  ‘nvidia_init_module’:

  /tmp/selfgz28211/NVIDIA-Linux-x86-1.0-6106-pkg1/usr/src/nv/nv.c:1161: warnin

  g: ‘pm_register’ is deprecated (declared at include/linux/pm.h:106)

  /tmp/selfgz28211/NVIDIA-Linux-x86-1.0-6106-pkg1/usr/src/nv/nv.c: In function

  ‘nvidia_exit_module’:

  /tmp/selfgz28211/NVIDIA-Linux-x86-1.0-6106-pkg1/usr/src/nv/nv.c:1279: warnin

  g: ‘pm_unregister’ is deprecated (declared at include/linux/pm.h:111)

  /tmp/selfgz28211/NVIDIA-Linux-x86-1.0-6106-pkg1/usr/src/nv/nv.c: In function

  ‘nv_kern_mmap’:

  /tmp/selfgz28211/NVIDIA-Linux-x86-1.0-6106-pkg1/usr/src/nv/nv.c:1764: warnin

  g: implicit declaration of function ‘remap_page_range’

  /tmp/selfgz28211/NVIDIA-Linux-x86-1.0-6106-pkg1/usr/src/nv/nv.c: In function

  ‘_get_phys_address’:

  /tmp/selfgz28211/NVIDIA-Linux-x86-1.0-6106-pkg1/usr/src/nv/nv.c:2732: warnin

  g: passing argument 1 of ‘pmd_offset’ from incompatible pointer type

  /tmp/selfgz28211/NVIDIA-Linux-x86-1.0-6106-pkg1/usr/src/nv/nv.c: In function

  ‘nv_agp_init’:

  /tmp/selfgz28211/NVIDIA-Linux-x86-1.0-6106-pkg1/usr/src/nv/nv.c:3324: warnin

  g: ‘inter_module_put’ is deprecated (declared at include/linux/module.h:

  578)

  /tmp/selfgz28211/NVIDIA-Linux-x86-1.0-6106-pkg1/usr/src/nv/nv.c: In function

  ‘nvos_count_devices’:

  /tmp/selfgz28211/NVIDIA-Linux-x86-1.0-6106-pkg1/usr/src/nv/nv.c:3474: warnin

  g: assignment makes pointer from integer without a cast

  /tmp/selfgz28211/NVIDIA-Linux-x86-1.0-6106-pkg1/usr/src/nv/nv.c:3479: warnin

  g: assignment makes pointer from integer without a cast

  /tmp/selfgz28211/NVIDIA-Linux-x86-1.0-6106-pkg1/usr/src/nv/nv.c: In function

  ‘nv_acpi_event’:

  /tmp/selfgz28211/NVIDIA-Linux-x86-1.0-6106-pkg1/usr/src/nv/nv.c:3677: error:

  ‘PM_SAVE_STATE’ undeclared (first use in this function)

  /tmp/selfgz28211/NVIDIA-Linux-x86-1.0-6106-pkg1/usr/src/nv/nv.c:3677: error:

  (Each undeclared identifier is reported only once

  /tmp/selfgz28211/NVIDIA-Linux-x86-1.0-6106-pkg1/usr/src/nv/nv.c:3677: error:

  for each function it appears in.)

  make[3]: *** [/tmp/selfgz28211/NVIDIA-Linux-x86-1.0-6106-pkg1/usr/src/nv/nv.

  o] Error 1

  make[2]: *** [_module_/tmp/selfgz28211/NVIDIA-Linux-x86-1.0-6106-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

 

Står noe om at jeg må fjerne rivafb modulen.

 

holder det om jeg fjerner "/lib/modules/2.6.12-9-386/kernel/drivers/video/riva/rivafb.ko" ?

Lenke til kommentar

Hei og hopp, nå fikk jeg det til :D stod nettop alle testene på cedega også =)

 

Her er den magiske howto guiden som hjelpte meg

 

 

scroll the file down until you find the line with “Modules” and comment out (by putting a "#" before the line) the 2 lines I put in blue and add Load "glx". It should look like the example below:

Code:

Section "Module" 

Load "bitmap" 
Load "dbe" 
Load "ddc" 
#Load "dri" 
#Load “GLcore” 
Load "extmod" 
Load "freetype" 
Load "glx" 
Load "int10" 
Load "record" 
Load "type1" 
Load "vbe"

 

Vart ikke med farger her da men, sett # foran Load "dri" og Load "GLcore"

Endret av Ole J
Lenke til kommentar
Hei og hopp, nå fikk jeg det til :D stod nettop alle testene på cedega også =)

 

Her er den magiske howto guiden som hjelpte meg

 

 

scroll the file down until you find the line with “Modules” and comment out (by putting a "#" before the line) the 2 lines I put in blue and add Load "glx". It should look like the example below:

Code:

Section "Module" 

Load "bitmap" 
Load "dbe" 
Load "ddc" 
#Load "dri" 
#Load “GLcore” 
Load "extmod" 
Load "freetype" 
Load "glx" 
Load "int10" 
Load "record" 
Load "type1" 
Load "vbe"

 

Vart ikke med farger her da men, sett # foran Load "dri" og Load "GLcore"

5709226[/snapback]

 

 

Takk! :D Brukte metode 1, og nå funker det som bare det ;)

Lenke til kommentar

Opprett en konto eller logg inn for å kommentere

Du må være et medlem for å kunne skrive en kommentar

Opprett konto

Det er enkelt å melde seg inn for å starte en ny konto!

Start en konto

Logg inn

Har du allerede en konto? Logg inn her.

Logg inn nå
  • Hvem er aktive   0 medlemmer

    • Ingen innloggede medlemmer aktive
×
×
  • Opprett ny...