Jump to content

Doom3 Sound problems


Smorgje
 Share

Recommended Posts

I finally have doom3 working again, but now the sound is messed up and it's slowing down the game too.

Here is the output of doom3:

$ ./doom3
DOOM 1.1.1286 linux-x86 Nov 24 2004 17:56:04
GetLocalAddress failed: gethostbyname failed: localhost host not found
------ Initializing File System ------
Loaded pk4 /home/mjepson/games/doom-3/base/game00.pk4 with checksum 0x7dafc4d4
Loaded pk4 /home/mjepson/games/doom-3/base/game01.pk4 with checksum 0x16cf3b8a
Loaded pk4 /home/mjepson/games/doom-3/base/pak000.pk4 with checksum 0x28d208f1
Loaded pk4 /home/mjepson/games/doom-3/base/pak001.pk4 with checksum 0x40244be0
Loaded pk4 /home/mjepson/games/doom-3/base/pak002.pk4 with checksum 0xc51ecdcd
Loaded pk4 /home/mjepson/games/doom-3/base/pak003.pk4 with checksum 0xcd79d028
Loaded pk4 /home/mjepson/games/doom-3/base/pak004.pk4 with checksum 0x765e4f8b
Loaded pk4 /home/mjepson/games/doom-3/base/pak005.pk4 with checksum 0x8ffc3621
Current search path:
/home/mjepson/.doom3/base
/home/mjepson/games/doom-3/base
/home/mjepson/games/doom-3/base/pak005.pk4 (63 files)
/home/mjepson/games/doom-3/base/pak004.pk4 (5137 files)
/home/mjepson/games/doom-3/base/pak003.pk4 (4676 files)
/home/mjepson/games/doom-3/base/pak002.pk4 (6120 files)
/home/mjepson/games/doom-3/base/pak001.pk4 (8972 files)
/home/mjepson/games/doom-3/base/pak000.pk4 (2698 files)
/home/mjepson/games/doom-3/base/game01.pk4 (2 files)
/home/mjepson/games/doom-3/base/game00.pk4 (2 files)
game DLL: 0x0 in pak: 0x0
file system initialized.
--------------------------------------
----- Initializing Decls -----
------------------------------
------- Initializing renderSystem --------
using ARB renderSystem
renderSystem initialized.
--------------------------------------
5151 strings read from strings/english.lang
Couldn't open journal files
execing editor.cfg
execing default.cfg
execing DoomConfig.cfg
couldn't exec autoexec.cfg
5151 strings read from strings/english.lang
----- Initializing Sound System ------
sound system initialized.
--------------------------------------
----- R_InitOpenGL -----
Setup X display connection
dlopen(libGL.so.1)
Initializing OpenGL display
Using XFree86-VidModeExtension Version 2.2
DGA DirectVideo Mouse (Version 2.0) initialized
Free86-VidModeExtension Activated at 640x480
Using 8/8/8 Color bits, 8 Alpha bits, 24 depth, 8 stencil display.
GL_RENDERER: GeForce4 Ti 4200 with AGP8X/AGP/SSE/3DNOW!
GL_EXTENSIONS: GL_ARB_depth_texture GL_ARB_imaging GL_ARB_multisample GL_ARB_multitexture GL_ARB_occlusion_query GL_ARB_point_parameters GL_ARB_point_sprite GL_ARB_shadow GL_ARB_shader_objects GL_ARB_shading_language_100 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_vertex_shader GL_ARB_window_pos GL_S3_s3tc GL_EXT_texture_env_add GL_EXT_abgr GL_EXT_bgra GL_EXT_blend_color GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_compiled_vertex_array GL_EXT_Cg_shader GL_EXT_draw_range_elements GL_EXT_fog_coord GL_EXT_multi_draw_arrays GL_EXT_packed_pixels GL_EXT_paletted_texture GL_EXT_pixel_buffer_object GL_EXT_point_parameters GL_EXT_rescale_normal GL_EXT_secondary_color GL_EXT_separate_specular_color GL_EXT_shadow_funcs GL_EXT_shared_texture_palette GL_EXT_stencil_wrap GL_EXT_texture3D GL_EXT_texture_compression_s3tc GL_EXT_texture_cube_map GL_EXT_texture_edge_clamp GL_EXT_texture_env_combine GL_EXT_texture_env_dot3 GL_EXT_texture_filter_anisotropic GL_EXT_texture_lod GL_EXT_texture_lod_bias GL_EXT_texture_object GL_EXT_vertex_array GL_HP_occlusion_test GL_IBM_rasterpos_clip GL_IBM_texture_mirrored_repeat GL_KTX_buffer_region GL_NV_blend_square GL_NV_copy_depth_to_color GL_NV_depth_clamp GL_NV_fence GL_NV_fog_distance GL_NV_light_max_exponent GL_NV_multisample_filter_hint GL_NV_occlusion_query GL_NV_packed_depth_stencil GL_NV_pixel_data_range GL_NV_point_sprite GL_NV_register_combiners GL_NV_register_combiners2 GL_NV_texgen_reflection GL_NV_texture_compression_vtc GL_NV_texture_env_combine4 GL_NV_texture_rectangle GL_NV_texture_shader GL_NV_texture_shader2 GL_NV_texture_shader3 GL_NV_vertex_array_range GL_NV_vertex_array_range2 GL_NV_vertex_program GL_NV_vertex_program1_1 GL_SGIS_generate_mipmap GL_SGIS_multitexture GL_SGIS_texture_lod GL_SGIX_depth_texture GL_SGIX_shadow GL_SUN_slice_accum

