Author Topic: ATI GPU issues, "Error creating texture 2D"  (Read 1312 times)

tomreyn

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
ATI GPU issues, "Error creating texture 2D"
« on: 27 April 2011, 19:46:39 »
There seems to be an issue which causes the error message Error creating texture 2D to be printed to the cmd.exe window on Windows and the standard error output channel on Linux when you run MegaGlest.

Here's an example log line containing this message:

Code: [Select]
[yyyy-mm-dd hh:mm:ss] *ERROR* In [..\..\source\glest_game\menu\menu_state_connected_game.cpp::Glest::Game::MenuStateConnectedGame::render 1058] error [Error creating texture 2D [], returned: 1286 (506) [] w = 750, h = 750, glInternalFormat = 32856, glFormat = 6408, glCompressionFormat = 32856]
It has been stated (TotalNoob, teersen) that this issue occurs on MegaGlest v3.5.0 but not on v3.4.0.

This issue only seems to affect people with an ATI GPU with standard (non-patched) drivers.

This error occurs for most affected people by the time they should get to see a map preview, so either when they start a custom game or when they connect to a remote game server. It does not seem to always occur for them, though, meaning they may be able to connect to some game servers but not others.

Most people affected by this issue will be able to play on both multi-player (multiple networked computers) and single-player (single computer) games, but experience graphical issues in-game. Rarely users are not able to play at all, running into critical bugs with an "error creating texture 2D" message displayed on screen, followed by the game exiting, at various application states.

The exact cause of this issue is currently unknown. The is some indication that this can be caused by an ATI drivers bug, though.

References:
* r2025: Ubuntu 10.10 + ATI open source driver issues (tomreyn)
* 3.50 beta 2: Preview image issues (teersen)
* Vanilla Glest: Error creating texture 2D (StrikerShot21)
« Last Edit: 29 April 2011, 20:37:52 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 · · ·

tomreyn

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
Re: Error creating texture 2D
« Reply #1 on: 27 April 2011, 21:48:51 »
A small update: TotalNoob posted a screenshot of what he gets to see when he connects to some servers (particularly my game server in this case). He says that if this error is displayed, once he confirms it, another error message displays after which the game is shut down. A complete --verbose log of when this happens is available, too.

A thread providing details on his GPU and graphical issues he experiences is available, too.
« Last Edit: 27 April 2011, 21:55:18 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 · · ·

TotalNoob

  • Guest
Re: Error creating texture 2D
« Reply #2 on: 27 April 2011, 21:51:59 »
My harware specs are available here, if someone will be interested https://forum.megaglest.org/index.php?topic=7029.0 As for the issue described here tomreyn proposed to turn off MapPreview in INI file as a workaround. It worked. No error anymore, but no preview too (which I did not have in v.3.5.0 anyways).