Author Topic: Problems with graphic engine  (Read 2302 times)

andi01

  • Wayfarer
  • *
  • Posts: 1
    • View Profile
Problems with graphic engine
« on: March 03, 2006, 08:44:46 pm »
Hello!

Firstly I want to excuse my bad English. I only learned it at school.

I have installed Planeshift .013 as recommed but it doesn?t work correctly. It shows lots of grafic errors and I can not see anything from the game except the options and the chat window. Version .012 worked without any problems.

Quote


All LOGS are off.
Mounting skin: /this/art/skins/default.zip
Mounting skin: /planeshift/art/skins/base/client_base.zip
  psEngine initialized.
Using fontsize 9 for resolution 800x600
WARNING! Object \'spikes_05\' is not closed!
WARNING! Object \'spikes_03\' is not closed!
WARNING! Object \'_s_walls_01\' is not closed!
WARNING! Object \'_s_sigil_01\' is not closed!
WARNING! Object \'_s_sigil_05\' is not closed!
WARNING! Object \'_s_bridge_01\' is not closed!
...
crystalspace.graphics3d.shader.fixed:
  Multitexture units: whopping 8
planeshift.application.client:
  PSLoader: step 2: success
ParseFile
:
  Could not find file: /planeshift/world/podium/sound.xml
planeshift.application.client:
  PSLoader: step 3: success
HandleStatsUpdate
:
  Stat request failed because CelClient not ready for 777
Region akkaio loaded successfully in 6442ms
HandleMessage
:
  Still loading maps, ignoring crossing to sector ojapath.
Region korogan loaded successfully in 202ms
planeshift.application.client:
  PSLoader: step 4: success
crystalspace.maploader.parse.image:
  Could not open image file \'/this/art/effects/arrowUV.jpg\' on VFS!
crystalspace.maploader.parse.texture:
  Could not load texture \'arrowUV\', using checkerboard instead[node:
  library,textures,texture(name=arrowUV)]
crystalspace.maploader.parse.image:
  Could not open image file \'/this/art/effects/rect_texture1.png\' on VFS!
crystalspace.maploader.parse.texture:
  Could not load texture \'rect_texture1\', using checkerboard instead[node:
  library,textures,texture(name=rect_texture1)]
crystalspace.maploader.parse.image:
  Could not open image file \'/this/art/effects/target.png\' on VFS!
crystalspace.maploader.parse.texture:
  Could not load texture \'target\', using checkerboard instead[node:
  library,textures,texture(name=target)]
crystalspace.font.server.multiplexer:
  Could not load font \"/planeshift/data/ttf/becker-m.ttf\"
planeshift.application.client:
  PSLoader: step 5: success
psEngine destroyed.
Not Deleted 0xdc96d70 \'ojapath\' ref=11
Not Deleted 0xdce1258 \'SUN-Pathojapath\' ref=1
Not Deleted 0xdce19c0 \'CRYSTAL_LIGHT02ojapath\' ref=1
X Error of failed request:  BadWindow (invalid Window parameter)
  Major opcode of failed request:  4 (X_DestroyWindow)
  Resource id in failed request:  0x3400003
  Serial number of failed request:  223
  Current serial number in output stream:  225
Something bad happened in csKDTreeChild::RemoveLeaf!
  Trying to remove leaf for: \'_s_sigil_03\' (-5.91674,-0.660167,-4.18592)-(-4.5768,1.64949,-1.87626)!
andreas@ubuntu:~/planeshift$


It looks like:

I hope anyone can help me.
« Last Edit: March 03, 2006, 09:02:04 pm by andi01 »

Darkblade

  • Hydlaa Resident
  • *
  • Posts: 143
    • View Profile
(No subject)
« Reply #1 on: March 04, 2006, 01:17:05 am »
Something similar is happening with me as well. I used both Xordan\'s patch, and the full installer, to no avail.

 It apparently cannot open the database driver: /config/gldrivers.xml
At least according to this little message here.
Quote

crystalspace.canvas.openglcommon:
  Could not open driver database file \'/config/gldrivers.xml\'


And in the realm, I only see my floaty head, with the same effects that andi01 has. Maybe a floaty head of someone else. But the world is not there.
Crazy am I. Not responsable for crazyness that ensues.

treor

  • Wayfarer
  • *
  • Posts: 5
    • View Profile
(No subject)
« Reply #2 on: March 09, 2006, 08:45:53 am »
same problem here.

i can see just the hair in the char creation and after i joined the realm i can see the men? but the world isnt loaded. also just \"floating\" hairs.

system:

gentoo 2.6.15 (@64bit)
amd64 sempron 3100
gf 6600gt

kde 3.4
crytalspace 0.99



[edit]its possible that i have the solution. at the moment i combile crystalspace with the 3ds useflag. if the models are 3ds that could it be. i would see in ca 1h[/edit]
« Last Edit: March 09, 2006, 08:55:59 am by treor »

Bereror

  • Hydlaa Notable
  • *
  • Posts: 773
    • View Profile
    • Planeshift API
(No subject)
« Reply #3 on: March 09, 2006, 09:31:09 am »
One thing you could try is to run these two commands before starting the PlaneShift client to make sure that you don\'t use wrong versions of CS and cel:

Code: [Select]

unset CRYSTAL
unset CEL


Gentoo CrystalSpace ebuild definitely doesn\'t work with the current PlaneShift client.
PlaneShift Sources
PlaneShift API
"Words never spoken
Are the strongest resounding"

treor

  • Wayfarer
  • *
  • Posts: 5
    • View Profile
(No subject)
« Reply #4 on: March 09, 2006, 11:00:37 am »
Quote
Originally posted by Bereror
One thing you could try is to run these two commands before starting the PlaneShift client to make sure that you don\'t use wrong versions of CS and cel:

Code: [Select]

unset CRYSTAL
unset CEL


Gentoo CrystalSpace ebuild definitely doesn\'t work with the current PlaneShift client.


thats strange.
after i have aktivatet the 3ds useflag, planeshifts runs really perfect.
so just aktivate it ;)


----------------------------------------------------------------------------

so. perhabs its usefull 4 someone. on this way i installed planeshift on my gentoo:


1.
Code: [Select]

echo \"dev-games/crystalspace 3ds openal\" >> /etc/portage/package.use


2.
nano /etc/portage/package.keywords

put in: (if you use another architecture just change the ~amd64 to your)
Code: [Select]

games-rpg/planeshift ~amd64
dev-games/cel ~amd64
dev-games/crystalspace ~amd64
media-libs/cal3d ~amd64
media-libs/lib3ds ~amd64


3.
emerge planeshift

4. than i followed this:
http://www.planeshift3d.com/wbboard/thread.php?threadid=19389&boardid=41&styleid=2&sid=ed780224adfd836996573acdea0ae74d

i had to copy the \"libk5crypto \"-libs in the planeshift dir

5.
to use the updater you have to do an
Code: [Select]
emerge curl

6. than one last thing:
i googeled for the font \"becker-m\" because planeshift needs it an it wasn?t there. when you copied it in your /opt/planeshift/data/ttf dir, please check if its \"becker-m.ttf\" or \"Becker-m.ttf\". it should beginn with a lowercase.


so that was it. now it should run.

curious

  • Wayfarer
  • *
  • Posts: 9
    • View Profile
(No subject)
« Reply #5 on: March 10, 2006, 09:13:29 pm »
Hi,

I seem to have the same graphics problem, but I didn\'t quite understand the steps in the last post.  Does somebody feel like translating it for a newbie?

I\'ve done:

unset CEL
unset CRYSTAL

but it didn\'t help.


I\'m using Ubuntu 5.10.  In Synaptic Package Manager, it lists crystal space as uninstalled (V 0.98). Could this have something to do with it?  Does the PS installer not take care of this?


Thanks,
curious
« Last Edit: March 10, 2006, 09:15:42 pm by curious »

curious

  • Wayfarer
  • *
  • Posts: 9
    • View Profile
