Commit Graph

53099 Commits (45528d33280a2ea8ce03211e8e60d9ef991d07ea)

Author SHA1 Message Date
Andrey Kleshchev 45528d3328 #4773 Crash on sub_image_lines
Just caught it and discard_level is somehow 7, which seems like it resulted in src going out of bounds, which crashed glTexSubImage2D
2025-10-01 21:59:22 +03:00
Andrey Kleshchev f05fe9c195 #4770 Crashes on ~LLCoprocedureManager()
Situation is not clear, so hoping that explicit
cleanup will reveal something.
2025-10-01 21:59:22 +03:00
Andrey Kleshchev 69312e248e #4768 Crash at retransmitUnackedPackets
For some reason there are no logs for these crashes, but lack of
connection data indicates that viewer was disconnected prior to crash.
2025-10-01 18:48:38 +03:00
Maxim Nikolenko 503affdc97
#vp484 Crash in LLFolderViewFolder::setOpen 2025-10-01 17:54:46 +03:00
Andrey Kleshchev ee6a9e7ed1 #4758 Extra logging to track discard 6
Plus clamped some values and preventing decode from starting
2025-10-01 14:33:17 +03:00
Andrey Kleshchev 694bf1e25a #4762 Better cacheOptimize's issue handling 2025-09-30 22:45:45 +03:00
Andrey Kleshchev ec3fe8c2a5 #3189 Fix missed else condition 2025-09-30 00:27:47 +03:00
Andrey Kleshchev f25314737f #4753 Crash at LLScriptFloater::setNotificationId 2025-09-29 23:54:05 +03:00
Andrey Kleshchev d5e8f51b61 #4750 Crash in LLToolBarView::handleDropTool 2025-09-29 22:20:02 +03:00
Andrey Kleshchev 7748898b25 #4739 Wearables sort order reliability 2025-09-29 19:28:04 +03:00
Bennett Goble bdf942b94a Merge branch 'release/2025.07' into develop 2025-09-29 09:25:01 -07:00
Rye 79909b8a33
Fix rendering differences observed in 2025.07 (#4747)
* Fix calling setTextureAddressModeFast and setTextureFilteringOptionFast with invalid tex type during fast binds

* Restore mRT->screen to GL_RGBA16F to fix lighting banding
2025-09-29 09:23:29 -07:00
Andrey Kleshchev 254ecf4184 p#475 Excessive texture fetch logging on shutdown 2025-09-26 12:44:20 +03:00
Maxim Nikolenko 6ea4fc913f
#p473 fix XUI warnings 2025-09-25 19:24:25 +03:00
Andrey Kleshchev 8976d69dba #4723 Fix emoji warnings and missing emojis 2025-09-24 23:43:33 +03:00
Andrey Kleshchev 351b7763a8 #4515 Improve ordering of sub-meshes upon upload 2025-09-24 22:12:47 +03:00
Maxim Nikolenko 97ff76c420
#4733 When moving the cache, the old cef_cache should be removed 2025-09-24 18:10:29 +03:00
Andrey Kleshchev c2460e2dbd #4724 Fix performance problems with My Outfits 2025-09-24 16:43:24 +03:00
Andrey Kleshchev 921856d83e #4730 Extend login timeout 2025-09-23 22:39:50 +03:00
Andrey Kleshchev a1eb7144f5 SL-20598 Fix user not being able to reset display name 2025-09-23 22:12:24 +03:00
Maxim Nikolenko 6dba35d74e
#4719 use correct search query when navigating to the page 2025-09-23 20:20:05 +03:00
Andrey Kleshchev 1d9f87df4f #4695 Fix device update causing a crash 2025-09-22 22:02:45 +03:00
Maxim Nikolenko d7bd769129
#4715 disable ZoomIn an object item when the region is not connected to the current region 2025-09-22 15:46:04 +03:00
Andrey Kleshchev 3ff163887d #4695 Fix missing voice cleanup
Cleanup is in LLVoiceClient::terminate()
gWebRTCImpl was never deleted
Added mDeviceModule security
2025-09-20 00:32:04 +03:00
Hecklezz 569d7c6a8b Fix OpenJPEG uploading small textures by correctly accounting for the maximum numresolutions 2025-09-19 19:16:35 +03:00
Andrey Kleshchev 5a0ada943d #4570 Make 'About' floater use real bandwidth 2025-09-19 18:40:15 +03:00
Andrey Kleshchev edbb763545 Fix builds after update of build-variables branch 2025-09-19 18:40:15 +03:00
Andrey Kleshchev acd8794775 #4671 Some locales are missing AM/PM labels 2025-09-19 16:19:27 +03:00
Andrey Kleshchev 0fb6dc22ff Fix builds after update of build-variables branch 2025-09-19 15:45:59 +03:00
Andrey Kleshchev e918d240fd #4679 Logging for crash on updateMenuOptions
Logs say that viewer closed settings picker and immediately crashed
Yet callstack indicates that some inventory was right clicked, which
shouldn't be possible if picker already closed.
May be some click is closing the picker and opens menu at the same time,
but it's better to gather information first.
2025-09-19 12:29:27 +03:00
Alexander Gavriliuk 95725f709d #2577 Worn transparent prims no longer show with 'Highlight transparent' 2025-09-18 23:38:02 +03:00
Jonathan "Geenz" Goodman f316a92f30
Merge pull request #4700 from secondlife/geenz/2025.07-develop
Geenz/2025.07 -> develop
2025-09-18 15:25:31 -04:00
Jonathan "Geenz" Goodman 82e431e090 Merge remote-tracking branch 'origin/release/2025.07' into geenz/2025.07-develop 2025-09-18 15:23:26 -04:00
Andrey Lihatskiy badeccbebc
NSIS build fix (#4698) 2025-09-18 21:37:12 +03:00
Andrey Kleshchev 1cda0a1a45 #4687 Fix audio device selection showing a bunch of zeros 2025-09-18 19:30:57 +03:00
Andrey Kleshchev 42b09b236b
#4685 EventQueueGet shouldn't use llcorehttp's backoff-retry logic
- Event poll already has own backoff logic with 10 retries, using llcorehttp's one on top makes no sense.
- Better logging coverage
- Better in-code documentation
- Add timing-based error detection
2025-09-17 18:24:35 +03:00
Andrey Kleshchev bf0f60039b #4691 Log WebRTC termination
for diagnostic purposes
2025-09-17 17:54:35 +03:00
Maxim Nikolenko e33b5c5e6c
#4432 Change graphics quality via a debug setting 2025-09-17 15:56:08 +03:00
Andrey Kleshchev 892fb2d6e2 #4651 Fix marker presence check 2025-09-16 21:27:58 +03:00
Roxanne Skelly c743ea2b6d
Fix indexing problem with mac devices (#4676)
* Fix indexing problem with mac devices

This resulted in the wrong device being selected.

Also, fix a shutdown crash where recording was not being stopped, hence the recording
thread was still running on shutdown and crashed because it lost access to resources.

Fix an issue with p2p calls where they're coming up muted even though the button indicates
they are unmuted.

* Always refresh device list on notification of device changes

Even when the selected device doesn't change, we need to
re-deploy it as it might have had characteristics (sampling rate, etc.) changed.

Also, we need to redeploy when the Default device has changed
2025-09-16 13:36:26 -04:00
Andrey Kleshchev 6e24218680 #789 Cannot set the material to Default or None
After setting material to Blank when blank material is present in inventory
2025-09-16 19:25:16 +03:00
Andrey Kleshchev 7ec9736200 #4675 Voice indicator did not reappear after tuning
resume() was trigggering sOnCurrentChannelChanged which was wiping
participant list with no follow up updates.
2025-09-16 09:29:59 +03:00
Andrey Kleshchev 5c69ae1d66 #4604 Tweak range decrease
isSystemMemoryLow() and factor check were too agressive for draw range.
2025-09-15 19:40:52 +03:00
Andrey Lihatskiy f64a41f09e
LLLeap: handle partial lines in stderr (#4678) 2025-09-15 18:24:21 +03:00
Andrey Kleshchev 3b3c85d1f3 #4651 Try distinguishing freezes from crashes 2025-09-15 11:16:24 +03: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
Jonathan "Geenz" Goodman 42695904d6
Use XL mac runners due to the unibin build time. (#4674)
Temporary until we can better parallelize architecture specific builds.
2025-09-12 19:17:58 -04:00
Andrey Kleshchev 8eb015666e #4651 Handle window's sessions termination 2025-09-12 23:32:51 +03:00
Maxim Nikolenko cf3352e6f2
#3957 Add indication to a folder's context menu that it is the default upload location 2025-09-12 15:54:21 +03:00
Andrey Kleshchev ac2cbdcc02 #4660 Unable to upload GLTF+bin with spaces in the name 2025-09-12 09:40:20 +03:00