Linux Bugs
by James Urquhart · in Torque Game Engine · 06/23/2002 (9:39 am) · 7 replies
I ran the linux version of torque (HEAD copy from CVS),
but there appears to be several bugs in it...
1) Mouse Movement it jerky
2) Missions load very slowly
3) It crashes with the error(when loading a mission) :
6) The Sound is choppy
What should i do? Try the RELEASE_1_1_1 copy?
My system specs :
Suse Linux 8
openal : 20020201-77, Tue Mar 26 03:17:18 2002
openal-devel : 20020201-77, Tue Mar 26 03:17:18 2002
----
NVidia Geforce 3 Ti 500
Onboard VIA soundcard
My console log(minus the excess "alsa_blitbuffer" messages) :
--------- Loading MODS ---------
Loading compiled script common/main.cs.
Missing file: common/defaults.cs!
Loading compiled script fps/main.cs.
Loading compiled script fps/client/defaults.cs.
Loading compiled script fps/server/defaults.cs.
Compiling fps/client/prefs.cs...
Loading compiled script fps/client/prefs.cs.
Compiling fps/server/prefs.cs...
Loading compiled script fps/server/prefs.cs.
%
--------- Parsing Arguments ---------
%
--------- Initializing MOD: Common ---------
Loading compiled script common/client/canvas.cs.
Loading compiled script common/client/audio.cs.
%
--------- Initializing MOD: FPS ---------
Loading compiled script fps/client/init.cs.
Loading compiled script fps/server/init.cs.
Loading compiled script fps/data/init.cs.
Loading compiled script fps/data/terrains/grassland/propertyMap.cs.
Loading compiled script fps/data/terrains/scorched/propertyMap.cs.
%
--------- Initializing FPS: Server ---------
Loading compiled script common/server/audio.cs.
Loading compiled script common/server/server.cs.
Loading compiled script common/server/message.cs.
Loading compiled script common/server/commands.cs.
Loading compiled script common/server/missionInfo.cs.
Loading compiled script common/server/missionLoad.cs.
Loading compiled script common/server/missionDownload.cs.
Loading compiled script common/server/clientConnection.cs.
Loading compiled script common/server/kickban.cs.
Loading compiled script common/server/game.cs.
Loading compiled script fps/server/scripts/commands.cs.
Loading compiled script fps/server/scripts/centerPrint.cs.
Loading compiled script fps/server/scripts/game.cs.
%
--------- Initializing FPS: Client ---------
Loading compiled script common/client/message.cs.
Loading compiled script common/client/mission.cs.
Loading compiled script common/client/missionDownload.cs.
Loading compiled script common/client/actionMap.cs.
Loading compiled script common/editor/editor.cs.
Activating the OpenGL display device...
Setting screen mode to 800x600x16 (w)...
OpenGL Attributes:
DoubleBuffer: 1
BufferSize: 16, DepthSize: 16, StencilSize: 0
Red: 5, Green: 6, Blue: 5, Alpha: 0
Accum Red: 0, Green: 0, Blue: 0, Alpha: 0
OpenGL driver information:
Vendor: Brian Paul
Renderer: Mesa X11
Version: 1.3 Mesa 4.0.1
OpenGL Init: Enabled Extensions
ARB_multitexture (Max Texture Units: 8)
EXT_paletted_texture
EXT_compiled_vertex_array
EXT_texture_env_combine
EXT_packed_pixels
EXT_fog_coord
ARB_texture_compression
(ARB|EXT)_texture_env_add
OpenGL Init: Disabled Extensions
NV_vertex_array_range
EXT_texture_compression_s3tc
3DFX_texture_compression_FXT1
EXT_texture_filter_anisotropic
WGL_EXT_swap_control
Loading compiled script common/ui/defaultProfiles.cs.
Loading compiled script common/ui/GuiEditorGui.gui.
Loading compiled script common/ui/ConsoleDlg.gui.
Loading compiled script common/ui/InspectDlg.gui.
Loading compiled script common/ui/InspectAddFieldDlg.gui.
Loading compiled script common/ui/LoadFileDlg.gui.
Loading compiled script common/ui/SaveFileDlg.gui.
Loading compiled script common/ui/MessageBoxOkDlg.gui.
Loading compiled script common/ui/MessageBoxYesNoDlg.gui.
Loading compiled script common/ui/MessageBoxOKCancelDlg.gui.
Loading compiled script common/ui/MessagePopupDlg.gui.
Loading compiled script common/ui/HelpDlg.gui.
Loading compiled script common/ui/RecordingsDlg.gui.
Loading compiled script common/client/metrics.cs.
Loading compiled script common/ui/FrameOverlayGui.gui.
Loading compiled script common/client/messageBox.cs.
Loading compiled script common/client/screenshot.cs.
Loading compiled script common/client/cursor.cs.
Loading compiled script common/client/help.cs.
Loading compiled script common/client/recordings.cs.
%
OpenAL Driver Init:
OpenAL
Missing OpenAL function 'alGetBoolean', using emulated function
Missing OpenAL function 'alGetInteger', using emulated function
Missing OpenAL function 'alGetFloat', using emulated function
Missing OpenAL function 'alGetDouble', using emulated function
Missing OpenAL function 'alListeneri', using emulated function
Missing OpenAL function 'alGetListener3f', using emulated function
Missing OpenAL function 'alcGetContextsDevice', using emulated function
Vendor: Loki(R) Software
Version: 0.0.6
Renderer: Software
Extensions: AL_EXT_capture AL_EXT_vorbis AL_LOKI_play_position AL_LOKI_IMA_ADPCM_format AL_LOKI_buffer_data_callback ALC_LOKI_audio_channel
%
Loading compiled script fps/client/scripts/audioProfiles.cs.
Loading compiled script fps/client/ui/defaultGameProfiles.cs.
Loading compiled script fps/client/ui/PlayGui.gui.
Loading compiled script fps/client/ui/ChatHud.gui.
Loading compiled script fps/client/ui/playerList.gui.
Loading compiled script fps/client/ui/mainMenuGui.gui.
% alsa_blitbuffer: buffer underrun
Loading compiled script fps/client/ui/aboutDlg.gui.
Loading compiled script fps/client/ui/startMissionGui.gui.
Loading compiled script fps/client/ui/joinServerGui.gui.
Loading compiled script fps/client/ui/endGameGui.gui.
Loading compiled script fps/client/ui/loadingGui.gui.
Loading compiled script fps/client/ui/optionsDlg.gui.
Loading compiled script fps/client/ui/remapDlg.gui.
Loading compiled script fps/client/scripts/client.cs.
Loading compiled script fps/client/scripts/missionDownload.cs.
Loading compiled script fps/client/scripts/serverConnection.cs.
Loading compiled script fps/client/scripts/playerList.cs.
Loading compiled script fps/client/scripts/loadingGui.cs.
Loading compiled script fps/client/scripts/optionsDlg.cs.
Loading compiled script fps/client/scripts/chatHud.cs.
Loading compiled script fps/client/scripts/messageHud.cs.
Loading compiled script fps/client/scripts/playGui.cs.
Loading compiled script fps/client/scripts/centerPrint.cs.
Loading compiled script fps/client/scripts/game.cs.
Loading compiled script fps/client/scripts/default.bind.cs.
Missing file: fps/client/config.cs!
Binding server port to default IP
UDP initialized on port 0
Unable to initialize IPX - error 5
% alsa_blitbuffer: buffer underrun
Engine initialized...
% alsa_blitbuffer: buffer underrun
Exporting server prefs...
Loading compiled script fps/server/scripts/audioProfiles.cs.
Loading compiled script fps/server/scripts/camera.cs.
Loading compiled script fps/server/scripts/markers.cs.
... Shape with old version.
Loading compiled script fps/server/scripts/triggers.cs.
Loading compiled script fps/server/scripts/inventory.cs.
Loading compiled script fps/server/scripts/shapeBase.cs.
Loading compiled script fps/server/scripts/item.cs.
Loading compiled script fps/server/scripts/health.cs.
Loading compiled script fps/server/scripts/weapon.cs.
Loading compiled script fps/server/scripts/radiusDamage.cs.
Loading compiled script fps/server/scripts/rifle.cs.
Loading compiled script fps/server/scripts/crossbow.cs.
Loading compiled script fps/server/scripts/player.cs.
Loading compiled script fps/data/shapes/player/player.cs.
% alsa_blitbuffer: buffer underrun
Validation required for shape: fps/data/shapes/player/player.dts
Loading compiled script fps/server/scripts/aiPlayer.cs.
*** LOADING MISSION: fps/data/missions/waterWorld.mis
*** Stage 1 load
*** Stage 2 load
Executing fps/data/missions/waterWorld.mis.
% alsa_blitbuffer: buffer underrun
****************************************************
****************************************************
****************************************************
PLEASE RESAVE THE TERRAIN FILE FOR THIS MISSION! THANKS!
****************************************************
****************************************************
****************************************************
% alsa_blitbuffer: buffer underrun
*** Mission loaded
CADD: 1386 local
*** Sending mission load to client: fps/data/missions/waterWorld.mis
Mapping string: ServerMessage to index: 0
Mapping string: MsgConnectionError to index: 1
Mapping string: MsgLoadInfo to index: 2
Mapping string: MsgLoadDescripition to index: 3
% alsa_blitbuffer: buffer underrun
alsa_blitbuffer: buffer underrun
Mapping string: MsgLoadInfoDone to index: 4
Mapping string: MsgClientJoin to index: 5
Mapping string: Welcome to the Torque demo app %1. to index: 6
Mapping string:
Test Guy to index: 7
Mapping string: MissionStartPhase1 to index: 8
*** New Mission: fps/data/missions/waterWorld.mis
*** Phase 1: Download Datablocks & Targets
Mapping string: MissionStartPhase1Ack to index: 0
% alsa_blitbuffer: buffer underrun
Validation required for shape: fps/data/shapes/player/player.dts
% alsa_blitbuffer: buffer underrun
Mapping string: MissionStartPhase2 to index: 9
*** Phase 2: Download Ghost Objects
% alsa_blitbuffer: buffer underrun
Mapping string: MissionStartPhase2Ack to index: 1
% alsa_blitbuffer: buffer underrun
Ghost Always objects received.
% alsa_blitbuffer: buffer underrun
Mapping string: MissionStartPhase3 to index: 10
*** Phase 3: Mission Lighting
% alsa_blitbuffer: buffer underrun
Successfully loaded mission lighting file: 'fps/data/missions/waterWorld_3feaf205.ml'
Mission lighting done
Mapping string: MissionStartPhase3Ack to index: 2
% alsa_blitbuffer: buffer underrun
Mapping string: MissionStart to index: 11
Mapping string: SyncClock to index: 12
*** Initial Control Object
% alsa_blitbuffer: buffer underrun
Fatal: (terrain/sky.cc @ 569) Error, GL not in canonical state on entry
% alsa_blitbuffer: buffer underrun
Nonzero exit code: 1, triggering SIGSEGV for core dump
% Segmentation fault
Thanks for any help.
but there appears to be several bugs in it...
1) Mouse Movement it jerky
2) Missions load very slowly
3) It crashes with the error(when loading a mission) :
Quote:4) The message :
Fatal:(terrain/sky.cc @ 569)
Error, GL not in carnocial state on entry
Quote:Keeps popping up in the console window
alsa_blitbuffer: buffer underrun
6) The Sound is choppy
What should i do? Try the RELEASE_1_1_1 copy?
My system specs :
Suse Linux 8
openal : 20020201-77, Tue Mar 26 03:17:18 2002
openal-devel : 20020201-77, Tue Mar 26 03:17:18 2002
----
NVidia Geforce 3 Ti 500
Onboard VIA soundcard
My console log(minus the excess "alsa_blitbuffer" messages) :
--------- Loading MODS ---------
Loading compiled script common/main.cs.
Missing file: common/defaults.cs!
Loading compiled script fps/main.cs.
Loading compiled script fps/client/defaults.cs.
Loading compiled script fps/server/defaults.cs.
Compiling fps/client/prefs.cs...
Loading compiled script fps/client/prefs.cs.
Compiling fps/server/prefs.cs...
Loading compiled script fps/server/prefs.cs.
%
--------- Parsing Arguments ---------
%
--------- Initializing MOD: Common ---------
Loading compiled script common/client/canvas.cs.
Loading compiled script common/client/audio.cs.
%
--------- Initializing MOD: FPS ---------
Loading compiled script fps/client/init.cs.
Loading compiled script fps/server/init.cs.
Loading compiled script fps/data/init.cs.
Loading compiled script fps/data/terrains/grassland/propertyMap.cs.
Loading compiled script fps/data/terrains/scorched/propertyMap.cs.
%
--------- Initializing FPS: Server ---------
Loading compiled script common/server/audio.cs.
Loading compiled script common/server/server.cs.
Loading compiled script common/server/message.cs.
Loading compiled script common/server/commands.cs.
Loading compiled script common/server/missionInfo.cs.
Loading compiled script common/server/missionLoad.cs.
Loading compiled script common/server/missionDownload.cs.
Loading compiled script common/server/clientConnection.cs.
Loading compiled script common/server/kickban.cs.
Loading compiled script common/server/game.cs.
Loading compiled script fps/server/scripts/commands.cs.
Loading compiled script fps/server/scripts/centerPrint.cs.
Loading compiled script fps/server/scripts/game.cs.
%
--------- Initializing FPS: Client ---------
Loading compiled script common/client/message.cs.
Loading compiled script common/client/mission.cs.
Loading compiled script common/client/missionDownload.cs.
Loading compiled script common/client/actionMap.cs.
Loading compiled script common/editor/editor.cs.
Activating the OpenGL display device...
Setting screen mode to 800x600x16 (w)...
OpenGL Attributes:
DoubleBuffer: 1
BufferSize: 16, DepthSize: 16, StencilSize: 0
Red: 5, Green: 6, Blue: 5, Alpha: 0
Accum Red: 0, Green: 0, Blue: 0, Alpha: 0
OpenGL driver information:
Vendor: Brian Paul
Renderer: Mesa X11
Version: 1.3 Mesa 4.0.1
OpenGL Init: Enabled Extensions
ARB_multitexture (Max Texture Units: 8)
EXT_paletted_texture
EXT_compiled_vertex_array
EXT_texture_env_combine
EXT_packed_pixels
EXT_fog_coord
ARB_texture_compression
(ARB|EXT)_texture_env_add
OpenGL Init: Disabled Extensions
NV_vertex_array_range
EXT_texture_compression_s3tc
3DFX_texture_compression_FXT1
EXT_texture_filter_anisotropic
WGL_EXT_swap_control
Loading compiled script common/ui/defaultProfiles.cs.
Loading compiled script common/ui/GuiEditorGui.gui.
Loading compiled script common/ui/ConsoleDlg.gui.
Loading compiled script common/ui/InspectDlg.gui.
Loading compiled script common/ui/InspectAddFieldDlg.gui.
Loading compiled script common/ui/LoadFileDlg.gui.
Loading compiled script common/ui/SaveFileDlg.gui.
Loading compiled script common/ui/MessageBoxOkDlg.gui.
Loading compiled script common/ui/MessageBoxYesNoDlg.gui.
Loading compiled script common/ui/MessageBoxOKCancelDlg.gui.
Loading compiled script common/ui/MessagePopupDlg.gui.
Loading compiled script common/ui/HelpDlg.gui.
Loading compiled script common/ui/RecordingsDlg.gui.
Loading compiled script common/client/metrics.cs.
Loading compiled script common/ui/FrameOverlayGui.gui.
Loading compiled script common/client/messageBox.cs.
Loading compiled script common/client/screenshot.cs.
Loading compiled script common/client/cursor.cs.
Loading compiled script common/client/help.cs.
Loading compiled script common/client/recordings.cs.
%
OpenAL Driver Init:
OpenAL
Missing OpenAL function 'alGetBoolean', using emulated function
Missing OpenAL function 'alGetInteger', using emulated function
Missing OpenAL function 'alGetFloat', using emulated function
Missing OpenAL function 'alGetDouble', using emulated function
Missing OpenAL function 'alListeneri', using emulated function
Missing OpenAL function 'alGetListener3f', using emulated function
Missing OpenAL function 'alcGetContextsDevice', using emulated function
Vendor: Loki(R) Software
Version: 0.0.6
Renderer: Software
Extensions: AL_EXT_capture AL_EXT_vorbis AL_LOKI_play_position AL_LOKI_IMA_ADPCM_format AL_LOKI_buffer_data_callback ALC_LOKI_audio_channel
%
Loading compiled script fps/client/scripts/audioProfiles.cs.
Loading compiled script fps/client/ui/defaultGameProfiles.cs.
Loading compiled script fps/client/ui/PlayGui.gui.
Loading compiled script fps/client/ui/ChatHud.gui.
Loading compiled script fps/client/ui/playerList.gui.
Loading compiled script fps/client/ui/mainMenuGui.gui.
% alsa_blitbuffer: buffer underrun
Loading compiled script fps/client/ui/aboutDlg.gui.
Loading compiled script fps/client/ui/startMissionGui.gui.
Loading compiled script fps/client/ui/joinServerGui.gui.
Loading compiled script fps/client/ui/endGameGui.gui.
Loading compiled script fps/client/ui/loadingGui.gui.
Loading compiled script fps/client/ui/optionsDlg.gui.
Loading compiled script fps/client/ui/remapDlg.gui.
Loading compiled script fps/client/scripts/client.cs.
Loading compiled script fps/client/scripts/missionDownload.cs.
Loading compiled script fps/client/scripts/serverConnection.cs.
Loading compiled script fps/client/scripts/playerList.cs.
Loading compiled script fps/client/scripts/loadingGui.cs.
Loading compiled script fps/client/scripts/optionsDlg.cs.
Loading compiled script fps/client/scripts/chatHud.cs.
Loading compiled script fps/client/scripts/messageHud.cs.
Loading compiled script fps/client/scripts/playGui.cs.
Loading compiled script fps/client/scripts/centerPrint.cs.
Loading compiled script fps/client/scripts/game.cs.
Loading compiled script fps/client/scripts/default.bind.cs.
Missing file: fps/client/config.cs!
Binding server port to default IP
UDP initialized on port 0
Unable to initialize IPX - error 5
% alsa_blitbuffer: buffer underrun
Engine initialized...
% alsa_blitbuffer: buffer underrun
Exporting server prefs...
Loading compiled script fps/server/scripts/audioProfiles.cs.
Loading compiled script fps/server/scripts/camera.cs.
Loading compiled script fps/server/scripts/markers.cs.
... Shape with old version.
Loading compiled script fps/server/scripts/triggers.cs.
Loading compiled script fps/server/scripts/inventory.cs.
Loading compiled script fps/server/scripts/shapeBase.cs.
Loading compiled script fps/server/scripts/item.cs.
Loading compiled script fps/server/scripts/health.cs.
Loading compiled script fps/server/scripts/weapon.cs.
Loading compiled script fps/server/scripts/radiusDamage.cs.
Loading compiled script fps/server/scripts/rifle.cs.
Loading compiled script fps/server/scripts/crossbow.cs.
Loading compiled script fps/server/scripts/player.cs.
Loading compiled script fps/data/shapes/player/player.cs.
% alsa_blitbuffer: buffer underrun
Validation required for shape: fps/data/shapes/player/player.dts
Loading compiled script fps/server/scripts/aiPlayer.cs.
*** LOADING MISSION: fps/data/missions/waterWorld.mis
*** Stage 1 load
*** Stage 2 load
Executing fps/data/missions/waterWorld.mis.
% alsa_blitbuffer: buffer underrun
****************************************************
****************************************************
****************************************************
PLEASE RESAVE THE TERRAIN FILE FOR THIS MISSION! THANKS!
****************************************************
****************************************************
****************************************************
% alsa_blitbuffer: buffer underrun
*** Mission loaded
CADD: 1386 local
*** Sending mission load to client: fps/data/missions/waterWorld.mis
Mapping string: ServerMessage to index: 0
Mapping string: MsgConnectionError to index: 1
Mapping string: MsgLoadInfo to index: 2
Mapping string: MsgLoadDescripition to index: 3
% alsa_blitbuffer: buffer underrun
alsa_blitbuffer: buffer underrun
Mapping string: MsgLoadInfoDone to index: 4
Mapping string: MsgClientJoin to index: 5
Mapping string: Welcome to the Torque demo app %1. to index: 6
Mapping string:
Test Guy to index: 7
Mapping string: MissionStartPhase1 to index: 8
*** New Mission: fps/data/missions/waterWorld.mis
*** Phase 1: Download Datablocks & Targets
Mapping string: MissionStartPhase1Ack to index: 0
% alsa_blitbuffer: buffer underrun
Validation required for shape: fps/data/shapes/player/player.dts
% alsa_blitbuffer: buffer underrun
Mapping string: MissionStartPhase2 to index: 9
*** Phase 2: Download Ghost Objects
% alsa_blitbuffer: buffer underrun
Mapping string: MissionStartPhase2Ack to index: 1
% alsa_blitbuffer: buffer underrun
Ghost Always objects received.
% alsa_blitbuffer: buffer underrun
Mapping string: MissionStartPhase3 to index: 10
*** Phase 3: Mission Lighting
% alsa_blitbuffer: buffer underrun
Successfully loaded mission lighting file: 'fps/data/missions/waterWorld_3feaf205.ml'
Mission lighting done
Mapping string: MissionStartPhase3Ack to index: 2
% alsa_blitbuffer: buffer underrun
Mapping string: MissionStart to index: 11
Mapping string: SyncClock to index: 12
*** Initial Control Object
% alsa_blitbuffer: buffer underrun
Fatal: (terrain/sky.cc @ 569) Error, GL not in canonical state on entry
% alsa_blitbuffer: buffer underrun
Nonzero exit code: 1, triggering SIGSEGV for core dump
% Segmentation fault
Thanks for any help.
About the author
#2
Maybe its because i'm running as root? (aka using su in the console)
06/23/2002 (9:52 am)
I already have the drivers installedMaybe its because i'm running as root? (aka using su in the console)
#3
Anyone any ideas why? All the other 3d programs on this distro work =/
Or... even better, how can i force torque to use the nvidia drivers?
Thanks
06/23/2002 (10:02 am)
Well, i ran it again from a normal console, and it still loaded the software driver.Anyone any ideas why? All the other 3d programs on this distro work =/
Or... even better, how can i force torque to use the nvidia drivers?
Thanks
#4
06/23/2002 (10:22 am)
Mesa's GL is probably before NVIDIA's in the loader path. The path is set in /etc/ld.so.conf, but you'll probably find that you have a libGL.so in /usr/lib and also one is /usr/local/lib; one of those is Mesa's and it is getting loaded first.
#5
/usr/lib/
AND
/usr/lib/GL
/usr/lib/GL appeared to have the nvidia drivers in, so i added at the top of /etc/ld/so.conf "/usr/lib/GL" and ran "ldconfig"
However, when torque ran, it hung on loading the OpenAL Drivers, and it still loaded the Software GL Drivers (???)
I haven't been able to get torque running again even when changing the stuff back... OpenAl still hangs on loading... What did i do wrong? =(
EDIT: I've got torque running again...Removed OpenAl
Thanks
06/23/2002 (11:04 am)
Well, i found that libGL.so was in :/usr/lib/
AND
/usr/lib/GL
/usr/lib/GL appeared to have the nvidia drivers in, so i added at the top of /etc/ld/so.conf "/usr/lib/GL" and ran "ldconfig"
However, when torque ran, it hung on loading the OpenAL Drivers, and it still loaded the Software GL Drivers (???)
I haven't been able to get torque running again even when changing the stuff back... OpenAl still hangs on loading... What did i do wrong? =(
EDIT: I've got torque running again...Removed OpenAl
Thanks
#7
After removing the Mesa Software driver and Reinstalling OpenAl, everything worked fine.
Thanks =)
06/23/2002 (11:39 am)
Hey Thanks.After removing the Mesa Software driver and Reinstalling OpenAl, everything worked fine.
Thanks =)
Torque Owner John Quigley