Forums

Full Version: Assertion in VDrift-git
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I'm getting an assertion in VDrift git-f7abbf, data svn-r1236.

Code:
vdrift: src/graphics/graphics_gl2.cpp:957: void GRAPHICS_GL2::DisableShaders(const string&, std::ostream&): Assertion `0' failed.
Aborted

.vdrift/log.txt:
Code:
INFO: Dumping the frame-rate to log.
INFO: Multithreading enabled: 8 processors
INFO: Starting VDrift: development-full, Revision: Unversioned directory, O/S: Unix
INFO: Home directory: /home/tlow
INFO: Settings file: /home/tlow/.vdrift/VDrift.config
INFO: Data directory: data
      DATA_DIR: /usr/local/share/games/vdrift/data
INFO: Temporary directory: /home/tlow/.vdrift/tmp
INFO: Log file: /home/tlow/.vdrift/log.txt
INFO: Disabling antialiasing
INFO: Display change was successful: 800x600x32 24z fullscreen=0
INFO: Using GLEW 1.7.0
INFO: Video card information:
      GL Vendor: X.Org
      GL Renderer: Gallium 0.4 on AMD CAYMAN
      GL Version: 3.0 Mesa 9.3.0-devel (git-e847b5a)
      Texture units: 8 full, 16 partial
      Maximum texture size: 16384
      Maximum varying floats: 128
ERROR: Graphics card or driver does not support required GL_VERSION_3_3
ERROR: Initialization of GL3 failed.
INFO: Maximum anisotropy: 16
INFO: Maximum color attachments: 8
INFO: Maximum draw buffers (1 required): 8
ERROR: Unable to open graphics config file: data/shaders/gl2/
ERROR: Error loading render configuration file: data/shaders/gl2/
ERROR: Disabling shaders due to shader loading error
ERROR: Unable to open graphics config file: data/shaders/gl2/noshaders.conf
ERROR: Error loading non-shader render configuration file: data/shaders/gl2/noshaders.conf

Removed .vdrift/VDrift.config but it did not change anything.

OS: Debian sid
CPU: AMD 8150
Graphics: see log
Yes, there have been changes to shaders. Latest data rev is 1252.
Somehow my svn checkout was stuck at r1236. No idea how that happened, but blowing away the data directory and getting a fresh checkout worked... almost. If VDrift.config has an existing renderer=gl1 line, the crash still happens. When I remove the renderer=gl1 line, the file is updated with renderer=gl3/vdrift1.rhr and the crash is avoided.
(07-31-2013, 12:18 AM)tomlowshang Wrote: [ -> ]If VDrift.config has an existing renderer=gl1 line, the crash still happens. When I remove the renderer=gl1 line, the file is updated with renderer=gl3/vdrift1.rhr and the crash is avoided.
Somehow missed this one. Thanks for reporting.