![]() |
Vdrift not starting on Ubuntu 10.10 - 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: Vdrift not starting on Ubuntu 10.10 (/showthread.php?tid=1558) Pages:
1
2
|
Vdrift not starting on Ubuntu 10.10 - rlemontw - 09-13-2011 I have recently install Vdrift but when I start it I get a blank black screen for a split second. So, I try to start it in Terminal I still get the blank black screen and this is what I get: INFO: Starting VDrift: 2010-07-24-full, Version: , O/S: Unix-like INFO: Home directory: /home/rlemontw INFO: Settings file: /home/rlemontw/.vdrift/VDrift.config (does not exist, will be created) INFO: Data directory: /usr/share/games/vdrift/data DATA_DIR: /usr/share/games/vdrift/data INFO: Log file: /home/rlemontw/.vdrift/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: NVIDIA Corporation Renderer: GeForce 7300 GS/PCI/SSE2/3DNOW! Version: 2.1.2 NVIDIA 173.14.28 Maximum texture size: 4096 Maximum varying floats: 32 Using GLEW 1.5.2 INFO: Your video card doesn't support framebuffer objects. Disabling shaders. Segmentation fault I have searched the Ubuntu forums and here but can not find the right answer to fix. Can someone please help. Thanks in advance. - antoniovazquez - 09-14-2011 try to execute "gdb vdrift" which should launch gnu debugger and after that some text will appear. It will launch something like a prompt starting with "(gdb)" type run and play until it crashes. On crash return to the gdb prompt and write bt. Please post the result of this. Thanks - rlemontw - 09-14-2011 antoniovazquez Wrote:try to execute "gdb vdrift" which should launch gnu debugger and after that some text will appear. It will launch something like a prompt starting with "(gdb)" type run and play until it crashes. On crash return to the gdb prompt and write bt. Please post the result of this. Here is the results. I still get the black screen but now it just sits on the black screen. GNU gdb (GDB) 7.2-ubuntu Copyright © 2010 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "i686-linux-gnu". For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>... Reading symbols from /usr/games/vdrift...(no debugging symbols found)...done. (gdb) run Starting program: /usr/games/vdrift [Thread debugging using libthread_db enabled] INFO: Starting VDrift: 2010-07-24-full, Version: , O/S: Unix-like INFO: Home directory: /home/rlemontw INFO: Settings file: /home/rlemontw/.vdrift/VDrift.config (does not exist, will be created) INFO: Data directory: /usr/share/games/vdrift/data DATA_DIR: /usr/share/games/vdrift/data INFO: Log file: /home/rlemontw/.vdrift/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 [New Thread 0xa87f1b70 (LWP 22038)] INFO: SDL initialization successful INFO: SDL video query was successful INFO: Disabling antialiasing [Thread 0xa87f1b70 (LWP 22038) exited] INFO: Display change was successful: 800x600x16 16z fullscreen=0 INFO: Video card information: Vendor: NVIDIA Corporation Renderer: GeForce 7300 GS/PCI/SSE2/3DNOW! Version: 2.1.2 NVIDIA 173.14.28 Maximum texture size: 4096 Maximum varying floats: 32 Using GLEW 1.5.2 INFO: Your video card doesn't support framebuffer objects. Disabling shaders. Program received signal SIGSEGV, Segmentation fault. 0x00000000 in ?? () (gdb) - NaN - 09-14-2011 Just a guess, but the 2010 release had a bug in the texture loading code which might cause a segfault on OpenGL2 level hardware. It happened to me with an Intel GPU. - joevenzon - 09-16-2011 Don't forget this part: antoniovazquez Wrote:On crash return to the gdb prompt and write bt. Please post the result of this. Or, you can try downloading the newest release and see if it's fixed. - rlemontw - 09-17-2011 joevenzon Wrote:Don't forget this part: I have tried the newest release and get the same thing. Here is the results from bt. (gdb) bt #0 0x00000000 in ?? () #1 0x081b4abe in ?? () #2 0x081b4da5 in ?? () #3 0x081b6186 in ?? () #4 0x080f474f in ?? () #5 0x080c7634 in ?? () #6 0x080d9d4d in ?? () #7 0x081730ea in ?? () #8 0x00410ce7 in __libc_start_main () from /lib/libc.so.6 #9 0x0804fb71 in ?? () (gdb) Still just a blank screen. - joevenzon - 09-17-2011 Did you compile from source? The debugger isn't giving useful information because debugging info has been stripped. You should try compiling the latest version (2011-09-01) from source. - rlemontw - 09-18-2011 joevenzon Wrote:Did you compile from source? The debugger isn't giving useful information because debugging info has been stripped. You should try compiling the latest version (2011-09-01) from source. I have been trying to do that but I can not figure out the unpacking using the tar command. Here is what I get: rlemontw@rlemontw-EL435AA-ABA-SR1720NX-NA610:~$ tar jxvf vdrift-src-2011-09-01.tar.bz2 tar (child): vdrift-src-2011-09-01.tar.bz2: Cannot open: No such file or directory tar (child): Error is not recoverable: exiting now tar: Child returned status 2 tar: Error is not recoverable: exiting now After I download the source it is in my download folder should it be somewhere and that is why it can't find the file or directory? - joevenzon - 09-21-2011 Yeah you need to change directory (the cd command) to where the file is. http://www.ee.surrey.ac.uk/Teaching/Unix/unix1.html - rlemontw - 09-21-2011 joevenzon Wrote:Yeah you need to change directory (the cd command) to where the file is. Awesome! Alright, so now I am at the scons step and here is what I get? I tried reading other forums but I can't find one with my same situation. scons: Reading SConscript files ... Checking for C++ header file asio.hpp... (cached) yes Checking for C++ header file boost/bind.hpp... (cached) yes Checking for C++ header file GL/gl.h... (cached) yes Checking for C++ header file GL/glu.h... (cached) yes Checking for C++ header file SDL/SDL.h... (cached) yes Checking for C++ header file SDL/SDL_image.h... (cached) yes Checking for C++ header file SDL/SDL_rotozoom.h... (cached) yes Checking for C++ header file vorbis/vorbisfile.h... (cached) yes Checking for C++ header file GL/glew.h... (cached) yes Checking for C++ header file curl/curl.h... (cached) yes Checking for C++ header file bullet/btBulletCollisionCommon.h... (cached) yes Checking for C++ header file archive.h... (cached) yes scons: done reading SConscript files. scons: Building targets ... CPP build/ai.o In file included from src/drawable.h:6, from src/drawable_container.h:4, from src/scenenode.h:4, from src/ai.h:6, from src/ai.cpp:1: src/model.h:29: warning: unused parameter âstrFileNameâ src/model.h:29: warning: unused parameter âerror_outputâ In file included from src/drawable.h:6, from src/drawable_container.h:4, from src/scenenode.h:4, from src/ai.h:6, from src/ai.cpp:1: src/model.h:31: warning: unused parameter âstrFileNameâ src/model.h:31: warning: unused parameter âerror_outputâ src/model.h:31: warning: unused parameter âgenlistâ In file included from src/gl3v/rendertextureentry.h:5, from src/gl3v/rendermodelext.h:6, from src/rendermodelext_drawable.h:4, from src/drawable.h:8, from src/drawable_container.h:4, from src/scenenode.h:4, from src/ai.h:6, from src/ai.cpp:1: src/gl3v/glwrapper.h: In member function âvoid GLWrapper::SamplerParameteri(GLuint, GLenum, GLint)â: src/gl3v/glwrapper.h:129: error: âglSamplerParameteriâ was not declared in this scope src/gl3v/glwrapper.h: In member function âvoid GLWrapper::SamplerParameterf(GLuint, GLenum, GLfloat)â: src/gl3v/glwrapper.h:130: error: âglSamplerParameterfâ was not declared in this scope src/gl3v/glwrapper.h: In member function âvoid GLWrapper::SamplerParameterfv(GLuint, GLenum, const GLfloat*)â: src/gl3v/glwrapper.h:131: error: âglSamplerParameterfvâ was not declared in this scope In file included from src/gl3v/rendertextureentry.h:5, from src/gl3v/rendermodelext.h:6, from src/rendermodelext_drawable.h:4, from src/drawable.h:8, from src/drawable_container.h:4, from src/scenenode.h:4, from src/ai.h:6, from src/ai.cpp:1: src/gl3v/glwrapper.h: In member function âGLuint GLWrapper::GenSampler()â: src/gl3v/glwrapper.h:150: error: âglGenSamplersâ was not declared in this scope src/gl3v/glwrapper.h: In member function âvoid GLWrapper: ![]() src/gl3v/glwrapper.h:151: error: âglDeleteSamplersâ was not declared in this scope src/gl3v/glwrapper.h: In member function âvoid GLWrapper::BindSampler(GLuint, GLuint)â: src/gl3v/glwrapper.h:152: error: âglBindSamplerâ was not declared in this scope src/gl3v/glwrapper.h: In member function âvoid GLWrapper::unbindSampler(GLuint)â: src/gl3v/glwrapper.h:153: error: âglBindSamplerâ was not declared in this scope In file included from src/cardynamics.h:7, from src/car.h:4, from src/ai.cpp:2: src/cardifferential.h: At global scope: src/cardifferential.h:58: warning: unused parameter ânew_side1_speedâ src/cardifferential.h:58: warning: unused parameter ânew_side2_speedâ In file included from src/cardynamics.h:14, from src/car.h:4, from src/ai.cpp:2: src/caraerodynamicdevice.h:101: warning: unused parameter âsâ scons: *** [build/ai.o] Error 1 scons: building terminated because of errors. Thanks for all your help joevenzon, I much appreciate it. I or should I say we are almost there I can feel it. 8) - NaN - 09-22-2011 This is a known ubuntu issue: http://vdrift.net/Forum/viewtopic.php?t=1663&highlight=glew+ubuntu http://vdrift.net/Forum/viewtopic.php?t=1599&highlight=glew+ubuntu http://vdrift.net/Forum/viewtopic.php?t=1591&highlight=ubuntu+compile I'll add it to the wiki. - rlemontw - 09-22-2011 NaN Wrote:This is a known ubuntu issue: Thanks NaN - Where do I put the tgz file once downloaded and I am having trouble unpacking it. I am new to Linux and I dont know much code yet. - NaN - 09-22-2011 tgz is simply an archive like zip. You have to unpack it either with filemanager or from shell "tar xzvf filename.tgz". Switch into the unpacked directory "cd filename" and build, install the library "make; sudo make install". - NaN - 09-22-2011 Though I am not sure if and how this is going to interfere with the ubuntu package and update manager. You should eventually ask the ubuntu guys to be sure. - NaN - 09-22-2011 More info on compiling under ubuntu: https://help.ubuntu.com/community/CompilingEasyHowTo They say you should use "sudo checkinstall" instead of "sudo make install" to get it registered in the package manager. |