Cool VL Viewer forum

View unanswered posts | View active topics It is currently 2025-10-01 04:28:37



Reply to topic  [ 6 posts ] 
WebRTC voice isn't working for me 
Author Message

Joined: 2011-09-27 11:18:31
Posts: 249
Reply with quote
I'm not sure whether I should report this here or with LL. When I try to use WebRTC voice in LL's four testing regions, theoretically the viewer connects, because I get a dot. If I click on the "talk" button, I get green waves around the dot, however it's not real. Pavucontrol shows no device using the microphone or playing sound. I tried changing the device from the viewer's picker, the viewer seems to understand it but the problem persists. (Shouldn't it be set to Default anyway, so the operating system can choose?) But I tried picking my headset as both incoming and outgoing anyway, but it didn't help. I am enclosing a log, hoping you can shed some light. (I did enable the DebugWebRTCVoice debug setting.) I do have voice on Discord, out of the box, which also uses WebRTC. Thank you.

Code:
Cool VL Viewer v1.32.4.3, Aug 30 2025 15:15:33
RestrainedLove viewer v2.09.29.29
Release notes
Binaries and directories in use

You are at 171085.1, 294389.1, 24.9  in Rowlyria located at
simhost-0b52d3cff7aac61f1.agni.secondlife.io (35.87.110.251:13004)
Alias: 251.110.87.35.in-addr.arpa
Second Life Server 2025-07-25.16512260888
Release notes

CPU: AMD Ryzen 5 4500 6-Core Processor (4168 MHz)
Memory: 31872MB
OS version: Linux-x86_64 v6.12.41-gentoo-dist
Memory manager: jemalloc v5.3.1-20250604
Graphics: AMD RADEON RX 580 SERIES (RADEONSI, POLARIS10, ACO, DRM 3.61, 6.12.41-GENTOO-DIST)
OpenGL version: 4.6 (Core Profile) Mesa 25.1.7
Detected VRAM: 9709MB
J2C decoder: OpenJPEG: 1.4.0.635f
Audio driver: FMOD Studio v2.03.09 (PulseAudio)
Networking backend: libcurl 7.47.0/OpenSSL 1.0.2u/zlib-ng 2.2.4
Browser plugin: Dullahan 1.21.50/CEF 139.0.37/Chromium 139.0.7258.139
Packets lost: 195/116803 (0.2%)

Built with: GCC v14.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++20 -fno-stack-protector -fcf-protection=none -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


Attachments:
CoolVLViewer.tar.gz [33.46 KiB]
Downloaded 22 times
2025-09-01 15:44:00
Profile

Joined: 2009-03-17 18:42:51
Posts: 6055
Reply with quote
The WebRTC client is not using Pulseausio but ALSA.

You need to set the volume using the ALSA mixer.


2025-09-01 17:06:24
Profile WWW

Joined: 2009-03-17 18:42:51
Posts: 6055
Reply with quote
Also, in your log, you can see:

Code:
ALSA lib /var/tmp/portage/media-libs/alsa-lib-1.2.14/work/alsa-lib-1.2.14/src/conf.c:5205:(_snd_config_evaluate) function snd_func_card_inum returned error: No such device
ALSA lib /var/tmp/portage/media-libs/alsa-lib-1.2.14/work/alsa-lib-1.2.14/src/confmisc.c:422:(snd_func_concat) error evaluating strings
ALSA lib /var/tmp/portage/media-libs/alsa-lib-1.2.14/work/alsa-lib-1.2.14/src/conf.c:5205:(_snd_config_evaluate) function snd_func_concat returned error: No such device
ALSA lib /var/tmp/portage/media-libs/alsa-lib-1.2.14/work/alsa-lib-1.2.14/src/confmisc.c:1342:(snd_func_refer) error evaluating name
ALSA lib /var/tmp/portage/media-libs/alsa-lib-1.2.14/work/alsa-lib-1.2.14/src/conf.c:5205:(_snd_config_evaluate) function snd_func_refer returned error: No such device
ALSA lib /var/tmp/portage/media-libs/alsa-lib-1.2.14/work/alsa-lib-1.2.14/src/conf.c:5728:(snd_config_expand) Evaluate error: No such device
ALSA lib /var/tmp/portage/media-libs/alsa-lib-1.2.14/work/alsa-lib-1.2.14/src/control/control.c:1575:(snd_ctl_open_noupdate) Invalid CTL default
ALSA lib /var/tmp/portage/media-libs/alsa-lib-1.2.14/work/alsa-lib-1.2.14/src/confmisc.c:855:(parse_card) cannot find card 'Intel'
ALSA lib /var/tmp/portage/media-libs/alsa-lib-1.2.14/work/alsa-lib-1.2.14/src/conf.c:5205:(_snd_config_evaluate) function snd_func_card_inum returned error: No such device
ALSA lib /var/tmp/portage/media-libs/alsa-lib-1.2.14/work/alsa-lib-1.2.14/src/confmisc.c:422:(snd_func_concat) error evaluating strings
ALSA lib /var/tmp/portage/media-libs/alsa-lib-1.2.14/work/alsa-lib-1.2.14/src/conf.c:5205:(_snd_config_evaluate) function snd_func_concat returned error: No such device
ALSA lib /var/tmp/portage/media-libs/alsa-lib-1.2.14/work/alsa-lib-1.2.14/src/confmisc.c:1342:(snd_func_refer) error evaluating name
ALSA lib /var/tmp/portage/media-libs/alsa-lib-1.2.14/work/alsa-lib-1.2.14/src/conf.c:5205:(_snd_config_evaluate) function snd_func_refer returned error: No such device
ALSA lib /var/tmp/portage/media-libs/alsa-lib-1.2.14/work/alsa-lib-1.2.14/src/conf.c:5728:(snd_config_expand) Evaluate error: No such device
ALSA lib /var/tmp/portage/media-libs/alsa-lib-1.2.14/work/alsa-lib-1.2.14/src/pcm/pcm.c:2722:(snd_pcm_open_noupdate) Unknown PCM default
So, this seems to point to an ALSA configuration issue on your system or a bad device configured in the viewer (try another ?).


2025-09-01 18:30:08
Profile WWW

Joined: 2011-09-27 11:18:31
Posts: 249
Reply with quote
Henri Beauchamp wrote:
So, this seems to point to an ALSA configuration issue on your system or a bad device configured in the viewer (try another ?).

I think I fixed that, by deleting ~./asoundrc , which must had been old because I haven't fiddled with ALSA in years (it's all Pipewire now). Anyway, now the device list never loads.
Image
It looks similar to this. Should I report to LL?