------- Input Initialization -------
XKB extension: compile time 0x1:0x0, runtime 0x1:0x0: OK
XKB extension present on server ( 0x1:0x0 )
------------------------------------
dlopen(libasound.so.2)
asoundlib version: 1.0.6
Alsa is available
------ Alsa Sound Initialization -----
opened Alsa PCM device default for playback
device buffer size: 5461 frames ( 21844 bytes )
allocated a mix buffer of 16384 bytes
--------------------------------------
...using GL_ARB_multitexture
...using GL_ARB_texture_env_combine
...using GL_ARB_texture_cube_map
...using GL_ARB_texture_env_dot3
...using GL_ARB_texture_env_add
X..GL_ARB_texture_non_power_of_two not found
...using GL_ARB_texture_compression
...using GL_EXT_texture_compression_s3tc
...using GL_EXT_texture_filter_anisotropic
  maxTextureAnisotropy: 8.000000
...using GL_1.4_texture_lod_bias
...using GL_EXT_shared_texture_palette
...using GL_EXT_texture3D
...using GL_EXT_stencil_wrap
...using GL_NV_register_combiners
X..GL_EXT_stencil_two_side not found
X..GL_ATI_separate_stencil not found
X..GL_ATI_fragment_shader not found
X..GL_ATI_text_fragment_shader not found
...using GL_ARB_vertex_buffer_object
...using GL_ARB_vertex_program
X..GL_ARB_fragment_program not found
X..EXT_depth_bounds_test not found
---------- R_NV20_Init ----------
---------------------------------
----------- R200_Init -----------
Not available.
---------- R_ARB2_Init ----------
Not available.
---------- R_Exp_Init -----------
Disabled at compile time.
---------------------------------
----- R_ReloadARBPrograms -----
glprogs/test.vfp
GL_PROGRAM_ERROR_STRING_ARB: line 66, column 22:  error: invalid texture coordinate reference
line 67, column 22:  error: invalid texture coordinate reference
line 68, column 22:  error: invalid texture coordinate reference
line 71, column 22:  error: invalid texture coordinate reference
line 72, column 22:  error: invalid texture coordinate reference
line 73, column 22:  error: invalid texture coordinate reference
line 79, column 22:  error: invalid texture coordinate reference
line 80, column 22:  error: invalid texture coordinate reference
line 81, column 22:  error: invalid texture coordinate reference

error at 1899:
4], defaultTexCoord;
DP4             result.texcoord[4].x, vertex.attrib[8], program.env[12];
DP4             result.texcoord[4].y, vertex.attrib[8], program.env[13];

# textures 5 takes the base coordinates by the texture matrix
MOV             result.texcoord[5], defaultTexCoord;
DP4             result.texcoord[5].x, vertex.attrib[8], program.env[14];
DP4             result.texcoord[5].y, vertex.attrib[8], program.env[15];

# calculate vector to viewer in R0
SUB             R0, program.env[5], vertex.position;

# put into texture space for TEX6
DP3             result.texcoord[6].x, vertex.attrib[9], R0;
DP3             result.texcoord[6].y, vertex.attrib[10], R0;
DP3             result.texcoord[6].z, vertex.attrib[11], R0;

# generate the vertex color, which can be 1.0, color, or 1.0 - color
# for 1.0 : env[16] = 0, env[17] = 1
# for color : env[16] = 1, env[17] = 0
# for 1.0-color : env[16] = -1, env[17] = 1
MAD             result.color, vertex.color, program.env[16], program.env[17];
#SWZ            result.color, R0, 1, 1, 1, 1;

ENDglprogs/test.vfp: GL_FRAGMENT_PROGRAM_ARB not available
glprogs/interaction.vfp
GL_PROGRAM_ERROR_STRING_ARB: line 66, column 22:  error: invalid texture coordinate reference
line 67, column 22:  error: invalid texture coordinate reference
line 68, column 22:  error: invalid texture coordinate reference
line 71, column 22:  error: invalid texture coordinate reference
line 72, column 22:  error: invalid texture coordinate reference
line 73, column 22:  error: invalid texture coordinate reference
line 93, column 22:  error: invalid texture coordinate reference
line 94, column 22:  error: invalid texture coordinate reference
line 95, column 22:  error: invalid texture coordinate reference

error at 1899:
4], defaultTexCoord;
DP4             result.texcoord[4].x, vertex.attrib[8], program.env[12];
DP4             result.texcoord[4].y, vertex.attrib[8], program.env[13];

# textures 5 takes the base coordinates by the texture matrix
MOV             result.texcoord[5], defaultTexCoord;
DP4             result.texcoord[5].x, vertex.attrib[8], program.env[14];
DP4             result.texcoord[5].y, vertex.attrib[8], program.env[15];

# texture 6's texcoords will be the halfangle in texture space

# calculate normalized vector to light in R0
SUB             R0, program.env[4], vertex.position;
DP3             R1, R0, R0;
RSQ             R1, R1.x;
MUL             R0, R0, R1.x;

# calculate normalized vector to viewer in R1
SUB             R1, program.env[5], vertex.position;
DP3             R2, R1, R1;
RSQ             R2, R2.x;
MUL             R1, R1, R2.x;

# add together to become the half angle vector in object space (non-normalized)
ADD             R0, R0, R1;

# put into texture space
DP3             result.texcoord[6].x, vertex.attrib[9], R0;
DP3             result.texcoord[6].y, vertex.attrib[10], R0;
DP3             result.texcoord[6].z, vertex.attrib[11], R0;

# generate the vertex color, which can be 1.0, color, or 1.0 - color
# for 1.0 : env[16] = 0, env[17] = 1
# for color : env[16] = 1, env[17] = 0
# for 1.0-color : env[16] = -1, env[17] = 1
MAD             result.color, vertex.color, program.env[16], program.env[17];

ENDglprogs/interaction.vfp: GL_FRAGMENT_PROGRAM_ARB not available
glprogs/bumpyEnvironment.vfp
GL_PROGRAM_ERROR_STRING_ARB: line 40, column 22:  error: invalid texture coordinate reference
line 45, column 22:  error: invalid texture coordinate reference
line 50, column 22:  error: invalid texture coordinate reference

