The following warnings occurred:
Warning [2] Undefined array key "lockoutexpiry" - Line: 94 - File: global.php PHP 8.1.27 (Linux)
File Line Function
/global.php 94 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined array key "lockoutexpiry" - Line: 573 - File: global.php PHP 8.1.27 (Linux)
File Line Function
/global.php 573 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined variable $can_access_moderationqueue - Line: 752 - File: global.php PHP 8.1.27 (Linux)
File Line Function
/global.php 752 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined array key "avatartype" - Line: 892 - File: global.php PHP 8.1.27 (Linux)
File Line Function
/global.php 892 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined array key "avatartype" - Line: 892 - File: global.php PHP 8.1.27 (Linux)
File Line Function
/global.php 892 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined variable $awaitingusers - Line: 34 - File: global.php(959) : eval()'d code PHP 8.1.27 (Linux)
File Line Function
/global.php(959) : eval()'d code 34 errorHandler->error
/global.php 959 eval
/printthread.php 16 require_once
Warning [2] Undefined array key "style" - Line: 1024 - File: global.php PHP 8.1.27 (Linux)
File Line Function
/global.php 1024 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined property: MyLanguage::$lang_select_default - Line: 5308 - File: inc/functions.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions.php 5308 errorHandler->error
/global.php 1024 build_theme_select
/printthread.php 16 require_once
Warning [2] Undefined array key 1 - Line: 1474 - File: inc/functions.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions.php 1474 errorHandler->error
/inc/functions.php 1429 fetch_forum_permissions
/printthread.php 76 forum_permissions
Warning [2] Undefined property: MyLanguage::$archive_pages - Line: 2 - File: printthread.php(257) : eval()'d code PHP 8.1.27 (Linux)
File Line Function
/printthread.php(257) : eval()'d code 2 errorHandler->error
/printthread.php 257 eval
/printthread.php 117 printthread_multipage
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key 1 - Line: 866 - File: inc/class_parser.php PHP 8.1.27 (Linux)
File Line Function
/inc/class_parser.php 866 errorHandler->error
/inc/class_parser.php 938 postParser->mycode_parse_post_quotes
[PHP] postParser->mycode_parse_post_quotes_callback1
/inc/class_parser.php 816 preg_replace_callback
/inc/class_parser.php 451 postParser->mycode_parse_quotes
/inc/class_parser.php 201 postParser->parse_mycode
/printthread.php 179 postParser->parse_message
Warning [2] Undefined array key 1 - Line: 885 - File: inc/class_parser.php PHP 8.1.27 (Linux)
File Line Function
/inc/class_parser.php 885 errorHandler->error
/inc/class_parser.php 938 postParser->mycode_parse_post_quotes
[PHP] postParser->mycode_parse_post_quotes_callback1
/inc/class_parser.php 816 preg_replace_callback
/inc/class_parser.php 451 postParser->mycode_parse_quotes
/inc/class_parser.php 201 postParser->parse_mycode
/printthread.php 179 postParser->parse_message
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error



Forums
Intel card support - Printable Version

