GamesSupportLinksReviewsBlogAbout Us
Results 1 to 7 of 7
  1. #1
    Join Date
    Feb 2012
    Location
    Wołomin / Poland
    Posts
    17

    Talking (SOLVED) Sound on the Linux Mandriva 2011 64bit with updates in DD ver 1.2.1

    Trial DD version 1.2 (without ".1" at the end) was working OK on my computer out of box up to vanila MDV 2011 64bit. But after update the is no sound, no way using/changing SDL_AUDIO driver.

    I have bought full version of game, downloaded new version of trial -=> 1.2.1 and after install I have changed last line in Dirk script to:

    # Run the game
    padsp ./dirkdashing

    "padsp" was added.

    Now game work OK.

  2. #2

    Default

    Thanks for the tip, miesiu! The game's readme also has some helpful tips for dealing with Linux audio, in case that doesn't work for others. It's a shame audio is still an issue in 2012...

  3. #3
    Join Date
    Feb 2012
    Location
    Wołomin / Poland
    Posts
    17

    Default

    I have downloaded the newer version 1.2.2 and install as fresh - old version removed. From the very beginning I have installed the only demo version.
    .
    Something is special - the first time i have seen that any program may crash from root but work from user account: (added strace to dirk script - below last lines)

    -----------------------------------------------------------------------------------------
    access("/etc/asound.conf", R_OK) = -1 ENOENT (No such file or directory)
    access("/root/.asoundrc", R_OK) = -1 ENOENT (No such file or directory)
    open("/usr/lib/alsa-lib/libasound_module_pcm_pulse.so", O_RDONLY) = 6
    read(6, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\3 60\30\0\0004\0\0\0"..., 512) = 512
    fstat64(6, {st_mode=S_IFREG|0755, st_size=22164, ...}) = 0
    mmap2(NULL, 24916, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 6, 0) = 0xfffffffff74c8000
    mmap2(0xf74cd000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 6, 0x4) = 0xfffffffff74cd000
    close(6) = 0
    mprotect(0xf74cd000, 4096, PROT_READ) = 0
    pipe([6, 8]) = 0
    fcntl64(6, F_GETFL) = 0 (flags O_RDONLY)
    fcntl64(6, F_SETFL, O_RDONLY|O_NONBLOCK) = 0
    fcntl64(8, F_GETFL) = 0x1 (flags O_WRONLY)
    fcntl64(8, F_SETFL, O_WRONLY|O_NONBLOCK) = 0
    --- {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0x856a} (Segmentation fault) ---
    +++ killed by SIGSEGV (core dumped) +++
    ./dirk: line 36: 15198 Segmentation fault (core dumped) strace ./dirkdashing
    [root@localhost Dirk_Dashing]#
    -------------------------------------------------------------------------------------------

    Next one - still root account:
    I have added:
    export SDL_AUDIODRIVER=alsa (esd make no effect)

    and like in the past:
    # Run the game
    padsp ./dirkdashing

    The game started and work.

    User account test from begining - the game start from user account - but without sound.
    after add like in the past:
    # Run the game
    padsp ./dirkdashing
    the game work perfect.


    Both root & user account: if there is fresh account there is needed both lines with alsa&padsp - I suppose for create ~/.pulse-cookie.

    From the second game start the only padsp is needed for sound. Reverse - the only alsa without padsp make no sound. But why without padsp from root crached - I haven't got any idea.


    Next - in DD-1 version 1.2.2 & MDV2011/64bit now is working switch full/window mode. In 1.2.1 game crashed without any comment/message.

  4. #4
    Join Date
    Jan 2008
    Location
    San Diego
    Posts
    1,098

    Default

    Thanks! I'll compare DD2 and DD1 again... there must be something else I missed for the audio not to work properly...

  5. #5
    Join Date
    Jan 2008
    Location
    San Diego
    Posts
    1,098

    Default

    I think I see the problem. I'll have an updated release candidate for you to try in about 10 minutes...

  6. #6
    Join Date
    Jan 2008
    Location
    San Diego
    Posts
    1,098

    Default

    Ok, I uploaded a new release candidate, and sent you an e-mail with the link. Let me know if the audio works properly with that one. Thanks!

  7. #7
    Join Date
    Feb 2012
    Location
    Wołomin / Poland
    Posts
    17

    Default

    The latest version DD-1 1.2.2 works OK out of box.

    Good work Troy!

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Copyright © 2003-2012, My Game Company. All rights reserved.