ALVR failed to capture audio crash similar to #120
Hi, ALVR (v2.3.0) is crashing on my laptop. The crash is the same as issue #120 . My Laptop is Alienware 15R3 with GTX1070 I have changed the audio to 44100hz (or 44800) and also disable audio enhancements but keep getting the same fault shown below
[20:37:29.943 149] CNvEncoder is successfully initialized. [20:37:29.943 149] [VDispDvr] Encoder waiting for new frame... [20:37:29.951 129] MixFormat: nBlockAlign=32 wFormatTag=65534 wBitsPerSample=32 nChannels=8 nSamplesPerSec=44100 [20:37:29.951 129] PWAVEFORMATEXTENSIBLE: SubFormat=1694626016 wValidBitsPerSample=32 [20:37:29.955 136] IAudioClient::Initialize failed: hr = 0x88890008 [20:37:29.955 136] Exception on sound capture. message=IAudioClient::Initialize failed: hr = 0x88890008 [20:37:29.955 136] Thread aborted before starting to loopback capture. message=IAudioClient::Initialize failed: hr = 0x88890008 [20:37:29.955 136] Failed to start audio capture. Thread aborted before starting to loopback capture. message=IAudioClient::Initialize failed: hr = 0x88890008
If I use windows remote desktop (or teamviewerr) to remote into my Alienware laptop to start ALVR, it works. Below is the log for such connection
[17:41:52.019 488] CNvEncoder is successfully initialized. [17:41:52.019 488] [VDispDvr] Encoder waiting for new frame... [17:41:52.023 507] MixFormat: nBlockAlign=8 wFormatTag=65534 wBitsPerSample=32 nChannels=2 nSamplesPerSec=44100 [17:41:52.023 507] PWAVEFORMATEXTENSIBLE: SubFormat=-2095975936 wValidBitsPerSample=32 [17:41:52.414 051] Closing old control client [17:41:52.894 907] Initialize swresample. src_rate=44100 dst_rate=48000 [17:41:52.894 907] swresample successfully initialized. src_rate=44100 dst_rate=48000 src_nb_channels=2 dst_nb_channels=2 max_dst_nb_samples=1115
its looks as if RDP downgrades my connection to 2 channels .... hence making ALVR work
Any clues?
Thanks very much
Thank you for report! I confirmed that the server couldn't properly process when channel is not 2. I will try to fix it. Please wait a while.
Thanks for the reply and the hard work!,
Please review at my link for my audio issue do no understand how to solve it https://www.facebook.com/photo.php?fbid=10161875590285117&set=gm.481622875918869&type=3&theater&ifg=1
why facebook?