error at 1202:
4].x, vertex.attrib[9], program.env[8];

# texture 3 gets the transformed tangent
DP3             result.texcoord[2].y, vertex.attrib[10], program.env[6];
DP3             result.texcoord[3].y, vertex.attrib[10], program.env[7];
DP3             result.texcoord[4].y, vertex.attrib[10], program.env[8];

# texture 4 gets the transformed tangent
DP3             result.texcoord[2].z, vertex.normal, program.env[6];
DP3             result.texcoord[3].z, vertex.normal, program.env[7];
DP3             result.texcoord[4].z, vertex.normal,program.env[8];

MOV             result.color, vertex.color;

ENDglprogs/bumpyEnvironment.vfp: GL_FRAGMENT_PROGRAM_ARB not available
glprogs/ambientLight.vfp
GL_PROGRAM_ERROR_STRING_ARB: line 74, column 22:  error: invalid texture coordinate reference
line 75, column 22:  error: invalid texture coordinate reference
line 76, column 22:  error: invalid texture coordinate reference
line 79, column 22:  error: invalid texture coordinate reference
line 80, column 22:  error: invalid texture coordinate reference
line 81, column 22:  error: invalid texture coordinate reference
line 84, column 22:  error: invalid texture coordinate reference
line 85, column 22:  error: invalid texture coordinate reference
line 86, column 22:  error: invalid texture coordinate reference

error at 2311:
4].x, vertex.attrib[9], program.env[20];
DP3             result.texcoord[4].y, vertex.attrib[10], program.env[20];
DP3             result.texcoord[4].z, vertex.attrib[11], program.env[20];

# put into texture space
DP3             result.texcoord[5].x, vertex.attrib[9], program.env[21];
DP3             result.texcoord[5].y, vertex.attrib[10], program.env[21];
DP3             result.texcoord[5].z, vertex.attrib[11], program.env[21];

# put into texture space
DP3             result.texcoord[6].x, vertex.attrib[9], program.env[22];
DP3             result.texcoord[6].y, vertex.attrib[10], program.env[22];
DP3             result.texcoord[6].z, vertex.attrib[11], program.env[22];

# generate the vertex color, which can be 1.0, color, or 1.0 - color
# for 1.0 : env[16] = 0, env[17] = 1
# for color : env[16] = 1, env[17] = 0
# for 1.0-color : env[16] = -1, env[17] = 1
MAD             result.color, vertex.color, program.env[16], program.env[17];

ENDglprogs/ambientLight.vfp: GL_FRAGMENT_PROGRAM_ARB not available
glprogs/shadow.vp
glprogs/R200_interaction.vp
GL_PROGRAM_ERROR_STRING_ARB: line 83, column 22:  error: invalid texture coordinate reference
line 84, column 22:  error: invalid texture coordinate reference
line 85, column 22:  error: invalid texture coordinate reference
line 88, column 22:  error: invalid texture coordinate reference
line 89, column 22:  error: invalid texture coordinate reference
line 90, column 22:  error: invalid texture coordinate reference

error at 2579:
4].x, vertex.texcoord[1], R0;
DP3             result.texcoord[4].y, vertex.texcoord[2], R0;
DP3             result.texcoord[4].z, vertex.texcoord[3], R0;

# texture 5's texcoords will be the unnormalized lightDir in tangent space
DP3             result.texcoord[5].x, vertex.texcoord[1], lightDir;
DP3             result.texcoord[5].y, vertex.texcoord[2], lightDir;
DP3             result.texcoord[5].z, vertex.texcoord[3], lightDir;

# generate the vertex color, which can be 1.0, color, or 1.0 - color
# for 1.0 : env[16] = 0, env[17] = 1
# for color : env[16] = 1, env[17] = 0
# for 1.0-color : env[16] = -1, env[17] = 1
MAD             result.color, vertex.color, program.env[16], program.env[17];

