Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Ghosy

Pages: [1]
1
Technical Support / Re: Sound Issues
« on: January 04, 2016, 09:16:55 PM »
I found a solution to the issue. I don't use Pulseaudio, because it is a poor excuse of a fix for an issue that was dealt with years ago. Unfortunately, Pulseaudio has silently taken the position that people are fear Systemd will take. That means the only solution I could find was to use Pulseaudio even if it is in a minimal capacity.

What I used can be found here: https://wiki.archlinux.org/index.php/PulseAudio/Examples#PulseAudio_as_a_minimal_unintrusive_dumb_pipe_to_ALSA

2
Technical Support / Sound Issues
« on: December 28, 2015, 06:48:33 AM »
I am experiencing sound issues when starting HammerWatch. When starting HammerWatch, OpenAL fails to initialize correctly. I use ALSA alone on Arch Linux(x86-64). I don't use PulseAudio. (Doesn't play nice with other facets of my system) Any insight or help that anyone can offer would be very much appreciated.

The text displayed at startup is as follows:
Code: [Select]
Could not initialize OpenAL, no sounds will be played. Try updating your OpenAL drivers.

HammerWatch Output:
Code: [Select]
Game update: AppID 239070 "Hammerwatch", ProcID 1249, IP 0.0.0.0:0
ERROR: ld.so: object '/usr/lib32/libasound.so.2' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/ghosy/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/usr/lib32/libasound.so.2' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/ghosy/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/usr/lib32/libasound.so.2' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/ghosy/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/usr/lib32/libasound.so.2' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/ghosy/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/usr/lib32/libasound.so.2' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/ghosy/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/usr/lib32/libasound.so.2' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/ghosy/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
Game 1.31
WorkingDirectory set to: /home/ghosy/.local/share/Steam/steamapps/common/Hammerwatch
Initializing game
ARPGGame()
Window icon set
OGL: 4.5.0 NVIDIA 358.16
Starting game
Initialize achievments, Steam and master server
Setting breakpad minidump AppID = 239070
Steam_SetMinidumpSteamID:  Caching Steam ID:  76561198000485351 [API loaded no]
Initialized Steam
Loading config settings
Loading controllers
Initialize sound
ERROR: ld.so: object '/usr/lib32/libasound.so.2' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/ghosy/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ALSA lib pulse.c:243:(pulse_connect) PulseAudio: Unable to connect: Connection refused

