Pages: [1]
  Print  
Author Topic: Popping or crackly sound, ubuntu 7.04  (Read 20702 times)
handisnacks
Nub


Cakes 0
Posts: 4


« on: July 09, 2007, 03:09:55 PM »

I'm getting annoying popping or crackly sound in game. I honestly don't know why. I have libopenal, and every other game works fine (Legends, Nexuiz, Quake4 etc). Even quake 3 ran fine.

Any ideas?
Logged
w1zrd
Member


Cakes 2
Posts: 582


Give to life what you expect back


WWW
« Reply #1 on: July 09, 2007, 07:26:01 PM »

I'm getting annoying popping or crackly sound in game. I honestly don't know why. I have libopenal, and every other game works fine (Legends, Nexuiz, Quake4 etc). Even quake 3 ran fine.
Any ideas?
As for Snap, Crackle & Pop, get milk!

Well, seriously though, have you tried to lower volume of the effects slightly in the options menu?
Had a similar sound which automagically went away after lowering the music/efftects a notch and increase the master volume instead.
Logged

'Toto, I've a feeling we're not in Kansas anymore.'


handisnacks
Nub


Cakes 0
Posts: 4


« Reply #2 on: July 09, 2007, 07:57:15 PM »

Thanks for the reply.

Unfortunately I just tried it and it didn't make any difference Sad
Logged
dmn_clown
Posts a lot
*

Cakes 1
Posts: 1324


« Reply #3 on: July 09, 2007, 09:05:44 PM »

have you tried it with sdl sound?

in the game console: 
Code:
/s_useOpenAL 0

from the command line:
Code:
./ioquake3.i386 +set s_useopenal 0
Logged

raphael.badawi
Nub


Cakes 0
Posts: 8


« Reply #4 on: July 10, 2007, 12:02:38 AM »

I have the same problem with Ubuntu 7.10.

The package libopenal0a is installed, but if I try to execute the game with ./ioquake3.i386 +set s_useopenal 0, I have no sound at all.

It's pretty weird.
Logged
handisnacks
Nub


Cakes 0
Posts: 4


« Reply #5 on: July 10, 2007, 03:34:40 AM »

using "/s_useopenal 0" fixed it a little bit, it's still there, however. I dunno maybe it's just my on-board audio, although I've never had a problem before.
Logged
ALucas
Nub


Cakes 0
Posts: 41


« Reply #6 on: July 10, 2007, 05:10:51 AM »

I can confirm this, I also have the same problem in ubuntu 7.04 and switching s_useopenal doesn't make a big difference
Logged
dmn_clown
Posts a lot
*

Cakes 1
Posts: 1324


« Reply #7 on: July 10, 2007, 07:03:22 AM »

I have the same problem with Ubuntu 7.10.

The package libopenal0a is installed, but if I try to execute the game with ./ioquake3.i386 +set s_useopenal 0, I have no sound at all.

It's pretty weird.

install libsdl-alsa or libsdl-oss whichever you prefer
Logged

Leopold
Nub


Cakes 1
Posts: 23


« Reply #8 on: July 10, 2007, 07:16:07 AM »

Jepp, happens here too on a SuSE 10.2 i386 smp. I didn't hear this with snapshots
from ca. 2 weeks ago.
Logged
ALucas
Nub


Cakes 0
Posts: 41


« Reply #9 on: July 10, 2007, 07:44:30 AM »

could it be related to ogg then? if I recall correct, that was added very recently
« Last Edit: July 10, 2007, 07:46:02 AM by ALucas » Logged
Mingmeijun
Nub


Cakes 0
Posts: 11



WWW
« Reply #10 on: July 10, 2007, 09:55:26 AM »

I've the same problem SOMETIMES. Dunno why.

I'm running Ubuntu 6.10
Logged
dmn_clown
Posts a lot
*

Cakes 1
Posts: 1324


« Reply #11 on: July 10, 2007, 01:56:27 PM »

Try setting the ingame audio (music and sound effects) to 100% if that fixes the issue than it is this bug https://bugs.launchpad.net/ubuntu/+source/alsa-lib/+bug/66483 and be sure to file a bug report with your respective release / distro if that fixes the issue.

If not report back.
Logged

ALucas
Nub


Cakes 0
Posts: 41


« Reply #12 on: July 10, 2007, 02:15:29 PM »

it sounds like it is that bug indeed, however I'm running feisty so I can't test
Quote
Also affects Feisty, however new information shows that the sound may still snap and pop even when the SDL mixer volume is set to 100%.
Logged
dmn_clown
Posts a lot
*

Cakes 1
Posts: 1324


« Reply #13 on: July 10, 2007, 03:24:15 PM »