(No subject)
« Reply #6 on: March 10, 2006, 09:53:33 pm »
Update:

It looks like my problem might be elsewhere:

glxinfo | grep direct
direct rendering: No
OpenGL renderer string: Mesa GLX Indirect


I\'ll see if I can sort that out first.


Curious

curious

  • Wayfarer
  • *
  • Posts: 9
    • View Profile
(No subject)
« Reply #7 on: March 10, 2006, 10:14:39 pm »
OK, I\'m back.

Can somebody please explain the post by treor?

Am I supposed to have a dev-games folder or something?


Thanks,

curious

treor

  • Wayfarer
  • *
  • Posts: 5
    • View Profile
(No subject)
« Reply #8 on: March 14, 2006, 02:47:03 pm »
hi


you cant use my instruction on ubuntu. its for the distribution gentoo and its portage (the management 4 installations).

for explanation:

in 1) i tell porage that i want to compile crystal with 3ds and openal options.

in 2) i tell portage that it should take the ~amd64 versions of the libs (~amd64 meens unstable on amd64)

in 3) i emerge (compile and install) planeshift

4) should be self-explained

in 5) in compile and installe curl (needed bz the planeshift updater)

and 6) should be explained above.

if you think a little bit, you should be able to \"port\" my guide to the installation management of ubuntu.

perhabs it would help you... the version of crystalspace i use is 0.99. so check the versions of the dependecies. i think they would also be unstable on ubuntu.
« Last Edit: March 14, 2006, 02:54:13 pm by treor »

curious

  • Wayfarer
  • *
  • Posts: 9
    • View Profile
(No subject)
« Reply #9 on: March 17, 2006, 09:12:14 am »
Hi treor,

Thanks for the translation, I thought the steps might have been Gentoo specifc.  I\'ll have a go porting it to Ubuntu.  I may need help on that, I\'ll see how I go.


Thanks,
curious

Xordan

  • Crystal Space Developer
  • Forum Addict
  • *
  • Posts: 3845
  • For God and the Empire
    • View Profile
(No subject)
« Reply #10 on: March 17, 2006, 01:26:33 pm »
The installer is all self-contained. You shouldn\'t need to do _any_ external step to get it to run other than running the installer then the updater/setup/client for any distro which meets the min requirements stated in the installer.
« Last Edit: March 17, 2006, 01:26:55 pm by Xordan »

treor

  • Wayfarer
  • *
  • Posts: 5
    • View Profile
(No subject)
« Reply #11 on: March 19, 2006, 09:16:54 pm »
does it also contain al the dependencies? such as crystal space, etc.? i did the emerge to get them and planeshift in a \"clean\" way on my system. and so i was able to solve the graphic engine thing ;)

Xordan

  • Crystal Space Developer
  • Forum Addict
  • *
  • Posts: 3845
  • For God and the Empire
    • View Profile
(No subject)
« Reply #12 on: March 20, 2006, 12:34:14 pm »
Yes it contains all the dependancies as I said in the post above.

treor

  • Wayfarer
  • *
  • Posts: 5
    • View Profile
(No subject)
« Reply #13 on: March 27, 2006, 02:29:33 pm »
but then.... why doesn?t it work before i changed the useflag for crystal space and reemerged it? (its not very important ... i just want to understand it ;) )

Bereror

  • Hydlaa Notable
  • *
  • Posts: 773
    • View Profile
    • Planeshift API
(No subject)
« Reply #14 on: March 27, 2006, 05:24:44 pm »
If you have installed CrystalSpace, then you get a system-wide environment variable CRYSTAL pointing to your installed version of CrystalSpace. If Planeshift finds that the CRYSTAL environment variable is set, it tries to use the CrystalSpace version found in your system. The version in your system might be not compatible with Planeshift and it will fail to start up.

The safest way of running Planeshift binaries would be making sure that there are no CRYSTAL or CEL environment variables set. Just run unset CRYSTAL and unset CEL before starting Planeshift
PlaneShift Sources
PlaneShift API
"Words never spoken
Are the strongest resounding"