Couldn't sound create engine: Error initializing output device.
Initialize renderers
GLState: NoError
Initialize physics
Start game
Loading resources
Resource error: actors/boss_dragon/fireball_trap.xml: Failed to load music sound/info_machine_pump.wav
Resource error: doodads/generic/trap_stalactite.xml: All doodad transitions must have existing from and to states
Resource error: doodads/generic/trap_stalactite_e.xml: All doodad transitions must have existing from and to states
Resource error: projectiles/boss_maggot_nova.xml: Failed to load music sound/info_speech_dragon.wav
Resource error: projectiles/enemy_arrow_1.xml: Failed to load music sound/info_machine_pump.wav
Resource error: projectiles/enemy_arrow_2.xml: Failed to load music sound/info_machine_pump.wav
Resource error: projectiles/enemy_arrow_3.xml: Failed to load music sound/info_machine_pump.wav
Resource error: projectiles/enemy_boss_anubis_fireball.xml: Failed to load music sound/info_machine_pump.wav
Resource error: projectiles/enemy_boss_anubis_fireball_small.xml: Failed to load music sound/info_machine_pump.wav
Resource error: projectiles/enemy_boss_dragon_fireball.xml: Failed to load music sound/44429__thecheeseman__hurt2.wav
Resource error: projectiles/enemy_boss_krilith_confusion.xml: Failed to load music sound/info_speech_dragon.wav
Resource error: projectiles/enemy_boss_krilith_frostball.xml: Failed to load music sound/44429__thecheeseman__hurt2.wav
Resource error: projectiles/enemy_boss_krilith_wave.xml: Failed to load music sound/info_machine_pump.wav
Resource error: projectiles/enemy_boss_lich.xml: Failed to load music sound/info_speech_dragon.wav
Resource error: projectiles/enemy_lich_1.xml: Failed to load music sound/info_speech_dragon.wav
Resource error: projectiles/enemy_lich_1_elite.xml: Failed to load music sound/info_speech_dragon.wav
Resource error: projectiles/enemy_lich_1_mb.xml: Failed to load music sound/info_machine_pump.wav
Resource error: projectiles/enemy_lich_desert_1.xml: Failed to load music sound/44429__thecheeseman__hurt2.wav
Resource error: projectiles/enemy_lich_desert_2.xml: Failed to load music sound/info_speech_dragon.wav
Resource error: projectiles/enemy_maggot_1.xml: Failed to load music sound/info_speech_dragon.wav
Resource error: projectiles/enemy_maggot_1_mb.xml: Failed to load music sound/info_speech_dragon.wav
Resource error: projectiles/enemy_maggot_1_small.xml: Failed to load music sound/info_speech_dragon.wav
Resource error: projectiles/enemy_mummy_1_mb.xml: Failed to load music sound/44429__thecheeseman__hurt2.wav
Resource error: projectiles/enemy_mummy_ranged_1.xml: Failed to load music sound/info_speech_dragon.wav
Resource error: projectiles/enemy_mummy_ranged_2.xml: Failed to load music sound/info_machine_pump.wav
Resource error: projectiles/enemy_tower_drainbeam.xml: Failed to load music sound/44429__thecheeseman__hurt2.wav
Resource error: projectiles/enemy_tower_drainbeam_overload.xml: Failed to load music sound/44429__thecheeseman__hurt2.wav
Resource error: projectiles/enemy_tower_firebeam.xml: Failed to load music sound/44429__thecheeseman__hurt2.wav
Resource error: projectiles/enemy_tower_firebeam_overload.xml: Failed to load music sound/44429__thecheeseman__hurt2.wav
Resource error: projectiles/enemy_tower_iceball.xml: Failed to load music sound/44429__thecheeseman__hurt2.wav
Resource error: projectiles/enemy_tower_iceball_large.xml: Failed to load music sound/44429__thecheeseman__hurt2.wav
Resource error: projectiles/enemy_tower_icebeam.xml: Failed to load music sound/44429__thecheeseman__hurt2.wav
Resource error: projectiles/enemy_tower_icebeam_overload.xml: Failed to load music sound/44429__thecheeseman__hurt2.wav
Resource error: projectiles/enemy_wisp_1.xml: Failed to load music sound/info_speech_dragon.wav
Resource error: projectiles/enemy_wisp_1_small.xml: Failed to load music sound/info_speech_dragon.wav
Resource error: projectiles/enemy_wisp_2.xml: Failed to load music sound/info_speech_dragon.wav
Resource error: projectiles/shooter_arrow.xml: Failed to load music sound/info_machine_pump.wav
Resource error: projectiles/shooter_fireball.xml: Failed to load music sound/info_machine_pump.wav
Resource error: projectiles/shooter_fireball_2.xml: Failed to load music sound/info_machine_pump.wav
Resource error: projectiles/shooter_spike.xml: Failed to load music sound/info_machine_pump.wav
Resource error: projectiles/shooter_stone_ball.xml: Failed to load music sound/info_machine_pump.wav
Resource error: projectiles/shooter_valuables.xml: Failed to load music sound/info_machine_pump.wav
Resource error: sound/bonus.xml: Failed to load music sound/bonus_wall_dst.wav
Resource error: sound/gui.xml: Failed to load music sound/info_menu_click.wav
Resource error: sound/misc.xml: Failed to load music sound/info_machine_pump.wav
Resource error: sound/monsters.xml: Failed to load music sound/info_speech_dragon.wav
Resource error: sound/music.xml: Failed to load music sound/music/none.ogg
Resource error: sound/music_desert.xml: Failed to load music sound/music/desert_cavern.ogg
Resource error: sound/players.xml: Failed to load music sound/44429__thecheeseman__hurt2.wav
GLState: NoError
Loading Language
Initializing game
Resetting game
  resetting world
  stopping sounds
  loading menu
Resource error: : Could not find file: /home/ghosy/.local/share/Steam/steamapps/common/Hammerwatch/assets/levels/menu_3.xml.bin
Set initial OpenGL states
GLState: NoError
Shader output: shaders/drawlight.glsl - vertex:

Shader output: shaders/drawlight.glsl - fragment:

Shader output: shaders/blur.glsl - vertex:

Shader output: shaders/blur.glsl - fragment:

Shader output: shaders/blurshadow.glsl - vertex:

Shader output: shaders/blurshadow.glsl - fragment:

Shader output: shaders/applyshadow.glsl - vertex:

Shader output: shaders/applyshadow.glsl - fragment:

Shader output: shaders/drawglow.glsl - vertex:

Shader output: shaders/drawglow.glsl - fragment:

Shader output: shaders/drawao.glsl - vertex:

Shader output: shaders/drawao.glsl - fragment:

Shader output: shaders/drawmap.glsl - vertex:

Shader output: shaders/drawmap.glsl - fragment:

Shader output: shaders/brighten.glsl - vertex:

Shader output: shaders/brighten.glsl - fragment:

Shader output: shaders/post/phosphor-simple.glsl - vertex:

Shader output: shaders/post/phosphor-simple.glsl - fragment:

Shader output: shaders/post/curvature.glsl - vertex:

Shader output: shaders/post/curvature.glsl - fragment:

Shader output: shaders/post/bloom.glsl - vertex:

Shader output: shaders/post/bloom.glsl - fragment:

GLState: NoError
Window cursor set
UserStatsReceived: k_EResultOK
Generating new string page texture 229: 256x256, total string texture memory is 4.64 MB

HammerWatch Steam Validation:
Code: [Select]
All files successfully validated.

Relevant System Packages:
Code: [Select]
steam 1.0.0.51-1
alsa-lib 1.1.0-1
lib32-alsa-lib 1.1.0-1
openal 1.17.1-1
lib32-openal 1.17.1-1

/etc/openal/alsoft.conf:
Code: [Select]
drivers=alsa

openal-info:
Code: [Select]
Available playback devices:
    ALSA Default
    HDA Intel PCH, ALC1150 Analog (CARD=PCH,DEV=0)
    HDA Intel PCH, ALC1150 Digital (CARD=PCH,DEV=1)
    HDA NVidia, HDMI 0 (CARD=NVidia,DEV=3)
    HDA NVidia, HDMI 1 (CARD=NVidia,DEV=7)
    HDA NVidia, HDMI 2 (CARD=NVidia,DEV=8)
    HDA NVidia, HDMI 3 (CARD=NVidia,DEV=9)
Available capture devices:
    ALSA Default
    HDA Intel PCH, ALC1150 Analog (CARD=PCH,DEV=0)
    HDA Intel PCH, ALC1150 Alt Analog (CARD=PCH,DEV=2)
Default playback device: ALSA Default
Default capture device: ALSA Default
ALC version: 1.1

** Info for device "ALSA Default" **
ALC version: 1.1
ALC extensions:
    ALC_ENUMERATE_ALL_EXT, ALC_ENUMERATION_EXT, ALC_EXT_CAPTURE,
    ALC_EXT_DEDICATED, ALC_EXT_disconnect, ALC_EXT_EFX,
    ALC_EXT_thread_local_context, ALC_SOFTX_device_clock, ALC_SOFT_HRTF,
    ALC_SOFT_loopback, ALC_SOFT_pause_device
Available HRTFs:
    default-44100.mhr
    default-48000.mhr
OpenAL vendor string: OpenAL Community
OpenAL renderer string: OpenAL Soft
OpenAL version string: 1.1 ALSOFT 1.17.1
OpenAL extensions:
    AL_EXT_ALAW, AL_EXT_BFORMAT, AL_EXT_DOUBLE, AL_EXT_EXPONENT_DISTANCE,
    AL_EXT_FLOAT32, AL_EXT_IMA4, AL_EXT_LINEAR_DISTANCE, AL_EXT_MCFORMATS,
    AL_EXT_MULAW, AL_EXT_MULAW_BFORMAT, AL_EXT_MULAW_MCFORMATS, AL_EXT_OFFSET,
    AL_EXT_source_distance_model, AL_LOKI_quadriphonic,
    AL_SOFT_block_alignment, AL_SOFT_buffer_samples, AL_SOFT_buffer_sub_data,
    AL_SOFT_deferred_updates, AL_SOFT_direct_channels, AL_SOFT_loop_points,
    AL_SOFT_MSADPCM, AL_SOFT_source_latency, AL_SOFT_source_length
EFX version: 1.0
Max auxiliary sends: 4
Supported filters:
    Low-pass, High-pass, Band-pass
Supported effects:
    EAX Reverb, Reverb, Chorus, Distortion, Echo, Flanger, Ring Modulator,
    Compressor, Equalizer, Dedicated Dialog, Dedicated LFE

