Author Topic: [Not a bug] Error while initialising data in ResourceScope::GLOBAL  (Read 1026 times)

tomreyn

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
Hi,

I've migrated all my data to another computer (with different hardware) and am now having trouble starting GAE:

Quote
tomreyn@mybox:~/SCM/glestae$ ./build/source/game/glestadv
[/home/tomreyn/.glestae] is in the search path.
[/home/tomreyn/SCM/glestae/data/game] is in the search path.
config-dir: /home/tomreyn/.glestae
data-dir: /home/tomreyn/SCM/glestae/data/game

Exception: An error occurred loading core data.
Please see glestadv-error.log
tomreyn@mybox:~/SCM/glestae$

Quote from: glestadv.log
Glest Advanced Engine: Program log file.

40: Setting video mode: 800x600 : 32bpp @60 Hz
40: Initialising OpenGL
60: Loading default texture.
60: Loading core data
60:     Textures
70:     Fonts
70:     Sounds
80:     Core data successfully loaded.
80: Initialising renderer.
80:     init core data.
80:     Error while initialising data in ResourceScope::GLOBAL.
        Error creating texture 2D

Any idea what may be wrong?

While I don't think it's this (build is clean), I'm not sure I have all requirements satisfied. Can you remind me to what they are / where to read up on them?

Thanks,

Tom
« Last Edit: 22 April 2011, 16:07:11 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 · · ·

hailstone

  • Local Moderator
  • Battle Machine
  • ********
  • Posts: 1,568
    • View Profile
Re: Error while initialising data in ResourceScope::GLOBAL
« Reply #1 on: 9 April 2011, 00:08:12 »
Try run cmake if you haven't already. Also see if there is glestadv-error.log file. Maybe the graphics drivers aren't working.

https://sourceforge.net/apps/trac/glestae/wiki/CompileGuideLinux
Glest Advanced Engine - Admin/Programmer
https://sourceforge.net/projects/glestae/

silnarm

  • Local Moderator
  • Behemoth
  • ********
  • Posts: 1,373
    • View Profile
Re: Error while initialising data in ResourceScope::GLOBAL
« Reply #2 on: 10 April 2011, 03:13:53 »
Any idea what may be wrong?

GL balked while were copying (or attempting to) texture data to it... unsure why, but I've replaced that not so informative error message with a much nicer one, so if you are on the widget branch, could you pull the latest changes and try again, if just for a more informative error message?

I noticed your MG topic (having the same issue) in the info their error message supplied I did notice the texture dimensions were 750x750... not powers of two... might be an issue with those drivers?

Anyway, try the latest and see what it says, should provide more info, I'm asking through glu what that error number MG reported means, so it should be a little nicer ;)
Glest Advanced Engine - Code Monkey

Timeline | Downloads

tomreyn

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
Re: Error while initialising data in ResourceScope::GLOBAL
« Reply #3 on: 14 April 2011, 18:13:00 »
This was obviously an issue with my video drivers, sorry. I since upgraded to Ubuntu 11.04 (beta2 by now) and things look much more stable here now with this ATI RV560 GPU I have here.
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 · · ·