Author Topic: CS isn't working :(  (Read 2026 times)

keic

  • Wayfarer
  • *
  • Posts: 5
    • View Profile
CS isn't working :(
« on: March 15, 2006, 04:08:53 pm »
I\'ve compiled CS (and even CEL) :) But none  example  is working.
When I start qtest from msys something like this apear :


\"$ celtst    
DEBUG: Sound System: Software Renderer Initializing..
DEBUG: Sound System: Configured for driver [crystalspace.sndsys.software.driver.directsound]
DEBUG: Sound System: Direct sound driver for software sound renderer initialized.

crystalspace.canvas.openglwin:
  No hardware acceleration!
  GL driver: (null)

crystalspace.canvas.openglcommon.driverdb:
  Applied: Software GL tweaks

crystalspace.canvas.openglcommon:
  OpenGL renderer: GDI Generic (vendor: Microsoft Corporation) version 1.1.0
  Using windowed mode at resolution 640x480.
  Pixel format: Color: 32 Alpha: 0 Depth: 16 Stencil: 8 AccumColor: 64
  AccumAlpha: 0 MultiSamples: 0
Assertion failed: nodeStack.GetSize() > 1
Location:         plugins/video/render3d/shader/shadercompiler/xmlshader/docwrap.cpp:125
Message:          Either too many Ascend()s or too few Descend()s
Call stack:
[0x0a47509e] (c:\\development\\CS\\xmlshader.dll)CS::Plugin::XMLShader::csWrappedDocumentNode::ConditionTree::Ascend(int) @c:/development/cs/plugins/video/render3d/shader/shadercompiler/xmlshader/docwrap.cpp:124
[0x0a476c51] (c:\\development\\CS\\xmlshader.dll)CS::Plugin::XMLShader::csWrappedDocumentNode::ProcessSingleWrappedNode(CS::Plugin::XMLShader::csWrappedDocumentNode::NodeProcessingState*, iDocumentNode*) @c:/development/cs/plugins/video/render3d/shader/shadercompiler/xmlshader/docwrap.cpp:639
[0x0a475f71] (c:\\development\\CS\\xmlshader.dll)CS::Plugin::XMLShader::csWrappedDocumentNode::ProcessInclude(csString const&, CS::Plugin::XMLShader::csWrappedDocumentNode::NodeProcessingState*, iDocumentNode*) @c:/development/cs/plugins/video/render3d/shader/shadercompiler/xmlshader/docwrap.cpp:337
[0x0a47715c] (c:\\development\\CS\\xmlshader.dll)CS::Plugin::XMLShader::csWrappedDo....
[0x04e701c3] (c:\\development\\CS\\engine.dll)csEngine::eiEventHandler::HandleEvent(iEvent&) @c:/development/cs/./plugins/engine/3d/engine.h
[0x004392fb] (c:\\development\\cel\\celtst.exe)csEventTree::Dispatch(iEvent&) @c:/development/cs/libs/csutil/cssubscription.cpp:558
[0x00428439] (c:\\development\\cel\\celtst.exe)csEventQueue::Dispatch(iEvent&) @c:/development/cs/libs/csutil/cseventq.cpp:309
[0x0041022d] (c:\\development\\cel\\celtst.exe)csInitializer::OpenApplication(iObjectRegistry*) @c:/development/cs/libs/cstool/initapp.cpp:441
[0x00405354] (c:\\development\\cel\\celtst.exe)CelTest::Application() @c:/development/cel/apps/celtest/celtest.cpp:397
[0x004083e2] (c:\\development\\cel\\celtst.exe)csApplicationFramework::Start() @c:/development/cs/libs/cstool/csapplicationframework.cpp:71
[0x0040862c] (c:\\development\\cel\\celtst.exe)csApplicationFramework::Main(int, char**) @c:/development/cs/libs/cstool/csapplicationframework.cpp:124
[0x004063d4] (c:\\development\\cel\\celtst.exe)main @c:/development/cel/apps/celtest/ctmain.cpp:41
[0x00401237] (celtst.exe)
[0x00401288] (celtst.exe)
[0x7c816d4f] (kernel32.dll)RegisterWaitForInputIdle+0x49
\"

