Cool VL Viewer forum

View unanswered posts | View active topics It is currently 2024-04-27 16:57:37



Reply to topic  [ 18 posts ]  Go to page 1, 2  Next
Voice won't work 
Author Message

Joined: 2011-09-27 11:18:31
Posts: 176
Reply with quote
Hello!

It's been a few days now that voice (under 64bit wine) refuses to work. (I get no dot.) The process starts, because I get
Code:
nikos@Archytas ~ $ ps ax | grep Voice
 9070 ?        Rl     0:22 /home/nikos/.wine-slvoice/drive_c/Vivox/SLVoice.exe -i 127.0.0.1:44076 -ll 0 -lf /home/nikos/.secondlife/logs -lp SLVoice -ls .log -st 5
 9276 pts/1    S+     0:00 grep --colour=auto Voice

but it doesn't connect to the server. In ~/.secondlife/logs/SLVoice.log I get repeated instances of
Code:
02:24:23.000: ERROR VivoxClient::Client::BeginShutdown(314) vmr.GetResult()=3061
02:24:23.000: ERROR VivoxSystem::ObjectProxy::HandleReturn(137) Assertion Failure - 'i != m_invocations.end()'
02:24:23.000: ERROR VivoxClient::LoginContext::OnWebClientLogoutCompleted(918) m_webClient->EndLogout() failed - this=0x7c7670,vmr.GetResult()=3005
23:24:53.000: ERROR VivoxClient::LoginContext::OnWebClientLogoutCompleted(918) m_webClient->EndLogout() failed - this=0x7c75e0,vmr.GetResult()=3005


Wine is set to believe I'm under Windows 7, if that makes any difference.

I'm enclosing CoolVLViewer.log.

Help > About gives:
Code:
Cool VL Viewer v1.32.0.3, Dec 17 2023 23:25:01
RestrainedLove viewer v2.09.29.28
Release notes

You are at 293314.8, 267543.9, 24.2  in Long Island Sound located at
simhost-05a0c3ff9f29b3109.agni.secondlife.io (52.11.78.178:13024)
Alias: 178.78.11.52.in-addr.arpa
Second Life Server 2023-11-07.6790647783
Release notes

CPU: AMD Ryzen 5 4500 6-Core Processor (4177 MHz)
Memory: 31876MB
OS version: Linux-x86_64 v6.1.66-gentoo-dist
Memory manager: jemalloc v5.3.1-20231028
Graphics: AMD RADEON RX 580 SERIES (POLARIS10, LLVM 16.0.6, DRM 3.49, 6.1.66-GENTOO-DIST)
OpenGL version: 4.6 (Core Profile) Mesa 23.1.9
Detected VRAM: 10064MB
J2C decoder: OpenJPEG: 1.4.0.635f
Audio driver: FMOD Studio v2.02.20 (PulseAudio)
Networking backend: libcurl 7.47.0/OpenSSL 1.0.2u/zlib 1.2.13.zlib-ng
Browser plugin: Dullahan 1.13.2/CEF 120.1.8/Chromium 120.0.6099.109
Packets lost: 1632/606956 (0.3%)

Built with: GCC v8.3.0
Compiler-generated maths: SSE2.

Compile flags used for this build:
-O3 -fno-delete-null-pointer-checks -fno-ipa-cp-clone -fno-align-labels -fno-align-loops -fsched-pressure -frename-registers -fweb -fira-hoist-pressure -DNDEBUG -std=c++17 -fno-stack-protector -U_FORTIFY_SOURCE -fno-threadsafe-statics -fPIC -pipe -g -gdwarf-4 -fno-var-tracking-assignments -fexceptions -fno-strict-aliasing -fvisibility=hidden -fsigned-char -m64 -mfpmath=sse -fno-math-errno -fno-trapping-math -pthread  -DLL_LINUX=1 -DLL_JEMALLOC=1 -DLL_FMOD=1 -DLL_OPENAL=1


Thank you.


Attachments:
CoolVLViewer.tar.gz [34.39 KiB]
Downloaded 28 times
2023-12-18 19:16:49
Profile

Joined: 2016-06-19 21:33:37
Posts: 342
Location: Columbus area, OH, USA
Reply with quote
I also get, so not sure it's related:
Code:
14:51:21.000: ERROR VivoxClient::Client::BeginShutdown(314) vmr.GetResult()=3061
14:51:21.000: ERROR VivoxSystem::ObjectProxy::HandleReturn(137) Assertion Failure - 'i != m_invocations.end()'
14:51:21.000: ERROR VivoxClient::LoginContext::OnWebClientLogoutCompleted(918) m_webClient->EndLogout() failed - this=0x7f602943a3b0,vmr.GetResult()=3005
14:55:10.000: ERROR VivoxClient::Client::BeginShutdown(314) vmr.GetResult()=3061
14:55:10.000: ERROR VivoxClient::LoginContext::OnWebClientLogoutCompleted(918) m_webClient->EndLogout() failed - this=0x7f69f67b7d70,vmr.GetResult()=3005
14:55:10.000: ERROR VivoxSystem::ObjectProxy::HandleReturn(137) Assertion Failure - 'i != m_invocations.end()'
I tp'd to Voice Echo Canyon and everything works OK for me. I do use Win10 in my Wine config though.


2023-12-18 19:56:53
Profile

Joined: 2011-09-27 11:18:31
Posts: 176
Reply with quote
ZaneZimer wrote:
I do use Win10 in my Wine config though.

I tried changing it, but no luck. Tomorrow I'll try deleting the prefix entirely and letting the installer recreate it again.


2023-12-18 21:52:25
Profile

