Sound is broken in ufo-ai on ppc. The game is otherwise fully working.
I'm just curious... are you using ALSA or OSS? I had some problems on my machine with the sound, also using ALSA.
I'm using ALSA, I can test it with OSS later.
I'm going to reassign this since it seems to be an ALSA problem, not specific to PPC.
I get sound when I start up ufo-ai but I'm using oss. However, the mouse doesn't work well, seems to jump around and be very difficult to position on the opening screen. It seems like the program is in some tight loop - the music stutters, etc. Here's the output I get: execing default.cfg couldn't exec config.cfg execing keys.cfg "K_CTRL" isn't a valid key Console initialized. ------- sound initialization ------- sound sampling rate: 44100 ------------------------------------ ------- Loading ref_glx.so ------- LoadLibrary("ref_glx.so"): can't open /etc/quake2.conf LoadLibrary("./ref_glx.so") ref_gl version: GL 0.10 Initializing OpenGL display ...setting fullscreen mode 6: 1024 768 Using XFree86-VidModeExtension Version 2.2 GL_VENDOR: NVIDIA Corporation GL_RENDERER: GeForce3/AGP/3DNOW! GL_VERSION: 1.4.0 NVIDIA 44.96 ...allowing CDS ...enabling GL_EXT_compiled_vertex_array ...using GL_EXT_point_parameters ...using GL_ARB_multitexture ...using GL_EXT_texture_env_combine ...GL_SGIS_multitexture deprecated in favor of ARB_multitexture ------------------------------------ CD Audio Initialized Shared Client/Server Info loaded Couldn't open file 'current'. ====== UFO Initialized ====== Xlib: extension "XFree86-DGA" missing on display ":0.0". Failed to detect XF86DGA Mouse recursive shutdown
Mr Bones: Your issue is because of the missing DGA extension. Remove the section of your xorg.conf that disables DGA. This game is based on the quake2 engine, so it has many of the same issues. Anyway, this game does not support ALSA, at all. Upstream doesn't appear to have moved recently. Their latest release made no source changes, and only added new content. Can you test to see if it works with OSS emulation? You might need to run the following: echo "ufo 0 0 disable" > /proc/asound/card0/pcm0c/oss We have a bug on getting these OSS settings saved/restored in the ALSA init scripts, but for now, it might require adding it to local.start to make it permanent.
i can see a snd_alsa.c in http://svn.sourceforge.net/viewcvs.cgi/ufoai/ufoai/trunk/src/linux/ i guess it means that there is or there will be alsa support in ufo:ai :] maybe it is already in techbeta2 (0.12_beta1)
I know that this has been just shy of forever, but this is fixed in the new 2.1.1 version that I just added to the tree.