and standard windows error information.

keic

  • Wayfarer
  • *
  • Posts: 5
    • View Profile
(No subject)
« Reply #1 on: March 15, 2006, 04:36:30 pm »
In cmd console are messages that some plugin cannot be found. (for example crystalspace.kernel.vfs). Any idea what is going on ? Maybe i\'ve installed wrong version  cs-win32libs
(cs-win32libs-0.99r0_018.exe) ?

Rolf Blacksmith

  • Hydlaa Resident
  • *
  • Posts: 167
    • View Profile
(No subject)
« Reply #2 on: March 15, 2006, 04:48:36 pm »
I also get something similar when trying to run the updater of Planeshift CVS.

I used the snapshots mentioned by AryHann in the weekly summary.

Here is the console output:
Code: [Select]

Opening GLX2D
Creating Context
Video driver GL/X version (direct renderer)
Visual ID: 0x00000021, 24bit TrueColor
R8:G8:B8:A0,
level 0, double buffered
NOTIFY: OpenGL renderer: GeForce 6600/AGP/SSE/3DNOW! (vendor: NVIDIA Corporation
) version 2.0.1 NVIDIA 81.78
NOTIFY: Using windowed mode at resolution 640x480.
NOTIFY: Pixel format: Color: 24 Alpha: 0 Depth: 24 Stencil: 8 AccumColor: 48 Acc
umAlpha: 16 MultiSamples: 0
NOTIFY: Multisample: disabled
Assertion failed: nodeStack.GetSize() > 1
Location:         plugins/video/render3d/shader/shadercompiler/xmlshader/docwrap
.cpp:125
Message:          Either too many Ascend()s or too few Descend()s
Call stack:
/opt/planeshift-build/CS/xmlshader.so [0xb2f37af9]
/opt/planeshift-build/CS/xmlshader.so [0xb2f36da8]
/opt/planeshift-build/CS/xmlshader.so [0xb2f3800e]
/opt/planeshift-build/CS/xmlshader.so [0xb2f37471]
/opt/planeshift-build/CS/xmlshader.so [0xb2f38472]
/opt/planeshift-build/CS/xmlshader.so [0xb2f37471]
/opt/planeshift-build/CS/xmlshader.so [0xb2f38472]
/opt/planeshift-build/CS/xmlshader.so [0xb2f386cd]
/opt/planeshift-build/CS/xmlshader.so [0xb2f38787]
/opt/planeshift-build/CS/xmlshader.so [0xb2f36423]
/opt/planeshift-build/CS/xmlshader.so [0xb2f38551]
/opt/planeshift-build/CS/xmlshader.so [0xb2f36da8]
/opt/planeshift-build/CS/xmlshader.so [0xb2f3800e]
/opt/planeshift-build/CS/xmlshader.so [0xb2f386cd]
/opt/planeshift-build/CS/xmlshader.so [0xb2f38787]
/opt/planeshift-build/CS/xmlshader.so [0xb2f36423]
/opt/planeshift-build/CS/xmlshader.so [0xb2f38551]
/opt/planeshift-build/CS/xmlshader.so [0xb2f386cd]
/opt/planeshift-build/CS/xmlshader.so [0xb2f38787]
/opt/planeshift-build/CS/xmlshader.so [0xb2f36423]
/opt/planeshift-build/CS/xmlshader.so [0xb2f38551]
/opt/planeshift-build/CS/xmlshader.so [0xb2f386cd]
/opt/planeshift-build/CS/xmlshader.so [0xb2f38787]
/opt/planeshift-build/CS/xmlshader.so [0xb2f36423]
/opt/planeshift-build/CS/xmlshader.so [0xb2f38551]
/opt/planeshift-build/CS/xmlshader.so [0xb2f36da8]
/opt/planeshift-build/CS/xmlshader.so [0xb2f3800e]
/opt/planeshift-build/CS/xmlshader.so [0xb2f386cd]
/opt/planeshift-build/CS/xmlshader.so [0xb2f38787]
/opt/planeshift-build/CS/xmlshader.so [0xb2f36423]
/opt/planeshift-build/CS/xmlshader.so [0xb2f38551]
/opt/planeshift-build/CS/xmlshader.so [0xb2f386cd]
/opt/planeshift-build/CS/xmlshader.so [0xb2f38787]
/opt/planeshift-build/CS/xmlshader.so [0xb2f361d4]
/opt/planeshift-build/CS/xmlshader.so [0xb2f3a18d]
/opt/planeshift-build/CS/xmlshader.so [0xb2f4bd17]
/opt/planeshift-build/CS/xmlshader.so [0xb2f5b907]
/opt/planeshift-build/CS/engine.so [0xb6cec45a]
/opt/planeshift-build/CS/engine.so [0xb6d050bd]
./updater [0x80b8be2]
./updater [0x80a829c]
./updater [0x8098432]
./updater [0x80618e9]
./updater [0x8062670]
/lib/tls/libc.so.6(__libc_start_main+0xe1) [0xb7b89f31]
./updater(__gxx_personality_v0+0xad) [0x804ad71]
Trace/Breakpoint ausgel?st


