Hedgewars 0.9.9 - crash when rendering explosion [Audio-related, sdl_mixer+ALSA-dmix]

17 replies [Last post]
oyvind
User offline. Last seen 15 years 7 weeks ago. Offline
Joined: 2009-01-27
Posts: 10

Hi,

Just tested Hedgewars 0.9.9 for the first time. It initially seems to work fine, is smooth and looks very nice (!) (except for the always crackling SDL-audio, which is a problem with many SDL-games). But, whenever an explosion happens (like rocket launcher), the game craps out (back to frontend launcher app). The first time this happened (with 1280x1024 resolution), the error message was something like "Could not init engine: something path to some lib", but this message hasn't appeared on sub-sequent crashes, even though I've also cleared out ~/.hedgewars.

Ubuntu 8.10/x86
ATI X1400 Radeon Mobile (128MB VRAM)
ATI Catalyst fglrx 8.12 (latest)
GLX info here: http://folk.uio.no/oyvinst/glxinfo-b.txt
Hedgewars-0.9.9 packages compiled by getdeb.net.

Many other OpenGL-games work just fine on this machine, as well as OpenGL screensavers, etc.

I might be able to assist in getting some debug output. Is this a known problem ?

EDIT: This problem is NOT related to graphics/OpenGL.

Regards,
oyvind

DrDickens
DrDickens's picture
User offline. Last seen 12 years 4 weeks ago. Offline
Joined: 2008-08-28
Posts: 316

