1. If you have a problem and need help, create a new thread with a title that briefly describes the problem.
    Do not use titles like 'Help!' or 'I have a problem!'
    Dismiss Notice
  2. Hey Guest, is it this your first time on the forums?

    Visit the Beginner's Box

    Introduce yourself, read some of the ins and outs of the community, access to useful links and information.

    Dismiss Notice

[FIX] [Linux] No sound at all

Discussion in 'General Help' started by 9238, Jun 2, 2011.

  1. sado

    sado Shopkeep Stealer

    Messages:
    26
    Thank you!
     
  2. Havanacus

    Havanacus Guest

    Hoorah! Thanks, I was getting a bit antsy waiting for sound. I only just started playing and figured it'd be best to wait for that to be fixed.
     
  3. Cerda

    Cerda Shipwright

    Messages:
    1
    I'm running ubuntu 11.04 64bit and don't have sound at all. My log says

    Code:
    irrKlang sound library version 1.3.0
    Could not load libasound.so
    Any tips on getting sound working?? Thank you !!! I'll post on ubuntu forums as well any solutions i find I'll bring them here.
     
  4. sado

    sado Shopkeep Stealer

    Messages:
    26
    quoting from my post at other topic - "I had to install lib32asound2-dev (no idea why dev package was needed, I already had the regular 32bit libasound) on 64 bit Ubuntu, then it started to work."

    32bit ubuntu should have sound without that of course.

    edit - just in case anyone needs it: on 64bit archlinux you need lib32-alsa-plugins
     
  5. paragordius

    paragordius Shipwright

    Messages:
    1
    I'm not getting any sound at all on the latest version of Linux Mint Debian.
     
  6. sado

    sado Shopkeep Stealer

    Messages:
    26
    Please try to install some alsa packages. On Ubuntu I needed alsa dev package as you can see above, so you can try installing the Debian equivalent for it. If that doesn't help, please provide some logs here. Are you using 32 or 64 bit system? Also, are you using PulseAudio or just plain ALSA?
     
    Medivend likes this.
  7. tywuzhere

    tywuzhere Shipwright

    Messages:
    3
    My sound works just fine right out of the box, and I'm running Crunchbang... It uses Alsa.
     
  8. allknowingfrog

    allknowingfrog Bison Rider

    Messages:
    549
    Downloading the ALSA dev package fixed my sound on Fedora 15. Thanks for the tip. It doesn't make sense, but it works.

    I've been playing in silence since I stared a week ago. Sound is awesome!
     
  9. czarnyckm

    czarnyckm Shipwright

    Messages:
    4
    I get no sound at all. If I enable global s_effects = 1; the game crash after first jump.

    Debian SID 64 Alsa (No Pulse)

    All 32 bit alsa libs installed: lib32asound2, lib32asound2-dev, lib32asound2-plugins

    Code:
    ./rungame.sh
    Running KAG
    mv: Aufruf von stat für „KAG.tmp“ nicht möglich: Datei oder Verzeichnis nicht gefunden
    PID: 6299
    Starting in directory: ./
    Engine (build: 190 version: 0.90A)
    
    Downloading checksums from http://kag2d.com/update/kag_x/App/version.txt
    Downloading http://kag2d.com/update/kag_x/App/version.txt...
      % Total    % Received % Xferd  Average Speed  Time    Time    Time  Current
                                    Dload  Upload  Total  Spent    Left  Speed
    100 19475  100 19475    0    0  26711      0 --:--:-- --:--:-- --:--:-- 50981
    Version file the same (key matches)
    Using file 'Base/Juxta.so'
    APP GameDLLInit
    
    Game DLL initialized.
    Changing game working directory to './Base/'
    [] Config loaded from 'Scripts/autoconfig.gm'
    [] Variable g_sort has NULL type
    [] Config loaded from 'Scripts/config.gm'
    [0] Variable g_fixedcamera has NULL type
    [0] Creating video device...
    ******* params.DeviceType 7
    Irrlicht Engine version 1.7.2
    Linux 3.1.0 #1 SMP PREEMPT Tue Oct 25 19:05:19 CEST 2011 x86_64
    ******* CNullDriver, 135292928
    ******* FileSystem
    ******* SurfaceLoader
    ******* ExposedData
    [0] Desktop resolution is 1680x1050
    [0] Checking driver support...
    [0] Initializing new video device...
    ******* params.DeviceType 7
    [0] Irrlicht Engine version 1.7.2
    [0] Linux 3.1.0 #1 SMP PREEMPT Tue Oct 25 19:05:19 CEST 2011 x86_64
    [0] Starting vidmode fullscreen mode...
    [0] hdisplay: : 1680
    [0] vdisplay: : 1050
    ******* CNullDriver, 135343704
    ******* FileSystem
    ******* SurfaceLoader
    ******* ExposedData
    [0] Using renderer: OpenGL 3.3.0
    [0] GeForce GTX 260/PCI/SSE2: NVIDIA Corporation
    [0] OpenGL driver version is 1.2 or better.
    [0] GLSL version: 3.3
    [0] Variable u_showpremium has NULL type
    [0] The amount of upper corner pixels and the lower corner pixels is not equal, font file may be corrupted.
    [0] Loaded texture: /usr/local/games/desura/common/king-arthurs-gold/Base/GUI/arrow_cursor.png
    [0] Loaded texture: /usr/local/games/desura/common/king-arthurs-gold/Base/GUI/backtitle.png
    [0] Loaded texture: /usr/local/games/desura/common/king-arthurs-gold/Base/GUI/title.png
    [0] Loaded texture: /usr/local/games/desura/common/king-arthurs-gold/Base/GUI/Poster.png
    [0] Loaded texture: /usr/local/games/desura/common/king-arthurs-gold/Base/GUI/minimap.png
    [0] Loaded texture: /usr/local/games/desura/common/king-arthurs-gold/Base/GUI/hud_back.png
    [0] Loaded texture: /usr/local/games/desura/common/king-arthurs-gold/Base/GUI/materials.png
    [0] Loaded texture: /usr/local/games/desura/common/king-arthurs-gold/Base/GUI/paper_tiles.png
    [0] Loaded texture: /usr/local/games/desura/common/king-arthurs-gold/Base/GUI/blockmenu.png
    [0] Loaded texture: /usr/local/games/desura/common/king-arthurs-gold/Base/GUI/button.png
    [0] Loaded texture: /usr/local/games/desura/common/king-arthurs-gold/Base/GUI/whitebutton.png
    irrKlang sound library version 1.3.0
    Using ALSA driver
    [0] Sound engine started
    [0] Variable s_mood has NULL type
    Game version 203
    [0] Variable sv_deltacompression has NULL type
    [0] Variable cl_sex has NULL type
    [0] Variable cl_head has NULL type
    [0] Variable cl_hat has NULL type
    [0] Precaching files...
    Precaching files.
    [0] Loaded texture: /usr/local/games/desura/common/king-arthurs-gold/Base/GUI/archer_cursor.png
    [0] Loaded texture: /usr/local/games/desura/common/king-arthurs-gold/Base/GUI/arrowdown.png
    [0] Loaded texture: /usr/local/games/desura/common/king-arthurs-gold/Base/GUI/builder_cursor.png
    [0] Loaded texture: /usr/local/games/desura/common/king-arthurs-gold/Base/GUI/emblem1.png
    [0] Loaded texture: /usr/local/games/desura/common/king-arthurs-gold/Base/GUI/heart.png
    [0] Loaded texture: /usr/local/games/desura/common/king-arthurs-gold/Base/GUI/knight_cursor.png
    [0] Loaded texture: /usr/local/games/desura/common/king-arthurs-gold/Base/GUI/progress.png
    [0] Loaded texture: /usr/local/games/desura/common/king-arthurs-gold/Base/GUI/progress_bar.png
    [0] Loaded texture: /usr/local/games/desura/common/king-arthurs-gold/Base/Sprites/Back/BackgroundCastle.png
    [0] Loaded texture: /usr/local/games/desura/common/king-arthurs-gold/Base/Sprites/Back/BackgroundIsland.png
    [0] Loaded texture: /usr/local/games/desura/common/king-arthurs-gold/Base/Sprites/Back/BackgroundPlains.png
    [0] Loaded texture: /usr/local/games/desura/common/king-arthurs-gold/Base/Sprites/Back/BackgroundTrees.png
    [0] Loaded texture: /usr/local/games/desura/common/king-arthurs-gold/Base/Sprites/Back/cloud1.png
    [0] Loaded texture: /usr/local/games/desura/common/king-arthurs-gold/Base/Sprites/Back/cloud2.png
    [0] Loaded texture: /usr/local/games/desura/common/king-arthurs-gold/Base/Sprites/Back/cloud3.png
    [0] Loaded texture: /usr/local/games/desura/common/king-arthurs-gold/Base/Sprites/Back/cloud4.png
    [0] Loaded texture: /usr/local/games/desura/common/king-arthurs-gold/Base/Sprites/bubble.png
    [0] Loaded texture: /usr/local/games/desura/common/king-arthurs-gold/Base/Sprites/builder1.png
    [0] Loaded texture: /usr/local/games/desura/common/king-arthurs-gold/Base/Sprites/catapult.png
    [0] Loaded texture: /usr/local/games/desura/common/king-arthurs-gold/Base/Sprites/drilltile.png
    [0] Loaded texture: /usr/local/games/desura/common/king-arthurs-gold/Base/Sprites/goldspark.png
    [0] Loaded texture: /usr/local/games/desura/common/king-arthurs-gold/Base/Sprites/heart.png
    [0] Loaded texture: /usr/local/games/desura/common/king-arthurs-gold/Base/Sprites/outpost1.png
    [0] Loaded texture: /usr/local/games/desura/common/king-arthurs-gold/Base/Sprites/pixel.png
    [0] Loaded texture: /usr/local/games/desura/common/king-arthurs-gold/Base/Sprites/sign.png
    [0] Loaded texture: /usr/local/games/desura/common/king-arthurs-gold/Base/Sprites/Trees/pine.png
    [0] Loaded texture: /usr/local/games/desura/common/king-arthurs-gold/Base/Sprites/twigs.png
    [0] Loaded texture: /usr/local/games/desura/common/king-arthurs-gold/Base/Sprites/world.png
    Could not open sound file: Sounds/GUI/menuclick.ogg
    Could not open sound file: Sounds/GUI/option.ogg
    No streaming was specified, but forcing to play sound streamed (See ISoundSource::setForcedStreamingThreshold): Sounds/Music/ambient_cavern.ogg
    No streaming was specified, but forcing to play sound streamed (See ISoundSource::setForcedStreamingThreshold): Sounds/Music/ambient_forrest.ogg
    No streaming was specified, but forcing to play sound streamed (See ISoundSource::setForcedStreamingThreshold): Sounds/Music/ambient_mountain.ogg
    No streaming was specified, but forcing to play sound streamed (See ISoundSource::setForcedStreamingThreshold): Sounds/Music/aminor/bridge.ogg
    No streaming was specified, but forcing to play sound streamed (See ISoundSource::setForcedStreamingThreshold): Sounds/Music/aminor/bridge2.ogg
    No streaming was specified, but forcing to play sound streamed (See ISoundSource::setForcedStreamingThreshold): Sounds/Music/aminor/contemplations1.ogg
    No streaming was specified, but forcing to play sound streamed (See ISoundSource::setForcedStreamingThreshold): Sounds/Music/aminor/contemplations3.ogg
    No streaming was specified, but forcing to play sound streamed (See ISoundSource::setForcedStreamingThreshold): Sounds/Music/aminor/intro.ogg
    No streaming was specified, but forcing to play sound streamed (See ISoundSource::setForcedStreamingThreshold): Sounds/Music/aminor/middle.ogg
    No streaming was specified, but forcing to play sound streamed (See ISoundSource::setForcedStreamingThreshold): Sounds/Music/aminor/outro.ogg
    Could not open sound file: Sounds/fall1.ogg
    Could not open sound file: Sounds/loot.ogg
    Could not open sound file: Sounds/metronome.ogg
    [0]  ...Precaching files.
    [0] Loading config defines Scripts/defines.cfg
    [0] Creating world from file ''
    [0] *Match Ended*
    [0] Autostart: doing nothing
    [0] Config loaded from autostart.gm
    [6] Loaded texture: /usr/local/games/desura/common/king-arthurs-gold/Base/GUI/DarkMicroStone.png
    [6] Loaded texture: /usr/local/games/desura/common/king-arthurs-gold/Base/GUI/BorderStone.png
    [6] Loaded texture: /usr/local/games/desura/common/king-arthurs-gold/Base/GUI/MicroStone.png
    [6] Loaded texture: /usr/local/games/desura/common/king-arthurs-gold/Base/GUI/SimpleStone.png
    [6] Loaded texture: /usr/local/games/desura/common/king-arthurs-gold/Base/GUI/FramedStone.png
    [6] Could not load sprite bank because the file does not exist: servers bank
    [6] Loaded texture: /usr/local/games/desura/common/king-arthurs-gold/Base/GUI/server_icons.png
    [137] Server created on 0:50301.
    
    [137] Loading game rules from Rules/Builder/gamemode.cfg...
    [137] Loaded team 0 'GUI/emblem1.png'
    [137]  Loaded team 0 class 0 ''
    [137] *Match Ended*
    [137] Config loaded from BLD_tutorial.gm
    Client created
    [137] Connecting to 127.0.0.1:50301
    [138] Map saved to Maps/autosave.png
    Client: Connected to foreign host 100007f:50301.
    [142] New player joined the game
    [142] Loaded texture: /usr/local/games/desura/common/king-arthurs-gold/Base/GUI/MenuItems.png
    [142] Loaded texture: /usr/local/games/desura/common/king-arthurs-gold/Base/GUI/RotatingArrow.png
    [142] Loaded texture: /usr/local/games/desura/common/king-arthurs-gold/Base/Sprites/builderMale.png
    [142] Loaded texture: /usr/local/games/desura/common/king-arthurs-gold/Base/Sprites/MaleHeads.png
    [142] Unnamed player is now known as test
    [143] Established connection to master server
    ./rungame.sh: Zeile 5:  6299 Speicherzugriffsfehler  ./KAG autostart Scripts/autostart.gm autoconfig Scripts/autoconfig.gm
     
  10. Chiguireitor

    Chiguireitor Shopkeep Stealer

    Messages:
    62
    lib32asound2-dev did the trick!!! Finally can play properly on my box...

    @MM: Maybe you're linking against the 32Bit debug libs of ALSA, that's why the -dev pkg is needed.
     
    trelawney likes this.
  11. czarnyckm

    czarnyckm Shipwright

    Messages:
    4
    I have still the same problem with lib32asound2-dev installed. Just no sound and seg fault after first jump if the sound is enabled. Can you provide installer with the all libs you used? Or static linked executable. Or 64-bit version. How can I specify which sound device can be used e.g. plughw or surround51.
    Code:
    LANG=C aplay -l
    **** List of PLAYBACK Hardware Devices ****
    card 0: XFi [Creative X-Fi], device 0: ctxfi [Front/WaveIn]
      Subdevices: 8/8
      Subdevice #0: subdevice #0
      Subdevice #1: subdevice #1
      Subdevice #2: subdevice #2
      Subdevice #3: subdevice #3
      Subdevice #4: subdevice #4
      Subdevice #5: subdevice #5
      Subdevice #6: subdevice #6
      Subdevice #7: subdevice #7
    card 0: XFi [Creative X-Fi], device 1: ctxfi [Surround]
      Subdevices: 8/8
      Subdevice #0: subdevice #0
      Subdevice #1: subdevice #1
      Subdevice #2: subdevice #2
      Subdevice #3: subdevice #3
      Subdevice #4: subdevice #4
      Subdevice #5: subdevice #5
      Subdevice #6: subdevice #6
      Subdevice #7: subdevice #7
    card 0: XFi [Creative X-Fi], device 2: ctxfi [Center/LFE]
      Subdevices: 8/8
      Subdevice #0: subdevice #0
      Subdevice #1: subdevice #1
      Subdevice #2: subdevice #2
      Subdevice #3: subdevice #3
      Subdevice #4: subdevice #4
      Subdevice #5: subdevice #5
      Subdevice #6: subdevice #6
      Subdevice #7: subdevice #7
    card 0: XFi [Creative X-Fi], device 3: ctxfi [Side]
      Subdevices: 8/8
      Subdevice #0: subdevice #0
      Subdevice #1: subdevice #1
      Subdevice #2: subdevice #2
      Subdevice #3: subdevice #3
      Subdevice #4: subdevice #4
      Subdevice #5: subdevice #5
      Subdevice #6: subdevice #6
      Subdevice #7: subdevice #7
    card 0: XFi [Creative X-Fi], device 4: ctxfi [IEC958 Non-audio]
      Subdevices: 1/1
      Subdevice #0: subdevice #0
     
  12. czarnyckm

    czarnyckm Shipwright

    Messages:
    4
    Code:
    strace output:
    open("/dev/snd/controlC2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
    open("/dev/aloadC2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
    open("/dev/snd/controlC3", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
    open("/dev/aloadC3", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
    open("/dev/snd/controlC4", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
    open("/dev/aloadC4", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
    open("/dev/snd/controlC5", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
    open("/dev/aloadC5", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
    open("/dev/snd/controlC6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
    open("/dev/aloadC6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
    open("/dev/snd/controlC7", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
    open("/dev/aloadC7", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
    open("/dev/snd/controlC8", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
    open("/dev/aloadC8", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
    open("/dev/snd/controlC9", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
    open("/dev/aloadC9", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
    open("/dev/snd/controlC10", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
    open("/dev/aloadC10", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
    open("/dev/snd/controlC11", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
    open("/dev/aloadC11", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
    open("/dev/snd/controlC12", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
    open("/dev/aloadC12", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
    open("/dev/snd/controlC13", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
    open("/dev/aloadC13", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
    open("/dev/snd/controlC14", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
    open("/dev/aloadC14", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
    open("/dev/snd/controlC15", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
    open("/dev/aloadC15", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
    open("/dev/snd/controlC16", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
    open("/dev/aloadC16", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
    open("/dev/snd/controlC17", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
    open("/dev/aloadC17", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
    open("/dev/snd/controlC18", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
    open("/dev/aloadC18", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
    open("/dev/snd/controlC19", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
    open("/dev/aloadC19", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
    open("/dev/snd/controlC20", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
    open("/dev/aloadC20", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
    open("/dev/snd/controlC21", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
    open("/dev/aloadC21", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
    open("/dev/snd/controlC22", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
    open("/dev/aloadC22", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
    open("/dev/snd/controlC23", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
    open("/dev/aloadC23", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
    open("/dev/snd/controlC24", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
    open("/dev/aloadC24", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
    open("/dev/snd/controlC25", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
    open("/dev/aloadC25", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
    open("/dev/snd/controlC26", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
    open("/dev/aloadC26", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
    open("/dev/snd/controlC27", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
    open("/dev/aloadC27", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
    open("/dev/snd/controlC28", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
    open("/dev/aloadC28", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
    open("/dev/snd/controlC29", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
    open("/dev/aloadC29", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
    open("/dev/snd/controlC30", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
    open("/dev/aloadC30", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
    open("/dev/snd/controlC31", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
    open("/dev/aloadC31", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
    open("/dev/snd/controlC0", O_RDONLY|O_CLOEXEC) = 15
    fcntl64(15, F_SETFD, FD_CLOEXEC)        = 0
    ioctl(15, UI_DEV_CREATE, 0xfff538e8)    = 0
    close(15)                              = 0
    stat64("/usr/share/alsa/alsa.conf", {st_mode=S_IFREG|0644, st_size=9062, ...}) = 0
    open("/dev/snd/controlC0", O_RDONLY|O_CLOEXEC) = 15
    fcntl64(15, F_SETFD, FD_CLOEXEC)        = 0
    ioctl(15, UI_DEV_CREATE, 0xfff53798)    = 0
    close(15)                              = 0
    open("/dev/snd/controlC0", O_RDWR|O_CLOEXEC) = 15
    fcntl64(15, F_SETFD, FD_CLOEXEC)        = 0
    ioctl(15, USBDEVFS_CONTROL or USBDEVFS_CONTROL32, 0xfff53af8) = 0
    ioctl(15, UI_DEV_CREATE, 0xfff53ab0)    = 0
    close(15)                              = 0
    open("/dev/snd/controlC0", O_RDONLY|O_CLOEXEC) = 15
    fcntl64(15, F_SETFD, FD_CLOEXEC)        = 0
    ioctl(15, UI_DEV_CREATE, 0xfff53a98)    = 0
    close(15)                              = 0
    open("/dev/snd/controlC0", O_RDWR|O_CLOEXEC) = 15
    fcntl64(15, F_SETFD, FD_CLOEXEC)        = 0
    ioctl(15, USBDEVFS_CONTROL or USBDEVFS_CONTROL32, 0xfff53c58) = 0
    Code:
    ls /dev/snd
    by-id  by-path  controlC0  controlC1  pcmC0D0c  pcmC0D0p  pcmC0D1p  pcmC0D2p  pcmC0D3p  pcmC0D4p  pcmC1D0c  seq  timer
    
     
  13. allknowingfrog

    allknowingfrog Bison Rider

    Messages:
    549
    czar, changing my config file caused me to crash too. Have you tried setting it back to default since you downloaded extra ALSA files?
     
  14. czarnyckm

    czarnyckm Shipwright

    Messages:
    4
    lib32asound2-dev on debian just install needed link to libasound.so.
    I changed global s_effects = 0; to avoid seg fault.
    The debug output say playing but I have still no sound.

    Code:
    open("/usr/lib/libasound.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
    open("/usr/lib/libasound.so", O_RDONLY) = -1 ENOENT (No such file or directory)
    open("/etc/ld.so.cache", O_RDONLY)      = 15
    fstat64(15, {st_mode=S_IFREG|0644, st_size=234088, ...}) = 0
    mmap2(NULL, 234088, PROT_READ, MAP_PRIVATE, 15, 0) = 0xfffffffff45c8000
    close(15)                              = 0
    access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
    open("[B]/usr/lib32/libasound.so[/B]", O_RDONLY) = 15
    read(15, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0000\20\2\0004\0\0\0"..., 512) = 512
    fstat64(15, {st_mode=S_IFREG|0644, st_size=1004664, ...}) = 0
    mmap2(NULL, 1003412, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 15, 0) = 0xfffffffff3839000
    mmap2(0xf392a000, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 15, 0xf1) = 0xfffffffff392a000
    close(15)                              = 0
    munmap(0xf45c8000, 234088)              = 0
    stat64("/usr/share/alsa/alsa.conf", {st_mode=S_IFREG|0644, st_size=9062, ...}) = 0
    open("/usr/share/alsa/alsa.conf", O_RDONLY) = 15
    fstat64(15, {st_mode=S_IFREG|0644, st_size=9062, ...}) = 0
    mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xfffffffff4601000
    read(15, "#\n#  ALSA library configuration "..., 4096) = 4096
    read(15, "\t\t\t\tALSA_PCM_CARD\n\t\t\t\tALSA_CARD\n"..., 4096) = 4096
    read(15, "fer\n\t\tname defaults.timer.sclass"..., 4096) = 870
    read(15, "", 4096)                      = 0
    read(15, "", 4096)                      = 0
    close(15)                              = 0
    munmap(0xf4601000, 4096)                = 0
    access("/usr/share/alsa/pulse.conf", R_OK) = -1 ENOENT (No such file or directory)
    access("/etc/asound.conf", R_OK)        = 0
    open("[B]/etc/asound.conf[/B]", O_RDONLY)      = 15
    fstat64(15, {st_mode=S_IFREG|0674, st_size=81, ...}) = 0
    mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xfffffffff4601000
    read(15, "[B]pcm.!default[/B] {\n    type hw\n    c"..., 4096) = 81
    read(15, "", 4096)                      = 0
    read(15, "", 4096)                      = 0
    close(15)                              = 0
    munmap(0xf4601000, 4096)                = 0
    access("/home/arta/.asoundrc", R_OK)    = -1 ENOENT (No such file or directory)
    open("[B]/dev/snd/controlC0[/B]", O_RDWR|O_CLOEXEC) = 15
    fcntl64(15, F_SETFD, FD_CLOEXEC)        = 0
    ioctl(15, USBDEVFS_CONTROL or USBDEVFS_CONTROL32, 0xffc0dce8) = 0
    ioctl(15, 0x40045532, 0xffc0dcf4)      = 0
    open("[B]/dev/snd/pcmC0D0p[/B]", O_RDWR|O_NONBLOCK|O_CLOEXEC) = 16
    fcntl64(16, F_SETFD, FD_CLOEXEC)        = 0
    close(15)                              = 0
    ioctl(16, AGPIOC_ACQUIRE or APM_IOC_STANDBY, 0xffc0db38) = 0
    fcntl64(16, F_GETFL)                    = 0x80802 (flags O_RDWR|O_NONBLOCK|O_CLOEXEC)
    ioctl(16, AGPIOC_INFO, 0xffc0dce4)      = 0
    clock_gettime(CLOCK_MONOTONIC, {22895, 970722843}) = 0
    ioctl(16, AGPIOC_SETUP, 0xffc0dcec)    = 0
    mmap2(NULL, 4096, PROT_READ, MAP_SHARED, 16, 0x80000) = -1 ENXIO (No such device or address)
     
  15. FarmerJohn

    FarmerJohn Bison Rider

    Messages:
    21
    Fedora 16, no sound
    Code:
    [0] Loaded texture: /home/alexk/tmp/kag_x/Base/GUI/whitebutton.png
    [B]irrKlang sound library version 1.3.0[/B]
    [B]ALSA lib pcm.c:2105:(snd_pcm_open_conf) Cannot open shared library /usr/lib/alsa-lib/libasound_module_pcm_pulse.so[/B]
    [B]Error opening PCM device for ALSA[/B]
    [B][0] Sound engine started[/B]
    
    That's a bit confusing. I have /usr/lib/alsa-lib/libasound_module_pcm_pulse.so (alsa-plugins-pulseaudio.i686 0:1.0.24-2.fc15.rpm)
     
  16. ltdlima

    ltdlima Shipwright

    Messages:
    5
    No sound in Ubuntu 11.10 by today. Alsa libs are available and there is no error displayed respective to sound what so ever. The terminal output even gives message about the played and loaded *.ogg files. The same files are played easily using the banshee or vlc player.
    Probably there is a manual effort to the .asoundrc necessary? Any suggestions?
     
  17. Chiguireitor

    Chiguireitor Shopkeep Stealer

    Messages:
    62
    Install lib32asound2-dev (ALSA Developer package)... it should do the trick
     
  18. ltdlima

    ltdlima Shipwright

    Messages:
    5
    Thx for the tip. Unfortunately the alsa dev-package was already installed but I still don't get any sound from the game at all.
     
  19. Hagal

    Hagal Shipwright

    Messages:
    1
    I went to start the game with full sound in Ubuntu 11.10 64bit - enter commands to the console:

    Code:
    sudo apt-get install lib32asound2-dev
    Code:
    sudo apt-get remove pulseaudio --purge
    Then reboot your machine and run the game :)

    If after this change turns off the all sound system, this type to the console:

    Code:
    sudo apt-get install alsa-firmware alsa-source alsa-tools
    Code:
    sudo modinfo soundcore
    Code:
    sudo dpkg-reconfigure alsa-base
    If you do not see the audio settings of the sound card back to the terminal type:

    Code:
    sudo apt-get remove pulseaudio
    Code:
    sudo apt-get install esound
    I hope that now you will hear the sound ;)
     
    Kagesha likes this.
  20. tarpit

    tarpit Shipwright

    Messages:
    1
    "sudo apt-get install lib32asound2-dev" fixes no sound on Kubuntu 10.04 64-bit, thank you.