updater --auto seems to work fine(running currently.)

After the update I\'ll try running PS and post if it\'s running.

[edit]
OK, pssetup and psclient behave the same.
export MALLOC_CHECK_=0 didn\'t help, so it\'s not the invalid-pointer issue, I suppose.
[/edit]
« Last Edit: March 15, 2006, 06:24:58 pm by Rolf Blacksmith »
Typing and grammatic errors may be safely ignored, they come without charge ...

AryHann

  • Veteran
  • *
  • Posts: 1244
  • WonderWoman
    • View Profile
(No subject)
« Reply #3 on: March 15, 2006, 06:05:02 pm »
keic, what date have you used for compiling?
Did you update your graphic card or are you using software renderer?

What happens if you run walktest instead?


Rolf: you mean you used 16/17-02 or HEAD?
AryHann

http://www.reflex.lth.se/culture/annelov - Virtual Annelöv -
Engine Dep. - One of Talad's Angels - Aka ww & Ahrijani's Goddess

Rolf Blacksmith

  • Hydlaa Resident
  • *
  • Posts: 167
    • View Profile
(No subject)
« Reply #4 on: March 15, 2006, 06:07:18 pm »
I used 16/17-02.
Typing and grammatic errors may be safely ignored, they come without charge ...

keic

  • Wayfarer
  • *
  • Posts: 5
    • View Profile
(No subject)
« Reply #5 on: March 15, 2006, 06:11:39 pm »
I used 16/17-02 too.

AryHann

  • Veteran
  • *
  • Posts: 1244
  • WonderWoman
    • View Profile
(No subject)
« Reply #6 on: March 15, 2006, 06:20:02 pm »
Ok, keic, what about your graphic card drivers? and walktest?

Rolf: Do you get that just with the updater and not with the client?
AryHann

http://www.reflex.lth.se/culture/annelov - Virtual Annelöv -
Engine Dep. - One of Talad's Angels - Aka ww & Ahrijani's Goddess

Rolf Blacksmith

  • Hydlaa Resident
  • *
  • Posts: 167
    • View Profile
(No subject)
« Reply #7 on: March 15, 2006, 06:23:37 pm »
updater (without --auto), pssetup and psclient give me pretty much the same output (except some additional sound errors as I have music running and pssetup crashes), I just didn\'t want to post all the errors once again
(Hint: look at my long thread above, I added a few lines. Should mark that as edited in the future ...)
« Last Edit: March 15, 2006, 06:24:12 pm by Rolf Blacksmith »
Typing and grammatic errors may be safely ignored, they come without charge ...

AryHann

  • Veteran
  • *
  • Posts: 1244
  • WonderWoman
    • View Profile
(No subject)
« Reply #8 on: March 15, 2006, 06:41:56 pm »
I got the hint that the xmlshader issue has been fixed in CS, so I recommend to update CS/CEL to 14/03 and PS to HEAD!
AryHann

http://www.reflex.lth.se/culture/annelov - Virtual Annelöv -
Engine Dep. - One of Talad's Angels - Aka ww & Ahrijani's Goddess

Rolf Blacksmith

  • Hydlaa Resident
  • *
  • Posts: 167
    • View Profile
