PlaneShift

Support => Linux Specific Issues => Topic started by: ozelot on March 08, 2008, 06:30:34 pm

Title: Client crashes whenever inventory icons come into play
Post by: ozelot on March 08, 2008, 06:30:34 pm
 Planeshift in Hardy - LinuxClient

Whenever the inventory or i guess generally inventory icons come into play the client crashes.
I already tried to substitute some of the files in the game's lib folder from my system /usr/libs folder, but then discovered this when starting from console:
[...]
crystalspace.graphics3d.shader.fixed:
Multitexture units: moderate 4
78604) <src/client/charapp.cpp:470 ChangeMaterial>
78605) Failed to set material "/planeshift/models/dermf/dermf_hand_chainmail.dds " on part "Hand"
Aborted (core dumped)
This looks actually not very complex, but I for sure have no idea how to fix this.
For ref.: The win client -under wine- does load inventory properly. Neither does it crash on give or loot... But unfortunately the menues and all buttons are invisible which makes things difficult

Any sugg. welcome!
regards,
oz
__________________
Title: Re: Client crashes whenever inventory icons come into play
Post by: Jonerian on March 08, 2008, 06:47:41 pm
There is a bug report about this issue:
http://www.hydlaa.com/flyspray_upgrade/index.php?do=details&task_id=1149

Unfortunately we are not close to a fix yet. It only happens on GeForce 5xxx Graphic cards probably.
Title: Re: Client crashes whenever inventory icons come into play
Post by: ozelot on March 09, 2008, 12:54:27 am
There is a bug report about this issue:
http://www.hydlaa.com/flyspray_upgrade/index.php?do=details&task_id=1149

Unfortunately we are not close to a fix yet. It only happens on GeForce 5xxx Graphic cards probably.

A temporary workaround would be to fix transparency of interface of win client under wine :)
maybe add an option like "completely disable interface transparencies" as the regular dialogue has no effect on this.
so far i can select between a nice interface that leads to a crash[no sense in going for this] or a mostly invisible interface where i have to remember the exact location of all buttons that works[only way for me and some others, but not easily enjoyable]...

best regards,
oz
Title: Re: Client crashes whenever inventory icons come into play
Post by: Seneche on March 09, 2008, 08:09:24 am
There is a bug report about this issue:
http://www.hydlaa.com/flyspray_upgrade/index.php?do=details&task_id=1149

Unfortunately we are not close to a fix yet. It only happens on GeForce 5xxx Graphic cards probably.

Wow, I am so glad I got a new graphic card just before the release lol. I had an Nvidia Geforce FX 5500. You could try it without the graphic card. I played Crystal Blue ok without one. It was sluggish, but playable. That might fix it for you, since it is graphic card related.
Title: Re: Client crashes whenever inventory icons come into play
Post by: ozelot on March 09, 2008, 09:48:30 am
Wow, I am so glad I got a new graphic card just before the release lol. I had an Nvidia Geforce FX 5500. You could try it without the graphic card. I played Crystal Blue ok without one. It was sluggish, but playable. That might fix it for you, since it is graphic card related.
You obviously own a mainboard with oboard graphics. I dont have a mainboard like this.Playing the game with onboard graphics  wouldnt be a fix anyway. At best it's to be considered a workaround.
Anyway thanks for the sugg. and enjoy the game.

In the bug reports it is absolutely clear that the game crashes on any "draw-icon"-event such as inventory, trade(buy/sell), give and loot. also the spellbook crashes which uses icons as well.
I came to think of it might be a bug in an outdated library. But on the other hand compiling from source should solve then...but it didnt reg. to the bug report....
I tried substituting the libs from nvidia-cg-toolkit as well. It still crashes after around half a second of an open inventory.
Having substituted give me a new error message though:
62121) <src/client/psclientdr.cpp:214 HandleDeadReckon>
62121) Got DR message for unknown entity 14050.
(0) : fatal error C9999: *** exception during compilation ***
Cg compiler terminated due to fatal error(0) : fatal error C9999: *** exception during compilation ***
Cg compiler terminated due to fatal error


Also due to the substitution more is  shown correctly. Not only the character pic in the center but also the equip slots around.
This indicates the problem really lies in incompabilities/errors with the libraries as substituting them touches the error as well. So it looks like an error in the use of the lib.

Best regards,
oz
Title: Re: Client crashes whenever inventory icons come into play
Post by: Caarrie on March 09, 2008, 12:40:04 pm
if you are using Cg 2.0 that is a known issue http://trac.crystalspace3d.org/trac/CS/ticket/454
Title: Re: Client crashes whenever inventory icons come into play
Post by: foldy on March 12, 2008, 11:33:35 pm
I only add new data.
My game crash with same problem with inventory,spellbook and others same problem with items on it. But I have GeForceTi 4600 on slackware 12 with drivers from Nvidia binary package so it crashes same in GeForce4xxx too.
I dont know if this help :
planeshift.application.client:
  PSLoader: step 5: success
   46813) <src/client/gui/pawsignore.cpp:130 LoadIgnoreList>
   46813) No ignore.xml file found. Assuming empty
   46813)
   47880) <src/common/paws/pawsborder.cpp:60 UseBorder>
   47880) Invalid dimensions on border drawable: >UpperLeftMap<
  PSLoader: step 6: success
   49455) <src/client/pscelclient.cpp:1441 SetAnimation>
   49456) Didn't find animation 'hammer' for 'Tiboy Tiboy.
   59339) <src/client/psclientdr.cpp:214 HandleDeadReckon>
   59339) Got DR message for unknown entity 22361.
Aborted

I have IBM notebook with old Ati 7000 and there is no problem but inventory objects is only white boxes and game is mostly same as Im reading book.
Title: Re: Client crashes whenever inventory icons come into play
Post by: Caarrie on March 13, 2008, 12:03:35 am
http://www.hydlaa.com/flyspray_upgrade/index.php?do=details&task_id=1149
Title: Re: Client crashes whenever inventory icons come into play
Post by: potatoehead64 on March 14, 2008, 12:38:18 pm
Someone gave me the following code to add to the end of the psclient.cfg file

"Video.OpenGL.UseExtension.GL_EXT_texture_rectangle = false
Video.OpenGL.UseExtension.GL_ARB_texture_rectangle = false
Video.OpenGL.UseExtension.GL_NV_texture_rectangle = false
PlaneShift.Client.Loading.PreloadModels = true
System.PlugIns.iSndSysRenderer = crystalspace.sndsys.renderer.software"

Did that and saved and I found all was fixed!

Good luck.
Title: Re: Client crashes whenever inventory icons come into play
Post by: ozelot on March 18, 2008, 11:07:40 pm
[...]
"Video.OpenGL.UseExtension.GL_EXT_texture_rectangle = false
Video.OpenGL.UseExtension.GL_ARB_texture_rectangle = false
Video.OpenGL.UseExtension.GL_NV_texture_rectangle = false
PlaneShift.Client.Loading.PreloadModels = true
System.PlugIns.iSndSysRenderer = crystalspace.sndsys.renderer.software"
[...]
Good luck.
Thanks for the information! Looks like a config that switches from hardware to software rendering.
So still just a workaround, but at least I don't have to exchange the graphics card anymore.
Unfortunately I already switched to Shadowbane after having it gotten to run just fine under wine.
In the next version of Planeshift however I will surely check again, what improvements have been made to the game.

Cheers,
oz