Actually you can, its possible that the bug wasn't fixed in Feisty and also possible that Open SuSe used the same code with the same bug in sdl-mixer, AFAICT there is nothing wrong with ingame audio, and the only thing that was changed in the audio from ioq3 was the default sound and we _want_ that changed so the game doesn't have an annoying beeping noise every time a missing wav file is found.
Logged

ALucas
Nub


Cakes 0
Posts: 41


« Reply #14 on: July 10, 2007, 05:01:24 PM »

Actually what I meant is that the page says on feisty it cracks whether you have it maxed out or not.

However, there's another fix mentioned in the comments which did work:
https://bugs.launchpad.net/ubuntu/+source/alsa-lib/+bug/66483/comments/24
(if you don't have an .asoundrc file, just create one in your home dir)

that will break your PCM though, so you'll have to use something else for volume control (I have a Front channel for that)
« Last Edit: July 10, 2007, 05:39:20 PM by ALucas » Logged
dmn_clown
Posts a lot
*

Cakes 1
Posts: 1324


« Reply #15 on: July 10, 2007, 06:57:09 PM »

Do either of these fix the issue on SuSe?
Logged

Leopold
Nub


Cakes 1
Posts: 23


« Reply #16 on: July 11, 2007, 06:28:32 AM »

Do either of these fix the issue on SuSe?
Fiddling with .asoundrc as mentioned in the post above fixes it here on SuSE.



Logged
Mingmeijun
Nub


Cakes 0
Posts: 11



WWW
« Reply #17 on: July 11, 2007, 08:58:39 AM »

Hey, everytime I try to configure the sound quality, the game quits... e_e Does some of you know what I can do to fix this? I'm running Ubuntu 6.10.
Logged
dmn_clown
Posts a lot
*

Cakes 1
Posts: 1324


« Reply #18 on: July 11, 2007, 09:57:28 AM »

Hey, everytime I try to configure the sound quality, the game quits... e_e Does some of you know what I can do to fix this? I'm running Ubuntu 6.10.

run the game from the command line and post the output here.
Logged

Mingmeijun
Nub


Cakes 0
Posts: 11



WWW
« Reply #19 on: July 11, 2007, 10:57:24 AM »

monica@tiger:~$ spill/openarena-0.7.0/ioquake3.i386
ioQ3 1.33+oa linux-i386 Jul  7 2007
----- FS_Startup -----
Current search path:
/home/monica/.openarena/baseoa/oadm17ishbeta2.pk3 (5 files)
/home/monica/.openarena/baseoa/dmcube0.pk3 (7 files)
/home/monica/.openarena/baseoa/bal3dm2.pk3 (33 files)
/home/monica/.openarena/baseoa
/home/monica/spill/openarena-0.7.0/baseoa/pak6-misc.pk3 (191 files)
/home/monica/spill/openarena-0.7.0/baseoa/pak5-TA.pk3 (11 files)
/home/monica/spill/openarena-0.7.0/baseoa/pak4-textures.pk3 (1496 files)
/home/monica/spill/openarena-0.7.0/baseoa/pak3-music.pk3 (9 files)
/home/monica/spill/openarena-0.7.0/baseoa/pak2-players.pk3 (620 files)
/home/monica/spill/openarena-0.7.0/baseoa/pak2-players-mature.pk3 (171 files)
/home/monica/spill/openarena-0.7.0/baseoa/pak1-maps.pk3 (73 files)
/home/monica/spill/openarena-0.7.0/baseoa/pak0.pk3 (926 files)
/home/monica/spill/openarena-0.7.0/baseoa

----------------------
3542 files in pk3 files
execing default.cfg
execing q3config.cfg
couldn't exec autoexec.cfg
Hunk_Clear: reset the hunk ok
----- Client Initialization -----
Couldn't read q3history.
----- Initializing Renderer ----
-------------------------------
QKEY found.
----- Client Initialization Complete -----
----- R_Init -----

------- Input Initialization -------
Joystick is not active.
------------------------------------
...loading libGL.so.1:
Calling SDL_Init(SDL_INIT_VIDEO)...
SDL_Init(SDL_INIT_VIDEO) passed.
Initializing OpenGL display
...setting mode 11: 856 480
libGL warning: 3D driver claims to not support visual 0x5b
Using 8/8/8 Color bits, 24 depth, 0 stencil display.
GL_RENDERER: Mesa DRI Intel(R) 915GM 20050225
Initializing OpenGL extensions
...GL_S3_s3tc not found
...ignoring GL_EXT_texture_env_add
...using GL_ARB_multitexture
...using GL_EXT_compiled_vertex_array
...ignoring GL_EXT_texture_filter_anisotropic

GL_VENDOR: Tungsten Graphics, Inc
GL_RENDERER: Mesa DRI Intel(R) 915GM 20050225
GL_VERSION: 1.3 Mesa 6.5.1
GL_EXTENSIONS: GL_ARB_depth_texture GL_ARB_fragment_program GL_ARB_imaging GL_ARB_multisample GL_ARB_multitexture GL_ARB_point_parameters GL_ARB_shadow GL_ARB_texture_border_clamp GL_ARB_texture_compression GL_ARB_texture_cube_map GL_ARB_texture_env_add GL_ARB_texture_env_combine GL_ARB_texture_env_dot3 GL_ARB_texture_mirrored_repeat GL_ARB_texture_rectangle GL_ARB_transpose_matrix GL_ARB_vertex_buffer_object GL_ARB_vertex_program GL_ARB_window_pos GL_EXT_abgr GL_EXT_bgra GL_EXT_blend_color GL_EXT_blend_equation_separate GL_EXT_blend_func_separate GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_clip_volume_hint GL_EXT_cull_vertex GL_EXT_compiled_vertex_array GL_EXT_convolution GL_EXT_copy_texture GL_EXT_draw_range_elements GL_EXT_fog_coord GL_EXT_histogram GL_EXT_multi_draw_arrays GL_EXT_packed_pixels GL_EXT_point_parameters GL_EXT_polygon_offset GL_EXT_rescale_normal GL_EXT_secondary_color GL_EXT_separate_specular_color GL_EXT_shadow_funcs GL_EXT_stencil_wrap GL_EXT_subtexture GL_EXT_texture GL_EXT_texture3D GL_EXT_texture_edge_clamp GL_EXT_texture_env_add GL_EXT_texture_env_combine GL_EXT_texture_env_dot3 GL_EXT_texture_filter_anisotropic GL_EXT_texture_lod_bias GL_EXT_texture_object GL_EXT_texture_rectangle GL_EXT_vertex_array GL_3DFX_texture_compression_FXT1 GL_APPLE_client_storage GL_APPLE_packed_pixels GL_ATI_blend_equation_separate GL_IBM_rasterpos_clip GL_IBM_texture_mirrored_repeat GL_INGR_blend_func_separate GL_MESA_pack_invert GL_MESA_ycbcr_texture GL_MESA_window_pos GL_NV_blend_square GL_NV_light_max_exponent GL_NV_texture_rectangle GL_NV_texgen_reflection GL_NV_vertex_program GL_NV_vertex_program1_1 GL_OES_read_format GL_SGI_color_matrix GL_SGI_color_table GL_SGIS_generate_mipmap GL_SGIS_texture_border_clamp GL_SGIS_texture_edge_clamp GL_SGIS_texture_lod GL_SGIX_depth_texture GL_SUN_multi_draw_arrays
GL_MAX_TEXTURE_SIZE: 2048
GL_MAX_ACTIVE_TEXTURES_ARB: 8

PIXELFORMAT: color(24-bits) Z(24-bit) stencil(0-bits)
MODE: 11, 856 x 480 windowed hz:N/A
GAMMA: hardware w/ 0 overbright bits
CPU:
rendering primitives: single glDrawElements
texturemode: GL_LINEAR_MIPMAP_LINEAR
picmip: 0
texture bits: 32
multitexture: enabled
compiled vertex arrays: enabled
texenv add: disabled
compressed textures: disabled
HACK: using vertex lightmap approximation
Initializing Shaders
...loading 'scripts/bal3corp.shader'
...loading 'scripts/player_angelyss.shader'
...loading 'scripts/player_arachna.shader'
...loading 'scripts/player_ayumi.shader'
...loading 'scripts/player_gargoyle.shader'
...loading 'scripts/player_kyonshi.shader'
...loading 'scripts/player_liz.shader'
...loading 'scripts/player_major.shader'
...loading 'scripts/player_merman.shader'
...loading 'scripts/player_penguin.shader'
...loading 'scripts/player_sergei.shader'
...loading 'scripts/player_skelebot.shader'
...loading 'scripts/player_tony.shader'
...loading 'scripts/player_tux.shader'
...loading 'scripts/ammo.shader'
...loading 'scripts/beams.shader'
...loading 'scripts/clown.shader'
...loading 'scripts/clown2.shader'
...loading 'scripts/common.shader'
...loading 'scripts/ctf.shader'
...loading 'scripts/czest.shader'
...loading 'scripts/decals.shader'
...loading 'scripts/details.shader'
...loading 'scripts/detailtest.shader'
...loading 'scripts/evil8.shader'
...loading 'scripts/flaretest.shader'
...loading 'scripts/iconsprites.shader'
...loading 'scripts/islandctf.shader'
...loading 'scripts/item_health.shader'
...loading 'scripts/liquid_lavas.shader'
...loading 'scripts/liquid_water.shader'
...loading 'scripts/mc-oa.shader'
...loading 'scripts/newmenu.shader'
...loading 'scripts/nki.shader'
...loading 'scripts/oaflares.shader'
...loading 'scripts/oagfx.shader'
...loading 'scripts/oalite.shader'
...loading 'scripts/oanew.shader'
...loading 'scripts/oapowerups.shader'
...loading 'scripts/oasfx.shader'
...loading 'scripts/oasky.shader'
...loading 'scripts/oa_fogs.shader'
...loading 'scripts/oquartz.shader'
...loading 'scripts/q3map2_void3.shader'
...loading 'scripts/q3map2_void4.shader'
...loading 'scripts/qtex.shader'
...loading 'scripts/shells.shader'
...loading 'scripts/suction.shader'
...loading 'scripts/teleporter.shader'
...loading 'scripts/temporary.shader'
...loading 'scripts/terrain.shader'
...loading 'scripts/weaponhits.shader'
...loading 'scripts/weaponry.shader'
...loading 'scripts/weapon_chaingun.shader'
...loading 'scripts/weapon_gauntlet.shader'
...loading 'scripts/weapon_grenadelauncher.shader'
...loading 'scripts/weapon_machinegun.shader'
...loading 'scripts/weapon_muzzles.shader'
...loading 'scripts/weapon_newmuzzle.shader'
...loading 'scripts/weapon_plasma.shader'
...loading 'scripts/weapon_railgun.shader'
...loading 'scripts/weapon_rocketlauncher.shader'
...loading 'scripts/weapon_shotgun.shader'
----- finished R_Init -----
------ Initializing Sound ------
Allocated 96 sources.
OpenAL info:
  Vendor:     OpenAL Community
  Version:    1.1
  Renderer:   Software
  Extensions: ALC_EXT_capture AL_EXT_capture AL_EXT_vorbis AL_EXT_MP3 AL_LOKI_quadriphonic AL_LOKI_play_position AL_LOKI_WAVE_format AL_LOKI_IMA_ADPCM_format AL_LOKI_buffer_data_callback ALC_LOKI_audio_channel
Sound initialization successful.
--------------------------------
Loading vm file vm/ui.qvm...
...which has vmMagic VM_MAGIC_VER2
Loading 1106 jump table targets
VM file ui compiled to 596351 bytes of code
ui loaded in 1373216 bytes on the hunk
34 arenas parsed
1 arenas ignored to make count divisible by 4
23 bots parsed
--- Common Initialization Complete ---
Opening IP socket: localhost:27960
Hostname: tiger
IP: 127.0.1.1
Started tty console (use +set ttycon 0 to disable)
------ Initializing Sound ------
Received signal 11, exiting...
----- CL_Shutdown -----
RE_Shutdown( 1 )
-----------------------
Shutdown tty console
monica@tiger:~$
Logged
UrKraFt
Nub


Cakes 0
Posts: 14



« Reply #20 on: July 11, 2007, 11:30:12 AM »

I have the 6.06 Ubuntu version and I have never had any problem with the game O_o
Logged



dmn_clown
Posts a lot
*

Cakes 1
Posts: 1324


« Reply #21 on: July 11, 2007, 11:49:13 AM »

http://www.bitwizard.nl/sig11/

Do you have write permissions to q3config.cfg?  Is your system overheating?  Bad RAM?

The first thing that I would test would be from your ~/$ prompt: 
Code:
cd .openarena/baseoa/
ls -l q3config.cfg

you should see something similar to this:
Quote
-rw-r----- <USERNAME> <USERNAME>

in the permissions part of the output, if not change the permissions so that you have read-write access to the file.  If that didn't work reboot and try the game from a fresh boot with more memory free.  If that didn't work, you have a hardware problem or a bad driver.
Logged

Mingmeijun
Nub


Cakes 0
Posts: 11



WWW
« Reply #22 on: July 12, 2007, 09:21:32 AM »

It worked! Thank you!
Logged
Artemis3
Nub


Cakes 0
Posts: 7


« Reply #23 on: July 14, 2007, 12:50:26 PM »

This might be related or not with OA, but its certainly the case with other sdl games.

To test, install Battle for Wesnoth and listen to the opening theme. If it sounds all "krispy" Wink it is the "alsa bug".

The workaround: install the package libsdl1.2debian-oss. This will remove libsdl1.2debian-alsa, no problem.

For some reason, using the oss emulation solves the issue. But its not the game's fault.
Logged
ALucas
Nub


Cakes 0
Posts: 41


« Reply #24 on: July 14, 2007, 01:39:21 PM »

this might be a nicer workaround than the hacked asoundrc

I'll definately try it next time I start oa
Logged
Pages: [1]
  Print  
 
Jump to: