Author Topic: initialization error  (Read 2962 times)

Ikarsik

  • Hydlaa Resident
  • *
  • Posts: 121
    • View Profile
initialization error
« on: February 14, 2004, 03:58:20 pm »
Xlib:  extension \"XFree86-DRI\" missing on display \":0.0\".

planeshift.application.client:
  Planeshift Molecular Blue
  This game uses Crystal Space Engine created by Jorrit and others
  0.97 rdev [Unix-x86-GCC]
  psEngine initialized.
DLERROR (/home/craig/development/cel/pftest.csplugin): /home/craig/development/cel/pftest.so: undefined symbol: _ZN11celPcCommon14QueryInterfaceEji

crystalspace.pluginmgr.loadplugin:
  WARNING: could not load plugin \'cel.pcfactory.test\'

crystalspace.application.celtest:
  CEL \'cel.pcfactory.test\' plugin missing!


um i get this when trying to start up psclient. any ideas what is wrong? i know the test dosnt really matter

Xandria

  • Hydlaa Citizen
  • *
  • Posts: 453
    • View Profile
(No subject)
« Reply #1 on: February 15, 2004, 03:49:30 pm »
Quote
Originally posted by Ikarsik
Xlib:  extension \"XFree86-DRI\" missing on display \":0.0\".


Are you sure you have 3d accelleration working okay?  I\'m pretty sure DRI is a part of 3d hardware rendering, so that\'s why I\'m asking.

How I set my timezone:

ln -sf /usr/share/zoneinfo/Antarctica/Davis /etc/localtime

tangerine

  • Hydlaa Resident
  • *
  • Posts: 192
    • View Profile
(No subject)
« Reply #2 on: February 15, 2004, 06:51:21 pm »
try to run glxinfo

Ikarsik

  • Hydlaa Resident
  • *
  • Posts: 121
    • View Profile
(No subject)
« Reply #3 on: February 16, 2004, 01:17:48 am »
ok ill try that
« Last Edit: February 16, 2004, 01:28:52 am by Ikarsik »

Ikarsik

  • Hydlaa Resident
  • *
  • Posts: 121
    • View Profile
(No subject)
« Reply #4 on: February 16, 2004, 01:38:32 am »
[craig@localhost planeshift]$ glxinfo
name of display: :0.0
Xlib:  extension \"XFree86-DRI\" missing on display \":0.0\".
display: :0  screen: 0
direct rendering: No
server glx vendor string: SGI
server glx version string: 1.2
server glx extensions:
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context
client glx vendor string: SGI
client glx version string: 1.2
client glx extensions:
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context
GLX extensions:
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context
OpenGL vendor string: Mesa project: http://www.mesa3d.org
OpenGL renderer string: Mesa GLX Indirect
OpenGL version string: 1.3 Mesa 4.0.4
OpenGL extensions:
    GL_ARB_imaging, GL_ARB_multitexture, GL_ARB_texture_border_clamp,
    GL_ARB_texture_cube_map, GL_ARB_texture_env_add,
    GL_ARB_texture_env_combine, GL_ARB_texture_env_dot3,
    GL_ARB_transpose_matrix, GL_EXT_abgr, GL_EXT_blend_color,
    GL_EXT_blend_minmax, GL_EXT_blend_subtract, GL_EXT_texture_env_add,
    GL_EXT_texture_env_combine, GL_EXT_texture_env_dot3,
    GL_EXT_texture_lod_bias
glu version: 1.3
glu extensions:
    GLU_EXT_nurbs_tessellator, GLU_EXT_object_space_tess

   visual  x  bf lv rg d st colorbuffer ax dp st accumbuffer  ms  cav
 id dep cl sp sz l  ci b ro  r  g  b  a bf th cl  r  g  b  a ns b eat
----------------------------------------------------------------------
0x23 24 tc  1 24  0 r  y  .  8  8  8  0  0 16  0  0  0  0  0  0 0 None
0x24 24 tc  1 24  0 r  y  .  8  8  8  0  0 16  8 16 16 16  0  0 0 None
0x25 24 tc  1 24  0 r  y  .  8  8  8  8  0 16  8 16 16 16 16  0 0 None
0x26 24 tc  1 24  0 r  .  .  8  8  8  8  0 16  8 16 16 16 16  0 0 None
0x27 24 dc  1 24  0 r  y  .  8  8  8  0  0 16  0  0  0  0  0  0 0 None
0x28 24 dc  1 24  0 r  y  .  8  8  8  0  0 16  8 16 16 16  0  0 0 None
0x29 24 dc  1 24  0 r  y  .  8  8  8  8  0 16  8 16 16 16 16  0 0 None
0x2a 24 dc  1 24  0 r  .  .  8  8  8  8  0 16  8 16 16 16 16  0 0 None

Xandria

  • Hydlaa Citizen
  • *
  • Posts: 453
    • View Profile
(No subject)
« Reply #5 on: February 16, 2004, 03:48:59 am »
Quote
Originally posted by Ikarsik
direct rendering: No


