MegaGlest Forum

MegaGlest => Bug reports => Closed bug reports => Topic started by: vibe on 8 September 2014, 01:35:07

Title: [closed]Random freezes on ubuntu 14.04
Post by: vibe on 8 September 2014, 01:35:07
I just upgraded to ubuntu 14.04 (was running 13.10). Now megaglest (v3.9.1) freezes randomly at various points in the game, its pretty much unplayable.

The game will freeze completely, then a minute or so later, everything goes ultra-speed to catch up, and then it slows back down to normal speed for a few minutes, then freezes again.

I've tried closing down every other process to make sure megaglest has enough memory and cpu to run, but it doesn't help the issue. Not sure what else to do to diagnose this.

Has anyone experienced anything similar?
Title: Re: Random freezes on ubuntu 14.04
Post by: kagu on 8 September 2014, 06:45:23
Hey vibe ,
Since you upgraded , maybe its this problem https://forum.megaglest.org/index.php?topic=9492.0

If not , try running game from terminal with ./start_megagelst , and after it crashes , post the results , maybe someone will understand and help.
Title: Re: Random freezes on ubuntu 14.04
Post by: jammyjamjamman on 8 September 2014, 15:18:56
Could you specify whether this is happening only during online game-play or offline as well?

This sort of bug sounds like it's due to a bad internet connection. If this is the case, then I'm afraid there's unlikely to be a fix (the only fixes would be to not be downloading/ uploading stuff if you are while playing eg. steam, or switching to an ISP who supplies a faster broadband connection) .

if it occurs offline as well, then it's probably something to do with your gfx. In this case there are fixes. 

Hey vibe ,
Since you upgraded , maybe its this problem https://forum.megaglest.org/index.php?topic=9492.0

If not , try running game from terminal with ./start_megagelst , and after it crashes , post the results , maybe someone will understand and help.

Vibe has the game working (just not well), so I don't think this is the bug.
Title: Re: Random freezes on ubuntu 14.04
Post by: titi on 9 September 2014, 21:17:37
Do you use a nvidia card ? If yes, got to the options and switch the selection mode to colorpicking. Current nvidia drivers have a serious bug which cause out of memory using "selectbuf" selection.
Title: Re: Random freezes on ubuntu 14.04
Post by: vibe on 10 September 2014, 01:09:13
Hey vibe ,
Since you upgraded , maybe its this problem https://forum.megaglest.org/index.php?topic=9492.0

If not , try running game from terminal with ./start_megagelst , and after it crashes , post the results , maybe someone will understand and help.

This fix helped a lot, strangely I could start the game even with this missing library. Symlinking the library stopped a lot of the random freezing, though there was still a little bit of freezing, but nowhere near as bad. The game is now playable again.

To answer jammy's question, I've only played offline so far against the AI.

Also, I don't have an nvidia card

00:02.0 VGA compatible controller: Intel Corporation 4th Gen Core Processor Integrated Graphics Controller (rev 06)

I will play around with the gfx settings to see if I can solve the remaining freeze issue
Title: Re: Random freezes on ubuntu 14.04
Post by: tomreyn on 10 September 2014, 23:52:02
So you have a Haswell CPU. Those should come with an integrated graphics chipset which should be good enough to run MegaGlest.
http://en.wikipedia.org/wiki/Intel_HD_and_Iris_Graphics#Haswell
If you experience freezes it's likely due to imperfect drivers. Since the hardware is relatively new, updating drivers can be a good idea.
https://01.org/linuxgraphics/downloads (https://01.org/linuxgraphics/downloads)
Title: Re: Random freezes on ubuntu 14.04
Post by: vibe on 11 September 2014, 00:42:17
So you have a Haswell CPU. Those should come with an integrated graphics chipset which should be good enough to run MegaGlest.
http://en.wikipedia.org/wiki/Intel_HD_and_Iris_Graphics#Haswell
If you experience freezes it's likely due to imperfect drivers. Since the hardware is relatively new, updating drivers can be a good idea.
https://01.org/linuxgraphics/downloads (https://01.org/linuxgraphics/downloads)

Yes but I was running megaglest on Ubuntu Lucid (10.04) with no problems at all. Only when I upgraded to 14.04.1 did it start freezing (same laptop)
Title: Re: Random freezes on ubuntu 14.04
Post by: titi on 3 November 2014, 13:02:02
Does this problem still exist?
Title: Re: Random freezes on ubuntu 14.04
Post by: vibe on 3 November 2014, 14:04:36
No, I upgraded my video driver and that seems to have fixed it