-
February 20th, 2012, 11:40 PM
#1
(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.
-
February 21st, 2012, 05:37 AM
#2
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...
-
February 28th, 2012, 01:47 PM
#3
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.
-
February 28th, 2012, 01:55 PM
#4
Thanks! I'll compare DD2 and DD1 again... there must be something else I missed for the audio not to work properly...
-
February 28th, 2012, 02:05 PM
#5
I think I see the problem. I'll have an updated release candidate for you to try in about 10 minutes...
-
February 28th, 2012, 02:14 PM
#6
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!
-
February 29th, 2012, 01:50 PM
#7
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
-
Forum Rules
|