Game is laggy in Ubuntu Karmic (9.10)

10 replies [Last post]
Mo3bius
User offline. Last seen 2 weeks 6 days ago. Offline
Joined: 05/14/2009
Posts: 2

Hi,
I have the latest hedgewars installed. Everything works fine, but the game is laggy. It's not a fps problem , they are always around 30-50 fps.

Has anyone same issues like me? Or can anyone help me ?

Mfg Mo3bius

nemo
nemo's picture
User offline. Last seen 15 hours 57 min ago. Offline
Joined: 01/28/2009
Posts: 1199

Pulseaudio fail.

See the package to install in this bug.

https://bugs.launchpad.net/ubuntu/+source/hedgewars/+bug/454879

You can also test by turning off sound.

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

nemo
nemo's picture
User offline. Last seen 15 hours 57 min ago. Offline
Joined: 01/28/2009
Posts: 1199

Most likely the sound thing, but...
One other issue, if you've done that, is too many compiz effects.

Disable compiz.

Final resort for really wimpy computers.
Enable Reduce Quality

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

spacebison
User offline. Last seen 3 weeks 4 days ago. Offline
Joined: 12/22/2008
Posts: 34

Compiz seems to be a killer, even though I'm gettting around 900 fps with my nvidia 8800 gts 640mB card there is a huge amount of tearing. Playing shoppa becomes unbearable. Disable compiz and everything is fine.

This wasn't an issue with Ubuntu 9.04, although I haven't noticed it in any other games in 9.10 either except for hedgewars.

nemo wrote:

Pulseaudio fail.
See the package to install in this bug.
https://bugs.launchpad.net/ubuntu/+source/hedgewars/+bug/454879
You can also test by turning off sound.

Installing libsdl1.2-debian-pulseaudio and removing libsdl1.2-debian-alsa fixed the issues I had with the choppy sound (at least on my desktop, my laptop is still choppy and/or then goes out), though it seems about maybe every fifth game or so I'll lose sound completely at some point in the game. The round continues to play seemingly normal otherwise but once it's over or if I try to quit then the hwengine will lock up and I'll have to kill it in the process manager.

It doesn't seem to happen as often if I turn just the music off. Or at all with the both music and sound effects off but I gotta at least have the sound effects on.

I probably should've just stayed with 9.04 Sad Smiley

nemo
nemo's picture
User offline. Last seen 15 hours 57 min ago. Offline
Joined: 01/28/2009
Posts: 1199

Random loss of sound has been a continuous problem with me since switching to pulseaudio. And not just with Hedgewars.

Audio card unchanged, video card, two different nvidia ones (switched to a more powerful one recently), but problems were with both.

Disabling compiz seems to resolve that for me. I imagine disabling pulseaudio would too. If they don't get their act together, I may have to undertake that.

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

spacebison
User offline. Last seen 3 weeks 4 days ago. Offline
Joined: 12/22/2008
Posts: 34

Hmm seems to run ok in wine though :p

nemo
nemo's picture
User offline. Last seen 15 hours 57 min ago. Offline
Joined: 01/28/2009
Posts: 1199

*shrug* that doesn't mean much, that unfortunately only widens list of culprits.

Test with both sound and music off, and see if you can get any reproduction at all. If you can't, that IMO gives us a clear fix on the culprit.

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

francogp
User offline. Last seen 4 years 7 weeks ago. Offline
Joined: 03/13/2010
Posts: 2

i have the same problem. (ubuntu 9.10)
* with NO sound i reach more than 100 fps.
* with SOUND and libsdl1.2-debian-pulseaudio 30-40 fps (too slow)
* with SOUND and libsdl1.2-debian-alsa 1-5 fps! :S

why libsdl1.2-debian-pulseaudio slow me down too much?

Smaxx
Smaxx's picture
User offline. Last seen 3 years 23 weeks ago. Offline
Joined: 04/29/2009
Posts: 391

Ask them, not us. Wink Smiley

Maybe a bug or a too complicated software mixer or whatever?

bananaoomarang
bananaoomarang's picture
User offline. Last seen 5 weeks 4 days ago. Offline
Joined: 10/16/2009
Posts: 82

WHY PULSEAUDIO, WHY DO YOU HAVE TO BE SO ANNOYING!?

Pit has finaly returned. FINALY.

sheepluva
sheepluva's picture
User offline. Last seen 8 hours 20 min ago. Offline
Joined: 07/18/2009
Posts: 287

first thing I did after upgrading my ubuntu was to uninstall pulseaudio, threads like this make me remember me why Big Grin

  sheepluva <- memy code stats -> 
a Hedgewars Developer

                                                             
 
or donate via PayPal
thank you for your support <3

BTC: 1EkpvWUFrN9aoEWepaABhZuJYF66vQye5A
sheepluva (at) ercatec.net
   <- where I'm from  what I speak -> 

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