Hello,
I installed vdrift from ports but I have to run it from terminal and it doesn't have any icon on the application menu. When I run it the system gives me these errors:
and after that when I want to play, it doesn't move smoothly.
I installed vdrift from ports but I have to run it from terminal and it doesn't have any icon on the application menu. When I run it the system gives me these errors:
Code:
INFO: Multi-processor system detected. Run with -multithreaded argument to enable multithreading (EXPERIMENTAL).
INFO: Starting VDrift: 2013-09-09-full, Version: , O/S: Unix-like
INFO: Home directory: /home
INFO: Settings file: /home/.vdrift/VDrift.config (does not exist, will be created)
INFO: Data directory: /usr/local/share/vdrift
DATA_DIR: /usr/local/share/vdrift
INFO: Log file: /home/.vdrift/log.txt
INFO: SDL initialization successful
INFO: SDL video query was successful
INFO: Disabling antialiasing
INFO: Display change was successful: 800x600x16 24z fullscreen=0
ERROR: You don't have an NVIDIA or ATI/AMD card. This game may not run correctly or at all.
INFO: Video card information:
Vendor: Mesa Project
Renderer: Software Rasterizer
Version: 2.1 Mesa 7.6.1
Maximum texture size: 4096
Maximum varying floats: 64
Using GLEW 1.10.0
INFO: Maximum color attachments: 8
INFO: Maximum draw buffers (1 required): 4
INFO: Texture units: 8 full, 16 partial
INFO: Loaded shader package simple
INFO: Loaded shader package simple, variant simple_premult
INFO: Loaded shader package simple, variant simple_gamma_premult
INFO: Loaded shader package simple, variant simple_gamma
INFO: Loaded shader package simple, variant simplecar
INFO: Loaded shader package logluminance
INFO: ----- Start Shader Compile Log for /usr/local/share/vdrift/shaders/logluminance/fragment.glsl -----
INFO: Error: texture2DLod: undeclared function name.
INFO: ----- End Shader Compile Log -----
INFO: ----- Start Shader Link Log for /usr/local/share/vdrift/shaders/logluminance/vertex.glsl and /usr/local/share/vdrift/shaders/logluminance/fragment.glsl -----
INFO: linking with uncompiled shader
INFO: ----- End Shader Link Log -----
ERROR: Shader compilation failure: /usr/local/share/vdrift/shaders/logluminance/vertex.glsl and /usr/local/share/vdrift/shaders/logluminance/fragment.glsl
ERROR:
ERROR: Vertex shader:
ERROR: 1 : #version 120
ERROR: 2 : #define _TINY_
ERROR: 3 : #define _REFLECTIONSTATIC_
ERROR: 4 : #define SCREENRESY 600
ERROR: 5 : #define SCREENRESX 800
ERROR: 6 : varying vec2 tu0coord;
ERROR: 7 :
ERROR: 8 : void main()
ERROR: 9 : {
ERROR: 10 : // Transforming the vertex
ERROR: 11 : gl_Position = gl_ProjectionMatrix * gl_ModelViewMatrix * gl_Vertex;
ERROR: 12 :
ERROR: 13 : tu0coord = vec2(gl_MultiTexCoord0);
ERROR: 14 : }
ERROR: 15 :
ERROR:
ERROR: Fragment shader:
ERROR: 1 : #version 120
ERROR: 2 : #define _TINY_
ERROR: 3 : #define _REFLECTIONSTATIC_
ERROR: 4 : #define SCREENRESY 600
ERROR: 5 : #define SCREENRESX 800
ERROR: 6 : varying vec2 tu0coord;
ERROR: 7 :
ERROR: 8 : uniform sampler2D tu0_2D;
ERROR: 9 :
ERROR: 10 : const vec3 LUMINANCE = vec3(0.2125, 0.7154, 0.0721);
ERROR: 11 : const float DELTA = 0.0001;
ERROR: 12 :
ERROR: 13 : /*const float scale = 0.1;
ERROR: 14 : const float offset = 5.;
ERROR: 15 : const float timefactor = 0.1;
ERROR: 16 : const float scale_tiny = 3.0;
ERROR: 17 : const float offset_tiny = -0.12;*/
ERROR: 18 :
ERROR: 19 : const float scale = 0.25;
ERROR: 20 : const float offset = 2.0;
ERROR: 21 : const float timefactor = 0.1;
ERROR: 22 : //const float timefactor = 1.0;
ERROR: 23 :
ERROR: 24 : void main()
ERROR: 25 : {
ERROR: 26 : #ifdef _TINY_
ERROR: 27 : float lod = 9;
ERROR: 28 : //gl_FragColor.rgb = vec3(1.,1.,1.)*(texture2DLod(tu0_2D, tu0coord, lod).r+offset_tiny)*scale_tiny;
ERROR: 29 : gl_FragColor.rgb = vec3(1.,1.,1.)*texture2DLod(tu0_2D, tu0coord, lod).r;
ERROR: 30 : gl_FragColor.a = timefactor;
ERROR: 31 : #else
ERROR: 32 : float luminance = dot(LUMINANCE,texture2D(tu0_2D, tu0coord).rgb);
ERROR: 33 : float logluminance = log(luminance+DELTA);
ERROR: 34 : gl_FragColor.rgb = vec3(1.,1.,1.)*(logluminance+offset)*scale;
ERROR: 35 : #endif
ERROR: 36 : }
ERROR: 37 :
ERROR:
ERROR: Disabling shaders due to shader loading error
INFO: Maximum anisotropy: 0
INFO: 0 joysticks found.
INFO: Loading car controls from: /home/.vdrift/controls.config
INFO: Sound initialization information:
INFO: Obtained audio device:
Frequency: 44100
Format: 32784
Bits per sample: 16
Channels: 2
Silence: 0
Samples: 2048
Size: 8192
Sound initialization successful
INFO: Loaded fonts successfully
INFO: Loaded GUI successfully