(No subject)
« Reply #9 on: March 15, 2006, 08:17:34 pm »
OK, I\'ll give it a try.

Update:

pssetup now works, although it still gives me an \"Error saving configuration \'\'.\" when closing, along with some unreleased instances.

updater starts, but as with earlier versions, only the \"exit\" button seems to work.

In text mode, the upater works, but gives me an error message:
Warning: Couldn\'t find module \'linux32\' in registry.
(I am running PS on a 32-bit Linux)

psclient shows a splashscreen saying \"molecular blue\" (strange) and crashes afterwards with the following output (excerpt):
Code: [Select]

  Could not locate masking image charborder for widget PaperDollView
Assertion failed: n < count
Location:         ./include/csutil/array.h:644
Call stack:
/opt/planeshift-build/CS/engine.so [0xb6e20c72]
/opt/planeshift-build/CS/engine.so [0xb6e1fcd8]
./psclient [0x82ea3b3]
./psclient [0x82ea03a]
./psclient [0x82d524f]
./psclient [0x82d5809]
./psclient [0x82d52af]
./psclient [0x8296566]
./psclient [0x8295e89]
./psclient [0x8073a90]
./psclient [0x81a7cb0]
./psclient [0x82d7844]
./psclient [0x81836ec]
./psclient [0x8295685]
./psclient [0x80753ea]
./psclient [0x8083711]
./psclient [0x812da0a]
./psclient [0x812d91f]
./psclient [0x811a9fc]
./psclient [0x811f3a5]
./psclient [0x812da0a]
./psclient [0x812d91f]
./psclient [0x811a9fc]
./psclient [0x811aadc]
./psclient [0x80dfb3e]
./psclient [0x807b588]
/lib/tls/libc.so.6(__libc_start_main+0xe1) [0xb7d46f31]
./psclient(__gxx_personality_v0+0xb5) [0x804ae71]
Trace/Breakpoint ausgel?st
« Last Edit: March 15, 2006, 09:26:35 pm by Rolf Blacksmith »
Typing and grammatic errors may be safely ignored, they come without charge ...

keic

  • Wayfarer
  • *
  • Posts: 5
    • View Profile
(No subject)
« Reply #10 on: March 16, 2006, 02:12:57 pm »
I downloaded NVidia drivers and still i doesn\'t work - PS also compiles. Maybe still i should install some drivers? I remember that I had similar problem when i tried run opengl examples with multitexturing (ARB extension) but when i installed some drivers all was ok.  cs  is opengl engine? and solution can be similar. Any advice to a beginner?:) (I\'ve GeForce 400 MX)

AryHann

  • Veteran
  • *
  • Posts: 1244
  • WonderWoman
    • View Profile
(No subject)
« Reply #11 on: March 16, 2006, 02:31:16 pm »
@Rolf Blacksmith: that is already an improvement, I think. The fact that the client shows MB splashscreen is normal. In CVS there is MB art and not CB one, since it is protected by the license.

@keic: CS uses mainly an openGL renderer.

For both, I suggest you to get some \"Real time\" help joining us on IRC. #planeshift-build and #crystalspace on irc.freenode.net might help you.
AryHann

http://www.reflex.lth.se/culture/annelov - Virtual Annelöv -
Engine Dep. - One of Talad's Angels - Aka ww & Ahrijani's Goddess

keic

  • Wayfarer
  • *
  • Posts: 5
    • View Profile
:(((((((
« Reply #12 on: March 16, 2006, 05:45:05 pm »
I\'ve found this topics in cs forum:
http://community.crystalspace3d.org/forum/index.php/topic,775.0.html
and
http://community.crystalspace3d.org/forum/index.php/topic,917.0.html
and I\'m not optimistic. I think it\'s exactly the same problem and I\'ve talked to jorrit on irc.  I\'ve got black screen when running any simple cs application (in walktest there are some words  first ) and window is crashing (during RegisterWaitForInput). I don\'t know any solution yet:(
I\'ve WinXP, CS  -16/17-02 , MINGW compilation, Geforce 400 MX.
I reinstalled NVidia drivers (81.98 actually) what else can I do ?:(
(CS, CEL, PS compiled without errors)