Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Game aborts while configuring "Starting Grid" (AI opponents) #203

Open
Apteryks opened this issue Oct 23, 2024 · 0 comments
Open

Game aborts while configuring "Starting Grid" (AI opponents) #203

Apteryks opened this issue Oct 23, 2024 · 0 comments

Comments

@Apteryks
Copy link
Contributor

Hello,

If I try to configure the AI opponents (different cars, different colors, etc), the game aborts with a failed assert:

$ vdrift -verbose
INFO: Multi-processor system detected.  Run with -multithreaded argument to enable multithreading (EXPERIMENTAL).
INFO: Starting VDrift: 1970-01-01-full, Revision: , O/S: Unix
INFO: Home directory: /home/maxim
INFO: Settings file: /home/maxim/.vdrift/VDrift.config
INFO: Data directory: /gnu/store/j3qzczq7hr3xpjp8n89py0d7q8xwp57j-vdrift-2014-10-20-0.120ae28/share/games/vdrift/data
      DATA_DIR: /gnu/store/j3qzczq7hr3xpjp8n89py0d7q8xwp57j-vdrift-2014-10-20-0.120ae28/share/games/vdrift/data
INFO: Temporary directory: /home/maxim/.vdrift/tmp
INFO: Log file: /home/maxim/.vdrift/log.txt
INFO: Request OpenGL 3.3 Core Profile context.
INFO: Disabling antialiasing
INFO: Enabling vertical synchronization.
INFO: Video card information:
      GL Vendor: AMD
      GL Renderer: AMD Radeon Graphics (radeonsi, raphael_mendocino, LLVM 15.0.7, DRM 3.57, 6.10.13)
      GL Version: 4.6 (Core Profile) Mesa 24.0.4
      Texture units: 32
      Maximum texture size: 16384
INFO: Loading /gnu/store/j3qzczq7hr3xpjp8n89py0d7q8xwp57j-vdrift-2014-10-20-0.120ae28/share/games/vdrift/data/shaders/gl3/deferred.conf...
INFO: Loaded /gnu/store/j3qzczq7hr3xpjp8n89py0d7q8xwp57j-vdrift-2014-10-20-0.120ae28/share/games/vdrift/data/shaders/gl3/deferred.conf
INFO: GL3 initialization successful
INFO: 2 joysticks found:
INFO:     0 Pro Controller
INFO:     1 Pro Controller (IMU)
INFO: Loading car controls from: /home/maxim/.vdrift/controls.config
INFO: Obtained audio device:
      Frequency: 44100
      Format: 32784
      Bits per sample: 16
      Channels: 2
      Silence: 0
      Samples: 1024
      Size: 4096
INFO: Sound initialization successful
INFO: Loaded fonts successfully
INFO: Loaded GUI successfully
INFO: Number of force feedback devices: 1
INFO: Loading track from path: /gnu/store/j3qzczq7hr3xpjp8n89py0d7q8xwp57j-vdrift-2014-10-20-0.120ae28/share/games/vdrift/data/tracks/.room
INFO: Loaded surfaces file, 2 surfaces.
INFO: No roads loaded. Skip loading lap timing sectors. Lap timing will not be possible.
INFO: Car loading was successful: CT CT
INFO: Car loading was successful: CO CO
INFO: Car loading was successful: CT CT
ERROR: Constant force feedback not supported: Failed loading udev_device_get_action: /gnu/store/f819ka0sh577hmrqsy6rvsln5jya78ya-sdl2-2.30.1/lib/libSDL2-2.0.so.0: undefined symbol: _udev_device_get_actionFailed to load "CO.car" from:
       /home/maxim/.vdrift/cars/CT
       /gnu/store/j3qzczq7hr3xpjp8n89py0d7q8xwp57j-vdrift-2014-10-20-0.120ae28/share/games/vdrift/data/cars/CT
       /gnu/store/j3qzczq7hr3xpjp8n89py0d7q8xwp57j-vdrift-2014-10-20-0.120ae28/share/games/vdrift/data/carparts
       /gnu/store/j3qzczq7hr3xpjp8n89py0d7q8xwp57j-vdrift-2014-10-20-0.120ae28/share/games/vdrift/data/trackparts
ERROR: Failed to load car config: CT/CO
vdrift: src/game.cpp:1244: void Game::UpdateCarSpecList(GuiOption::List&): Assertion `car_dynamics.size() > 0' failed.
Abandon

To reproduce the above, here's the steps:

  1. Launch VDrift
  2. Click on 'Race' menu
  3. Configure a number of AI opponents, e.g. 5 of them
  4. Click 'Starting Grid' on that same screen
  5. Select a different car for player 2. Press 'Back'.
  6. Attempt to configure player 3 -> Observe crash

I'm using the latest current game data (revision 1463) and vdrift source commit (120ae28).

@Apteryks Apteryks changed the title Game aborts while configuring "Starting grid" (AI opponents) Game aborts while configuring "Starting Grid" (AI opponents) Oct 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant