Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
XS brakes cause crash
03-04-2012, 08:29 AM
Post: #1
XS brakes cause crash
Attempting to brake in XS will crash VDrift:
Code:
ERROR: OpenGL error "invalid operation" during: void GLWrapper::drawGeometry(GLuint, GLuint):src/gl3v/glwrapper.cpp:152
vdrift: src/gl3v/glwrapper.cpp:654: bool GLWrapper::checkForOpenGLErrors(const char*, const char*, int) const: Assertion `!true' failed.

Crash is only reproducible when riding this car, tried several others and it worked ok. Using latest version from getdeb.net, Ubuntu 11.10 x86-64, GF GTX275, NVIDIA 280.13.
Find all posts by this user
Quote this message in a reply
03-04-2012, 03:14 PM
Post: #2
 
In order to view links, you must have to reply to this thread.

In data/cars/XS/XS.car remove the following lines to fix it:
Code:
# optional lights
[light-brake-0]
position = -0.6, -2.1, 0.0
color = 0.8, 0.1, 0.1
radius = 1.5

[light-brake-1]
position = 0.6, -2.1, 0.0
color = 0.8, 0.1, 0.1
radius = 1.5
Find all posts by this user
Quote this message in a reply
03-04-2012, 11:24 PM
Post: #3
 
I just pushed a change to the git repo to disable asserts for these types of simple OpenGL errors. I had those enabled when I was writing the renderer and forgot to turn them off. :oops:
Find all posts by this user
Quote this message in a reply
03-05-2012, 05:28 AM
Post: #4
 
Had the same issue in Win 7 x64. Thank for the fix. Problem isn't present in the stable release, just in the nightly.
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


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