[resolved]: no sound, openal+alsa work in other apps

Added by ramuel over 4 years ago

Greetings.
Similar to two other threads, I do not have any sound in ryzom_client.
Openal output with alsa backend works for mplayer and naev, and the behaviour is the same both in kde and fluxbox.
Relevant part from client.log, as far as i can see:
2011/03/16 11:05:35 DBG 4122404592 <Unknown> audio_mixer_user.cpp 352 initDriver : AM: Init Driver 'AUTO' ('auto')...
2011/03/16 11:05:35 INF 4122404592 <Unknown> sound_driver.cpp 108 createDriver : Creating statically linked sound driver AUTO
2011/03/16 11:05:35 DBG 4122404592 <Unknown> ext_al.cpp 25 alExtInit : AL: Initializing extensions
2011/03/16 11:05:35 DBG 4122404592 <Unknown> audio_mixer_user.cpp 407 initDevice : AM: Init Device...
2011/03/16 11:05:35 DBG 4122404592 <Unknown> sound_driver_al.cpp 300 initDevice : AL: Opening device: 'NULL'
2011/03/16 11:05:35 INF 4122404592 <Unknown> common.cpp 547 Exception : Exception will be launched: AL: Failed to open device
2011/03/16 11:05:35 WRN 4122404592 <Unknown> audio_mixer_user.cpp 463 initDevice : AL: Failed to open device
2011/03/16 11:05:35 WRN 4122404592 <Unknown> init.cpp 1269 postlogInit : init : Error when creating 'SoundMngr' : AL: Failed to open device

media-libs/openal installed version is (~)1.12.854
alsa is from kernel 2.6.34-gentoo-r6

Any help would be appreciated, I'll try to supply any additional information you might need.

EDIT: solved by compiling the client locally. Note to self: next time, check if precompiled binaries are 32 or 64 bit :-)


Replies (4)

RE: no sound, openal+alsa work in other apps - Added by Krolock over 4 years ago

Which Openal version do you have? I had this issue too some time ago. After an update to openal-soft-1.12.854, my sound worked.
I think the newest version 1.13 would also work, but I haven't approved it up to now.

RE: no sound, openal+alsa work in other apps - Added by ramuel over 4 years ago

openal is already at 1.12.854.
upgrading from 1.11.753 changed nothing so far.

RE: no sound, openal+alsa work in other apps - Added by Krolock over 4 years ago

Is OpenAL configured to use ALSA? OpenAL's default sound device is oss (don't know why).

RE: no sound, openal+alsa work in other apps - Added by ramuel over 4 years ago

It is:
$ openal-info
Available playback devices:
ALSA Software on default
ALSA Software on VIA 8237 [VIA 8237] (hw:0,0)
ALSA Software on VIA 8237 [VIA 8237] (hw:0,1)
Available capture devices:
ALSA Capture on default
ALSA Capture on VIA 8237 [VIA 8237] (hw:0,0)
ALSA Capture on VIA 8237 [VIA 8237] (hw:0,1)
Default playback device: ALSA Software
Default capture device: ALSA Capture on default
ALC version: 1.1

  • Info for device "ALSA Software" **
    ALC version: 1.1
    ALC extensions:
    ALC_ENUMERATE_ALL_EXT, ALC_ENUMERATION_EXT, ALC_EXT_CAPTURE,
    ALC_EXT_disconnect, ALC_EXT_EFX, ALC_EXT_thread_local_context
    OpenAL vendor string: OpenAL Community
    OpenAL renderer string: OpenAL Soft
    OpenAL version string: 1.1 ALSOFT 1.12.854
    OpenAL extensions:
    AL_EXTX_buffer_sub_data, 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_MCFORMATS, AL_EXT_OFFSET,
    AL_EXTX_sample_buffer_object, AL_EXT_source_distance_model,
    AL_LOKI_quadriphonic
    EFX version: 1.0
    Max auxiliary sends: 2
    Supported filters:
    Low-pass
    Supported effects:
    EAX Reverb, Reverb, Echo

(1-4/4)