game.log:
Code: [Select]
Game 1.31
WorkingDirectory set to: /home/ghosy/.local/share/Steam/steamapps/common/Hammerwatch
Initializing game
ARPGGame()
Window icon set
OGL: 4.5.0 NVIDIA 358.16
Starting game
Initialize achievments, Steam and master server
Initialized Steam
Loading config settings
Loading controllers
Initialize sound
Couldn't sound create engine: Error initializing output device.
Initialize renderers
GLState: NoError
Initialize physics
Start game
Loading resources
Resource error: actors/boss_dragon/fireball_trap.xml: Failed to load music sound/info_machine_pump.wav
Resource error: doodads/generic/trap_stalactite.xml: All doodad transitions must have existing from and to states
Resource error: doodads/generic/trap_stalactite_e.xml: All doodad transitions must have existing from and to states
Resource error: projectiles/boss_maggot_nova.xml: Failed to load music sound/info_speech_dragon.wav
Resource error: projectiles/enemy_arrow_1.xml: Failed to load music sound/info_machine_pump.wav
Resource error: projectiles/enemy_arrow_2.xml: Failed to load music sound/info_machine_pump.wav
Resource error: projectiles/enemy_arrow_3.xml: Failed to load music sound/info_machine_pump.wav
Resource error: projectiles/enemy_boss_anubis_fireball.xml: Failed to load music sound/info_machine_pump.wav
Resource error: projectiles/enemy_boss_anubis_fireball_small.xml: Failed to load music sound/info_machine_pump.wav
Resource error: projectiles/enemy_boss_dragon_fireball.xml: Failed to load music sound/44429__thecheeseman__hurt2.wav
Resource error: projectiles/enemy_boss_krilith_confusion.xml: Failed to load music sound/info_speech_dragon.wav
Resource error: projectiles/enemy_boss_krilith_frostball.xml: Failed to load music sound/44429__thecheeseman__hurt2.wav
Resource error: projectiles/enemy_boss_krilith_wave.xml: Failed to load music sound/info_machine_pump.wav
Resource error: projectiles/enemy_boss_lich.xml: Failed to load music sound/info_speech_dragon.wav
Resource error: projectiles/enemy_lich_1.xml: Failed to load music sound/info_speech_dragon.wav
Resource error: projectiles/enemy_lich_1_elite.xml: Failed to load music sound/info_speech_dragon.wav
Resource error: projectiles/enemy_lich_1_mb.xml: Failed to load music sound/info_machine_pump.wav
Resource error: projectiles/enemy_lich_desert_1.xml: Failed to load music sound/44429__thecheeseman__hurt2.wav
Resource error: projectiles/enemy_lich_desert_2.xml: Failed to load music sound/info_speech_dragon.wav
Resource error: projectiles/enemy_maggot_1.xml: Failed to load music sound/info_speech_dragon.wav
Resource error: projectiles/enemy_maggot_1_mb.xml: Failed to load music sound/info_speech_dragon.wav
Resource error: projectiles/enemy_maggot_1_small.xml: Failed to load music sound/info_speech_dragon.wav
Resource error: projectiles/enemy_mummy_1_mb.xml: Failed to load music sound/44429__thecheeseman__hurt2.wav
Resource error: projectiles/enemy_mummy_ranged_1.xml: Failed to load music sound/info_speech_dragon.wav
Resource error: projectiles/enemy_mummy_ranged_2.xml: Failed to load music sound/info_machine_pump.wav
Resource error: projectiles/enemy_tower_drainbeam.xml: Failed to load music sound/44429__thecheeseman__hurt2.wav
Resource error: projectiles/enemy_tower_drainbeam_overload.xml: Failed to load music sound/44429__thecheeseman__hurt2.wav
Resource error: projectiles/enemy_tower_firebeam.xml: Failed to load music sound/44429__thecheeseman__hurt2.wav
Resource error: projectiles/enemy_tower_firebeam_overload.xml: Failed to load music sound/44429__thecheeseman__hurt2.wav
Resource error: projectiles/enemy_tower_iceball.xml: Failed to load music sound/44429__thecheeseman__hurt2.wav
Resource error: projectiles/enemy_tower_iceball_large.xml: Failed to load music sound/44429__thecheeseman__hurt2.wav
Resource error: projectiles/enemy_tower_icebeam.xml: Failed to load music sound/44429__thecheeseman__hurt2.wav
Resource error: projectiles/enemy_tower_icebeam_overload.xml: Failed to load music sound/44429__thecheeseman__hurt2.wav
Resource error: projectiles/enemy_wisp_1.xml: Failed to load music sound/info_speech_dragon.wav
Resource error: projectiles/enemy_wisp_1_small.xml: Failed to load music sound/info_speech_dragon.wav
Resource error: projectiles/enemy_wisp_2.xml: Failed to load music sound/info_speech_dragon.wav
Resource error: projectiles/shooter_arrow.xml: Failed to load music sound/info_machine_pump.wav
Resource error: projectiles/shooter_fireball.xml: Failed to load music sound/info_machine_pump.wav
Resource error: projectiles/shooter_fireball_2.xml: Failed to load music sound/info_machine_pump.wav
Resource error: projectiles/shooter_spike.xml: Failed to load music sound/info_machine_pump.wav
Resource error: projectiles/shooter_stone_ball.xml: Failed to load music sound/info_machine_pump.wav
Resource error: projectiles/shooter_valuables.xml: Failed to load music sound/info_machine_pump.wav
Resource error: sound/bonus.xml: Failed to load music sound/bonus_wall_dst.wav
Resource error: sound/gui.xml: Failed to load music sound/info_menu_click.wav
Resource error: sound/misc.xml: Failed to load music sound/info_machine_pump.wav
Resource error: sound/monsters.xml: Failed to load music sound/info_speech_dragon.wav
Resource error: sound/music.xml: Failed to load music sound/music/none.ogg
Resource error: sound/music_desert.xml: Failed to load music sound/music/desert_cavern.ogg
Resource error: sound/players.xml: Failed to load music sound/44429__thecheeseman__hurt2.wav
GLState: NoError
Loading Language
Initializing game
Resetting game
  resetting world
  stopping sounds
  loading menu
