1 (edited by uldics 2009-09-06 19:04:37)

Topic: [HELP] No sound, failed to open audio

I have lost all sound in teeworlds. Running Debian Squeeze (testing). Teeworlds 0.5.1. No sound also when running as root, so looks like not permissions problem. Here is my game stdout:

uldics@kaste:~$ teeworlds
[4aa35c96][engine]: running on unix-linux-ia32
[4aa35c96][engine]: arch is little endian
starting a loop to prevent screensaver wake up (htp://bugs.debian.org/480902)
[4aa35c96][binds]: bound f1 (282) = toggle_local_console
[4aa35c96][binds]: bound f2 (283) = toggle_remote_console
[4aa35c96][binds]: bound tab (9) = +scoreboard
[4aa35c96][binds]: bound f10 (291) = screenshot
[4aa35c96][binds]: bound a (97) = +left
[4aa35c96][binds]: bound d (100) = +right
[4aa35c96][binds]: bound space (32) = +jump
[4aa35c96][binds]: bound mouse1 (323) = +fire
[4aa35c96][binds]: bound mouse2 (324) = +hook
[4aa35c96][binds]: bound lshift (304) = +emote
[4aa35c96][binds]: bound 1 (49) = +weapon1
[4aa35c96][binds]: bound 2 (50) = +weapon2
[4aa35c96][binds]: bound 3 (51) = +weapon3
[4aa35c96][binds]: bound 4 (52) = +weapon4
[4aa35c96][binds]: bound 5 (53) = +weapon5
[4aa35c96][binds]: bound mousewheelup (331) = +prevweapon
[4aa35c96][binds]: bound mousewheeldown (332) = +nextweapon
[4aa35c96][binds]: bound t (116) = chat all
[4aa35c96][binds]: bound y (121) = chat team
[4aa35c96][binds]: bound f3 (284) = vote yes
[4aa35c96][binds]: bound f4 (285) = vote no
[4aa35c96][engine/datadir]: paths used:
[4aa35c96][engine/datadir]:     .
[4aa35c96][engine/datadir]:     /home/uldics/.teeworlds
[4aa35c96][engine/datadir]:     data
[4aa35c96][engine/datadir]: saving files to: /home/uldics/.teeworlds
[4aa35c96][console]: failed to open 'autoexec.cfg'
[4aa35c96][console]: executing 'settings.cfg'
[4aa35c96][binds]: bound tab (9) = +scoreboard
[4aa35c96][binds]: bound space (32) = +jump
[4aa35c96][binds]: bound plus (43) = vote yes
[4aa35c96][binds]: bound minus (45) = vote no
[4aa35c96][binds]: bound 1 (49) = +weapon1
[4aa35c96][binds]: bound 2 (50) = +weapon2
[4aa35c96][binds]: bound 3 (51) = +weapon3
[4aa35c96][binds]: bound 4 (52) = +weapon4
[4aa35c96][binds]: bound 5 (53) = +weapon5
[4aa35c96][binds]: bound a (97) = +left
[4aa35c96][binds]: bound d (100) = +right
[4aa35c96][binds]: bound t (116) = chat all
[4aa35c96][binds]: bound y (121) = chat team
[4aa35c96][binds]: bound f1 (282) = toggle_local_console
[4aa35c96][binds]: bound f10 (291) = screenshot
[4aa35c96][binds]: bound lshift (304) = +emote
[4aa35c96][binds]: bound mouse1 (323) = +fire
[4aa35c96][binds]: bound mouse2 (324) = +hook
[4aa35c96][binds]: bound mousewheelup (331) = +prevweapon
[4aa35c96][binds]: bound mousewheeldown (332) = +nextweapon
[4aa35c9a][engine/mastersrv]: refreshing master server addresses
[4aa35c9a][client/sound]: sound init successful
[4aa35c9a][font]: gfx memory used for font textures: 3058288
[4aa35c9b][game]: load skin warpaint
[4aa35c9b][game]: load skin twintri
[4aa35c9b][game]: load skin toptri
[4aa35c9b][game]: load skin bluekitty
[4aa35c9b][game]: load skin bluestripe
[4aa35c9b][game]: load skin twinbop
[4aa35c9b][game]: load skin saddo
[4aa35c9b][game]: load skin redstripe
[4aa35c9b][game]: load skin coala
[4aa35c9b][game]: load skin limekitty
[4aa35c9b][game]: load skin cammostripes
[4aa35c9b][game]: load skin cammo
[4aa35c9b][game]: load skin pinky
[4aa35c9b][game]: load skin redbopp
[4aa35c9b][game]: load skin x_ninja
[4aa35c9b][game]: load skin default
[4aa35c9b][game]: load skin brownbear
[4aa35c9b][sound/wv]: failed to open audio/wp_gun_fire-01.wv: can't open file
[4aa35c9b][sound/wv]: failed to open audio/wp_gun_fire-02.wv: can't open file
[4aa35c9b][sound/wv]: failed to open audio/wp_gun_fire-03.wv: can't open file
[4aa35c9b][sound/wv]: failed to open audio/wp_shotty_fire-01.wv: can't open file
[4aa35c9b][sound/wv]: failed to open audio/wp_shotty_fire-02.wv: can't open file
[4aa35c9b][sound/wv]: failed to open audio/wp_shotty_fire-03.wv: can't open file
[4aa35c9b][sound/wv]: failed to open audio/wp_flump_launch-01.wv: can't open file
[4aa35c9b][sound/wv]: failed to open audio/wp_flump_launch-02.wv: can't open file
[4aa35c9b][sound/wv]: failed to open audio/wp_flump_launch-03.wv: can't open file
[4aa35c9b][sound/wv]: failed to open audio/wp_hammer_swing-01.wv: can't open file
[4aa35c9b][sound/wv]: failed to open audio/wp_hammer_swing-02.wv: can't open file
[4aa35c9b][sound/wv]: failed to open audio/wp_hammer_swing-03.wv: can't open file
[4aa35c9b][sound/wv]: failed to open audio/wp_hammer_hit-01.wv: can't open file
[4aa35c9b][sound/wv]: failed to open audio/wp_hammer_hit-02.wv: can't open file
[4aa35c9b][sound/wv]: failed to open audio/wp_hammer_hit-03.wv: can't open file
[4aa35c9b][sound/wv]: failed to open audio/wp_ninja_attack-01.wv: can't open file
[4aa35c9b][sound/wv]: failed to open audio/wp_ninja_attack-02.wv: can't open file
[4aa35c9b][sound/wv]: failed to open audio/wp_ninja_attack-03.wv: can't open file
[4aa35c9b][sound/wv]: failed to open audio/wp_flump_explo-01.wv: can't open file
[4aa35c9b][sound/wv]: failed to open audio/wp_flump_explo-02.wv: can't open file
[4aa35c9b][sound/wv]: failed to open audio/wp_flump_explo-03.wv: can't open file
[4aa35c9b][sound/wv]: failed to open audio/wp_ninja_hit-01.wv: can't open file
[4aa35c9b][sound/wv]: failed to open audio/wp_ninja_hit-02.wv: can't open file
[4aa35c9b][sound/wv]: failed to open audio/wp_ninja_hit-03.wv: can't open file
[4aa35c9b][sound/wv]: failed to open audio/wp_rifle_fire-01.wv: can't open file
[4aa35c9b][sound/wv]: failed to open audio/wp_rifle_fire-02.wv: can't open file
[4aa35c9b][sound/wv]: failed to open audio/wp_rifle_fire-03.wv: can't open file
[4aa35c9b][sound/wv]: failed to open audio/wp_rifle_bnce-01.wv: can't open file
[4aa35c9b][sound/wv]: failed to open audio/wp_rifle_bnce-02.wv: can't open file
[4aa35c9b][sound/wv]: failed to open audio/wp_rifle_bnce-03.wv: can't open file
[4aa35c9b][sound/wv]: failed to open audio/wp_switch-01.wv: can't open file
[4aa35c9b][sound/wv]: failed to open audio/wp_switch-02.wv: can't open file
[4aa35c9b][sound/wv]: failed to open audio/wp_switch-03.wv: can't open file
[4aa35c9b][sound/wv]: failed to open audio/vo_teefault_pain_short-01.wv: can't open file
[4aa35c9b][sound/wv]: failed to open audio/vo_teefault_pain_short-02.wv: can't open file
[4aa35c9b][sound/wv]: failed to open audio/vo_teefault_pain_short-03.wv: can't open file
[4aa35c9b][sound/wv]: failed to open audio/vo_teefault_pain_short-04.wv: can't open file
[4aa35c9b][sound/wv]: failed to open audio/vo_teefault_pain_short-05.wv: can't open file
[4aa35c9b][sound/wv]: failed to open audio/vo_teefault_pain_short-06.wv: can't open file
[4aa35c9b][sound/wv]: failed to open audio/vo_teefault_pain_short-07.wv: can't open file
[4aa35c9b][sound/wv]: failed to open audio/vo_teefault_pain_short-08.wv: can't open file
[4aa35c9b][sound/wv]: failed to open audio/vo_teefault_pain_short-09.wv: can't open file
[4aa35c9b][sound/wv]: failed to open audio/vo_teefault_pain_short-10.wv: can't open file
[4aa35c9b][sound/wv]: failed to open audio/vo_teefault_pain_short-11.wv: can't open file
[4aa35c9b][sound/wv]: failed to open audio/vo_teefault_pain_short-12.wv: can't open file
[4aa35c9b][sound/wv]: failed to open audio/vo_teefault_pain_long-01.wv: can't open file
[4aa35c9b][sound/wv]: failed to open audio/vo_teefault_pain_long-02.wv: can't open file
[4aa35c9b][sound/wv]: failed to open audio/foley_land-01.wv: can't open file
[4aa35c9b][sound/wv]: failed to open audio/foley_land-02.wv: can't open file
[4aa35c9b][sound/wv]: failed to open audio/foley_land-03.wv: can't open file
[4aa35c9b][sound/wv]: failed to open audio/foley_land-04.wv: can't open file
[4aa35c9b][sound/wv]: failed to open audio/foley_dbljump-01.wv: can't open file
[4aa35c9b][sound/wv]: failed to open audio/foley_dbljump-02.wv: can't open file
[4aa35c9b][sound/wv]: failed to open audio/foley_dbljump-03.wv: can't open file
[4aa35c9b][sound/wv]: failed to open audio/foley_foot_left-01.wv: can't open file
[4aa35c9b][sound/wv]: failed to open audio/foley_foot_left-02.wv: can't open file
[4aa35c9b][sound/wv]: failed to open audio/foley_foot_left-03.wv: can't open file
[4aa35c9b][sound/wv]: failed to open audio/foley_foot_left-04.wv: can't open file
[4aa35c9b][sound/wv]: failed to open audio/foley_foot_right-01.wv: can't open file
[4aa35c9b][sound/wv]: failed to open audio/foley_foot_right-02.wv: can't open file
[4aa35c9b][sound/wv]: failed to open audio/foley_foot_right-03.wv: can't open file
[4aa35c9b][sound/wv]: failed to open audio/foley_foot_right-04.wv: can't open file
[4aa35c9b][sound/wv]: failed to open audio/foley_body_splat-01.wv: can't open file
[4aa35c9b][sound/wv]: failed to open audio/foley_body_splat-02.wv: can't open file
[4aa35c9b][sound/wv]: failed to open audio/foley_body_splat-03.wv: can't open file
[4aa35c9b][sound/wv]: failed to open audio/vo_teefault_spawn-01.wv: can't open file
[4aa35c9b][sound/wv]: failed to open audio/vo_teefault_spawn-02.wv: can't open file
[4aa35c9b][sound/wv]: failed to open audio/vo_teefault_spawn-03.wv: can't open file
[4aa35c9b][sound/wv]: failed to open audio/vo_teefault_spawn-04.wv: can't open file
[4aa35c9b][sound/wv]: failed to open audio/vo_teefault_spawn-05.wv: can't open file
[4aa35c9b][sound/wv]: failed to open audio/vo_teefault_spawn-06.wv: can't open file
[4aa35c9b][sound/wv]: failed to open audio/vo_teefault_spawn-07.wv: can't open file
[4aa35c9c][sound/wv]: failed to open audio/sfx_skid-01.wv: can't open file
[4aa35c9c][sound/wv]: failed to open audio/sfx_skid-02.wv: can't open file
[4aa35c9c][sound/wv]: failed to open audio/sfx_skid-03.wv: can't open file
[4aa35c9c][sound/wv]: failed to open audio/sfx_skid-04.wv: can't open file
[4aa35c9c][sound/wv]: failed to open audio/vo_teefault_cry-01.wv: can't open file
[4aa35c9c][sound/wv]: failed to open audio/vo_teefault_cry-02.wv: can't open file
[4aa35c9c][sound/wv]: failed to open audio/hook_loop-01.wv: can't open file
[4aa35c9c][sound/wv]: failed to open audio/hook_loop-02.wv: can't open file
[4aa35c9c][sound/wv]: failed to open audio/hook_attach-01.wv: can't open file
[4aa35c9c][sound/wv]: failed to open audio/hook_attach-02.wv: can't open file
[4aa35c9c][sound/wv]: failed to open audio/hook_attach-03.wv: can't open file
[4aa35c9c][sound/wv]: failed to open audio/foley_body_impact-01.wv: can't open file
[4aa35c9c][sound/wv]: failed to open audio/foley_body_impact-02.wv: can't open file
[4aa35c9c][sound/wv]: failed to open audio/foley_body_impact-03.wv: can't open file
[4aa35c9c][sound/wv]: failed to open audio/hook_noattach-01.wv: can't open file
[4aa35c9c][sound/wv]: failed to open audio/hook_noattach-02.wv: can't open file
[4aa35c9c][sound/wv]: failed to open audio/sfx_pickup_hrt-01.wv: can't open file
[4aa35c9c][sound/wv]: failed to open audio/sfx_pickup_hrt-02.wv: can't open file
[4aa35c9c][sound/wv]: failed to open audio/sfx_pickup_arm-01.wv: can't open file
[4aa35c9c][sound/wv]: failed to open audio/sfx_pickup_arm-02.wv: can't open file
[4aa35c9c][sound/wv]: failed to open audio/sfx_pickup_arm-03.wv: can't open file
[4aa35c9c][sound/wv]: failed to open audio/sfx_pickup_arm-04.wv: can't open file
[4aa35c9c][sound/wv]: failed to open audio/sfx_pickup_launcher.wv: can't open file
[4aa35c9c][sound/wv]: failed to open audio/sfx_pickup_sg.wv: can't open file
[4aa35c9c][sound/wv]: failed to open audio/sfx_pickup_ninja.wv: can't open file
[4aa35c9c][sound/wv]: failed to open audio/sfx_spawn_wpn-01.wv: can't open file
[4aa35c9c][sound/wv]: failed to open audio/sfx_spawn_wpn-02.wv: can't open file
[4aa35c9c][sound/wv]: failed to open audio/sfx_spawn_wpn-03.wv: can't open file
[4aa35c9c][sound/wv]: failed to open audio/wp_noammo-01.wv: can't open file
[4aa35c9c][sound/wv]: failed to open audio/wp_noammo-02.wv: can't open file
[4aa35c9c][sound/wv]: failed to open audio/wp_noammo-03.wv: can't open file
[4aa35c9c][sound/wv]: failed to open audio/wp_noammo-04.wv: can't open file
[4aa35c9c][sound/wv]: failed to open audio/wp_noammo-05.wv: can't open file
[4aa35c9c][sound/wv]: failed to open audio/sfx_hit_weak-01.wv: can't open file
[4aa35c9c][sound/wv]: failed to open audio/sfx_hit_weak-02.wv: can't open file
[4aa35c9c][sound/wv]: failed to open audio/sfx_msg-server.wv: can't open file
[4aa35c9c][sound/wv]: failed to open audio/sfx_msg-client.wv: can't open file
[4aa35c9c][sound/wv]: failed to open audio/sfx_ctf_drop.wv: can't open file
[4aa35c9c][sound/wv]: failed to open audio/sfx_ctf_rtn.wv: can't open file
[4aa35c9c][sound/wv]: failed to open audio/sfx_ctf_grab_pl.wv: can't open file
[4aa35c9c][sound/wv]: failed to open audio/sfx_ctf_grab_en.wv: can't open file
[4aa35c9c][sound/wv]: failed to open audio/sfx_ctf_cap_pl.wv: can't open file
[4aa35c9c][]: 1861.314944.2ms
[4aa35c9c][client]: version 0.5 b67d1f1a1eea234e
[4aa35c9c][engine/mastersrv]: saving addresses
[4aa35c9c][client/version]: version does match (0.5.1)
[4aa35ca0][netclient]: disconnected. reason="(null)"
[4aa35ca0][client]: connecting to '87.118.106.50:8303'
[4aa35ca0][client]: connected, sending info
[4aa35ca0][client]: loading map, map=ctf5 wanted crc=607e6d7e
[4aa35ca0][datafile]: datafile loading. filename='maps/ctf5.map'
[4aa35ca0][client]: loaded map 'maps/ctf5.map'
[4aa35ca0][client/network]: loading done
[4aa35ca0][datafile]: loading data index=11 size=2267 uncompressed=129600
[4aa35ca0][datafile]: loading data index=9 size=797 uncompressed=119600
[4aa35ca0][datafile]: loading data index=10 size=1316 uncompressed=129600
[4aa35ca0][datafile]: loading data index=12 size=272 uncompressed=129600
[4aa35ca0][datafile]: loading data index=13 size=2715 uncompressed=129600
[4aa35ca0][datafile]: loading data index=14 size=2652 uncompressed=129600
[4aa35ca0][datafile]: loading data index=0 size=19 uncompressed=11
[4aa35ca0][datafile]: loading data index=1 size=27 uncompressed=19
[4aa35ca0][datafile]: loading data index=2 size=22 uncompressed=14
[4aa35ca1][datafile]: loading data index=3 size=18 uncompressed=10
[4aa35ca1][datafile]: loading data index=4 size=18 uncompressed=10
[4aa35ca1][datafile]: loading data index=5 size=18 uncompressed=10
[4aa35ca1][chat]: *** uldics entered and joined the blue team
[4aa35ca1][datafile]: loading data index=6 size=79 uncompressed=152
[4aa35ca1][datafile]: loading data index=7 size=340 uncompressed=1520
[4aa35ca1][datafile]: loading data index=8 size=241 uncompressed=1064
[4aa35caa][chat]: *** (2)nameless tee entered and joined the red team
[4aa35cb0][chat]: *** the blue flag was captured by KA3AX(_kz) (17.10 seconds)
[4aa35cba][chat]: Bax: OMG NOOB T
[4aa35cbc][chat]: Bax: TP
[4aa35cc6][chat]: Bax: play faster
[4aa35cca][chat]: *** the blue flag was captured by oo (21.13 seconds)
[4aa35cd1][netclient]: disconnected. reason="(null)"
uldics@kaste:~$ 


My settings.cfg is this:

cl_predict 1
cl_nameplates 1
cl_nameplates_always 1
cl_autoswitch_weapons 1
cl_showfps 0
cl_airjumpindicator 1
cl_threadsoundloading 0
cl_warning_teambalance 1
cl_mouse_deadzone 300
cl_mouse_followfactor 60
cl_mouse_max_distance 800
ed_showkeys 0
cl_flow 0
cl_show_welcome 0
cl_motd_time 10
cl_version_server version.teeworlds.com
player_use_custom_color 0
player_color_body 8912774
player_color_feet 8191744
player_skin bluestripe
ui_page 5
ui_server_address 87.118.106.50:8303
ui_scale 100
ui_color_hue 160
ui_color_sat 70
ui_color_lht 175
ui_color_alpha 228
gfx_noclip 0
player_name uldics
clan_name 
logfile 
cl_cpu_throttle 0
b_filter_string 
b_filter_full 1
b_filter_empty 1
b_filter_pw 1
b_filter_ping 150
b_filter_gametype ctf
b_filter_pure 1
b_filter_pure_map 0
b_filter_compatversion 1
b_sort 1
b_sort_order 0
b_max_requests 10
snd_buffer_size 512
snd_rate 48000
snd_enable 1
snd_volume 31
snd_device -1
snd_nonactive_mute 1
gfx_screen_width 1280
gfx_screen_height 1024
gfx_fullscreen 1
gfx_alphabits 0
gfx_color_depth 24
gfx_clear 0
gfx_vsync 1
gfx_display_all_modes 0
gfx_texture_compression 0
gfx_high_detail 1
gfx_texture_quality 1
gfx_fsaa_samples 0
gfx_refresh_rate 0
gfx_finish 1
inp_mousesens 324
unbindall
bind tab "+scoreboard"
bind space "+jump"
bind plus "vote yes"
bind minus "vote no"
bind 1 "+weapon1"
bind 2 "+weapon2"
bind 3 "+weapon3"
bind 4 "+weapon4"
bind 5 "+weapon5"
bind a "+left"
bind d "+right"
bind t "chat all"
bind y "chat team"
bind f1 "toggle_local_console"
bind f10 "screenshot"
bind lshift "+emote"
bind mouse1 "+fire"
bind mouse2 "+hook"
bind mousewheelup "+prevweapon"
bind mousewheeldown "+nextweapon"

Have changed snd_device from -2 to 4. Nothing.
Have changed cl_threadsoundloading  to 1 (it reappeared as 0 by itself). Nothing.
When I browse to the sound files, they can be opened as normal user for playing with an audio player.

What is the problem?

2 (edited by BatchteeX 2009-09-06 12:38:32)

Re: [HELP] No sound, failed to open audio

uldics@kaste:~$ teeworlds
[4aa35c96][engine/datadir]: paths used:
[4aa35c96][engine/datadir]:     .
[4aa35c96][engine/datadir]:     /home/uldics/.teeworlds
[4aa35c96][engine/datadir]:     data

You need to run teeworlds from it's directory.

3 (edited by uldics 2009-09-06 13:22:51)

Re: [HELP] No sound, failed to open audio

When I run it directly from /usr/lib/games/teeworlds directory, then it does not find data folder and still does not load those sounds. And I dont see fonts, no text at all.

When I run it by navigating in terminal to that folder, then game freezes and Xorg has to be restarted, no mouse anymore.

4 (edited by khubajsn 2009-09-06 16:02:54)

Re: [HELP] No sound, failed to open audio

Only suggestion - put logs and into [*code] and [*/code] (without the wildcards)

Goodbye all. Account inactive since March 2011.

5

Re: [HELP] No sound, failed to open audio

Download Teeworlds from our site and do not use the version distributed by your package manager. We don't support re-packaged versions.

6

Re: [HELP] No sound, failed to open audio

Hi, I just leave here a link to debian's bugreport with solution to this problem:

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=551906