First time i hear this one. You should post a debug log (I don't remember where HW hide one in ubuntu, .hedgewars probably. Called debug0.txt or whatever else number).
Oh, and welcome to our modest community.

БЫСТРО БЛДЖАД! Полицейский, что это необходимо для Вас, блджа, падает отсюда блджад!

oyvind
User offline. Last seen 15 years 7 weeks ago. Offline
Joined: 2009-01-27
Posts: 10

DrDickens allegedly wrote:

First time i hear this one. You should post a debug log (I don't remember where HW hide one in ubuntu, .hedgewars probably. Called debug0.txt or whatever else number).
Oh, and welcome to our modest community.

Thank you, we are planning to do some Hedgewars-playing in the evenings at work, but this is a show-stopper for some of us (other guy here has Ubuntu/8.10+ATI X1600, and also had some weird graphical problems). I saw some other forum posts here about graphical glitches with Intel-driver and explosions.. related ?

debug0.txt here:
http://folk.uio.no/oyvinst/debug0.txt

DrDickens
DrDickens's picture
User offline. Last seen 12 years 4 weeks ago. Offline
Joined: 2008-08-28
Posts: 316

Well them devs don't like ATi. I have problems even using windows (and native, what you call proprietary drivers). But i have tiny glitches. Can't say if your case is related to intel crap any how. You have to wait till uncorr shows up. He's anything of everything (or vice versa) about programming.

БЫСТРО БЛДЖАД! Полицейский, что это необходимо для Вас, блджа, падает отсюда блджад!

Josh
Josh's picture
User offline. Last seen 14 years 38 weeks ago. Offline
Joined: 2008-11-09
Posts: 430

I feel lucky to have none of these bugs... Big Grin
Welcome to the community and good luck; I hope the problem is resolved soon. Smile

oyvind
User offline. Last seen 15 years 7 weeks ago. Offline
Joined: 2009-01-27
Posts: 10

DrDickens allegedly wrote:

Well them devs don't like ATi. I have problems even using windows (and native, what you call proprietary drivers). But i have tiny glitches. Can't say if your case is related to intel crap any how. You have to wait till uncorr shows up. He's anything of everything (or vice versa) about programming.

Yeah, the ATI drivers aren't the nicest piece of work out there, been causing me some problems at times.. But the latest ones aren't that bad.. Anyhow, tested on a different machine with nvidia-graphics and latest nvidia-drivers, and it works well there. But that's not where I want to play Smile. I'll keep a lookout here, in case a solution or even new version shows up (of either Hedgewars, Catalyst/fglrx or both Smile).

oyvind
User offline. Last seen 15 years 7 weeks ago. Offline
Joined: 2009-01-27
Posts: 10

Argh, still the same crash with just-released AMD Catalyst 9.1 Linux fglrx driver (which btw. works just fine generally) ..Sad Smiley

daimadoshi85
daimadoshi85's picture
User offline. Last seen 13 years 6 weeks ago. Offline
Joined: 2008-05-04
Posts: 372

I use ATI driver too (8.11) with an X1400 and never had this problem!Can you try to reduce game resolution?I'm not sure, but I fear it can be also that first message (really strange), I always compile the game and I created a script to install it perfectly on Ubuntu. Please try to uninstall the game from getdeb and use my script (See my signature below)..maybe with getdeb there are some dipendencies not satisfied..

Come to the dark side, we have cookies... - V

Hedgewars script for ubuntu is here...but maybe I have to update it first Smile

DrDickens
DrDickens's picture
User offline. Last seen 12 years 4 weeks ago. Offline
Joined: 2008-08-28
Posts: 316

I failed to play HW in ubuntu. So i gave up trying.

БЫСТРО БЛДЖАД! Полицейский, что это необходимо для Вас, блджа, падает отсюда блджад!

oyvind
User offline. Last seen 15 years 7 weeks ago. Offline
Joined: 2009-01-27
Posts: 10

Same problem with open source radeon-driver on ATI X1400 (latest GIT snapshot from development). It seems to be a resolution-independent problem (tried many of the smaller resolutions). Might be Ubuntu-specific, yes (haven't tried it on anything else)..

oyvind
User offline. Last seen 15 years 7 weeks ago. Offline
Joined: 2009-01-27
Posts: 10

oyvind allegedly wrote:

Argh, still the same crash with just-released AMD Catalyst 9.1 Linux fglrx driver (which btw. works just fine generally) ..Sad Smiley

I'll have to take that statement back, the Catalyst 9.1-driver sucks in the most awesome ways (you wouldn't wanna know the different problems I eventually experienced, after some usage). It seems that AMD is totally incapable of producing good quality drivers, so I am giving up on ATI hardware and will never ever buy anything with AMD/ATI graphics again. The open source radeon driver is better, but unfortunately has its own set of flaws.

DrDickens
DrDickens's picture
User offline. Last seen 12 years 4 weeks ago. Offline
Joined: 2008-08-28
Posts: 316

Quote:
I'll have to take that statement back, the Catalyst 9.1-driver sucks in the most awesome ways (you wouldn't wanna know the different problems I eventually experienced, after some usage). It seems that AMD is totally incapable of producing good quality drivers, so I am giving up on ATI hardware and will never ever buy anything with AMD/ATI graphics again. The open source radeon driver is better, but unfortunately has its own set of flaws.

You make me cry. I used to be an ATI fan. In fact i am. My card survived through half of a year working without cooler. I thought that games ran so slow because of drivers, but that was simple overheating. And it's still working (I replaced that cooler). It's 4 years old x700pro. Before that i had 3 nVidia cards none of which satisfied me.

БЫСТРО БЛДЖАД! Полицейский, что это необходимо для Вас, блджа, падает отсюда блджад!

daimadoshi85
daimadoshi85's picture
User offline. Last seen 13 years 6 weeks ago. Offline
Joined: 2008-05-04
Posts: 372

Did you try to uninstall ubuntu packages and use my script?Please, try it!

Come to the dark side, we have cookies... - V

Hedgewars script for ubuntu is here...but maybe I have to update it first Smile

oyvind
User offline. Last seen 15 years 7 weeks ago. Offline
Joined: 2009-01-27
Posts: 10

daimadoshi85 allegedly wrote:

Did you try to uninstall ubuntu packages and use my script?Please, try it!

I will try this later Smile

oyvind
User offline. Last seen 15 years 7 weeks ago. Offline
Joined: 2009-01-27
Posts: 10

oyvind allegedly wrote:

daimadoshi85 allegedly wrote:

Did you try to uninstall ubuntu packages and use my script?Please, try it!

I will try this later Smile

I compiled Hedgewars 0.9.9 myself, using the build dependency list in your script. Compilation and installation went fine, however, the game crashes just as easily as with the pre-compiled packages from getdeb.net.

daimadoshi85
daimadoshi85's picture
User offline. Last seen 13 years 6 weeks ago. Offline
Joined: 2008-05-04
Posts: 372

Aaaaw.Did you cleared also .hedgewars?And tried in different screen modes also, like windowed mode?I really don't understand, I use the same configuration that you use!I have an ATI X1400 too!..can you send me your Xorg.conf?

Come to the dark side, we have cookies... - V

Hedgewars script for ubuntu is here...but maybe I have to update it first Smile

oyvind
User offline. Last seen 15 years 7 weeks ago. Offline
Joined: 2009-01-27
Posts: 10

daimadoshi85 allegedly wrote:

Aaaaw.Did you cleared also .hedgewars?And tried in different screen modes also, like windowed mode?I really don't understand, I use the same configuration that you use!I have an ATI X1400 too!..can you send me your Xorg.conf?

Hi again,

You mean ATI X1400 mobile ? Mine's a mobile.

I have no special options in xorg.conf, because I have no reason to. The defaults actually work fine. I tested with the new Catalyst 9.2 driver, and the crash is still the same.

I always clear out ~/.hedgewars before testing. The problem happens no matter what resolution or fullscreen mode.

Regards,
oyvind

oyvind
User offline. Last seen 15 years 7 weeks ago. Offline
Joined: 2009-01-27
Posts: 10

Haha .. That's funny. This crash is not graphics-related at all. It's audio. If I use ALSA default device (which is dmix-ed), then the crash occurs whenever a gun or explosion sample is played. If I set "AUDIODEV=hw:0", then it no longer occurs, and there is no crackling in the audio either. Makes me think that sdl_mixer in Ubuntu is broken.

User login

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