View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0000602 | FSSCP | cutscenes | public | 2005-10-25 14:56 | 2006-11-01 04:34 |
| Reporter | Taz | Assigned To | taylor | ||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | resolved | Resolution | fixed | ||
| Summary | 0000602: Sound distorted with FS2 cutscenes, not with FS1 | ||||
| Description | I've installed fs2_open on my Linux 2.6.13.2 Slackware 10.2 system and I've been playing through the FreeSpace 1 campaign (from the FSPort project) without much problems. The cutscene movies played just fine. However, when playing the FS2 cutscenes with fs2_open the sound is distorted. Strange, because I think they are stored in the same MVE format. Apparently AVI support isn't working in the *nix version of fs2_open, because I've tried placing the AVI's in the same folder but then they won't play. | ||||
| Tags | No tags attached. | ||||
|
|
Related to http://lore.maxgaming.net/~scp/mantis/bug_view_advanced_page.php?bug_id=0000601, which says "MVE won't work, period." The port probably included AVI, and IIRC, with loading order, MVE >AVI, so you need to move the MVE before the AVI will work. And you _might_ need a special tbl too, but I haven't tried that in some time. I'm not too sure on the sound thing, I'm not a *nix user, but IIRC there was something about using CVS OpenAL, because it might be too new. |
|
|
Hmm, about the AVI stuff. I've moved the MVE files out of the FreeSpace 2 directory (moved them to my home dir) and left the AVI's there, but then it won't play any movies. So I don't think it has anything to do with the loading order. You are referring to the CVS version, but I'm not using the CVS version, I'm using the 3.6.7 version. |
|
|
MVE is all that works in the Linux version. AVI support won't hit until late November. As far as the sound goes, it's a known issue with the FS1 movies and OpenAL. Not really a decoder problem (if it's the same problem). Usually you can get it to work by adding "SoundSampleRate=44100" to the [General] section of ~/.fs2_open/fs2_open.ini. See if that helps. If not report back and I'll have a quick look at the code. I never play-tested FS1 movies in the FS2_Open version of the MVE player so this could be a bug that slipped through. |
|
2005-10-25 19:21
|
fs2_open.log (12,803 bytes)
==========================================================================
DEBUG SPEW: No debug_filter.cfg found, so only general, error, and warning
categories can be shown and no debug_filter.cfg info will be saved.
==========================================================================
Opened /home/jmezach/.fs2_open/data/fs2_open.log OK
REGISTRY: os_config_read_string in osapi/osregistry_unix.cpp at line 445, thread 31816 - section = "(null)", name = "VideocardFs2open", default value: "(null)"
REGISTRY: os_config_read_string in osapi/osregistry_unix.cpp at line 445, thread 31816 - section = "(null)", name = "Language", default value: "(null)"
AutoLang: Language auto-detection successful...
Setting language to English
REGISTRY: os_config_read_string in osapi/osregistry_unix.cpp at line 445, thread 31816 - section = "(null)", name = "Soundcard", default value: "(null)"
soundcard = <nothing>
OpenAL INITED!
Vendor : J. Valenzuela
Renderer : Software
Version : 0.0.8
Extensions :
AL_EXT_vorbis
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
Failed to init speech
REGISTRY: os_config_read_string in osapi/osregistry_unix.cpp at line 445, thread 31816 - section = "(null)", name = "VideocardFs2open", default value: "(null)"
GR_CPU: Family 0, MMX=Yes
Initializing opengl graphics device...
Res:1024x768x16
Actual SDL Video values = R: 8, G: 8, B: 8, depth: 24, double-buffer: 1
OPENGL INITED!
Vendor : NVIDIA Corporation
Renderer : GeForce 6600/AGP/SSE/3DNOW!
Version : 2.0.0 NVIDIA 76.76
Extensions :
GL_ARB_color_buffer_float
GL_ARB_depth_texture
GL_ARB_draw_buffers
GL_ARB_fragment_program
GL_ARB_fragment_program_shadow
GL_ARB_fragment_shader
GL_ARB_half_float_pixel
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_float
GL_ARB_texture_mirrored_repeat
GL_ARB_texture_non_power_of_two
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_ATI_draw_buffers
GL_ATI_texture_float
GL_ATI_texture_mirror_once
GL_S3_s3tc
GL_EXT_texture_env_add
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_compiled_vertex_array
GL_EXT_Cg_shader
GL_EXT_depth_bounds_test
GL_EXT_draw_range_elements
GL_EXT_fog_coord
GL_EXT_framebuffer_object
GL_EXT_multi_draw_arrays
GL_EXT_packed_pixels
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_stencil_two_side
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_mirror_clamp
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_float_buffer
GL_NV_fog_distance
GL_NV_fragment_program
GL_NV_fragment_program_option
GL_NV_fragment_program2
GL_NV_half_float
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_primitive_restart
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_expand_normal
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_NV_vertex_program2
GL_NV_vertex_program2_option
GL_NV_vertex_program3
GL_NVX_conditional_render
GL_SGIS_generate_mipmap
GL_SGIS_texture_lod
GL_SGIX_depth_texture
GL_SGIX_shadow
GL_SUN_slice_accum
Found extension "GL_EXT_fog_coord", and function "glFogCoordfEXT()".
Found extension "GL_EXT_fog_coord", and function "glFogCoordPointerEXT()".
Found extension "GL_ARB_multitexture", and function "glMultiTexCoord2fARB()".
Found extension "GL_ARB_multitexture", and function "glActiveTextureARB()".
Found extension "GL_ARB_texture_env_add".
Found extension "GL_ARB_texture_compression", and function "glCompressedTexImage2D()".
Found extension "GL_EXT_texture_compression_s3tc".
Found extension "GL_EXT_texture_filter_anisotropic".
Found extension "GL_NV_fog_distance".
Found extension "GL_EXT_secondary_color", and function "glSecondaryColor3fvEXT()".
Found extension "GL_EXT_secondary_color", and function "glSecondaryColor3ubvEXT()".
Found extension "GL_ARB_texture_env_combine".
Found extension "GL_EXT_texture_env_combine".
Found extension "GL_EXT_compiled_vertex_array", and function "glLockArraysEXT()".
Found extension "GL_EXT_compiled_vertex_array", and function "glUnlockArraysEXT()".
Found extension "GL_ARB_transpose_matrix", and function "glLoadTransposeMatrixfARB()".
Found extension "GL_ARB_transpose_matrix", and function "glMultTransposeMatrixfARB()".
Found extension "GL_ARB_multitexture", and function "glClientActiveTextureARB()".
Found extension "GL_EXT_draw_range_elements", and function "glDrawRangeElements()".
Found extension "GL_ARB_texture_mirrored_repeat".
Found extension "GL_ARB_texture_non_power_of_two".
Found extension "GL_ARB_vertex_buffer_object", and function "glBindBufferARB()".
Found extension "GL_ARB_vertex_buffer_object", and function "glDeleteBuffersARB()".
Found extension "GL_ARB_vertex_buffer_object", and function "glGenBuffersARB()".
Found extension "GL_ARB_vertex_buffer_object", and function "glBufferDataARB()".
Max texture units: 4
Max elements vertices: 4096
Max elements indices: 4096
Max texture size: 4096x4096
Texture compression enabled: YES
Size of bitmap info = 760 KB
Size of bitmap extra info = 52 bytes
ANI cursorweb with size 24x24 (25.0% wasted)
REGISTRY: os_config_read_string in osapi/osregistry_unix.cpp at line 445, thread 31816 - section = "(null)", name = "GammaD3D", default value: "1.0"
REGISTRY: os_config_read_string in osapi/osregistry_unix.cpp at line 445, thread 31816 - section = "PXO", name = "Login", default value: "(null)"
REGISTRY: os_config_read_string in osapi/osregistry_unix.cpp at line 445, thread 31816 - section = "PXO", name = "Password", default value: "(null)"
REGISTRY: os_config_read_string in osapi/osregistry_unix.cpp at line 445, thread 31816 - section = "PXO", name = "SquadName", default value: "(null)"
Using high memory settings...
Wokka! Error opening file (interface.tbl)!
Unable to parse interface.tbl!ANI 2_radar1 with size 170x170 (33.6% wasted)
REGISTRY: os_config_read_string in osapi/osregistry_unix.cpp at line 445, thread 31816 - section = "(null)", name = "ConnectionSpeed", default value: "Fast"
ML Freespace Multi Log - Opened Tue, Oct 25, 2005 at 09:43PM
----
----
----
Joystick INITTED!
Using 'Microsoft �ideWinder Force Feedback 2 Joystick' as the primary joystick:
Number of axes: 14
Number of buttons: 9
Number of hats: 0
Number of trackballs: 0
Current soundtrack set to -1 in event_music_reset_choices
Wokka! Error opening file (armor.tbl)!
Unable to parse armor.tbl!couldn't find pcx for Subach HL-7
BMPMAN: Found EFF (Subach_AniBitmap.eff) with 6 frames at 5 fps.
found ani Subach_AniBitmap for Subach HL-7, with 6 frames and 5 fps
couldn't find pcx for Subach HL-D
found ani Subach_AniBitmap for Subach HL-D, with 6 frames and 5 fps
couldn't find particle pcx for Akheton SDG
found ani Akheton_Particle for Akheton SDG, with 11 frames and 25 fps
couldn't find particle pcx for Morning Star
found ani Morningstar_Particle for Morning Star, with 21 frames and 10 fps
couldn't find particle pcx for MorningStar D
found ani Morningstar_Particle for MorningStar D, with 21 frames and 10 fps
couldn't find pcx for Prometheus R
BMPMAN: Found EFF (PrometheusR_AniBitmap.eff) with 12 frames at 5 fps.
found ani PrometheusR_AniBitmap for Prometheus R, with 12 frames and 5 fps
couldn't find pcx for Prometheus S
BMPMAN: Found EFF (Prometheus_AniBitmap.eff) with 12 frames at 5 fps.
found ani Prometheus_AniBitmap for Prometheus S, with 12 frames and 5 fps
couldn't find pcx for Prometheus D
found ani Prometheus_AniBitmap for Prometheus D, with 12 frames and 5 fps
couldn't find particle pcx for Maxim
found ani Maxim_Particle for Maxim, with 21 frames and 10 fps
couldn't find particle pcx for Maxim D
found ani Maxim_Particle for Maxim D, with 21 frames and 10 fps
couldn't find pcx for UD-8 Kayser
BMPMAN: Found EFF (Kayser_AniBitmap.eff) with 4 frames at 5 fps.
found ani Kayser_AniBitmap for UD-8 Kayser, with 4 frames and 5 fps
couldn't find particle pcx for UD-8 Kayser
ANI Kayser_Particle with size 80x80 (37.5% wasted)
found ani Kayser_Particle for UD-8 Kayser, with 7 frames and 30 fps
couldn't find pcx for UD-D Kayser
found ani Kayser_AniBitmap for UD-D Kayser, with 4 frames and 5 fps
couldn't find particle pcx for UD-D Kayser
found ani Kayser_Particle for UD-D Kayser, with 7 frames and 30 fps
couldn't find pcx for Circe
found ani Circe_Bitmap for Circe, with 20 frames and 15 fps
couldn't find particle pcx for Lamprey
ANI Lamprey_Particle with size 86x86 (32.8% wasted)
found ani Lamprey_Particle for Lamprey, with 9 frames and 20 fps
couldn't find pcx for Shivan Light Laser
BMPMAN: Found EFF (Alouqua_AniBitmap.eff) with 6 frames at 20 fps.
dds: Couldn't open 'Alouqua_AniBitmap_0003' -- error description File not found
EFF: Unable to load all frames for 'Alouqua_AniBitmap.eff', stopping at #3
found ani Alouqua_AniBitmap for Shivan Light Laser, with 3 frames and 20 fps
couldn't find particle pcx for Shivan Heavy Laser
found ani Shivan_Laser_Stream for Shivan Heavy Laser, with 11 frames and 35 fps
couldn't find particle pcx for Shivan Mega Laser
found ani Shivan_Laser_Stream for Shivan Mega Laser, with 11 frames and 35 fps
Wokka! Error opening file (difficulty.tbl)!
Unable to parse 'difficulty.tbl'! Code = 5.
Loaded modular ship table file ships.tbl
ML 10/25 21:43:36~ psnet_get_ip() reports IP : 0.0.0.0
ML 10/25 21:43:36~ Receive buffer set to 8192
ML 10/25 21:43:36~ Send buffer set to 8192
loading animated cursor "cursor"
ANI cursor with size 24x24 (25.0% wasted)
Ships.tbl is : VALID
Weapons.tbl is : VALID
cfile_init() took 28
MVE: Buffer underun (First is normal)
Got event GS_EVENT_TEAM_SELECT (49) in state NOT A VALID STATE (0)
REGISTRY: os_config_read_string in osapi/osregistry_unix.cpp at line 445, thread 31816 - section = "(null)", name = "LastPlayer", default value: "(null)"
ANI cursor.ani with size 24x24 (25.0% wasted)
Got event GS_EVENT_MAIN_MENU (0) in state GS_STATE_VIEW_CUTSCENES (38)
Someone passed an extension to bm_load for file 'GTA.pcx'
Wokka! Error opening file (Silentthreat.fc2)!
Error parsing 'Silentthreat.fc2'
Error code = 5.
ANI 2_mainwalk.ani with size 477x477 (6.8% wasted)
ANI 2_mainflyby.ani with size 189x189 (26.2% wasted)
ANI 2_maincrane.ani with size 116x116 (9.4% wasted)
ANI 2_mainexit.ani with size 174x174 (32.0% wasted)
ANI 2_mainbarracks.ani with size 158x158 (38.3% wasted)
ANI 2_mainreadyroom.ani with size 145x145 (43.4% wasted)
ANI 2_maintechroom.ani with size 119x119 (7.0% wasted)
ANI 2_mainoptions.ani with size 206x206 (19.5% wasted)
ANI 2_maincampaign.ani with size 190x190 (25.8% wasted)
Got event GS_EVENT_QUIT_GAME (5) in state GS_STATE_MAIN_MENU (1)
ML
----
----
----
Freespace Multi Log - Closing on Tue, Oct 25, 2005 at 09:43PM
opengl_minimize
STUB: dscap_close in sound/ds.cpp at line 4073, thread 31816
Freeing all existing models...
|
|
|
The problem isn't with the FS1 movies, its with the FS2 movies. The FS1 movies play fine, including sound. I tried it anyway though, but it didn't change anything. The FS1 movies still play fine, the FS2 ones don't. I've rebuild the 3.6.7 version with debugging and attached the log file I got. |
|
|
Appears that I'm quite a bit off my game today. :) I read it right but still wrote it wrong. It is the FS2 movies which have the known audio problem, they use a higher frequency (44100) than the FS1 movies and if OpenAL isn't set to at least match it then there will be a static distortion in the audio playback. I assumed that's the problem you had but if forcing the sample rate didn't fix it then it must be something else. I did test the FS2 movies and they worked fine so I don't think there is a general problem here but something is obviously wrong. I don't see anything abnormal in the debug log either. Is the distortion that you are getting just some static? If you have an ~/.openalrc please post it's contents. |
|
|
Hmm, I see. Anyway, I had a look at my ~/.openalrc and it has the following: (define speaker-num 2) (define devices '(alsa)) (define alsa-out-device dmixer) However, it doesn't seem to be using ALSA at all, because if I have amaroK playing and start FS2_Open it says that /dev/[sound/]dsp is in use, so I'm not sure if the file is actually used. Just to be sure, here's my ~/.fs2_open/fs2_open.ini: [General] SoundSampleRate=44100 [Default] VideocardFs2open=OGL -(1024x768)x16 bit LastPlayer=Commando JS [PXO] FS2OpenPXO=1 Login=Taz Password=***** SquadName= |
|
|
""SoundSampleRate=44100" to the [General]" See, I'm not having a very good day so far. ;) s/General/Default/ Told you the wrong section to put the option to force the sample rate in which is probably why it didn't work. Move it to [Default] and try it again. I'm going to actually make 44100 the init default if not specified in the new code. Hopefully that's all it is for your problem though. If it still doesn't work let me know. |
|
|
Yes, that fixed the problem. Sound is fine now. Thanks for fixing this, now I can finally play FreeSpace 2 the way it is meant to be played :). I was wondering though if there's any documentation on the options in that ini file, because I couldn't find any on the Wiki. |
|
|
Cool. I'll make it the default when the MVE player goes more public. The FS1 movies use 22050 Hz which is what what OpenAL will default to using. That's fine for FS1 but it's half of what's needed for the FS2 movies to play properly. That little tidbit of info took a bit too long for me the figure out the first time I experienced the audio static. :) As far as docs on the ini options go, there aren't any. The format and options in the ini file are going to change in the coming months and then there will really be something to document since most of the current cmdline options will move to the ini file instead. But other than that sound option there really isn't anything else that doesn't get created automatically. There are some things for speech, which doesn't work under Linux yet, and a couple of OpenGL options, but those are Windows only since Windows can't figure out the simple stuff and needs it's hand held sometimes. |
|
|
Not actually a true bug so it's not worth resolving. Solution will be properly addressed in new OpenAL code. Closered. |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2005-10-25 14:56 | Taz | New Issue | |
| 2005-10-25 18:21 | kasperl | Note Added: 0003648 | |
| 2005-10-25 19:07 | Taz | Note Added: 0003650 | |
| 2005-10-25 19:14 | taylor | Note Added: 0003652 | |
| 2005-10-25 19:14 | taylor | Status | new => assigned |
| 2005-10-25 19:14 | taylor | Assigned To | => taylor |
| 2005-10-25 19:21 | Taz | File Added: fs2_open.log | |
| 2005-10-25 19:21 | Taz | Note Added: 0003653 | |
| 2005-10-25 19:43 | taylor | Note Added: 0003654 | |
| 2005-10-25 19:53 | Taz | Note Added: 0003655 | |
| 2005-10-25 20:41 | taylor | Note Added: 0003656 | |
| 2005-10-26 11:03 | Taz | Note Added: 0003662 | |
| 2005-10-26 11:17 | taylor | Note Added: 0003663 | |
| 2005-10-26 11:18 | taylor | Status | assigned => closed |
| 2005-10-26 11:18 | taylor | Note Added: 0003664 | |
| 2006-11-01 04:34 | taylor | Status | closed => resolved |
| 2006-11-01 04:34 | taylor | Resolution | open => fixed |