You are not logged in.

#1 2004-05-10 08:10:00

onami
Member
From: Romania
Registered: 2004-05-05
Posts: 197

TuxRacer kill my x session!!

I installed tuxracer:
pacman -Sy tuxracer
it worked fine.
when i ran it the first time, he could not find libstdc++.so.6
so:
pacman -S gcc
it installed it, and now when I run tux racer it kills my x session.


Forever newbie !!!

Offline

#2 2004-05-10 10:03:57

shadov
Member
From: Finland
Registered: 2004-02-28
Posts: 40

Re: TuxRacer kill my x session!!

Does xfree86 log tell anything usefull? Are you using nvidia drivers?

I had problems with GLX extension and nvidia drivers when I upgraded to gcc 3.4. Running anything OpenGL woul crash X. Recompiling kernel and nvidia drivers solved the problem. (nvidia didn't want to install against gcc 3.3 compiled kernel)

I'm not sure if you have the same broblem. But it seems possible that gcc 3.4 broke someting in X.


Application of abstract techniques and utilities to solving a particular business problem is NOT a patentable idea. It is a fundamental concept of the IT industry.

Offline

#3 2004-05-10 11:52:37

onami
Member
From: Romania
Registered: 2004-05-05
Posts: 197

Re: TuxRacer kill my x session!!

yes nvidia.
I've tried to reinstall the drvier, it recompliez the driver, but when it get's to 99% error: could not recompile the driver  :cry:
and now I'm running the nv driver.
Do I really have to recomplie the kernel ?


Forever newbie !!!

Offline

#4 2004-05-10 11:57:24

lanrat
Member
From: Poland
Registered: 2003-10-28
Posts: 1,274

Re: TuxRacer kill my x session!!

Post your errors from /var/log/nvidia-installer.log

Offline

#5 2004-05-10 12:29:33

onami
Member
From: Romania
Registered: 2004-05-05
Posts: 197

Re: TuxRacer kill my x session!!

nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Mon May 10 14:53:08 2004

option status:
  license pre-accepted    : true
  update                  : false
  force update            : false
  expert                  : false
  uninstall               : false
  driver info             : false
  no precompiled interface: true
  no ncurses color        : false
  query latest driver ver : false
  OpenGL header files     : false
  no questions            : true
  silent                  : false
  XFree86 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                      : none
  tmpdir                  : /tmp
  ftp site                : ftp://download.nvidia.com

Using built-in stream user interface
-> License accepted by command line option.
-> There appears to already be a driver installed on your system (version: 1.0-
   5336).  As part of installing this driver (version: 1.0-5336), the existing
   driver will be uninstalled.  Are you sure you want to continue? ('no' will a
   bort installation) (Answer: Yes)
-> Not probing for precompiled kernel interfaces.
-> Kernel source path: '/lib/modules/2.6.3/build'
-> Performing cc_version_check with CC="cc".
-> 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.3/build'...
     HOSTCC  scripts/fixdep
     HOSTCC  scripts/split-include
     HOSTCC  scripts/conmakehash
     HOSTCC  scripts/docproc
     HOSTCC  scripts/kallsyms
     CC      scripts/empty.o
     HOSTCC  scripts/mk_elfconfig
     MKELF   scripts/elfconfig.h
     HOSTCC  scripts/file2alias.o
     HOSTCC  scripts/modpost.o
     HOSTLD  scripts/modpost
     HOSTCC  scripts/pnmtologo
     HOSTCC  scripts/bin2c
     SPLIT   include/linux/autoconf.h -> include/config/*
   *** Warning: Overriding SUBDIRS on the command line can cause
   ***          inconsistencies
     CC      arch/i386/kernel/asm-offsets.s
     CHK     include/asm-i386/asm_offsets.h
   echo #define NV_COMPILER "`cc -v 2>&1 | tail -n 1`" > /tmp/selfgz362/NVID
   IA-Linux-x86-1.0-5336-pkg0/usr/src/nv/nv_compiler.h
     CC [M]  /tmp/selfgz362/NVIDIA-Linux-x86-1.0-5336-pkg0/usr/src/nv/nv.o
   In file included from include/linux/sched.h:23,
                    from include/linux/module.h:10,
                    from /tmp/selfgz362/NVIDIA-Linux-x86-1.0-5336-pkg0/usr/src/
   nv/nv-linux.h:52,
                    from /tmp/selfgz362/NVIDIA-Linux-x86-1.0-5336-pkg0/usr/src/
   nv/nv.c:14:
   include/linux/smp.h:33: error: conflicting types for 'smp_send_reschedule'
   include/asm/smp.h:41: error: previous declaration of 'smp_send_reschedule' w
   as here
   include/linux/smp.h:33: error: conflicting types for 'smp_send_reschedule'
   include/asm/smp.h:41: error: previous declaration of 'smp_send_reschedule' w
   as here
   /tmp/selfgz362/NVIDIA-Linux-x86-1.0-5336-pkg0/usr/src/nv/nv.c: In function `
   nvos_malloc_pages':
   /tmp/selfgz362/NVIDIA-Linux-x86-1.0-5336-pkg0/usr/src/nv/nv.c:385: warning:
   use of cast expressions as lvalues is deprecated
   /tmp/selfgz362/NVIDIA-Linux-x86-1.0-5336-pkg0/usr/src/nv/nv.c: In function `
   nvos_create_alloc':
   /tmp/selfgz362/NVIDIA-Linux-x86-1.0-5336-pkg0/usr/src/nv/nv.c:513: warning:
   use of cast expressions as lvalues is deprecated
   /tmp/selfgz362/NVIDIA-Linux-x86-1.0-5336-pkg0/usr/src/nv/nv.c:523: warning:
   use of cast expressions as lvalues is deprecated
   /tmp/selfgz362/NVIDIA-Linux-x86-1.0-5336-pkg0/usr/src/nv/nv.c: At top level:
   /tmp/selfgz362/NVIDIA-Linux-x86-1.0-5336-pkg0/usr/src/nv/nv.c:1185: warning:
   initialization from incompatible pointer type
   /tmp/selfgz362/NVIDIA-Linux-x86-1.0-5336-pkg0/usr/src/nv/nv.c: In function `
   nv_alloc_file_private':
   /tmp/selfgz362/NVIDIA-Linux-x86-1.0-5336-pkg0/usr/src/nv/nv.c:1193: warning:
   use of cast expressions as lvalues is deprecated
   /tmp/selfgz362/NVIDIA-Linux-x86-1.0-5336-pkg0/usr/src/nv/nv.c:1204: warning:
   use of cast expressions as lvalues is deprecated
   /tmp/selfgz362/NVIDIA-Linux-x86-1.0-5336-pkg0/usr/src/nv/nv.c: In function `
   nv_kern_open':
   /tmp/selfgz362/NVIDIA-Linux-x86-1.0-5336-pkg0/usr/src/nv/nv.c:1265: warning:
   use of cast expressions as lvalues is deprecated
   /tmp/selfgz362/NVIDIA-Linux-x86-1.0-5336-pkg0/usr/src/nv/nv.c: In function `
   nv_kern_ctl_open':
   /tmp/selfgz362/NVIDIA-Linux-x86-1.0-5336-pkg0/usr/src/nv/nv.c:1914: warning:
   use of cast expressions as lvalues is deprecated
   make[3]: *** [/tmp/selfgz362/NVIDIA-Linux-x86-1.0-5336-pkg0/usr/src/nv/nv.o]
   Error 1
   make[2]: *** [/tmp/selfgz362/NVIDIA-Linux-x86-1.0-5336-pkg0/usr/src/nv] Erro
   r 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.


Forever newbie !!!

Offline

#6 2004-05-10 13:47:36

shadov
Member
From: Finland
Registered: 2004-02-28
Posts: 40

Re: TuxRacer kill my x session!!

What does "grep GLX /var/log/XFree86.0.log" say? Do other OpenGL programs work?

If it is gcc related, only solutions I can think of are recompiling kernel or downgrading gcc.


Application of abstract techniques and utilities to solving a particular business problem is NOT a patentable idea. It is a fundamental concept of the IT industry.

Offline

#7 2004-05-10 16:32:51

onami
Member
From: Romania
Registered: 2004-05-05
Posts: 197

Re: TuxRacer kill my x session!!

(II) Loading extension GLX
(II) Loading extension NV-GLX
(II) Initializing extension GLX


Forever newbie !!!

Offline

#8 2004-05-10 16:40:30

onami
Member
From: Romania
Registered: 2004-05-05
Posts: 197

Re: TuxRacer kill my x session!!

i use x not xfree86 (the libXinerama problem)


Forever newbie !!!

Offline

#9 2004-05-10 20:58:13

shadov
Member
From: Finland
Registered: 2004-02-28
Posts: 40

Re: TuxRacer kill my x session!!

Then it's not the same problem I was having. I don't think I can help you much then. Sorry. Does the crash produce any errors in any log files?


Application of abstract techniques and utilities to solving a particular business problem is NOT a patentable idea. It is a fundamental concept of the IT industry.

Offline

#10 2004-05-10 22:19:35

onami
Member
From: Romania
Registered: 2004-05-05
Posts: 197

Re: TuxRacer kill my x session!!

I even recompiled the kernel but it still does not work(the nvidia driver din not and doesn't run anymore) .I'm using the nv driver


Forever newbie !!!

Offline

#11 2004-05-11 13:55:18

lanrat
Member
From: Poland
Registered: 2003-10-28
Posts: 1,274

Re: TuxRacer kill my x session!!

This is strange. According to other threads in the forums kernel26, nvidia, gcc 3.4 should work ok (at least compile). So maybe it's something with x ? AFAIR nvidia-driver and newer xfree versions messed with links to opengl library (I'll check if I still have the messages in my last nvidia installer log - but they were non critical in my case). I myself must do a large upgrade of kernel, xfree, nvidia, gcc, etc and configure a new dvd burner - so If I'll be able I'll try to let you know if nvidia and opengl works. But for now I'm sorry I can't help you much :-(

Offline

#12 2004-05-11 19:08:37

lanrat
Member
From: Poland
Registered: 2003-10-28
Posts: 1,274

Re: TuxRacer kill my x session!!

So far I can run tuxracer and compile nvidia with latest gcc 3.4, kernel24 (from packages) and xfree (unfortunatelly I lost alsa but that's another thing). I still have to check other things and kernel26. But if you upgraded gcc to 3.4 and did not upgrade kernel24 (even if it's the same version but new release) or recompiled it with gcc 3.4 you can have problems with nvidia and libgl. I'm sure that if you upgrade/recompile everything you should be able to run opengl programs at least with xfree.

Offline

#13 2004-05-11 19:25:40

onami
Member
From: Romania
Registered: 2004-05-05
Posts: 197

Re: TuxRacer kill my x session!!

I was using a 2.6.3 kernel and the recompiled 2.6.6 . I've reinstalled Arch linux  0.6. right now I'm doing a full update(including gcc   big_smile  ) .
After it finishes I'll try again with nvidia, and I will post the result !!
I hope tomorrow I will be able to post the result, and that it is a favorable one!!!

Thanks for all your help!!!


Forever newbie !!!

Offline

#14 2004-05-12 01:31:47

lanrat
Member
From: Poland
Registered: 2003-10-28
Posts: 1,274

Re: TuxRacer kill my x session!!

With kernel 2.6.6 xfree and nvidia tuxracer works ok. The only problem is that I have to load nvidia module from MODULES in rc.conf at boot time or manually with modprobe nvidia because x can't load it on demand for some reason but that's another story (probably my mistake in some config or permissions). So the only problem now maybe that you use x instead of xfree.

Offline

#15 2004-05-13 00:36:30

sarah31
Member
From: Middle of Canada
Registered: 2002-08-20
Posts: 2,975
Website

Re: TuxRacer kill my x session!!

did you try rebuilding tuxracer? it really sounds as though your issue is with x and not tuxracer.


AKA uknowme

I am not your friend

Offline

Board footer

Powered by FluxBB