The following warnings occurred: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Warning [2] Undefined array key "lockoutexpiry" - Line: 94 - File: global.php PHP 8.1.27 (Linux)
|
GLEW initialization - Printable Version +- Forums (https://www.vdrift.net/Forum) +-- Forum: Project (https://www.vdrift.net/Forum/forumdisplay.php?fid=4) +--- Forum: Development (https://www.vdrift.net/Forum/forumdisplay.php?fid=9) +--- Thread: GLEW initialization (/showthread.php?tid=1002) |
GLEW initialization - maggu2810 - 10-10-2008 Could it be, that you are using glewInit() before you create a valid OpenGL context? I described the problem here: http://memak.raydium.org/viewtopic.php?f=7&t=859&start=0&st=0&sk=t&sd=a Here (in your project) it is no problem with the configuration of the sources, but I get a segfault when I prepare to start the game and I believe the source of the problem is the same. note: the link for the developer faq do not work - error 404 - http://vdrift.sourceforge.net/faqman/index.php?op=cat&c=2 - joevenzon - 10-11-2008 I checked and the opengl context is created before glew is initialized, at least in the 8-5-08 release. Could you post more information about your crash? What console messages are printed, when does the crash occur, what gfx card/OS are you using, which release are you using, and have you tried running gdb? - maggu2810 - 10-11-2008 Code: uname -a Code: Linux walkuer 2.6.26-gentoo #5 PREEMPT Tue Aug 5 13:41:46 CEST 2008 i686 Mobile AMD Athlon(tm) 64 Processor 3000+ AuthenticAMD GNU/Linux Code: /usr/sbin/lspci -nn | grep VGA Code: 01:00.0 VGA compatible controller [0300]: ATI Technologies Inc RV350 [Mobility Radeon 9600 M10] [1002:4e50] Code: vdrift Code: No data_dir found in VDrift.config, using //usr/share/games/vdrift Between the two lines Code: drmOpenByBusid: drmGetBusid reports pci:0000:01:00.0 I am using (at the moment) the games-sports/vdrift-20080805 ebuild from gentoo. I can prepare a checkout to the latest version, but because I do not found any bug reports about this problem in the net, I believe it is a uncommon thing (so I thought it was the same problem described above). What for informations are helpfull for you? Started gdb, run the game, ... Code: ... - joevenzon - 10-12-2008 Hey, thanks for all of the info. I suspect this is an issue with use of shaders. For some reason, a few types of graphics cards seem to compile the shaders fine but then crash when they're enabled. I think it's an issue with how I'm detecting success/failure. Anyway, try editing your ~/.vdrift/VDrift.config file and changing "shaders = true" to "shaders = false". - maggu2810 - 10-12-2008 To edit the configuration file solved the problem. Perhaps you are able to use another detection... I can proof the code than on my system for tests. Thanks - mfdavid - 01-14-2009 Same problem and same solution here, running windows XP SP2 and the .exe version 2008-08-05-full. But I tried to compile it under ubuntu using the svn version with no success.. will try again later at home. cya. - joevenzon - 01-14-2009 What kind of graphics card do you have? |