Author Topic: MegaGlest 3.9.1: Problems with broken configuration file, missing libraries (was: linux 32bit bug)  (Read 2038 times)

kratos

  • Guest
Do you remember my topic "Graphic linux 32 bit version"? Then I tried to open megaglet from the terminal and that's the problem:
close.
Error msg = [Couldn't set video mode 800x600 (32bpp 0 stencil 16 depth-buffer). SDL Error is: Couldn't find matching GLX visual
Stack Trace:
./megaglest:Glest::Game::ExceptionHandler::handleRuntimeError(char const*, bool)address [0x83e431d] line: 638
./megaglest:Glest::Game::glestMain(int, char**)address [0x84076e3] line: 5514
./megaglest:Glest::Game::glestMainSEHWrapper(int, char**)address [0x8410add] line: 5699
./megaglest:main()address [0x8410c33] line: 5776
/usr/lib/libc.so.6:__libc_start_main()address [0xb6bde9d3] line: 0
./megaglest() [0x8222a71]address [0x8222a71]
]
Please help me to find the problem.   :| :|

filux

  • MegaGlest Team
  • Draco Rider
  • ********
  • Posts: 310
  • was OpenSuse x64, is Debian testing x64
    • View Profile
Re: linux 32bit bug
« Reply #1 on: 24 February 2014, 20:46:45 »
Do you remember my topic "Graphic linux 32 bit version"?
None.
Then I tried to open megaglet from the terminal and that's the problem:
Heh what was before your "then"?
--------
1. You should search the forum with topics about similar problem.
2. You should more precisely describe your problems, for this purpose look here: https://forum.megaglest.org/index.php?topic=5332.0.
--------

I can recommend for you these steps:
1. Make sure that your OS is supported and packets are up to date and you have properly installed graphic's card driver.
2. Try launch the game from the "start_megaglest" (if you have it).
3. Make sure that your system (graphic card+driver+screen) supports the resolution mentioned in error,
if not then try start game with supported resolution, with parameter e.g.: "--resolution=1024x768"


tomreyn

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
Re: linux 32bit bug
« Reply #2 on: 24 February 2014, 20:47:22 »
You are providing almost zero details. Reference an earlier post, but just in text and don't set a link - I don't remember that other post.
Have you actually read http://bugs.megaglest.org ?

Based on the 32bpp 0 stencil 16 depth-buffer message, please check https://forum.megaglest.org/index.php?topic=6616.msg68222#msg68222
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 · · ·

kratos

  • Guest
Re: linux 32bit bug
« Reply #3 on: 24 February 2014, 21:37:04 »
@filux
Before my "then" there was "I re-installed the game".
What details must I write to complete the description?

kratos

  • Guest
Re: linux 32bit bug
« Reply #4 on: 24 February 2014, 21:49:40 »
Ok, I've read the softcoder topic "How to report a bug", now I write you more details:
-I've tried Megaglest 3.9.1 on a pc with 2 GB of RAM, a Intel Core 2 processor, and a Nvidia Geforce 6200 with 256 MB dedicated.
-My OS is Manjaro Linux 0.8.7.
-I've downloaded the game installer directly from megaglest.org.

tomreyn

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
Re: linux 32bit bug
« Reply #5 on: 25 February 2014, 09:40:23 »
As I just learnt, Manjaro uses a rolling release development model synching updates from Arch Linux once in a while (apparently not making a difference between security patches and normal package updates), so "0.8.7" in "Manjaro Linux 0.8.7" just refers to the installer image.

That is to say: you're really running Manjaro's rolling release, unless you disabled the update mechanism - did you?

Just reinstalling the same version of the game (or did you upgrade?) will not cause it to fail, unless the installation was interrupted or the file system / hard disk is inconsistent. So I'm wondering what else may have changed?

Nevertheless, try editing glestuser.ini as the other topic I referred to in my previous post above suggests. Or just move ~/.megaglest out of the way and try whether it'll start up fine then. Definitely try Filux' suggestions, too.

When you add more information to a forum topic within minutes and there's no reply, yet, please just edit/update your previous forum post (don't make a fresh post). Thanks.
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 · · ·

titi

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 4,240
    • View Profile
    • http://www.titusgames.de
Re: linux 32bit bug
« Reply #6 on: 25 February 2014, 12:46:07 »
Error msg = [Couldn't set video mode 800x600 (32bpp 0 stencil 16 depth-buffer). SDL Error is: Couldn't find matching GLX visual ...

This does mean your computer/monitor combination is not able to display 800x600 pixel (which is the default ). You can launch MegaGlest from a console and use teh start paramteres to choose a working resolution.
Something like:
Code: [Select]
./megaglest --resolution=1024x768
Try Megaglest! Improved Engine / New factions / New tilesets / New maps / New scenarios

kratos

  • Guest
Re: linux 32bit bug
« Reply #7 on: 25 February 2014, 13:28:38 »
@titi
When I insert that code there's an error: "bash: ./megaglest Is a directory".
What's the problem now?
@filux
I've tried your link, but where is the file "glestuser.ini"?
« Last Edit: 25 February 2014, 19:15:41 by kratos »

tomreyn

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
Re: linux 32bit bug
« Reply #8 on: 25 February 2014, 21:56:45 »
We since had a chat on this.

Quote
<tomreyn> kratos: regarding titi's hint, you need to change into the directory MegaGlest is installed in
<tomreyn> where the executable files are
<tomreyn> regarding f1lux's, the configuration files are in ~/.megaglest as discussed at http://wiki.megaglest.org/INI

Here's Kratos' output of --opengl-info and xrandr:
http://pastebin.com/ZuJJGnDm

I then asked this:
Quote
<tomreyn> on the forum, i suggested that you just move your MegaGlest configuration directory, ~/.megaglest , out of the way, and try to start MegaGlest then. have you done this?
<tomreyn> you could run this command to achieve this: mv ~/.megaglest ~/.megaglest.orig

But Kratos closed his web browser (which was running the web chat) then, so that's how far we got.

So there are two problems on your end, Kratos:

Firstly, your MegaGlest configuration file is incompatible to your computer.

Secondly, you are missing two libraries as can be seen on the Pastebin link:
Code: [Select]
./megaglest: /usr/lib/liblber-2.4.so.2: no version information available (required by ./megaglest)
./megaglest: /usr/lib/libldap_r-2.4.so.2: no version information available (required by ./megaglest)

This is a support case, not a bug, alas I'm moving it out of the bug reports.
« Last Edit: 25 February 2014, 22:04:17 by tomreyn »
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 · · ·

kratos

  • Guest
Excuse me for leaving chat, but Internet network had problems. Howewere, I used your codes, but the game doesn't start...
« Last Edit: 26 February 2014, 16:38:33 by kratos »

tomreyn

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
It's alright, thanks for explaining.

If you need more help, please provide full error messages. See the FAQ on how to get those.
« Last Edit: 3 March 2014, 15:22:05 by tomreyn »
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 · · ·

 

anything