As I suspected, you don\'t have 3d hardware accelleration set up correctly in your OS.  Either figure out how to get it set up (look up various guides on the web; it will depend on your video card, Linux distro, etc.) or try setting the app to run in software mode (really, really slow).

How I set my timezone:

ln -sf /usr/share/zoneinfo/Antarctica/Davis /etc/localtime

tangerine

  • Hydlaa Resident
  • *
  • Posts: 192
    • View Profile
(No subject)
« Reply #6 on: February 16, 2004, 04:55:37 am »
What videocard do you have ?

If not nvidia, read this http://dri.sourceforge.net/cgi-bin/moin.cgi/Documentation

Ikarsik

  • Hydlaa Resident
  • *
  • Posts: 121
    • View Profile
(No subject)
« Reply #7 on: February 16, 2004, 05:37:57 am »
i think the problem is actually in CS. take a look at my ./configure in CS directory and tell me if i need anything to build CS so that it will work with PS


[root@localhost CS]# ./configure --enable-debug
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for ranlib... ranlib
checking for dlltool... no
checking for dllwrap... no
checking for windres... no
checking for objcopy... objcopy
checking for flex... flex
checking for bison... bison
checking if bison version >= 1.35... yes (version 1.875)
checking for doxygen... no
checking for texi2dvi... texi2dvi
checking for dvips... dvips
checking for dvipdf... dvipdf
checking for makeinfo... makeinfo
checking for install... install
checking for swig... no
checking for jam... no
checking for gnumake... no
checking for gmake... gmake
checking whether gmake sets $(MAKE)... yes
checking for cslibs-config... no
checking for cslibs package... no
checking how to create a directory... mkdir
checking how to create a directory tree... mkdir -p
checking for nasmw... no
checking for nasm... no
checking for makedep... no
checking for pow in -lm... yes
checking for dlopen in -ldl... yes
checking for gethostbyname in -lnsl... yes
checking for pthread... yes
checking for pthread recursive mutexes... PTHREAD_MUTEX_RECURSIVE
checking for RTLD_NOW... yes
checking for perl5... perl5
checking for python... python
checking for python distutils module... yes
checking for python SDK... yes
checking if python SDK is usable... no
checking how to enable compilation warnings... -Wall
checking how to treat warnings as errors... -Werror
checking how to ignore unused variables... -Wno-unused
checking how to ignore unknown #pragma directives... -Wno-unknown-pragmas
checking how to enable C++ exceptions... -fexceptions
checking how to disable C++ exceptions... -fno-exceptions
checking if -multiply_defined suppress is needed... no
checking if -force_cpusubtype_ALL is needed... no
checking if -pipe is accepted... -pipe
checking if -shared is accepted... -shared
checking if -soname is accepted... yes
checking whether to use CPU-specific optimizations... minimum
checking for code generation flags... -mcpu=pentium -march=i586
checking how to enable optimizations... -O3
checking if g++ recognizes -fomit-frame-pointer... -fomit-frame-pointer
checking if g++ recognizes -ffast-math... -ffast-math
checking how to enable compiler debug output... -g3
checking if -I/usr/local/include is usable... -I/usr/local/include
checking how to run the C preprocessor... gcc -E
checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for libXxf86vm... yes
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for int32... no
checking for windows.h... no
checking for OpenGL... yes
checking for GLU... yes
checking for GLUT... no
checking for GLX... yes
checking for GLX extensions... yes
checking for int32... (cached) no
checking for DirectX... no
checking for libz... yes
checking for libpng... yes
checking for libjpeg... yes
checking for libmng... yes
checking for libmikmod... no
checking for libogg... yes
checking for libvorbis... yes
checking for libvorbisfile... yes
checking for libpgserver... no
checking for lib3ds... no
checking for libode... no
checking for OpenAL... no
checking for freetype-config... freetype-config
checking for FreeType2... yes
checking if freetype2 is sufficiently recent... yes
checking for libvga... no
checking for libcal3d... no
checking for sdl12-config... no
checking for sdl11-config... no
checking for sdl-config... no
checking for SDL... no
checking for pkg-config... pkg-config
checking for VOS... no
checking for Linux joystick API... yes
checking for cgc... no
checking for libCg... no
checking if plugins require main()... yes
checking whether byte ordering is bigendian... no
checking for bool... yes
checking for stdint.h... (cached) yes
checking if INT64_C is available... yes
checking for long... yes
checking size of long... 4
checking how to run the C++ preprocessor... g++ -E
checking wchar.h usability... yes
checking wchar.h presence... yes
checking for wchar.h... yes
checking for wchar_t... yes
checking for wcslen... yes
checking for wchar_t... (cached) yes
checking size of wchar_t... 4
checking soundcard.h usability... no
checking soundcard.h presence... no
checking for soundcard.h... no
checking sys/soundcard.h usability... yes
checking sys/soundcard.h presence... yes
checking for sys/soundcard.h... yes
checking for winsock.h... no
checking for unistd.h... (cached) yes
checking for sys/types.h... (cached) yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking for socket support... yes
checking for socklen_t... yes
checking for C++ `explicit\' keyword... yes
checking for C++ `typename\' keyword... yes
checking for C++ new-style casts... yes
checking for C++ explicit template<> specialization... yes
checking if g++ recognizes -fPIC... -fPIC
checking if qsqrt() compiles... yes
checking if qint() functions correctly... yes
checking whether to build plugins... yes
checking whether to embed plugin meta-information... no
checking build mode... debug
checking whether to use extensive memory debugger... no
checking whether to use new renderer... no
checking whether to cache makefiles... yes
checking whether to auto-refresh cached makefiles... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating Jamfile
config.status: executing include/volatile.h commands
config.status: include/volatile.h is unchanged
config.status: executing config.mak commands
config.status: config.mak is unchanged
config.status: executing Jamconfig commands
config.status: Jamconfig is unchanged
config.status: executing cache.mak commands
Refreshing makefile cache.