Joined: 2009-03-17 18:42:51
Posts: 5554
Reply with quote
You can configure the existing Wine prefix for the voice client via:
Code:
install-wine-SLVoice.sh --config

But this more looks like a failure of the voice client itself to connect to the server: the viewer is not in control of the voice client exchanges with the voice server, so there is literally nothing I can do about it...

I just tried voice via Wine in the Voice Canyon sim, and it is working fine for me...


2023-12-18 22:48:51
Profile WWW

Joined: 2011-09-27 11:18:31
Posts: 176
Reply with quote
Henri Beauchamp wrote:
But this more looks like a failure of the voice client itself to connect to the server


Yes, indeed. I wish LL would natively support Linux again. However, looking at my processes, I notice that: When I first enable voice, I get
Code:
19440 ?        S      0:00 /usr/lib/wine-vanilla-7.0.2/bin/wine64 /home/nikos/.wine-slvoice/drive_c/Vivox/SLVoice.exe -i 127.0.0.1:44090 -ll 0 -lf /home/nikos/.secondlife/logs -lp SLVoice -ls .log -st 5

but then that process disappears and I only have
Code:
19444 ?        Rl     0:03 /home/nikos/.wine-slvoice/drive_c/Vivox/SLVoice.exe -i 127.0.0.1:44091 -ll 0 -lf /home/nikos/.secondlife/logs -lp SLVoice -ls .log -st 5


Is that normal?


2023-12-19 12:35:31
Profile

Joined: 2009-03-17 18:42:51
Posts: 5554
Reply with quote
g0rd0ngrfr33mailgr wrote:
Is that normal?
Yes. It is just Wine doing its stuff. On my system it looks slightly differently:
Code:
21125 ?        D      0:00 /usr/bin/wine ~/.wine-slvoice/drive_c/Vivox/SLVoice.exe -i 127.0.0.1:44079 -ll 0 -lf ~/.secondlife/logs -lp SLVoice -ls .log -st 5
on start by the viewer, then:
Code:
21125 ?        S      0:00 start.exe /exec ~/.wine-slvoice/drive_c/Vivox/SLVoice.exe -i 127.0.0.1:44079 -ll 0 -lf ~/.secondlife/logs -lp SLVoice -ls .log -st
21192 ?        SLl    0:00 C:\Vivox\SLVoice.exe -i 127.0.0.1:44079 -ll 0 -lf ~/.secondlife/logs -lp SLVoice -ls .log -st 5

The listed process command line syntax will also depend whether Wine is started via the kernel binfmt_misc module (this is the case for the above result) or via a wrapper script put in place by my Wine SLVoice installer script, when it detects that binfmt_misc is not enabled for Windows PE executable format on your system.

This does not impact how voice works (or not) in the end...

As for your issue, you could also try to disable (from the preference floater, via the "Enabled voice chat" box un-ticking and "Apply" button) and re-enable voice chat, and see if it connects, this time: I implemented an auto-retry mechanism on connection failure (which is very common, sadly), but it gives up after 12 retries (actually, 3 retries per voice daemon instance, with the latter retried/restarted 4 times), and maybe it needs 13 or more for you (in which case I will make the number of retry attempts configurable)...


2023-12-19 13:24:10
Profile WWW

Joined: 2011-09-27 11:18:31
Posts: 176
Reply with quote
Henri Beauchamp wrote:
Yes. It is just Wine doing its stuff.

Ah, thanks for the explanation.
Quote:
As for your issue, you could also try to disable (from the preference floater, via the "Enabled voice chat" box un-ticking and "Apply" button) and re-enable voice chat, and see if it connects, this time: I implemented an auto-retry mechanism on connection failure (which is very common, sadly), but it gives up after 12 retries (actually, 3 retries per voice daemon instance, with the latter retried/restarted 4 times), and maybe it needs 13 or more for you (in which case I will make the number of retry attempts configurable)...

That would explain why CoolVLViewer connects more often than other viewers. But still, I'm afraid it doesn't want to connect. I toggled it twice already, giving it at least five minutes, at Voice Echo Canyon. Oh well. Thank you for your efforts, Henri. Btw, maybe you would want to move the thread away from "Bug report", it's not a CoolVLViewer issue, I erroneously posted here.


2023-12-19 17:15:18
Profile

Joined: 2009-03-17 18:42:51
Posts: 5554
Reply with quote
g0rd0ngrfr33mailgr wrote:
I toggled it twice already, giving it at least five minutes,
You do not need to wait that long: enable the debug console, and watch for the "too many retries, giving up" from the viewer... After it gave up, you can retry immediately and restart the voice service.

Note that since it is a connection issue, you could try and diagnose it yourself, via a network capture, to see what exactly is happening when SLVoice tries to connect.

Using Wireshark, you should see things unrolling (DNS request, connection, reply from server, etc), and might detect what is going wrong...


2023-12-19 18:32:26
Profile WWW

Joined: 2011-09-27 11:18:31
Posts: 176
Reply with quote
Forgive me, but I have no idea how to do that. At any rate, debug console shows this:
Image
All I understand is "APR: Connection refused"


2023-12-20 17:09:36
Profile

Joined: 2009-03-17 18:42:51
Posts: 5554
Reply with quote
The refused connection can also happen in "normal operations" (thus the retries feature), but it also could happen if something is blocking local connections between programs on your system.

Check that you don't have a firewall rule that blocks connections to the local host (127.0.0.1)...


2023-12-20 17:19:21
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 18 posts ]  Go to page 1, 2  Next

Who is online

Users browsing this forum: No registered users and 18 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group
Designed by ST Software.