Commit Graph

1924 Commits (c847a5eaac635604a2490872c0ee8cc947273cf5)

Author SHA1 Message Date
Jonathan "Geenz" Goodman bbc2ad8fc5 Merge remote-tracking branch 'origin/main' into geenz/main-to-develop 2025-10-17 17:06:39 -04:00
Callum Linden 95337dfc36
Fix for viewer-private/issues/489 - HTTP Basic Auth dialog should not be present (#4799) 2025-10-08 15:39:23 -04:00
Rye b277cc6a8f Initial VHACD based llconvexdecomposition 2025-10-03 09:51:03 -04:00
Brad Linden b314a0bb64 new llphysicsextensions_source package that sets OSX_ARCHITECTURES properly
and should hopefully package llphysicsextensions_tpv successfully
2025-10-02 13:35:54 -07:00
Brad Linden 589498fece Reenable havok llphysicsextensions on Darwin x86_64 with llphysicsextensions_stub used for aarch64 2025-10-01 18:01:19 -07:00
Roxanne Skelly a6d4c1d394
[WebRTC] Rework device handling sequence so that we can handle unplugging/re-plugging devices (#4593)
* [WebRTC] Rework device handling sequence so that we can handle unplugging/re-plugging devices

The device handling was not processing device updates in the proper sequence as
things like AEC use both input and output devices.  Devices like headsets are both
so unplugging them resulted in various mute conditions and sometimes even a crash.

Now, we update both capture and render devices at once in the proper sequence.

Test Guidance:
* Bring two users in the same place in webrtc regions.
* The 'listening' one should have a headset or something set oas 'Default'
* Press 'talk' on one, and verify the other can hear.
* Unplug the headset from the listening one.
* Validate that audio changes from the headset to the speakers.
* Plug the headset back in.
* Validate that audio changes from speakers to headset.
* Do the same type of test with the headset viewer talking.
* The microphone used should switch from the headset to the computer (it should have one)

Do other various device tests, such as setting devices explicitly, messing with the device selector, etc.

* Fix race condition when multiple change device requests might come in at once

* Update to m137

The primary feature of this commit is to update libwebrtc from m114
to m137.  This is needed to make webrtc buildable, as m114 is not buildable
by the current toolset.

m137 had some changes to the API, which required renaming or changing namespace
of some of the calls.

Additionally, this PR moves from a callback mechanism for gathering the energy
levels for tuning to a wrapper AudioDeviceModule, which gives us more control
over the audio stream.

Finally, the new m137-based webrtc has been updated to allow for 192khz audio
streams.

* Properly pass the observer setting into the inner audio device module

* Update to m137 and get rid of some noise

    This change updates to m137 from m114, which required a few API changes.

    Additionally, this fixes the hiss that happens shortly after someone unmutes: https://github.com/secondlife/server/issues/2094

    There was also an issue with a slight amount of repeated after unmuting if there was audio right before unmuting.  This is because
    the audio processing and buffering still had audio from the previous speaking session.  Now, we inject nearly a half second of
    silence into the audio buffers/processor after unmuting to flush things.

* Install nsis on windows

* Use the newer digital AGC pipeline

m137 improved the AGC pipeline and the existing analog style is going away
so move to the new digital pipeline.

Also, some tweaking for audio levels so that we don't see inworld bars when tuning,
so one's own bars seem a reasonable size, etc.

* Install NSIS during windows sisgning and package build step

* Try pinning the packaging to windows 2022 to deal with missing nsis

* Adjust gain calculation and audio level calculations for tuning and peer connections

* Update with mac universal webrtc build

* Tuning of voice indicators for both tuning mode and inworld for self.

* Redo device deployment to handle cases where multiple deploy requests pile up

Also, mute when leaving webrtc-enabled regions or parcels,
and unmute when voice comes back.

* pre commit issue
2025-09-12 20:07:51 -04:00
Rye 452c8e0ea4
Follow up fixes for Apple Silicon (#4662)
* Remove GLM sse flag from cmake that was moved to llpreprocessor.h

* Further reduce performance loss of HDR and Sharpening on bandwith-constrained gpu by combining gamma correction into tonemap/sharpening shader passes

* Update SSE2NEON to 1.8.0 to fix random render nans

* Fix occasional startup crash from LLCachedControl being declared in global scope
2025-09-11 20:54:32 -04:00
Callum Prentice 789a64b0de Incorporate the latest buld of KDU 8.4.1 with the universal macos libs 2025-09-05 13:45:47 -07:00
Rye f1014eda27 Bump openjpeg to 2.5.3-r1 2025-08-28 06:19:15 -04:00
Rye 77d71dec86 Fix up universal build 2025-08-28 00:43:38 -04:00
Rye 34ae3db498 Merge branch 'callum/viewer-cef-2025-08' into rye/infinitemac 2025-08-27 23:07:22 -04:00
Callum Prentice 87ec630053 PUll in Dullahan 1.21 that contains additional updates for the macOS version which should help with the slow media startup issue 2025-08-27 15:30:32 -07:00
Callum Prentice e935a8aebc Merge branch 'develop' into callum/viewer-cef-2025-08 2025-08-22 17:12:03 -07:00
Callum Prentice bebd1b208e Bring in Dullahan 1.20.0 and by that, CEF 139.0.28. Update the CEF media plugin accordingly to take account of Dullahan cache changes 2025-08-22 17:10:29 -07:00
Rye ba30737d8f Merge branch 'develop' of github.com:secondlife/viewer into rye/infinitemac 2025-08-20 18:04:55 -04:00
Brad Linden 4c65a43e17
CMake 4.10 compatibility fixes (#4548) 2025-08-14 09:47:22 -07:00
Callum Prentice 1bbad3fd00 This commit introduces CEF 139 which works now that each media instance has its own cache/cookies folder (previous commit). It also changes the Test Bookmarks page to a heavily updated one with new links and a filter/search mechanism 2025-08-11 18:45:15 -07:00
Andrey Kleshchev ce9d66cdd1 Merge branch develop into 2025.06
# Conflicts:
#	indra/newview/llvoavatar.cpp
2025-08-06 16:05:19 +03:00
Andrey Kleshchev 819817f5c9 #4470 Temporarily disable Discord SDK 2025-08-06 14:39:11 +03:00
Andrey Kleshchev 61d53a8731 #4470 Plug in Discord SDK package 2025-08-05 18:26:29 +03:00
Andrey Lihatskiy ae93198735 Merge branch 'main' into marchcat/maint-c-restore
# Conflicts:
#	indra/llcommon/lldate.h
#	indra/newview/llappviewer.cpp
#	indra/newview/llinventorybridge.cpp
#	indra/newview/llmaterialeditor.cpp
#	indra/newview/llviewerparceloverlay.cpp
#	indra/newview/llvoavatar.cpp
2025-04-15 19:31:20 +03:00
Andrey Lihatskiy 5d7a5001b4 Merge commit '9e24b30' into marchcat/maint-c/restore
# Conflicts:
#	indra/llmath/v2math.cpp
#	indra/llmath/v2math.h
#	indra/llmath/v3math.h
#	indra/llmath/v4math.h
#	indra/llui/llfolderviewitem.cpp
#	indra/llui/llfolderviewitem.h
#	indra/llui/llfolderviewmodel.h
#	indra/llui/llmodaldialog.cpp
#	indra/llui/lltexteditor.cpp
#	indra/llui/lltexteditor.h
#	indra/llwindow/llwindowwin32.cpp
#	indra/newview/llagent.cpp
#	indra/newview/llagentcamera.h
#	indra/newview/llavatarrenderinfoaccountant.cpp
#	indra/newview/llconversationmodel.h
#	indra/newview/llfloaterinventorysettings.cpp
#	indra/newview/llfloaternamedesc.cpp
#	indra/newview/llfloaternamedesc.h
#	indra/newview/llfloaterobjectweights.cpp
#	indra/newview/llfloaterobjectweights.h
#	indra/newview/llfolderviewmodelinventory.h
#	indra/newview/llinspecttexture.cpp
#	indra/newview/llinventorybridge.cpp
#	indra/newview/llinventorybridge.h
#	indra/newview/llinventoryfunctions.cpp
#	indra/newview/llinventorygallery.h
#	indra/newview/llinventorygallerymenu.cpp
#	indra/newview/llinventorymodel.cpp
#	indra/newview/llinventorypanel.cpp
#	indra/newview/llinventorypanel.h
#	indra/newview/llmaterialeditor.cpp
#	indra/newview/lloutfitgallery.cpp
#	indra/newview/lloutfitgallery.h
#	indra/newview/lloutfitslist.cpp
#	indra/newview/lloutfitslist.h
#	indra/newview/llpanelgroupcreate.cpp
#	indra/newview/llpanelgroupgeneral.cpp
#	indra/newview/llpanelobjectinventory.cpp
#	indra/newview/llpaneloutfitsinventory.h
#	indra/newview/llpanelprofile.cpp
#	indra/newview/llpanelwearing.cpp
#	indra/newview/llreflectionmap.cpp
#	indra/newview/llselectmgr.cpp
#	indra/newview/llsidepanelappearance.cpp
#	indra/newview/llsidepaneliteminfo.cpp
#	indra/newview/llteleporthistorystorage.cpp
#	indra/newview/lltexturectrl.cpp
#	indra/newview/lltexturectrl.h
#	indra/newview/lltexturefetch.cpp
#	indra/newview/lltexturefetch.h
#	indra/newview/llviewerassetupload.cpp
#	indra/newview/llviewercamera.cpp
#	indra/newview/llviewercamera.h
#	indra/newview/llviewermenufile.cpp
#	indra/newview/llviewerobject.h
#	indra/newview/llviewertexture.cpp
#	indra/newview/llviewerwindow.cpp
#	indra/newview/llvoavatar.cpp
#	indra/newview/llvoavatar.h
#	indra/newview/llvoavatarself.cpp
#	indra/newview/llvovolume.cpp
#	indra/newview/llvovolume.h
#	indra/newview/tests/llviewerassetstats_test.cpp
2025-04-10 06:01:50 +03:00
Jonathan "Geenz" Goodman 97085ed300 Merge branch 'release/2025.03' into rye/forevermac 2025-03-13 05:28:36 -04:00
Rye d915cf17df Try to parallelize xcode builds further and add more headers to PCH to reduce build time 2025-03-12 18:37:27 +02:00
Andrey Kleshchev d8fbfb4e1a #3569 Update OpenAL-Soft to 1.24.2 2025-03-06 21:25:30 +02:00
Rye 179b29252d Rework windows to use zc:wchar_t for better c++ conformance and compatibility with modern libraries 2025-02-11 05:55:37 -05:00
Rye e83aea5e95 Introduce SSE2NEON package for handling sse to neon intrinsic compatibility 2025-02-11 05:04:07 -05:00
Rye 7bba6b835f Update dependencies with support for apple silicon 2025-02-11 05:04:06 -05:00
Rye 6fcd349f37 Fix Tracy memory profiling overloads for aligned allocations
Fix disabling renderdoc support
Improve ll_aligned_alloc functions on darwin for 32 and 64byte aligned by utilizing posix_memalign
2025-02-11 05:04:05 -05:00
Rye a80f2ba9a3 Update KDU to 8.4.1 and fix kdu tests, also fix llimage_libtest utility 2025-02-11 05:04:04 -05:00
Rye Cogtail 8c65a61b09 Introduce OpenXR SDK prebuilt package and cmake setup (#2503) 2024-09-04 23:10:50 -04:00
AiraYumi 60142c1b2f
update OpenJPEG 2.5.2 (#2452) 2024-08-30 17:35:19 +03:00
Andrey Lihatskiy 4149fba7d5 Update colladadom to 2.3.0-r8
after updating boost
2024-08-20 20:55:38 +03:00
Andrey Lihatskiy 355c4a7109 Update boost to v1.86 2024-08-20 20:30:12 +03:00
Andrey Lihatskiy 5c936e26c0 Update freetype to v2.13.3 2024-08-20 20:05:29 +03:00
Andrey Lihatskiy dda514ceb8 Update tinyexr to v1.0.9 2024-08-20 20:03:50 +03:00
Brad Linden 68f712615f Merge remote-tracking branch 'origin/release/2024.06-atlasaurus' into develop
# Conflicts:
 #	autobuild.xml
 #	indra/newview/llvoicewebrtc.cpp
2024-08-20 09:44:14 -07:00
Roxie Linden 2dae5a880d update webrtc again. 2024-08-18 23:12:03 -07:00
Roxie Linden 28fdd6e786 Update webrtc to fix loss of stereo in bluetooth issue.
When transitioning from mic-on hands-free mode to mic off,
it's expected that the audio stream would return to stereo.
Inproper logic in the mac device code in webrtc was preventing
that.
2024-08-18 00:30:16 -07:00
Roxie Linden 63d17b395b Microphone was being prematurely enabled on login for a short period.
The microphone issue was causing a short moment of sound, and was
causing bluetooth headsets to switch to hands-free/one channel mode
which is disruptive.

Also, update webrtc to deal with issue where airpods were garbled
after coming out of hands-free mode.
2024-08-17 20:11:46 -07:00
Brad Linden 5f26ba8014 Merge remote-tracking branch 'origin/release/webrtc-voice' into release/2024.06-atlasaurus
# Conflicts:
 #	indra/newview/llpanelpeople.cpp
2024-08-15 09:41:54 -07:00
Rye Mutt 75c422613f
Update nvapi to R560 (#2302) 2024-08-15 05:49:51 +03:00
Roxie Linden 4e6143f0ef don't fatal error on AudioDeviceStop 2024-08-13 19:41:53 -07:00
Rye Mutt 183b097072 Update tracy integration to 0.11 and rework client library to be configurable at build time
Also copy tracy profiler client next to windows binary when enabled
2024-08-13 17:27:30 -04:00
Roxie Linden 47fc1d2f2a [WebRTC] allow quad channel microphones/inputs
Issue #257 - bugsplat crash.

In the debug version of WebRTC, it makes an explicit check that the number
of channels for an input device is between 1 and 2.  The release version allows
more, and should downmix if 1 channel is asked for.

This fix bumps up the max channels allowed to 8.
2024-08-12 11:32:19 -07:00
Rye Mutt f982463488
Update zlib-ng libxml2 libpng freetype minizip-ng boost collada-dom tinygltf packages (#2250)
Rebuild expat, apr, meshoptimizer, ogg_vorbis, libjpeg-turbo for symbol fixes
2024-08-12 07:30:42 +03:00
Andrey Lihatskiy cf160e3023
Update dullahan to v1.14.0-r3 (#2243) 2024-08-09 20:12:57 +03:00
Rye Mutt 810d11c625
Update xxhash to 0.8.2 (#2217) 2024-08-08 18:57:35 +03:00
Rye Mutt 12cb787f31
Update libexpat to 2.6.2 and libapr 1.7.4 (#2214) 2024-08-08 18:57:26 +03:00
Rye Mutt 4a702182da
Update ogg_vorbis to 1.3.5-1.3.7 (#2186) 2024-08-05 03:03:01 +03:00