+- Forums (https://www.vdrift.net/Forum)
+-- Forum: Community (https://www.vdrift.net/Forum/forumdisplay.php?fid=3)
+--- Forum: Help (https://www.vdrift.net/Forum/forumdisplay.php?fid=5)
+--- Thread: Intel card support (/showthread.php?tid=1408)

Pages: 1 2


RE: Intel card support - servantcoder - 12-19-2010

I run Windows XP and this game does not run on my system.
I found this game from this list:
http://en.wikipedia.org/wiki/List_of_open-source_video_games
I'll try the versions you posted above next. Here's some info on my system for now:
---
System details:
Motherboard:
Gigabyte GA-945GCM-S2C
Video card:
Intel 82945G Express Chipset (on-board on the motherboad)
Video driver: Intel version 6.14.10.4926 dated 2/15/2008

stdout.txt:
INFO: Starting VDrift: 2010-06-30-full, Version: , O/S: Windows
INFO: Home directory: C:\Documents and Settings\jmoore.GENESEE
INFO: Settings file: C:\Documents and Settings\jmoore.GENESEE\My Documents\My Games\VDrift/VDrift.config (does not exist, will be created)
INFO: Data directory: data
INFO: Log file: C:\Documents and Settings\jmoore.GENESEE\My Documents\My Games\V
Drift/log.txt
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: SDL initialization successful
INFO: SDL video query was successful
INFO: Disabling antialiasing
INFO: Display change was successful: 800x600x16 16z fullscreen=0
INFO: Video card information:
Vendor: Intel
Renderer: Intel 945G
Version: 1.4.0 - Build 7.14.10.4926
Maximum texture size: 2048
Maximum varying floats: 0
Using GLEW 1.5.4
INFO: Your video card doesn't support framebuffer objects. Disabling shaders.

stderr.txt:
ERROR: You don't have an NVIDIA or ATI/AMD card. This game may not run correctly or at all.
--
Edit: This version http://www.file-upload.net/download-2674537/vdrift.zip.html had the same error output and didn't run either. I'm d/ling the 2009-06-15 version now, it'll be about 45 minutes.

J M


- thelusiv - 12-19-2010

This is not a Windows problem - VDrift doesn't support Intel graphics cards.

http://wiki.vdrift.net/Hardware_requirements#Graphics_Device


- servantcoder - 12-19-2010

Wow, that was a quick reply. Thanks, I just found that page.

I'm a software engineer, though, so I'll look into what it would take to support more video cards...

J M


- thelusiv - 12-19-2010

No problem.

Joe can comment more on this, but I think the issue with Intel cards is that they are at least very lean and at best inconsistent on supported extensions, and sometimes say they support things which they really don't. So VDrift just bails if it detects one, rather than display a bunch of messed-up graphics.


- joevenzon - 12-19-2010

They aren't supported but they should work in most cases; however, the last release had a bug that would cause crashes on systems that didn't have fancier graphics cards. Can you tell if the game is crashing?

Also, I recall some bugs in the past where old Intel drivers would cause crashes, so make sure you video card drivers are up to date.


- servantcoder - 12-19-2010

Building in Linux on this hardware, then running the built binary gives this:
./vdrift
INFO: Multi-processor system detected. Run with -multithreaded argument to enable multithreading (EXPERIMENTAL).
INFO: Starting VDrift: development-full, Version: 2990, O/S: Unix-like
INFO: Home directory: /home/jmoore
INFO: Settings file: /home/jmoore/.vdrift/VDrift.config (does not exist, will be created)
INFO: Data directory: /usr/local/share/games/vdrift/data
DATA_DIR: /usr/local/share/games/vdrift/data
INFO: Log file: /home/jmoore/.vdrift/log.txt
ERROR: Failed to load /home/jmoore/.vdrift/VDrift.config
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: Tungsten Graphics, Inc
Renderer: Mesa DRI Intel® 945G GEM 20100330 DEVELOPMENT x86/MMX/SSE2
Version: 1.4 Mesa 7.9-devel
Maximum texture size: 2048
Maximum varying floats: 32
Using GLEW 1.5.2
INFO: Your video card doesn't support framebuffer objects. Disabling shaders.
ERROR: Unable to open graphics config file: /usr/local/share/games/vdrift/data/shaders/render.conf.noshaders
ERROR: Error loading non-shader render configuration file: /usr/local/share/games/vdrift/data/shaders/render.conf.noshaders
vdrift: src/graphics.cpp:704: void GRAPHICS_SDLGL:Big GrinisableShaders(const std:Confusedtring&, std::ostream&): Assertion `0' failed.
SIGABRT detected, releasing the mouse
Aborted

It looks like it's the failed graphics config Load in this portion of graphics.cpp:
void GRAPHICS_SDLGL:Big GrinisableShaders(const std:Confusedtring & shaderpath, std::ostream
& error_output)
{
shadermap.clear();
using_shaders = false;
shadows = false;

if (GLEW_ARB_shading_language_100)
{
glUseProgramObjectARB(0);
}

// load non-shader configuration
config = GRAPHICS_CONFIG();
std:Confusedtring rcpath = shaderpath+"/render.conf.noshaders";
if (!config.Load(rcpath, error_output))
{
error_output << "Error loading non-shader render configuration file: " << rcpath << std::endl;

// uh oh, now we're really boned
assert(0);
}

render_outputs["framebuffer"].RenderToFramebuffer();
}

I'll have to look deeper into the Load function to see where exactly this goes...

J M


- fudje - 12-19-2010

You do have recent data installed in /usr/local/share/games/vdrift/data, don't you? It won't load if that file doesn't exist...


- thelusiv - 12-19-2010

Yeah, I think you need to do this:
http://wiki.vdrift.net/Getting_the_development_version#Checking_out_the_data


- servantcoder - 12-20-2010

I tried to do that, but maybe something is not right about how I did it. This is the directory structure I have:

Code:
$ ls -l
total 8
drwxr-xr-x 12 jmoore jmoore 4096 2010-12-19 21:01 vdrift
drwxr-xr-x 13 jmoore jmoore 4096 2010-12-19 20:35 vdrift-data
jmoore@genesee:~/games/vdrift$ cd vdrift
jmoore@genesee:~/games/vdrift/vdrift$ ls -l
total 972
drwxr-xr-x  4 jmoore jmoore   4096 2010-12-19 15:50 binaries
drwxr-xr-x  3 jmoore jmoore   4096 2010-12-19 21:01 build
drwxr-xr-x  6 jmoore jmoore   4096 2010-12-19 15:50 bullet
-rw-r--r--  1 jmoore jmoore   1766 2010-12-19 20:58 config.log
lrwxrwxrwx  1 jmoore jmoore     37 2010-12-19 20:55 data -> /home/jmoore/games/vdrift/vdrift-data
drwxr-xr-x  3 jmoore jmoore   4096 2010-12-19 15:50 docs
-rw-r--r--  1 jmoore jmoore  70073 2010-12-19 15:50 Doxyfile
-rw-r--r--  1 jmoore jmoore  35147 2010-12-19 15:50 gpl.txt
-rwxr-xr-x  1 jmoore jmoore    142 2010-12-19 15:50 grind
drwxr-xr-x  3 jmoore jmoore   4096 2010-12-19 20:58 include
drwxr-xr-x  3 jmoore jmoore   4096 2010-12-19 15:50 po
-rw-r--r--  1 jmoore jmoore  21417 2010-12-19 15:50 SConstruct
drwxr-xr-x  3 jmoore jmoore   4096 2010-12-19 15:50 src
drwxr-xr-x 13 jmoore jmoore   4096 2010-12-19 15:50 tools
-rw-r--r--  1 jmoore jmoore  34654 2010-12-19 15:50 VDrift.cbp
-rw-r--r--  1 jmoore jmoore      0 2010-12-19 20:58 vdrift.conf
-rw-r--r--  1 jmoore jmoore 754294 2010-12-19 15:50 VDrift.kdevelop
-rw-r--r--  1 jmoore jmoore  12737 2010-12-19 15:50 VDrift.kdevelop.filelist
jmoore@genesee:~/games/vdrift/vdrift$ cd data
jmoore@genesee:~/games/vdrift/vdrift/data$ ls -l
total 48
drwxr-xr-x  5 jmoore jmoore 4096 2010-12-19 15:51 carparts
drwxr-xr-x 41 jmoore jmoore 4096 2010-12-19 20:35 cars
drwxr-xr-x  4 jmoore jmoore 4096 2010-12-19 20:35 lists
drwxr-xr-x  3 jmoore jmoore 4096 2010-12-19 15:51 music
-rw-r--r--  1 jmoore jmoore  675 2010-12-19 17:36 SConscript
-rw-r--r--  1 jmoore jmoore  706 2010-12-19 20:35 SConscript.no_data
drwxr-xr-x  7 jmoore jmoore 4096 2010-12-19 15:51 settings
drwxr-xr-x 36 jmoore jmoore 4096 2010-12-19 20:35 shaders
drwxr-xr-x  5 jmoore jmoore 4096 2010-12-19 15:52 skins
drwxr-xr-x  3 jmoore jmoore 4096 2010-12-19 15:51 test
drwxr-xr-x  8 jmoore jmoore 4096 2010-12-19 15:52 textures
drwxr-xr-x 47 jmoore jmoore 4096 2010-12-19 20:28 tracks
jmoore@genesee:~/games/vdrift/vdrift/data$

Do you see anything obv amiss?

J M

--
p.s. Admins feel free to move this conv to a new topic as we're not in XP and I have as-yet-unsupported hardware.


- fudje - 12-20-2010

Quote:INFO: Data directory: /usr/local/share/games/vdrift/data

Says it's trying to load data from /usr/local/share/games/vdrift/data -- it will only do this if it can't find data/settings/options.config from the working directory.


- joevenzon - 12-21-2010

You probably want to run build/vdrift from a shell while at the ~/games/vdrift/vdrift path.


- thelusiv - 12-21-2010

This thread reminded me we needed a page on the wiki about how VDrift finds its data, so I wrote one. http://wiki.vdrift.net/Data_directory


Linux build runs now! - servantcoder - 12-21-2010

joevenzon Wrote:You probably want to run build/vdrift from a shell while at the ~/games/vdrift/vdrift path.
That was exactly the problem. Thanks! Now my Linux build runs.
Now for Windows...
---
Edit:
Finally carved out some time to work on this. For my Windows build, I'm using:

Boost 1.45.0
http://voxel.dl.sourceforge.net/project/boost/boost/1.45.0/boost_1_45_0.zip

ASIO 1.4.7
http://softlayer.dl.sourceforge.net/project/asio/asio/1.4.7%20%28Stable%29/asio-1.4.7.zip

MinGW 2010 10 30
http://iweb.dl.sourceforge.net/project/mingw/Automated%20MinGW%20Installer/mingw-get-inst/mingw-get-inst-20101030/mingw-get-inst-20101030.exe

Code::Blocks 2010 12 18 6900
http://download2.berlios.de/codeblocks/CB_20101218_rev6900_win32.7z
http://download2.berlios.de/codeblocks/mingwm10_gcc441.7z
http://download2.berlios.de/codeblocks/wxmsw28u_gcc_cb_wx2810_gcc441.7z

When compiling in Code::Blocks:
include\http.h #includes curl/curl.h and other curl/ .h files. I have no *curl*.* in the vdrift folder nor in c:\mingw\. Am I missing some dependency?
Code:
||=== win32, Debug ===|
..\..\include\http.h|8|fatal error: curl/curl.h: No such file or directory|
||=== Build finished: 1 errors, 0 warnings (1 minutes, 44 seconds) ===|

Running the .bat from the command line, I clearly have the scons dependency files, but somehow an scons module can't be found:
Code:
C:\Documents and Settings\jmoore.GENESEE>echo %PATH%
C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system32\WBEM;C:\Program Files\QuickTi
me\QTSystem\;C:\Program Files\TortoiseSVN\bin;C:\Python31;C:\Python31\Scripts

C:\Documents and Settings\jmoore.GENESEE>cd "My Documents\vdrift_build\vdrift"

C:\Documents and Settings\jmoore.GENESEE\My Documents\vdrift_build\vdrift>tools\
win\bin\build_vdrift.bat

--VDrift Windows compilation script--

Make sure you're running this from your VDrift folder, like so:
tools\win\bin\build_vdrift.bat


Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "C:\Python31\Lib\site-packages\scons-2.0.1\SCons\__init__.py", line 43, i
n <module>
    import SCons.compat
  File "C:\Python31\Lib\site-packages\scons-2.0.1\SCons\compat\__init__.py", lin
e 90, in <module>
    import _scons_builtins
ImportError: No module named _scons_builtins

Copying files:
File not found - vdrift.exe
0 File(s) copied
0 File(s) copied

Make sure you check get the VDrift data!  See:
http://wiki.vdrift.net/Getting_the_development_version#Checking_out_the_data

C:\Documents and Settings\jmoore.GENESEE\My Documents\vdrift_build\vdrift>

Anything obvious I'm missing?

J M


- servantcoder - 01-05-2011

bump


- NaN - 01-05-2011

For codeblocks:

Get curl source(curl-7.21.3.zip): http://curl.haxx.se/download.html

Import vc6libcurl.dsp or vc6libcurl.dsw into codeblocks. Remove "DLL-Debug/libcurld_imp" and "--implib DLL-Debug/libcurld_imp.lib" from linker options in project build options, linker settings. Compile.

Copy include/curl to tools/win/include and the dll into tools/win/dll or the build directory.