Game won't start match, how can I debug? [Jaunty]
Wed, 2009-10-21 14:47
I've tried everything I can think of but I am unable to get Hedgewars to actually start up a match. I'm using the latest version from playdeb on Ubuntu Jaunty w/ Nvidia Drivers 180.53 on a Quadro FX 570M.
The game will launch just fine and let me configure everything, but when I go to actually start up a match, the screen freezes and just displays "In game..."
Searching Google shows that others have had this problem before but there are no solutions out there. My question is, what can I do to debug this problem to try and get it working?
I love Worms so I would really like to get this game up and running. Also, I'm committed to getting this working under linux natively, so please refrain from suggesting Wine or VirtualBox.
Once that happens look for an active process named "hwengine".
You should also find a debug0.txt within your home directory (not 100% on unix path right now - somewhere like ~/home/.hedgewars/ or so). Upload it somewhere (if there is something in there) and link us to it.
Something different to test: Click on single player, then custom game (top right button) and then look if there's a valid map preview showing some kind of island/cave.
One possible reason for this is the NPOTT OpenGL feature which apparently has poor (to put it mildly) support on at least some nvidia drivers.
Is worth noting it appears to work in my nvidia under Karmic at least. I have not tested Jaunty.
Anyway, if the last line of ~/.hedgewars/debug0.txt is:
0: OpenGL: GL_MAX_TEXTURE_SIZE: 8192
Then it is the NPOTT problem.
I've asked João Pinto to update the 0.9.12 Ubuntu package with the patches in:
http://hedgewars.org/node/1797#comment-11353
Which hopefully will resolve this.
If you don't want to wait, you can try building it yourself. I tried to put all the commands in the link above.
--
Oh, what the heck. 1PLXzL1CBUD1kdEWqMrwNUfGrGiirV1WpH <= tip a hedgewars dev
Thanks for the replies.
Nothing, all I see is one hedgewars process with three subprocesses
For some reason this file isn't being created, but the .hedgewars folder is. Is there a command-line option I can use to force this file to be generated? Or a signal I can send?
It sort of works. When I first enter the screen, the preview box in the upper left is blank and the Map dropdown says "generated map...". If I select a new map, such as Blox, then I get a preview of that particular map. If I go back to "generated map..." the box does not update. Not sure if that is intended behavior.
If I select a custom map from the dropdown, I'm still unable to start a game properly (goes back to the "in game..." text and nothing else).
For some totally random reason I couldn't get cmake to finish because it complains that it cannot find a Pascal compiler despite the fact I had fpc installed and available in $PATH. *shrug*.
WRT fpc.
Dunno. WFM, jaunty, karmic.
Try again? Maybe you weren't done installing it.
Oh, also, I think there's a build script floating around somewhere someone on the forums. I think it does pretty much the same things.
--
Oh, what the heck. 1PLXzL1CBUD1kdEWqMrwNUfGrGiirV1WpH <= tip a hedgewars dev
I've tried installing 0.9.12 on Jaunty with the build script in the download page (which is outdated btw, I've done some modifications otherwise it would just install 0.9.9 as latest stable).
So the NPOTT is disabled. I am also having nVidia (latest driver). Game just stuck at (In game..) without starting the actual game.
Here is the content of debug0.txt
We don't need a reason to help people ~ Zidane
Huh. Interesting.
Try a different resolution.
Also, what colour mode are you in? 16, 24 or 32?
--
Oh, what the heck. 1PLXzL1CBUD1kdEWqMrwNUfGrGiirV1WpH <= tip a hedgewars dev
Tried a different resolution, still no luck.
Color depth is 24.
We don't need a reason to help people ~ Zidane
I have no idea what changed, but suddenly I can play now. The only update of any note that's been installed is a libc6 update. Crazy...
Anyways, if I could possibly get an answer to another question. My linux version doesn't seem to have the ability for me to be a LAN server, is there a way to enable that?
AFAIK, he didn't build that piece due to some issue he had in compilation.
I believe was the same problem I had. The server depends on haskell packages that do not exist in debian/ubuntu package management.
If you want, you can try to build it yourself. I think the package you will need is dataenc and can be provided by the cabal haskell package builder.
Feel free to drop by IRC - I can try to help and unC0Rr definitely can.
--
Oh, what the heck. 1PLXzL1CBUD1kdEWqMrwNUfGrGiirV1WpH <= tip a hedgewars dev
Once I get a little bit more free time I might do that, still not sure what the deal is on my fpc problem but I can probably figure it out once I learn a little bit more about cmake.