TrenchBroom / TrenchBroom

Cross-Platform Level Editor
kristianduske.com/trenchbroom
GNU General Public License v3.0
1.88k stars 224 forks source link

TrenchBroom crashes upon creating a new map or loading an existing one #2206

Closed Mugwump73 closed 5 years ago

Mugwump73 commented 5 years ago

System Information

TrenchBroom Win32 v2.0.5 release on Windows XP Service Pack 3

Expected Behavior

Uh... to run without crashing?

Steps to Reproduce

  1. Launch TrenchBroom
  2. Click "new map" (or browse for one)
  3. Select game (QS 0.93.1) and map format (standard or Valve, doesn't matter, both crash)
  4. Click OK and wait for the crash report...

Crash Info

•trenchbroom-crash.log

Creating new document Loaded entity definition file Quake.fgd Renderer info: ATI Mobility Radeon X1400 x86/SSE2 version 2.0.5883 WinXP Release from ATI Technologies Inc. Depth buffer bits: 24 Multisampling enabled

•trenchbroom-crash.map

// Game: Quake // Format: Valve // entity 0 { "classname" "worldspawn" // brush 0 { ( -64 -64 -16 ) ( -64 -63 -16 ) ( -64 -64 -15 ) TB_empty [ 0 -1 0 0 ] [ 0 0 -1 0 ] 0 1 1 ( 64 64 16 ) ( 64 64 17 ) ( 64 65 16 ) __TB_empty [ 0 1 0 0 ] [ 0 0 -1 0 ] 0 1 1 ( -64 -64 -16 ) ( -64 -64 -15 ) ( -63 -64 -16 ) TB_empty [ 1 0 0 0 ] [ 0 0 -1 0 ] 0 1 1 ( 64 64 16 ) ( 65 64 16 ) ( 64 64 17 ) TB_empty [ -1 0 0 0 ] [ 0 0 -1 0 ] 0 1 1 ( 64 64 16 ) ( 64 65 16 ) ( 65 64 16 ) __TB_empty [ 1 0 0 0 ] [ 0 -1 0 0 ] 0 1 1 ( -64 -64 -16 ) ( -63 -64 -16 ) ( -64 -63 -16 ) TB_empty [ -1 0 0 0 ] [ 0 -1 0 0 ] 0 1 1 } }

•trenchbroom-crash.txt

OS: Windows XP (build 2600, Service Pack 3) wxWidgets: wxWidgets Library (wxMSW port) Version 3.1.1 (Unicode: wchar_t, debug level: 1), compiled at Feb 18 2018 18:36:34

Runtime version of toolkit used is 5.1.

GL_VENDOR: ATI Technologies Inc. GL_RENDERER: ATI Mobility Radeon X1400 x86/SSE2 GL_VERSION: 2.0.5883 WinXP Release TrenchBroom Version: 2.0.5 TrenchBroom Build: v2.0.5 Release Reason: Exception: Cannot compile shader Face.vertsh: ERROR: 0:1: '' : Version number not supported by GL2 ERROR: 1 compilation errors. No code generated.

Stack trace:

kduske commented 5 years ago

Do older builds work? It looks like your GL driver refuses to compile a shader.

kduske commented 5 years ago

I check the shader, and it's correct. Your driver only supports OpenGL 2.0, but TB requires OpenGL 2.1, so this is the problem.

Mugwump73 commented 5 years ago

Oh, bummer! I guess I'm gonna have to wait until I can fix my desktop computer, then. Thanks Kristian.