Game Development Community

Openal isn't loading properly

by James Urquhart · in Torque Game Engine · 07/27/2002 (12:28 pm) · 3 replies

I have just reinstalled my linux system...

When i used the openal supplied with the distro(suse linux), when i started up the demo, the sound stuttered (yes, i am using accelerated opengl drivers)

I decided to recompile openal from the source...
After doing that and installing it, to my horror, torque hung whilst starting up.

In the console, the last few lines were :

Quote:
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
%

Why is this happening?
How could i solve this?
Shouldn't it say the openal vendor name or something?

Thanks

#1
07/27/2002 (12:32 pm)
Hmm...
I got torque loading again (must've been some settings in the sound server)

But i still get the stuttering - i never got it on my old install =/

Heres my console log :

Quote:
--------- 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.
Loading compiled script fps/client/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: 24, StencilSize: 8
Red: 5, Green: 6, Blue: 5, Alpha: 0
Accum Red: 16, Green: 16, Blue: 16, Alpha: 16
OpenGL driver information:
Vendor: NVIDIA Corporation
Renderer: GeForce3/AGP/SSE
Version: 1.3.1 NVIDIA 29.60
OpenGL Init: Enabled Extensions
ARB_multitexture (Max Texture Units: 4)
EXT_paletted_texture
EXT_compiled_vertex_array
NV_vertex_array_range
EXT_texture_env_combine
EXT_packed_pixels
EXT_fog_coord
ARB_texture_compression
EXT_texture_compression_s3tc
(ARB|EXT)_texture_env_add
EXT_texture_filter_anisotropic (Max anisotropy: 8.000000)
OpenGL Init: Disabled Extensions
3DFX_texture_compression_FXT1
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.
Loading compiled script fps/client/ui/aboutDlg.gui.
% alsa_blitbuffer: buffer underrun
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.
Loading compiled script 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
alsa_blitbuffer: buffer underrun
alsa_blitbuffer: buffer underrun
alsa_blitbuffer: buffer underrun
alsa_blitbuffer: buffer underrun
alsa_blitbuffer: buffer underrun
alsa_blitbuffer: buffer underrun
Exporting client prefs
Exporting server prefs
Exporting client prefs
Exporting server prefs
#2
07/29/2002 (2:06 pm)
It looks like your new install is using alsa for sound (and it isn't working very well apparently). You might try grabbing the latest openal from the openal cvs, I think it has updated alsa support.

Follow the directions for downloading openal at:

http://opensource.creative.com/

When torque loads, you'll know that you are using the new library because you won't see the "Missing OpenAL function" messages.

The other option is to reconfigure your kernel to use OSS instead of alsa. I'd try the updated openal first though.
#3
07/30/2002 (12:40 am)
Thanks,

It works fine now. Though it seemed to install in /usr/local/lib instead of /usr/lib where my distro had the openal files.