Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Assertion in VDrift-git
07-29-2013, 09:18 PM
Post: #1
Assertion in VDrift-git
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
Find all posts by this user
Quote this message in a reply
07-30-2013, 04:32 PM
Post: #2
RE: Assertion in VDrift-git
Yes, there have been changes to shaders. Latest data rev is 1252.
Find all posts by this user
Quote this message in a reply
07-31-2013, 12:18 AM
Post: #3
RE: Assertion in VDrift-git
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.
Find all posts by this user
Quote this message in a reply
07-31-2013, 04:54 AM
Post: #4
RE: Assertion in VDrift-git
(07-31-2013 12:18 AM)tomlowshang Wrote: In order to view links, you must have to reply to this thread.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.
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)