Resource error: : Could not find file: /home/ghosy/.local/share/Steam/steamapps/common/Hammerwatch/assets/levels/menu_3.xml.bin
Set initial OpenGL states
GLState: NoError
Shader output: shaders/drawlight.glsl - vertex:

Shader output: shaders/drawlight.glsl - fragment:

Shader output: shaders/blur.glsl - vertex:

Shader output: shaders/blur.glsl - fragment:

Shader output: shaders/blurshadow.glsl - vertex:

Shader output: shaders/blurshadow.glsl - fragment:

Shader output: shaders/applyshadow.glsl - vertex:

Shader output: shaders/applyshadow.glsl - fragment:

Shader output: shaders/drawglow.glsl - vertex:

Shader output: shaders/drawglow.glsl - fragment:

Shader output: shaders/drawao.glsl - vertex:

Shader output: shaders/drawao.glsl - fragment:

Shader output: shaders/drawmap.glsl - vertex:

Shader output: shaders/drawmap.glsl - fragment:

Shader output: shaders/brighten.glsl - vertex:

Shader output: shaders/brighten.glsl - fragment:

Shader output: shaders/post/phosphor-simple.glsl - vertex:

Shader output: shaders/post/phosphor-simple.glsl - fragment:

Shader output: shaders/post/curvature.glsl - vertex:

Shader output: shaders/post/curvature.glsl - fragment:

Shader output: shaders/post/bloom.glsl - vertex:

Shader output: shaders/post/bloom.glsl - fragment:

GLState: NoError
Window cursor set

~/.asoundrc:
Code: [Select]
pcm.!default {
        type asym
        playback.pcm {
                type plug
                slave.pcm "dmixed"
        }
        capture.pcm {
                type plug
                slave.pcm "dsnooped"
        }
}

pcm.dmixed {
        type dmix
        ipc_key 1024
        slave {
                pcm {
                        type hw
                        card PCH
                }
                period_time 0
                period_size 1024
                buffer_size 4096
                rate 44100
        }
        bindings {
                0 0
                1 1
        }
}

ctl.dmixed {
        type hw
        card PCH
}

pcm.dsnooped {
        type dsnoop
        ipc_key 1025
        slave {
                pcm {
                        type hw
                        card PCH
                }
                channels 2
                periods 0
                period_time 0
                period_size 1024
                buffer_size 4096
                rate 44100
        }
        bindings {
                0 0
                0 1
        }
}

If you feel any information would be useful, just say so and I'll add it to this post.

Pages: [1]