Game doesn't start on Ubuntu 10.04

5 replies [Last post]
Sojiro
User offline. Last seen 14 years 20 weeks ago. Offline
Joined: 2010-08-08
Posts: 1

Hello

I have a laptop with standard Inter 945GM graphics card running with Ubuntu 10.04. I installed Hedgewars package through the synaptic package manager.

When I launch the game (single player or multiplayer), it freezes on trees and I have a "in game" message at the top left of the window. Then nothing.

nemo
nemo's picture
User offline. Last seen 24 weeks 2 days ago. Offline
Joined: 2009-01-28
Posts: 1861

That means the game window itself crashed.

Please try go to options and disabling both frontend and backend sound and music, then restarting and retesting.

If it still fails, enable Reduce Quality in options and retest.

If it still fails, pastebin the output of ~/.hedgewars/debug0.txt

If you get it working, let us know what did it, could probably give you more details on a better fix.

--
Oh, what the heck. 1PLXzL1CBUD1kdEWqMrwNUfGrGiirV1WpH <= tip a hedgewars dev

bvql
User offline. Last seen 14 years 17 weeks ago. Offline
Joined: 2010-08-26
Posts: 2

Good evening!

I have got the same problem (or at least the same symptoms). I tried everything you suggested to no avail. The output of my debug0.txt is:

     0: Console write: Hedgewars 0.9.13 engine (network protocol: 31)
     0: Prefix: "/usr/share/games/hedgewars/Data"
     0: 0: /usr/lib/hedgewars/bin/hwengine
     0: 1: /home/myusername/.hedgewars
     0: 2: 1680
     0: 3: 1050
     0: 4: 32
     0: 5: 39227
     0: 6: 0
     0: 7: 0
     0: 8: 0
     0: 9: 1
     0: 10: en.txt
     0: 11: 128
     0: 12: 13
     0: 13: /usr/share/games/hedgewars/Data
     0: 14: 1
     0: 15: 0
     0: 16: R05VZHVuZw==
     0: 17: 0
     0: 18: 1
     0: Console write: Init SDL... 
     0: Console write: ok
     0: Console write: Init SDL_ttf... 
     0: Console write: ok
     0: ParseCommand "fullscr 0"
     0: Prepare to change video parameters...
     0: Console write: Init SDL_image... 
     0: Console write: ok
     0: Console write: Loading /usr/share/games/hedgewars/Data/Graphics/hwengine [flags: 8]... 
     0: Console write: (32,32) 
     0: Console write: ok

I am using the Ubuntu/10.04 version from the repository, also I use the Radeon graphics driver.

nemo
nemo's picture
User offline. Last seen 24 weeks 2 days ago. Offline
Joined: 2009-01-28
Posts: 1861

I'd say odds are good that you will need to use fglrx.
Last I checked the radeon driver does not support 3d.
You'd have better luck most likely with Mesa - even though that really would require reduced quality. Same reason compiz doesn't work with that.

Does glxgears work for you?

And do you see direct rendering in glxinfo?

--
Oh, what the heck. 1PLXzL1CBUD1kdEWqMrwNUfGrGiirV1WpH <= tip a hedgewars dev

bvql
User offline. Last seen 14 years 17 weeks ago. Offline
Joined: 2010-08-26
Posts: 2

Thanks for your comment. After hours of trial and error, I needed to apt-get remove fglrx and set ‘radeon’ in my xorg.conf. Now the game plays just fine. I need to reduce quality though, but that doesn’t bother me.

nemo
nemo's picture
User offline. Last seen 24 weeks 2 days ago. Offline
Joined: 2009-01-28
Posts: 1861

Huh. Odd. So you had fglrx installed too and a mucked up xorg.conf

Well. No way I was guessing that Smile

At least you figured it out.

--
Oh, what the heck. 1PLXzL1CBUD1kdEWqMrwNUfGrGiirV1WpH <= tip a hedgewars dev

User login

Copyright © 2004-2024 Hedgewars Project. All rights reserved. [ contact ]