Also I don't have the plasmatic waves around my dot.

Henri Beauchamp wrote:
You need to set the volume using the ALSA mixer.

Changing volumes in input channels in Alsamixer changes them in Pavucontrol too, but it seems to make no difference with regards to SL WebRTC voice.


Attachments:
CoolVLViewer.tar.gz [35.69 KiB]
Downloaded 21 times
2025-09-02 10:19:17
Profile

Joined: 2009-03-17 18:42:51
Posts: 6055
Reply with quote
This is a system miss-configuration...

I'm afraid I cannot help "from afar" and I would need to get my dirty hands in your system to solve this issue (which is not actionable on the viewer coding side of things).

Sadly, Linux audio configuration is (and has always been) a total mess and a genuine PITA (for example I spent a full week fiddling with my first Zen 4 on an ASUS motherboard, due to the latter only exposing the USB audio interface, and had to write a non-trivial ALSA configuration file to get the audio playing both on the loud speakers and the headphone)... :(

Your best bet is to ask in your distro's support group/forums for help with WebRTC/ALSA configuration.

g0rd0ngrfr33mailgr wrote:
I think I fixed that, by deleting ~./asoundrc , which must had been old because I haven't fiddled with ALSA in years (it's all Pipewire now). Anyway, now the device list never loads.
The ~/.asoundrc file should hold:
Code:
defaults.namehint.extended on
defaults.namehint.showall on
Which the cool_vl_viewer wrapper script will add when missing. Else, WebRTC cannot get the device names.


2025-09-02 12:15:00
Profile WWW

Joined: 2011-09-27 11:18:31
Posts: 249
Reply with quote
I understand. Thank you, Henri, I shall research more. Indeed, and it doesn't help that new protocols keep getting added to the existing ones. Between Alsa, Pulseaudio and Pipewire, perhaps something gets lost.


2025-09-02 17:04:17
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 6 posts ] 

Who is online

Users browsing this forum: No registered users and 11 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.