VDrift / vdrift

VDrift source code
http://vdrift.net/
GNU General Public License v3.0
349 stars 93 forks source link

Error running GUI in Ubuntu18.04 #182

Open elarrazabal opened 3 years ago

elarrazabal commented 3 years ago

Hi; I have compiled and installed VDRIFT, but when I try to execute the application, it's giving to me the next error message:

INFO: Starting VDrift: 2021-02-13-full, Revision: , O/S: Unix INFO: Home directory: /home/eduardo INFO: Settings file: /home/eduardo/.vdrift/VDrift.config (does not exist, will be created) INFO: Data directory: /home/eduardo/share/games/vdrift/data DATA_DIR: /home/eduardo/share/games/vdrift/data INFO: Temporary directory: /home/eduardo/.vdrift/tmp INFO: Log file: /home/eduardo/.vdrift/log.txt ERROR: Failed to load /home/eduardo/.vdrift/VDrift.config INFO: The last VDrift startup was unsuccessful. Settings have been set to failsafe defaults. Your original VDrift.config file was backed up to VDrift.config.backup INFO: Request OpenGL 3.3 Core Profile context. INFO: Disabling antialiasing ERROR: Could not create GL context: GLXBadFBConfig INFO: Fall back to default OpenGL context. INFO: Disabling antialiasing INFO: Disabling vertical synchronization. INFO: Video card information: GL Vendor: Intel Open Source Technology Center GL Renderer: Mesa DRI Intel(R) 965GM (CL) GL Version: 2.1 Mesa 20.0.8 Texture units: 16 Maximum texture size: 8192 INFO: Maximum anisotropy: 16 INFO: Maximum color attachments: 8 INFO: Maximum draw buffers (1 required): 8 INFO: Renderer: /home/eduardo/share/games/vdrift/data/shaders/gl2/basic.conf INFO: 0 joysticks found. INFO: Loading car controls from: /home/eduardo/.vdrift/controls.config INFO: Update status file /home/eduardo/.vdrift/updates.config will be created INFO: Update status file /home/eduardo/.vdrift/updates.config will be created INFO: Obtained audio device: Frequency: 44100 Format: 32784 Bits per sample: 16 Channels: 2 Silence: 0 Samples: 512 Size: 2048 INFO: Sound initialization successful INFO: Loaded fonts successfully INFO: Loaded GUI successfully vdrift: src/gui/gui.cpp:557: GuiOption& Gui::GetOption(const string&): Assertion it != options.end()' failed. Abortado (core' generado)

Could anybody help me?

logzero commented 3 years ago

Are you using most recent data/skins?

elarrazabal commented 3 years ago

I extracted the data folder from vdrift-2014-10-20.tar.bz2 version.

logzero commented 3 years ago

Is the source code also from 2014?

You don't want to run recent code with old data and vice versa.

elarrazabal commented 3 years ago

The source code is from Master branch in Github. Where can I get the data folder for Master branch?

leillo1975 commented 3 years ago

From here: https://sourceforge.net/p/vdrift/code/HEAD/tree/vdrift-data/

svn checkout https://svn.code.sf.net/p/vdrift/code/vdrift-data/

Some time ago I write a guide (in spanish) to download and compile it: https://jugandoenlinux.com/index.php/foro/tutoriales/141-compilar-e-instalar-vdrift-en-ubuntu

elarrazabal commented 3 years ago

Ok, thanks!! I'll try with this folder.

elarrazabal commented 3 years ago

It works!!! Thank you very much!!

Amiralgaby commented 10 months ago

Ok but the wiki, like elarrazabal bring me to the old data.

We need to update the installation procedure because it's not simple at all !

It's just ok for compiling but the data requirements is never said until I run the command without data. After long search I see a link to a sourceforge repo of the old data (in fact there was ALL the game) I thought I only copy data folder into project but of course, the data was hide in your repo lol.