As you may have seen I've fixed the new merged vdrift package in rawhide to actually include the data. This only fixes half of the problems with vdrift in rawhide though. The other issue is that it crashes when run on opensource (Mesa) opengl drivers: Program received signal SIGSEGV, Segmentation fault. 0x0000000000000000 in ?? () (gdb) bt #0 0x0000000000000000 in ?? () #1 0x00000000004a7379 in SHADER::Load (this=0xb31db8, name=@0x7fffffffd8f0) at src/shader.cpp:25 #2 0x00000000004a86cb in SHADER_MANAGER::Load (this=<value optimized out>, name=@0x7fffffffd8f0) at src/shader.cpp:293 #3 0x000000000041208a in GRAPHICS::Init (this=0x7b9788) at src/graphics.cpp:68 #4 0x000000000041b6e0 in GAME::Start (this=0x7b6f40, args=@0x7fffffffe080) at src/game.cpp:1502 #5 0x000000000040b965 in main (argc=1, argv=<value optimized out>) at src/main.cpp:26 If you look in src/shader.cpp line 25 you see: program = glCreateProgramObjectARB(); The problem is that glCreateProgramObjectARB is a function pointer which is part of GLEW, and which only gets set if the OpenGL implementation supports glCreateProgramObjectARB(). vdrift is not checking for this and thus crashing on cards / OpenGL implementations which lack this. Note that the F-9 version does not suffer from this. I've also tested the new (with data included) F-10 version with nvidea drivers and there it works fine.
So can this simply be wrapped to check and abort with an error, or is there a more widely-supported function we could use?
(In reply to comment #1) > So can this simply be wrapped to check and abort with an error, or is there a > more widely-supported function we could use? I'm not an OpenGL expert, but catching this and then exiting wiht an error is not acceptable, this will make vdrift break on many systems (where the F-9 version does work). I think this is best discussed upstream.
Posted in upstream Bugs forum, will file bug if no reply. http://vdrift.net/Forum/viewtopic.php?t=1029&start=0&postdays=0&postorder=asc&highlight=
This bug appears to have been reported against 'rawhide' during the Fedora 10 development cycle. Changing version to '10'. More information and reason for this action is here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping
*** Bug 478591 has been marked as a duplicate of this bug. ***
FYI, upstream indicates that this is fixed in development, but not word on a release. I'll try to get a patch together.
I have a new version in rawhide. If it works, I'll push it for 10.
(In reply to comment #7) > I have a new version in rawhide. If it works, I'll push it for 10. I can confirm this new version fixes vdrift on ATI cards, good job!
vdrift-20090215-1.fc10 has been submitted as an update for Fedora 10. http://admin.fedoraproject.org/updates/vdrift-20090215-1.fc10
vdrift-20090215-1.fc10 has been pushed to the Fedora 10 stable repository. If problems still persist, please make note of it in this bug report.