Code: Select all
GZDoom version: g4.8.0
Os: Windows 10 (NT 10.0) Build 19044
S_Init: Setting up sound.
I_InitSound: Initializing OpenAL
Opened device OpenAL Soft on Speakers (3- UMC404HD 192k)
Failed to setup context: Invalid Device
Sound init failed. Using nosound.
I tried running it again from the command prompt with:
Code: Select all
set ALSOFT_LOGLEVEL=3
set ALSOFT_LOGFILE=openal-log.txt
Code: Select all
[ALSOFT] (II) Initializing library v1.22.0-c1c63a27 master
[ALSOFT] (II) Supported backends: wasapi, dsound, winmm, null, wave
[ALSOFT] (II) Loading config C:\Users\***\AppData\Roaming\alsoft.ini...
[ALSOFT] (II) Got binary: D:\Games\Doom\GZDoom, gzdoom.exe
[ALSOFT] (II) Loading config D:\Games\Doom\GZDoom\alsoft.ini...
[ALSOFT] (II) Key disable-cpu-exts not found
[ALSOFT] (II) Vendor ID: "AuthenticAMD"
[ALSOFT] (II) Name: "AMD Ryzen 5 5600X 6-Core Processor"
[ALSOFT] (II) Extensions: +SSE +SSE2 +SSE3 +SSE4.1
[ALSOFT] (II) Key rt-prio not found
[ALSOFT] (II) Key rt-time-limit not found
[ALSOFT] (II) Key game_compat/reverse-x not found
[ALSOFT] (II) Key game_compat/reverse-y not found
[ALSOFT] (II) Key game_compat/reverse-z not found
[ALSOFT] (II) Key resampler not found
[ALSOFT] (II) Key trap-al-error not found
[ALSOFT] (II) Key trap-alc-error not found
[ALSOFT] (II) Key reverb/boost not found
[ALSOFT] (II) Key drivers not found
[ALSOFT] (II) Starting message thread
[ALSOFT] (II) Message thread initialization complete
[ALSOFT] (II) Starting message loop
[ALSOFT] (II) Initialized backend "wasapi"
[ALSOFT] (II) Added "wasapi" for playback
[ALSOFT] (II) Added "wasapi" for capture
[ALSOFT] (II) Key excludefx not found
[ALSOFT] (II) Key default-reverb not found
[ALSOFT] (II) Key eax/enable not found
[ALSOFT] (II) Got message "Open Device" (0x0000, this=000001e8960e6ce0, param=0000000000000000)
[ALSOFT] (II) Key frequency not found
[ALSOFT] (II) Key sources not found
[ALSOFT] (II) Key slots not found
[ALSOFT] (II) Key sends not found
[ALSOFT] (II) Created device 000001e8960e8850, "OpenAL Soft on Speakers (3- UMC404HD 192k)"
[ALSOFT] (II) ALC_MONO_SOURCES = 127
[ALSOFT] (II) ALC_STEREO_SOURCES = 1
[ALSOFT] (II) ALC_HRTF_SOFT = 2
[ALSOFT] (II) Key sources not found
[ALSOFT] (II) Key sends not found
[ALSOFT] (II) Key frequency not found
[ALSOFT] (II) Key sample-type not found
[ALSOFT] (II) Key channels not found
[ALSOFT] (II) Key ambi-format not found
[ALSOFT] (II) Key period_size not found
[ALSOFT] (II) Key periods not found
[ALSOFT] (II) Key hrtf not found
[ALSOFT] (II) Pre-reset: Stereo, Float32, 44100hz, 882 / 2646 buffer
[ALSOFT] (II) Got message "Reset Device" (0x0002, this=000001e8960e6ce0, param=0000000000000000)
[ALSOFT] (EE) Unhandled channel config: 4 -- 0x00000000
[ALSOFT] (II) Requesting playback format:
FormatTag = 0xfffe
Channels = 2
SamplesPerSec = 44100
AvgBytesPerSec = 352800
BlockAlign = 8
BitsPerSample = 32
Size = 22
Samples = 32
ChannelMask = 0x3
SubFormat = {00000003-0000-0010-8000-00aa00389b71}
[ALSOFT] (II) Got playback format:
FormatTag = 0xfffe
Channels = 4
SamplesPerSec = 44100
AvgBytesPerSec = 705600
BlockAlign = 16
BitsPerSample = 32
Size = 22
Samples = 32
ChannelMask = 0x0
SubFormat = {00000003-0000-0010-8000-00aa00389b71}
[ALSOFT] (EE) Unhandled extensible channels: 4 -- 0x00000000
[ALSOFT] (EE) Failed to initialize audio client: 0x80070057
[ALSOFT] (EE) Device error: 0x80070057
[ALSOFT] (WW) Error generated on device 000001e8960e8850, code 0xa001
[ALSOFT] (II) Freeing device 000001e8960e8850
[ALSOFT] (II) Got message "Close Device" (0x0005, this=000001e8960e6ce0, param=0000000000000000)
[ALSOFT] (II) Got message "Enumerate Playback" (0x0006, this=0000000000000000, param=0000000000000000)
[ALSOFT] (II) Got device "Speakers (3- UMC404HD 192k)", "{02234C1C-0F1C-4143-8136-D7453F4838DB}", "{0.0.0.00000000}.{02234c1c-0f1c-4143-8136-d7453f4838db}"
[ALSOFT] (II) Got device "ASUS VE276 (NVIDIA High Definition Audio)", "{EBEBF049-79C5-4961-9930-6A2614F76D16}", "{0.0.0.00000000}.{ebebf049-79c5-4961-9930-6a2614f76d16}"
I figured it out. I needed to add an alsoft.ini file with "drivers = winmm" to my GZDoom folder. Winmm was the only backend that worked. A little bit convoluted way of handling things, I must say. Why not have this option in-game instead? Or better yet, have it automatically pick the first one that works.