Ikarsik

  • Hydlaa Resident
  • *
  • Posts: 121
    • View Profile
(No subject)
« Reply #8 on: February 16, 2004, 05:41:01 am »
when running ./celtst it gives me this

[root@localhost cel]# ./celtst
SCF ERROR: \'/home/craig/development/cel/bltest.csplugin\' doesn\'t export \'celBlTest_scfInitialize\'
DLERROR (celBlTest_scfInitialize): ./celtst: undefined symbol: _celBlTest_scfInitialize
DLERROR (celBlTest_Create): ./celtst: undefined symbol: _celBlTest_Create
SCF ERROR: \'/home/craig/development/cel/bltest.csplugin\' doesn\'t export \'celBlTest_scfFinalize\'
DLERROR (celBlTest_scfFinalize): ./celtst: undefined symbol: _celBlTest_scfFinalize
crystalspace.application.celtest:  CEL test behaviour layer missing!
ALERT: crystalspace.application.celtest:  CEL test behaviour layer missing!

if this is any help..

Ikarsik

  • Hydlaa Resident
  • *
  • Posts: 121
    • View Profile
(No subject)
« Reply #9 on: February 16, 2004, 05:54:29 am »
wait how do i change to software rendering =P i just want to get this working even if it is really really slow

Ikarsik

  • Hydlaa Resident
  • *
  • Posts: 121
    • View Profile
(No subject)
« Reply #10 on: February 17, 2004, 03:20:29 am »
[craig@localhost planeshift]$ ./psclient

planeshift.application.client:
  Planeshift Molecular Blue
  This game uses Crystal Space Engine created by Jorrit and others
  0.97 rdev [Unix-x86-GCC]
  psEngine initialized.
DLERROR (/home/craig/development/cel/pftest.csplugin): /home/craig/development/cel/pftest.so: undefined symbol: _ZN11celPcCommon14QueryInterfaceEji

crystalspace.pluginmgr.loadplugin:
  WARNING: could not load plugin \'cel.pcfactory.test\'

crystalspace.application.celtest:
  CEL \'cel.pcfactory.test\' plugin missing!
Segmentation fault

ive gotten rid of the xfree-DRI problem up the top and installed DRI but it still gives me no direct rendering when i type glxinfo

Xandria

  • Hydlaa Citizen
  • *
  • Posts: 453
    • View Profile
(No subject)
« Reply #11 on: February 17, 2004, 03:45:02 am »
There are several steps to getting DRI fully set-up in your system.  I would recommend going over the guide (and perhaps finding a different one to check against as well) again and make sure you performed all the correct steps.  I\'m not exactly sure how to get software mode running, but trust me, getting hardware accelleration to work will be much more rewarding :)

How I set my timezone:

ln -sf /usr/share/zoneinfo/Antarctica/Davis /etc/localtime

Ikarsik

  • Hydlaa Resident
  • *
  • Posts: 121
    • View Profile
(No subject)
« Reply #12 on: February 18, 2004, 05:36:54 am »
it there like a DRI irc channel that i can join for help?

Xandria

  • Hydlaa Citizen
  • *
  • Posts: 453
    • View Profile
(No subject)
« Reply #13 on: February 19, 2004, 03:17:46 am »
The main DRI webpage is http://dri.sourceforge.net/.

It looks like their end-user IRC channel (which is what you want) is #dri (and also #xfree86 is listed as another one for help) on irc.openprojects.net.

How I set my timezone:

ln -sf /usr/share/zoneinfo/Antarctica/Davis /etc/localtime

vknecht

  • Wayfarer
  • *
  • Posts: 5
    • View Profile
(No subject)
« Reply #14 on: February 19, 2004, 06:44:25 pm »
The missing symbol is disturbing, it looks like CEL build got wrong somewhere...

Some ideas:

- Check you use jam for building (CS,CEL & PS)
- Check your python SDK install, it does not seem to be usable
   (look for dist-utils or something like this)
   (however, python is not required for PS, but helps for celtst)
- Update CEL and/or CS and rebuild

Anyway, to use software rendering explicitly, use
-video=software on the command line of any CS app

Good luck
« Last Edit: February 19, 2004, 07:29:52 pm by vknecht »