Crystal Space
Welcome, Guest. Please login or register.
July 28, 2014, 11:32:25 am

Login with username, password and session length
Search:     Advanced search
9005 Posts in 2043 Topics by 8246 Members
Latest Member: Leahstoker
* Home Help Search Login Register
  Show Posts
Pages: [1]
1  Crystal Space Project Development / Development Discussion / Re: [SOLVED] CS-1.9 live SVN fails to build target xwin.so, InferFlagTuples failure! on: January 27, 2011, 04:32:04 pm
Just a quick note:

The install dependencies for install_staticplugins has a typo: The library target is called install_lib not install_libs.
Code:
--- ./mk/jam/static.jam.old     2011-01-27 14:55:51.000000000 +0100
+++ ./mk/jam/static.jam 2011-01-27 16:28:00.000000000 +0100
@@ -417,7 +417,7 @@
   Depends install_staticplugins : $(STATICPLUGINS.DEPENDENCIES) ;
   Depends install_staticplugins :
     [ DoInstall $(STATICPLUGINS.DEPENDENCIES) : $(libdir) ] ;
-  Depends install_staticplugins : install_libs ;
+  Depends install_staticplugins : install_lib ;
     
   INSTALLEDLIBS_OPTIONAL += $(name) ;
Smiley
2  Crystal Space Project Development / Development Discussion / Re: CS-1.9 live SVN fails to build target xwin.so, InferFlagTuples failure? on: January 27, 2011, 02:56:01 pm
Okay, I fixed it. When I browsed through the Jam documentation, stating that the only datatype Jam knows are lists of strings, it came to my mind that concatenating a list that has only one item might fail.

The patch to fix the issue with modern ftjam:
Code:
--- mk/jam/flags.jam.old        2011-01-27 14:44:02.000000000 +0100
+++ mk/jam/flags.jam    2011-01-27 14:42:53.000000000 +0100
@@ -292,7 +292,11 @@
   }
   if $(accum)
   {
-    tuples += $(accum:J=" ") ;
+    if $(tuples) {
+      tuples += $(accum:J=" ") ;
+    } else {
+      tuples = $(accum) ;
+    }
   }
   return $(tuples) ;
 }
Why the :J operator used on a single value list turns that value into lowercase is riddles to me. But at least the issue is solved now.
3  Crystal Space Project Development / Development Discussion / [SOLVED] CS-1.9 live SVN fails to build target xwin.so, InferFlagTuples failure! on: January 26, 2011, 12:47:27 pm
Hi everybody,

I am currently writing ebuilds (Gentoo Linux) for the live version of CrystalSpace (aka 1.9 from SVN), CEL and CrystalCore as the current stable version of CS does not work on my dev laptop. (I have described the problem here in the forums, but no solution could be found.)

Everything is working so far. After patching plugins/cscript/csjava/Jamfile even Java-Support compiles fine.

But when Jam reaches the target "xwin.so", it fails, or better the linker fails, because "-l/usr/local/lib" can not be found. I have found out how it comes to this stage, but I am no Jam-expert and simply can't fix this on my own.

When I build the target with -d9, the log shows the following: (Only a small snippet from a 743M log! I have commented the log output as I understand it. And I had to remove some lines and replace the long argument line with <FLAGS LIKE ABOVE> or the message would be too long for the forums.)
Code:
>>>>|>>>>|>> LFlags xwin  : `CFLAGS="-march=core2 -O2 -pipe -mtune=core2 -pipe -ffunction-sections -fdata-sections -march=core2 -O2 -pipe -mtune=core2 -Wall -Wno-unknown-pragmas -fvisibility=hidden -mtune=generic -mfpmath=sse -I/usr/local/include -DNVALGRIND -O3 -fomit-frame-pointer -ffast-math -g2" /bin/sh ./bin/relaytool --out-dir ./out/linux/optimize/plugins/video/canvas/xwindow --minimal-list " ./out/linux/optimize/plugins/video/canvas/xwindow/xwindow.o ./out/linux/optimize/plugins/video/canvas/xwindow/xalert_xaw/alert.o ./out/linux/optimize/plugins/video/canvas/xwindow/xalert_xaw/makeform.o ./out/linux/optimize/plugins/video/canvas/xwindow/xalert_gtk/gtk_alert.o ./out/linux/optimize/plugins/video/canvas/xwindow/plugin_impl.o" --relay gtk-x11-2.0 --relay gobject-2.0 -Wl,-O1 -Wl,--as-needed -Wl,--sort-common -Wl,--hash-style=gnu -Wl,-O1 -Wl,--as-needed -Wl,--sort-common -Wl,--hash-style=gnu -lc -lm -ldl -lnsl -L/usr/local/lib -pthread -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0`  : noexternal
expand 'target'
list > xwin <
>>>>|>>>>|>>>> local target  = xwin
list > xwin <
set target = xwin
expand 'flags'
expand 'InferFlagTuples'
expand '$(2)'
list > `<FLAGS LIKE ABOVE>` <


