A few days ago I installed Ubuntu 10.10, and was going to deal with PulseAudio, but issues with laggy/disappearing sound in Quake 4.
So I installed ALSA, which worked for just about everything (Quake 4, Flash video in Chrome/Firefox, music players, etc.). However, I couldn't get sound in Quake 3, and I tried to install IOQuake 3, but the install failed.
So I tried installing OSS4 (following this guide here:
I wasn't able to get the package from the OpenSound website, I just installed the packages inside Synaptic. The problem here, is osstest works, but Rhythmbox is the only other program I can get to output sound (haven't tried Quake 4 yet). No sound from flash video, no sound from Quake 3 (though I haven't tried all the /dev/dsp* devices).
What would be your best solution? Note, I've already tried these solutions for ALSA:
Note: When I was using ALSA, I had no dsp device in /dev
I'll post some more information in a while, and I think I'm going to go back to alsa for now.
I tried using SVN, and ioquake3-q3a-1.32-9.run file then make, to compile, but I get this:
Can I do anything about uintptr_t? I've heard about configuring ALSA to emulate OSS, any way to do that? Maybe something about libopenal?Code:Building ioquake3 in build/release-linux-i386: PLATFORM: linux ARCH: i386 VERSION: 1.36_SVN1802 COMPILE_PLATFORM: linux COMPILE_ARCH: i386 CC: cc CFLAGS: -Wall -fno-strict-aliasing -Wimplicit -Wstrict-prototypes -pipe -DUSE_ICON -m32 -DNO_GZIP -Icode/zlib -DUSE_LOCAL_HEADERS -DPRODUCT_VERSION="1.36_SVN1802" -MMD -DNDEBUG -O3 -march=i586 -fomit-frame-pointer -funroll-loops -falign-loops=2 -falign-jumps=2 -falign-functions=2 -fstrength-reduce -ffast-math CLIENT_CFLAGS: -DUSE_OPENAL -DUSE_OPENAL_DLOPEN -DUSE_CURL -DUSE_CURL_DLOPEN -Icode/SDL12/include -DUSE_MUMBLE -DUSE_VOIP -DFLOATING_POINT -DUSE_ALLOCA -Icode/libspeex/include SERVER_CFLAGS: -DUSE_VOIP LDFLAGS: LIBS: -ldl -lm CLIENT_LIBS: -lGL -lrt Output: build/release-linux-i386/ioq3ded.i386 build/release-linux-i386/ioquake3.i386 build/release-linux-i386/baseq3/cgamei386.so build/release-linux-i386/baseq3/qagamei386.so build/release-linux-i386/baseq3/uii386.so build/release-linux-i386/missionpack/cgamei386.so build/release-linux-i386/missionpack/qagamei386.so build/release-linux-i386/missionpack/uii386.so build/release-linux-i386/baseq3/vm/cgame.qvm build/release-linux-i386/baseq3/vm/qagame.qvm build/release-linux-i386/baseq3/vm/ui.qvm build/release-linux-i386/missionpack/vm/qagame.qvm build/release-linux-i386/missionpack/vm/cgame.qvm build/release-linux-i386/missionpack/vm/ui.qvm make: Entering directory `/usr/local/games/ioquake3' make: `build/release-linux-i386/ioq3ded.i386' is up to date. CC code/client/qal.c In file included from code/SDL12/include/SDL_config.h:42, from code/SDL12/include/SDL_stdinc.h:30, from code/SDL12/include/SDL_main.h:26, from code/SDL12/include/SDL.h:30, from code/client/../sys/sys_loadlib.h:39, from code/client/qal.c:32: code/SDL12/include/SDL_config_minimal.h:39: error: conflicting types for ‘uintptr_t’ /usr/include/stdint.h:129: note: previous declaration of ‘uintptr_t’ was here make: *** [build/release-linux-i386/client/qal.o] Error 1 make: Leaving directory `/usr/local/games/ioquake3' make: *** [targets] Error 2 make: Leaving directory `/usr/local/games/ioquake3' make: *** [release] Error 2
I've looked some more into OSS emulation via ALSA, and about modules (still don't really understand). I found a couple of module files; /etc/modules, and /lib/modules/2.6.35-22-generic-pae/. The first contains:
The second contains:Code:# /etc/modules: kernel modules to load at boot time. # # This file contains the names of kernel modules that should be loaded # at boot time, one per line. Lines beginning with "#" are ignored. lp
Am I missing anything? Do I need to reconfigure something?Code:build modules.alias.bin modules.dep modules.inputmap modules.pcimap modules.symbols.bin initrd modules.builtin modules.dep.bin modules.isapnpmap modules.seriomap modules.usbmap kernel modules.builtin.bin modules.devname modules.ofmap modules.softdep updates modules.alias modules.ccwmap modules.ieee1394map modules.order modules.symbols
Thanks in advance.