ENDglprogs/nv20_bumpAndLight.vp
glprogs/nv20_diffuseColor.vp
glprogs/nv20_specularColor.vp
glprogs/nv20_diffuseAndSpecularColor.vp
glprogs/environment.vfp
glprogs/environment.vfp: GL_FRAGMENT_PROGRAM_ARB not available
-------------------------------
using ARB_vertex_buffer_object memory
using NV20 renderSystem
found DLL in pak file: /home/mjepson/games/doom-3/base/game01.pk4/gamex86.so
copy gamex86.so to /home/mjepson/.doom3/base/gamex86.so
--------- Initializing Game ----------
gamename: baseDOOM-1
gamedate: Oct  4 2004
Initializing event system
...472 event definitions
Initializing class hierarchy
...141 classes, 381376 bytes for event callbacks
Initializing scripts
/proc/cpuinfo CPU frequency: 1734.22 MHz
Compiled 'removeInitialSplineAngles': 5251.3 ms
---------- Compile stats ----------

Memory usage:
    Strings: 79, 12592 bytes
 Statements: 67783, 1355660 bytes
  Functions: 2108, 250452 bytes
  Variables: 147320 bytes
   Mem used: 2476244 bytes
Static data: 2277552 bytes
  Allocated: 3283340 bytes
Thread size: 7068 bytes

...6 aas types
game initialized.
--------------------------------------
-------- Initializing Session --------
session initialized
--------------------------------------
--- Common Initialization Complete ---
terminal support enabled ( use +set in_tty 0 to disabled )
pid: 9592
496 MB System Memory
guessing video ram ( use +set sys_videoRam to force ) ..
found XNVCtrl extension 1.6
128 MB Video Memory
Async thread started
snd_pcm_writei short write: 4085 out of 4096
preparing audio device for output
snd_pcm_writei short write: 4085 out of 4096
idAudioHardwareALSA::Write: 4096 frames overflowed and dropped
snd_pcm_writei short write: 4085 out of 4096
idAudioHardwareALSA::Write: 4096 frames overflowed and dropped
<----cut---->
snd_pcm_writei short write: 989 out of 1024
idAudioHardwareALSA::Write: 4096 frames overflowed and dropped
snd_pcm_writei short write: 989 out of 1024
snd_pcm_writei short write: 989 out of 1024
snd_pcm_writei short write: 989 out of 1024
snd_pcm_writei short write: 989 out of 1024
idAudioHardwareALSA::Write: 4096 frames overflowed and dropped
snd_pcm_writei short write: 989 out of 1024
snd_pcm_writei short write: 989 out of 1024
--------- Game Map Shutdown ----------
--------------------------------------
Shutting down sound hardware
----------- Alsa Shutdown ------------
close pcm
dlclose
--------------------------------------
idRenderSystem::Shutdown()
------------ Game Shutdown -----------
--------- Game Map Shutdown ----------
--------------------------------------
Shutdown event system
--------------------------------------
shutdown terminal support

It seems it has a bit of a problem with my ALSA?

 

I have an onboard VIA8235 soundcard (AC '97 controller) which is working fine everywhere else. I can use multiplexing on it (something my son can't with his soundcard), running amaroK, MPlayer and Skype at the same time without any problems.

But still, it seems to have BIG problems with doom3...

I'm also not sure about the other errors about the textures, I don't know if I should just ignore these? The graphics look quite OK to me...

 

[moved from Software by spinynorman]

Link to comment
Share on other sites

But I did have it working with exactly the same ALSA-driver under mdk 10.0 ...

I even re-installed the program (I had it installed on my home-partition, so I didn't re-install it after installing mdk 10.1), but there still is no difference...

The linuxquestions.org information was about people with OSS-drivers wanting doom3 to work with it. It works natively with ALSA (as far as I understand anyway).

I've tried changing the sound-buffer in KDE, but that didn't change a thing. I even set the sound to NOT realtime priority, but that too had no effect.

I'm kinda lost out here... :help:

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...