Now these are normal flags that show up on most targets


>>>>|>>>>|>>>> InferFlagTuples `<FLAGS LIKE ABOVE>`


This function from mk/jam/flags.jam is called on all CFLAGS and LFLAGS. And normally everything is well.

expand 'tuples'
>>>>|>>>>|>>>>|> local tuples  =
set tuples =
expand 'accum'
>>>>|>>>>|>>>>|> local accum  =
set accum =
expand 'flag'
>>>>|>>>>|>>>>|> local flag  =
set flag =
expand '$(1)'
list > `<FLAGS LIKE ABOVE>`
<list > `<FLAGS LIKE ABOVE>`
<set flag = `<FLAGS LIKE ABOVE>`
expand 'Match'
expand 'Match'
expand '^([-/`][A-Za-z0-9])'
expand '$(flag)'
expand 'flag'
get flag = `<FLAGS LIKE ABOVE>`
list > `<FLAGS LIKE ABOVE>` <
expanded to `<FLAGS LIKE ABOVE>`
>>>>|>>>>|>>>>|> Match ^([-/`][A-Za-z0-9])  : `<FLAGS LIKE ABOVE>`
>>>>|>>>>|>>>>|> if `C (1)
expand '$(accum)'
expand 'accum'
get accum =
expanded to
>>>>|>>>>|>>>>|> if (0)
expand 'accum'
expand '$(flag)'
expand 'flag'
get flag = `<FLAGS LIKE ABOVE>`
list > `<FLAGS LIKE ABOVE>` <
expanded to `<FLAGS LIKE ABOVE>`
>>>>|>>>>|>>>>|> set accum  += `<FLAGS LIKE ABOVE>`
list > `<FLAGS LIKE ABOVE>` <
set accum = `<FLAGS LIKE ABOVE>`
expand '$(accum)'
expand 'accum'
list > accum <
get accum = `<FLAGS LIKE ABOVE>`
list > `<FLAGS LIKE ABOVE>` <
expanded to `<FLAGS LIKE ABOVE>`


The Match works, appearantly, because accum is set to the argument. (It is no tuple)


>>>>|>>>>|>>>>|> if `<FLAGS LIKE ABOVE>` (1)
expand 'tuples'
list > tuples <
expand '$(accum:J= )'
expand 'accum^AJ= '
list > accum^AJ=  <


Now it gets weird. While "get" shows the flags from above, "list" is already lowercase:


get accum = `CFLAGS="-march=core2 -O2 -pipe -mtune=core2 -pipe -ffunction-sections -fdata-sections -march=core2 -O2 -pipe -mtune=core2 -Wall -Wno-unknown-pragmas -fvisibility=hidden -mtune=generic -mfpmath=sse -I/usr/local/include -DNVALGRIND -O3 -fomit-frame-pointer -ffast-math -g2" /bin/sh ./bin/relaytool --out-dir ./out/linux/optimize/plugins/video/canvas/xwindow --minimal-list " ./out/linux/optimize/plugins/video/canvas/xwindow/xwindow.o ./out/linux/optimize/plugins/video/canvas/xwindow/xalert_xaw/alert.o ./out/linux/optimize/plugins/video/canvas/xwindow/xalert_xaw/makeform.o ./out/linux/optimize/plugins/video/canvas/xwindow/xalert_gtk/gtk_alert.o ./out/linux/optimize/plugins/video/canvas/xwindow/plugin_impl.o" --relay gtk-x11-2.0 --relay gobject-2.0 -Wl,-O1 -Wl,--as-needed -Wl,--sort-common -Wl,--hash-style=gnu -Wl,-O1 -Wl,--as-needed -Wl,--sort-common -Wl,--hash-style=gnu -lc -lm -ldl -lnsl -L/usr/local/lib -pthread -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0`
list > `cflags="-march=core2 -o2 -pipe -mtune=core2 -pipe -ffunction-sections -fdata-sections -march=core2 -o2 -pipe -mtune=core2 -wall -wno-unknown-pragmas -fvisibility=hidden -mtune=generic -mfpmath=sse -i/usr/local/include -dnvalgrind -o3 -fomit-frame-pointer -ffast-math -g2" /bin/sh ./bin/relaytool --out-dir ./out/linux/optimize/plugins/video/canvas/xwindow --minimal-list " ./out/linux/optimize/plugins/video/canvas/xwindow/xwindow.o ./out/linux/optimize/plugins/video/canvas/xwindow/xalert_xaw/alert.o ./out/linux/optimize/plugins/video/canvas/xwindow/xalert_xaw/makeform.o ./out/linux/optimize/plugins/video/canvas/xwindow/xalert_gtk/gtk_alert.o ./out/linux/optimize/plugins/video/canvas/xwindow/plugin_impl.o" --relay gtk-x11-2.0 --relay gobject-2.0 -wl,-o1 -wl,--as-needed -wl,--sort-common -wl,--hash-style=gnu -wl,-o1 -wl,--as-needed -wl,--sort-common -wl,--hash-style=gnu -lc -lm -ldl -lnsl -l/usr/local/lib -pthread -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0` <
newstr: allocating 1124 bytes
expanded to `cflags="-march=core2 -o2 -pipe -mtune=core2 -pipe -ffunction-sections -fdata-sections -march=core2 -o2 -pipe -mtune=core2 -wall -wno-unknown-pragmas -fvisibility=hidden -mtune=generic -mfpmath=sse -i/usr/local/include -dnvalgrind -o3 -fomit-frame-pointer -ffast-math -g2" /bin/sh ./bin/relaytool --out-dir ./out/linux/optimize/plugins/video/canvas/xwindow --minimal-list " ./out/linux/optimize/plugins/video/canvas/xwindow/xwindow.o ./out/linux/optimize/plugins/video/canvas/xwindow/xalert_xaw/alert.o ./out/linux/optimize/plugins/video/canvas/xwindow/xalert_xaw/makeform.o ./out/linux/optimize/plugins/video/canvas/xwindow/xalert_gtk/gtk_alert.o ./out/linux/optimize/plugins/video/canvas/xwindow/plugin_impl.o" --relay gtk-x11-2.0 --relay gobject-2.0 -wl,-o1 -wl,--as-needed -wl,--sort-common -wl,--hash-style=gnu -wl,-o1 -wl,--as-needed -wl,--sort-common -wl,--hash-style=gnu -lc -lm -ldl -lnsl -l/usr/local/lib -pthread -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0`
>>>>|>>>>|>>>>|> set tuples  += `<LOWERCASE FLAGS>`
list > `<LOWERCASE FLAGS>` <
set tuples = `<LOWERCASE FLAGS>`


Now this is the result from the line
tuples += $(accum:J=" ") ;
and I do not understand why everything is lowercase now. But the next log entry after the function returned confirms, that everything is transformed to lowercase:


>>>>|>>>>|>>>> local flags  = `cflags="-march=core2 -o2 -pipe -mtune=core2 -pipe -ffunction-sections -fdata-sections -march=core2 -o2 -pipe -mtune=core2 -wall -wno-unknown-pragmas -fvisibility=hidden -mtune=generic -mfpmath=sse -i/usr/local/include -dnvalgrind -o3 -fomit-frame-pointer -ffast-math -g2" /bin/sh ./bin/relaytool --out-dir ./out/linux/optimize/plugins/video/canvas/xwindow --minimal-list " ./out/linux/optimize/plugins/video/canvas/xwindow/xwindow.o ./out/linux/optimize/plugins/video/canvas/xwindow/xalert_xaw/alert.o ./out/linux/optimize/plugins/video/canvas/xwindow/xalert_xaw/makeform.o ./out/linux/optimize/plugins/video/canvas/xwindow/xalert_gtk/gtk_alert.o ./out/linux/optimize/plugins/video/canvas/xwindow/plugin_impl.o" --relay gtk-x11-2.0 --relay gobject-2.0 -wl,-o1 -wl,--as-needed -wl,--sort-common -wl,--hash-style=gnu -wl,-o1 -wl,--as-needed -wl,--sort-common -wl,--hash-style=gnu -lc -lm -ldl -lnsl -l/usr/local/lib -pthread -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0`
This, of course, can not work. All those options are case-sensitive. The options are, the log shows it, built correctly. And then they get transformed to lowercase. Why? And how can this be fixed?

Thanks in advance, and don't hesitate if you want to know anything else. I am using ftjam-2.5.3_rc2 with bison-2.4.2

Yama

P.S.: The mentioned patch:
Code:
--- plugins/cscript/csjava/Jamfile.old  2011-01-25 11:03:51.000000000 +0100
+++ plugins/cscript/csjava/Jamfile      2011-01-25 11:04:12.000000000 +0100
@@ -70,7 +70,7 @@
   Swig $(common) :
     [ DoSourceGrist cspace.i ] :
     java :
-    -c++ -java -package org.crystalspace3d :
+    -c++ -package org.crystalspace3d :
     [ ConcatDirs $(TOP) include ]
     [ ConcatDirs $(BUILDTOP) include ] :
     [ ConcatDirs $(TOP) include bindings ] :
"-java" is already added automatically by the target, and adding a second "-java" to the options makes swig fail. (see Gentoo Bug 335921, Comments 13 and 14 for details.)
4  Crystal Space Development / Support / Re: All Programs output distorted on certain angles on: December 01, 2010, 04:36:37 pm
Nope, it is no compilation issue due to C(XX)FLAGS or LDFLAGS... *sigh*
5  Crystal Space Development / Support / Re: All Programs output distorted on certain angles on: November 30, 2010, 09:10:12 am
Hi, and thanks for the reply!

Well, I surely suspected the intel drivers. But I made some tests, and everything else works fine. I tested GLFrontier, Briquolo (OpenGL), FreeOrion (Ogre3D) and all Irrlicht demos. (The latter look like this, this and this.)

*Sigh*

I guess it has something to do with CXXFLAGS. So I will rebuild CrystalSpace today without any additional flags, and see whether the issue goes away. If it does, I can add single flags until the distortions re-appear. If not, I'll go and look what the people on IRC say.

For the java issue, the lowest version of swig directly available on gentoo linux is 1.3.40. But it's not a problem, because CS compiles fine with "--enable-make-emulation".
6  Crystal Space Development / Support / Re: All Programs output distorted on certain angles on: November 23, 2010, 09:49:20 am
While playing around with the Tutorials in the CS-1.4 Manual, I had to witness the same distortions. It should look like in Picture A and when I move around a bit it looks like Picture B.

This is starting to get really frustrating, because I can't find the reason for that.

One additional thing:

I have to configure CrystalSpace with "--enable-make-emulation". When I try compiling without make emulation (aka using system jdk?) the compilation fails with:
Code:
MkDir1 ./out/linux/optimize/plugins/cscript/csjava
./include/csplugincommon/opengl/glextmanager.h: In member function 'void csGLExtensionManager::InitGL_ARB_multitexture()':
./include/csplugincommon/opengl/glextmanager.h:18871: warning: suggest parentheses around assignment used as truth value
RunSwig ./out/linux/optimize/plugins/cscript/csjava/csjava.cpp

( ... some warnings like this: ... )

./include/csplugincommon/opengl/glextmanager.h: In member function 'void csGLExtensionManager::InitGL_ARB_vertex_program()':
./include/csplugincommon/opengl/glextmanager.h:19525: warning: suggest parentheses around assignment used as truth value


swig: Modules/lang.cxx:337: Language::Language(): Assertion `!this_' failed.
/bin/sh: line 1:  8994 Aborted                 swig -java -c++ -java -package org.crystalspace3d -I/var/tmp/portage/dev-games/crystalspace-1.4.0-r1/work/crystalspace-src-1.4.0/include -I./include -outdir ./out/linux/optimize/plugins/cscript/csjava/src/org/crystalspace3d -o ./out/linux/optimize/plugins/cscript/csjava/csjava.cpp /var/tmp/portage/dev-games/crystalspace-1.4.0-r1/work/crystalspace-src-1.4.0/include/bindings/cspace.i
/bin/sh: line 29: ./out/linux/optimize/plugins/cscript/csjava/csjava.cpp: No such file or directory
mv: cannot stat `./out/linux/optimize/plugins/cscript/csjava/csjava.cpp.sed': No such file or directory

( ... a lot of warnings like this: ... )

./include/csplugincommon/opengl/glextmanager.h: In member function 'void csGLExtensionManager::InitGL_ARB_texture_rg()':
./include/csplugincommon/opengl/glextmanager.h:24927: warning: suggest parentheses around assignment used as truth value


In file included from ./include/csplugincommon/canvas/graph2d.h:41,
                 from ./include/csplugincommon/opengl/glcommon2d.h:34,
                 from /var/tmp/portage/dev-games/crystalspace-1.4.0-r1/work/crystalspace-src-1.4.0/libs/csplugincommon/opengl/glfontcache.cpp:35:
./include/ivideo/graph2d.h:146: warning: 'iOffscreenCanvasCallback' is deprecated (declared at ./include/ivideo/graph2d.h:145)
In file included from ./include/csplugincommon/opengl/glstates.h:35,
                 from ./include/csplugincommon/opengl/glcommon2d.h:38,
                 from /var/tmp/portage/dev-games/crystalspace-1.4.0-r1/work/crystalspace-src-1.4.0/libs/csplugincommon/opengl/glfontcache.cpp:35:

(... a lot of warnings like this:)

./include/csplugincommon/opengl/glextmanager.h: In member function 'void csGLExtensionManager::InitGL_version_1_2()':
./include/csplugincommon/opengl/glextmanager.h:24927: warning: suggest parentheses around assignment used as truth value


    swig -java -c++ -java -package org.crystalspace3d -I/var/tmp/portage/dev-games/crystalspace-1.4.0-r1/work/crystalspace-src-1.4.0/include -I./include -outdir ./out/linux/optimize/plugins/cscript/csjava/src/org/crystalspace3d -o ./out/linux/optimize/plugins/cscript/csjava/csjava.cpp /var/tmp/portage/dev-games/crystalspace-1.4.0-r1/work/crystalspace-src-1.4.0/include/bindings/cspace.i
    sed 's/\([  ]*#[    ]*include[      ][      ]*[<"]Python.h[>"]\)/\
    #ifndef __STDC_CONSTANT_MACROS\
    #define __STDC_CONSTANT_MACROS\
    #endif\
    #ifndef __STDC_LIMIT_MACROS\
    #define __STDC_LIMIT_MACROS\
    #endif\
    #ifdef _MSC_VER\
    #include <io.h>\
    #include <stdarg.h>\
    #if defined(_DEBUG) \&\& !defined(DEBUG_PYTHON)\
    #undef _DEBUG\
    #define RESTORE__DEBUG\
    #endif\
    #endif\
    \1\
    #ifdef RESTORE__DEBUG\
    #define _DEBUG\
    #undef RESTORE__DEBUG\
    #endif/g
    /$Header:/d
    s/new[      ][      ]*(\([^)][^)]*\))[      ]*\[/new \1 [/g
    s/[         ]*#[    ]*define[       ][      ]*SWIG_init[    ]*init_\(.*\)/#define SWIG_init SWIG_init_\1/g
    s/\([        ]*#[    ]*include[      ][      ]*[<"]perl.h[>"]\)/\
    #ifndef _DIRENT_H_\
    #define _DIRENT_H_\
    #endif\
    \1/g' < ./out/linux/optimize/plugins/cscript/csjava/csjava.cpp > ./out/linux/optimize/plugins/cscript/csjava/csjava.cpp.sed
    rm -f ./out/linux/optimize/plugins/cscript/csjava/csjava.cpp
    mv -f ./out/linux/optimize/plugins/cscript/csjava/csjava.cpp.sed ./out/linux/optimize/plugins/cscript/csjava/csjava.cpp
 
...failed RunSwig ./out/linux/optimize/plugins/cscript/csjava/csjava.cpp ...
...skipped <plugins!cscript!csjava!>csjava.o for lack of <plugins!cscript!csjava>csjava.cpp...
...skipped libcsjava.so for lack of <plugins!cscript!csjava!>csjava.o...
ResponseFile1 ./out/linux/optimize/libs/libcrystalspace_opengl-1.4.so.resp
LinkSharedLibraryRsp ./out/linux/optimize/libs/libcrystalspace_opengl-1.4.so
Touch ./out/linux/optimize/libs/libcrystalspace_opengl-1.4.so
DoSymLink libcrystalspace_opengl-1.4.so
...failed updating 1 target(s)...
...skipped 2 target(s)...
...updated 261 target(s)...

GENTOO_VM=sun-jdk-1.6  CLASSPATH="" JAVA_HOME="/opt/sun-jdk-1.6.0.22"
JAVACFLAGS="-source 1.5 -target 1.5" COMPILER=""
But this can't be the reason, can it?

Java version : sun-jdk-1.6.0.22
swig version : 2.01 (also tried 1.3.40-r1 and 2.0.0)
JAM version : ftjam-2.5.3_rc2-r1


btw.: This warning about "suggest parentheses around assignment used as truth value" appears 835 times, and *only* if I try to build CrystalSpace without make emulation.
7  Crystal Space Development / Support / Re: Demo Programs output distorted on certain angles on: November 12, 2010, 09:15:35 am
I do not know whether this is of relevance but I tried CrystalSpace with the following versions of the nvidia cg-toolkit: (All with the same result)
  • 2.1.0012
  • 2.1.0016
  • 2.1.0017
  • 2.2.0017 (current version on my system)
8  Crystal Space Development / Support / All Programs output distorted on certain angles on: November 10, 2010, 02:25:11 pm
Hello everybody,

I would like to try out CrystalSpace, but can't even get the demo programs to run properly.

Everything compiles fine, but when I start walktest for example, it looks like this: Picture A. But when I turn around a bit I see this: Picture B.

My System:
  • Version of CS : 1.4.0
  • Version of winlibs package : none
  • Operating system : Gentoo Linux x64
  • Compiler : gcc-Version 4.4.4 (Gentoo 4.4.4-r2 p1.2, pie-0.4.5) [Thread-Modell: posix]
  • Video card : Intel Corporation Mobile GME965/GLE960 Integrated Graphics Controller (rev 0c)
  • Driver : (Video) Module intel: vendor="X.Org Foundation", compiled for 1.9.2, module version = 2.13.0 ; (OpenGL) 2.1 Mesa 7.9
Running with -verbose=-vcs (for taking those screenshots) printed out the following:
Code:
sed@sed-notebook ~ $ walktest -verbose=-scf
VFS_NOTIFY: loaded configuration file: /etc/crystalspace-1.4/vfs.cfg
DEBUG: Sound System Software Renderer Initializing...

crystalspace.system:
  World saving enabled.
  Crystal Space version 1.4.0.632 [Unix-x86-GCC] (Mon 5-Jun-2008).
  Created by Jorrit Tyberghein and others...

crystalspace.graphics3d.opengl:
  Texture LOD bias -0.3

crystalspace.canvas.glx2d:
  Opening GLX2D
ATTENTION: default value of option force_s3tc_enable overridden by environment.

crystalspace.canvas.opengl.extmgr:
  GLX Extension 'GLX_ARB_multisample' found and used.

crystalspace.canvas.glx2d:
  Creating Context
  Probing pixel format: Color: 32 Alpha: 8 Depth: 32 Stencil: 8 AccumColor: 0
  AccumAlpha: 0 MultiSamples: 0
  Probing pixel format: Color: 32 Alpha: 0 Depth: 32 Stencil: 8 AccumColor: 0
  AccumAlpha: 0 MultiSamples: 0
  Probing pixel format: Color: 32 Alpha: 8 Depth: 32 Stencil: 1 AccumColor: 0
  AccumAlpha: 0 MultiSamples: 0
  Probing pixel format: Color: 32 Alpha: 0 Depth: 32 Stencil: 1 AccumColor: 0
  AccumAlpha: 0 MultiSamples: 0
  Probing pixel format: Color: 32 Alpha: 8 Depth: 32 Stencil: 0 AccumColor: 0
  AccumAlpha: 0 MultiSamples: 0
  Probing pixel format: Color: 32 Alpha: 0 Depth: 32 Stencil: 0 AccumColor: 0
  AccumAlpha: 0 MultiSamples: 0
  Probing pixel format: Color: 32 Alpha: 8 Depth: 24 Stencil: 8 AccumColor: 0
  AccumAlpha: 0 MultiSamples: 0
ATTENTION: option value of option force_s3tc_enable ignored.
ATTENTION: option value of option force_s3tc_enable ignored.
  Video driver GL/X version (direct renderer)
  Visual ID: 0x0000000000000021, 24bit TrueColor
  R8:G8:B8:A8,
  level 0, double buffered

crystalspace.canvas.openglcommon.driverdb:
  Applied: Intel DRI: Disable texture compression

crystalspace.canvas.opengl.extmgr:
  GL Extension 'GL_ARB_multitexture' found and used.
  GL Extension 'GL_ARB_fragment_program' found and used.

crystalspace.canvas.openglcommon:
  OpenGL renderer: Mesa DRI Intel(R) 965GME/GLE GEM 20100330 DEVELOPMENT
  (vendor: Tungsten Graphics, Inc) version 2.1 Mesa 7.9
  Using windowed mode at resolution 800x600.
  Pixel format: Color: 24 Alpha: 8 Depth: 24 Stencil: 8 AccumColor: 0
  AccumAlpha: 0 MultiSamples: 0

crystalspace.canvas.opengl.extmgr:
  GL Extension 'GL_ARB_texture_env_combine' found and used.
  GL Extension 'GL_ARB_multisample' found and used.

crystalspace.canvas.openglcommon:
  Multisample: disabled

crystalspace.canvas.openglcommon.fontcache:
  Text drawing method: Multitexturing

crystalspace.canvas.opengl.extmgr:
  GL Extension 'GL_version_1_2' found and used.
  GL Extension 'GL_ARB_texture_cube_map' found and used.
  GL Extension 'GL_EXT_texture3D' found and used.
  GL Extension 'GL_ARB_vertex_buffer_object' found and used.
  GL Extension 'GL_SGIS_generate_mipmap' found and used.
  GL Extension 'GL_EXT_texture_filter_anisotropic' found and used.
  GL Extension 'GL_EXT_texture_lod_bias' found and used.
  GL Extension 'GL_ARB_point_parameters' found and used.
  GL Extension 'GL_ARB_point_sprite' found and used.
  GL Extension 'GL_EXT_framebuffer_object' found and used.
  GL Extension 'GL_ARB_texture_non_power_of_two' found and used.
  GL Extension 'GL_ARB_vertex_program' found and used.
  GL Extension 'GL_EXT_secondary_color' found and used.
  GL Extension 'GL_EXT_blend_func_separate' found and used.

crystalspace.graphics3d.opengl:
  Maximum texture size is 4096x4096
  Using VBO with 64 MB of VBO memory
  Stencil clipping is used for objects >= 1 triangles.
  Clearing Z buffer when stencil clear is needed enabled

crystalspace.graphics3d.shadermgr:
  Loaded compiler plugin crystalspace.graphics3d.shadercompiler.weaver,
  compiler: ShaderWeaver
  Loaded compiler plugin crystalspace.graphics3d.shadercompiler.xmlshader,
  compiler: XMLShader

crystalspace.canvas.opengl.extmgr:
  GL Extension 'GL_ARB_texture_compression' found, but not used.
  GL Extension 'GL_ARB_texture_float' not found.
  GL Extension 'GL_ARB_pixel_buffer_object' found and used.
  GL Extension 'GL_EXT_abgr' found and used.
  GL Extension 'GL_EXT_packed_depth_stencil' found and used.
  GL Extension 'GL_ARB_depth_texture' found and used.

crystalspace.graphics3d.opengl:
  Available texture image units: 16 texture coordinate units: 8
  FBO: depth format GL_DEPTH_STENCIL_EXT, stencil format GL_DEPTH_STENCIL_EXT
  Render-to-texture backend: EXT_framebuffer_object
  Delayed buffer swapping: disabled
  AFP DrawPixmap() workaround: disabled
  “Forceful” fixed function enable: no

crystalspace.graphics3d.shadercompiler.xmlshader:
  Shader std_lighting_fixed: 12 variations, 1 ms
  Shader std_lighting: 168 variations, 57 ms
  Shader std_lighting_portal: unvarying, 0 ms

crystalspace.system:
  Loading map 'castle'.

crystalspace.graphics3d.shadercompiler.xmlshader:
  Shader std_lighting_fixed: 12 variations, 1 ms
  Shader std_lighting: 168 variations, 23 ms
  Shader std_lighting_portal: unvarying, 1 ms
  Shader light: unvarying, 1 ms
  Shader light_bumpmap: unvarying, 17 ms
  Shader light_spec_bumpmap: 2 variations, 37 ms
  Shader parallaxAtt: 8 variations, 58 ms
  Shader ambient: 9 variations, 1 ms
  Shader std_lighting: 168 variations, 17 ms

crystalspace.system:
  Precaching all things...
WARNING! Object 'Mesh.002' is not closed!
WARNING! Object 'Cylinder.018' is not closed!
WARNING! Object 'Cylinder.025' is not closed!
WARNING! Object 'Mesh.001' is not closed!
WARNING! Object 'Cube.582' is not closed!
WARNING! Object 'Cube.577' is not closed!
...

crystalspace.canvas.opengl.extmgr:
  GL Extension 'GL_EXT_separate_specular_color' found and used.
  GL Extension 'GL_ARB_texture_env_dot3' found and used.

crystalspace.graphics3d.shader.fixed:
  Multitexture units: whopping 8

crystalspace.canvas.opengl.extmgr:
  GL Extension 'GL_version_1_3' found and used.
  GL Extension 'GL_version_1_4' found and used.

crystalspace.graphics3d.shader.fixed:
  “Forceful” fixed function enable: no

crystalspace.graphics3d.shadercompiler.xmlshader:
  Shader 'ambient'<1>: Technique with priority 50 succeeds!

crystalspace.graphics3d.shader.glcg:
  Routing Cg fragment programs to Pixel Shader plugin OFF
  Cg fragment program '(null)': using profile arbfp1[7000]
  (29) : warning C7011: implicit cast from "float4" to "float3"
        float2 newTexcoord = (height * normEye).xy + IN.TexCoord;                                                                                                                   
                                                                                                                                                                                   
  Cg fragment program '(null)': using profile arbfp1[7000]                                                                                                                         
  (32) : warning C7011: implicit cast from "float4" to "float3"
        float2 newTexcoord = (height * normEye).xy + IN.TexCoord;                                                                                                                   
                                                                                                                                                                                   
  (32) : warning C7011: implicit cast from "float4" to "float3"                                                                                                                     
        float2 newTexcoord = (height * normEye).xy + IN.TexCoord;                                                                                                                   
                                                                                                                                                                                   
  Cg vertex program '(null)': using profile arbvp1[6150]                                                                                                                           
  (46) : warning C7011: implicit cast from "float4" to "float3"
        float3 eyeVec = ModelViewIT[3] - IN.Position;                                                                                                                               
  (46) : warning C7011: implicit cast from "float4" to "float3"                                                                                                                     
        float3 eyeVec = ModelViewIT[3] - IN.Position;                                                                                                                               
                                                                                                                                                                                   
crystalspace.graphics3d.shadercompiler.xmlshader:
  Shader 'parallaxAtt'<7>: Technique with priority 150 succeeds!

crystalspace.graphics3d.shader.glcg:
  Cg fragment program '(null)': using profile arbfp1[7000]
  (29) : warning C7011: implicit cast from "float4" to "float3"
        float2 newTexcoord = (height * normEye).xy + IN.TexCoord;                                                                                                                   
                                                                                                                                                                                   
  Cg fragment program '(null)': using profile arbfp1[7000]                                                                                                                         
  (33) : warning C7011: implicit cast from "float4" to "float3"
        float2 newTexcoord = (height * normEye).xy + IN.TexCoord;                                                                                                                   
                                                                                                                                                                                   
  (33) : warning C7011: implicit cast from "float4" to "float3"                                                                                                                     
        float2 newTexcoord = (height * normEye).xy + IN.TexCoord;                                                                                                                   
                                                                                                                                                                                   
  Cg vertex program '(null)': using profile arbvp1[6150]                                                                                                                           
  (47) : warning C7011: implicit cast from "float4" to "float3"
        float3 eyeVec = ModelViewIT[3] - IN.Position;                                                                                                                               
  (47) : warning C7011: implicit cast from "float4" to "float3"                                                                                                                     
        float3 eyeVec = ModelViewIT[3] - IN.Position;                                                                                                                               
                                                                                                                                                                                   
crystalspace.graphics3d.shadercompiler.xmlshader:
  Shader 'parallaxAtt'<1>: Technique with priority 150 succeeds!

crystalspace.graphics3d.shader.glcg:
  Cg fragment program '(null)': using profile arbfp1[7000]
  Cg fragment program '(null)': using profile arbfp1[7000]
  Cg vertex program '(null)': using profile arbvp1[6150]

crystalspace.graphics3d.shadercompiler.xmlshader:
  Shader 'std_lighting'<0>: Technique with priority 150 succeeds!

crystalspace.system:
  Precaching finished...
Total level load time: 3.167 seconds
  Computing OBBs ...
  --------------------------------------

crystalspace.font.server.multiplexer:
  Could not load font "/fonts/ttf/arialuni.ttf"
  Could not load font "/fonts/ttf/arial.ttf"
Cleaning up...

What could cause those distortions, and how can I get rid of them?

Edit: After doing some tutorials I noticed, that those distortions appear in all CS Apps. sad (see below)
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.2 | SMF © 2006-2007, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
Page created in 6.171 seconds with 17 queries.