Author Topic: Game crashes for no apparent reason after about 10 minutes  (Read 860 times)

harvestman

  • Guest
I am running the latest version of the game on the newest Ubuntu platform on a Mesh dual core PC that, before I ditched Windows, was running all kinds of resource-heavy games with no trouble.

I have tried playing the game 3 times and each time have encountered the same problem - the game freezes briefly and then just disappears from the screen with no way of restarting it - i.e. no bar at the bottom of the screen. The Ubuntu desktop is then too large to fit on my screen (i.e. the resolution chosen by the game is stuck) and I have to reboot the computer.

Any ideas?

tomreyn

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
Re: Game crashes for no apparent reason after about 10 minutes
« Reply #1 on: 28 April 2011, 09:43:27 »
I am running the latest version of the game on the newest Ubuntu platform on a Mesh dual core PC [..]

Hmm, the latest version? Do you mean a beta of Ubuntu 11.04 (Natty) which is to be released today or the previous stable release, Ubuntu 10.10 (Maverick), released in Oct 2010? In case you don't know, help.ubuntu.com has a page explaining how to find out.

I have tried playing the game 3 times and each time have encountered the same problem - the game freezes briefly and then just disappears from the screen with no way of restarting it - i.e. no bar at the bottom of the screen. The Ubuntu desktop is then too large to fit on my screen (i.e. the resolution chosen by the game is stuck) and I have to reboot the computer.

First of all, while this is causing trouble, you most likely want to run MG windowed so your display resolution doesn't get tampered with. Edit ~/.megaglest/glestuser.ini (using gedit or any other plain text file editor) and ensure (add or modify) it contains this line:
Code: [Select]
Windowed=1

In case you're not into this, yet, most Linux (and other) shells will expand the character ~ to 'your home directory' which, if your Ubuntu login name was harvestman, your home directory would usually be located at /home/harvestman/.

Now run the game from a terminal instead of from the gnome menu. Just start up the terminal, then, in the terminal window, type (or copy + paste to it, line by line):
Code: [Select]
cd ~/megaglest
./megaglest --verbose &>/tmp/megaglest-verbose.log

This will capture all text/error output produced by MegaGlest in the file /tmp/megaglest-verbose.log. Now use gedit or a similar plain text editor to open this file. Copy all of its contents to the clipboard and paste it to this board within a
Code: [Select]
[spoiler][/spoiler] section.
atibox: Ryzen 1800X (8 cores @3.6GHz), 32 GB RAM, MSI Radeon RX 580 Gaming X 8G, PCI subsystem ID [1462:3417], (Radeon RX 580 chipset, POLARIS10) @3440x1440; latest stable Ubuntu release, (open source) radeon (amdgpu) / mesa video driver
atibox (old): Core2Quad Q9400 (4 cores @2.66GHz), 8 GB RAM, XFX HD-467X-DDF2, PCI subsystem ID [1682:2931], (Radeon HD 4670, RV730 XT) @1680x1050; latest stable Ubuntu release, (open source) radeon / mesa video driver
notebook: HP envy13d020ng
internet access: VDSL2+

· · · How YOU can contribute to MG · Latest development snapshot · How to build yourself · Megapack techtree · Currently hosted MG games · · ·