summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2025-03-21prevent erroneous edit of wrong parcel (#3759)Andrew Meadows
* prevent erroneous edit of wrong parcel Fixes jira-archive-internal/issues/70771 [SL-20409] Erroneous Local Parcel Twins - Parcel Updates Across Region Borders - unrequested updateDatabaseParcel changes * remove unused argument in sendParcelPropertiesUpdate()
2025-03-21Dynamic Probe Allocation (#3787)Jonathan "Geenz" Goodman
* #3788 Support dynamic probe allocation. * #3738 Mitigate probe flashing * #3735 Mitigate realtime probes flashing
2025-03-21Merge tag 'Second_Life_Release#895a6739-2025.03' into 2025.03Erik Kundiman
2025-03-21Switch to smaller runners (#3722)Jonathan "Geenz" Goodman
* Switch to smaller runners * Make the runner conditional based upon a specific tag. Co-authored-by: Andrey Lihatskiy <alihatskiy@productengine.com>
2025-03-21#3364 Fix a case of excessive texture updatesAndrey Kleshchev
when bias fluctuates a bit. Make bias' effect a bit more gradual.
2025-03-21Merge branch 'main' into 2025.03Erik Kundiman
2025-03-21#3778 #3654 Split text and background selection colorsAndrey Kleshchev
2025-03-21#1644 Correct render type for on-water property linesAndrey Lihatskiy
2025-03-20#3779 reset texture repeats when unchecking the Hide Water optionMaxim Nikolenko
2025-03-20#1964 fix for reflection probe doesn't update position when the linkset is ↵Maxim Nikolenko
moved by the script
2025-03-19#3488 Prelock mutexesAndrey Kleshchev
Main thread has priority, it shouldn't be relocking on each loadMeshLOD
2025-03-19Merge pull request #3769 from secondlife/marchcat/maint-b-cp-2Andrey Lihatskiy
Maint B leftover commits
2025-03-19#1644 On-water property lines persist at water levelAlexander Gavriliuk
2025-03-19viewer-private#131 landmark panel closes after a renameAndrey Kleshchev
if destination was changed
2025-03-19Remove invalid text color parameter from panel_login_first.xmlnerodevo
Follow-up to previous commit 4a07fd3. This will resolve the warning showing up when loading the viewer for the first time.
2025-03-19#3685 add test floater for new slappsMaxim Nikolenko
2025-03-18#3644 Adjust throttle based of how busy buffer isAndrey Kleshchev
2025-03-18#3547 Further reduce ParcelInfoRequest callsAndrey Kleshchev
2025-03-18#3736 LLExperienceCache shutdown crashAndrey Kleshchev
2025-03-18Merge pull request #3760 from secondlife/leviathan/update-message-template-reduxJonathan "Geenz" Goodman
message_template.msg to agree with master-message-template
2025-03-17message_template.msg to agree with master-message-templateAndrewMeadows
2025-03-16readme.md -> update tumbleweed build instructionssecretfoxtail
SLD2-devel no longer exists in tumbleweed repositories, replace with libSDL2_gfx-1_0-0, libSDL2_gfx-devel, & sdl2-compat-devel
2025-03-16Exempt Arch from PipeWire tooErik Kundiman
since they upgraded to 1.4.1 from stable 1.2.7 and there seem to be API changes and we're not ready for them yet.
2025-03-16Performance tweaks related to glErrormobserveur
Disabling glGetError() calls in release build
2025-03-16Disabling Smoothie in llvertexbuffermobserveur
Disabled Smoothie in llvertexbuffer, using LL method
2025-03-16Restore support for anistropic filtering on macosRye
2025-03-14#3750 Crash at isSaveTextureEnabledAndrey Kleshchev
2025-03-14#3745 fix for showing system notification on loginMaxim Nikolenko
2025-03-14#3741 fix for mac crash on exitMaxim Nikolenko
2025-03-13Merge pull request #3732 from secondlife/maxim/2025.03-3685Maxim Nikolenko
#3685 Add two new slapps to support wearing contents of folders - Add and Remove
2025-03-13#3685 clean upMnikolenko Productengine
2025-03-13#2711 Remove ALM text from About SL for JP and CNMaxim Nikolenko
2025-03-13Merge pull request #3740 from secondlife/geenz/friends-list-race-condition-fixJonathan "Geenz" Goodman
#3739 Friends list login race condition
2025-03-13Move callback registration for the avatar tracker to STATE_AGENT_SEND.Jonathan "Geenz" Goodman
2025-03-13Quick fix for a friend status race condition on login.Jonathan "Geenz" Goodman
2025-03-13#3189 Pasted PBR materials disappearingAndrey Kleshchev
2025-03-12#3685 Add two new slapps to support wearing contents of folders - Add and RemoveMnikolenko Productengine
2025-03-12Fixes: Add guard to prevent shadow texture resize with invalid mRT ↵William Weaver
dimensions after shader changes; **Replaces forced shader refresh with lightweight guard** This commit introduces a guard in `LLPipeline::resizeShadowTexture()` to prevent shadow texture resizing when the shadow render target (mRT) has invalid (zero) dimensions. **This replaces a previous, less efficient approach of forcing a full shader recompile whenever `RenderShadowResolutionScale` was changed in-session.** **Background and Problem:** Previously, the code forced a full shader recompile whenever `RenderShadowResolutionScale` changed in-session (after toggling advanced graphics settings like SSAO or HDR). While this “sledgehammer” approach did fix broken shadow rendering, it unnecessarily thrashed the shader cache and reset many pipeline states. **Solution:** This commit removes the forced shader recompile in favor of a guard check in `LLPipeline::resizeShadowTexture()`. The guard ensures mRT (the shadow render target) has non-zero dimensions before resizing. If mRT is zero for that frame, the resize operation is skipped, and a warning is logged. Once mRT becomes valid (usually in the next frame), the shadow texture is resized successfully without requiring a full shader refresh. **Detailed changes:** - Reverted the binding of `RenderShadowResolutionScale` to `handleSetShaderChanged`. - Restored the original `handleShadowsResized` listener for `RenderShadowResolutionScale` in `llviewercontrol.cpp`. - Added guard checks in `LLPipeline::resizeShadowTexture()` to skip resizing when `mRT->width` or `mRT->height` is zero. - Added logging statements to track how many frames are skipped. **Benefits:** - Prevents shader thrashing while still avoiding shadow corruption. - Shadows now update correctly as soon as mRT dimensions are valid. - Maintains a detailed record of frames skipped. - **Lightweight and targeted interim solution, much less disruptive than a full shader recompile.** Testing: 1. Reproduce the bug as described in the bug report (toggle SSAO, then change RenderShadowResolutionScale). 2. Verify that shadows are no longer broken after these steps. 3. Check the logs for the warning message indicating skipped frames when the bug is triggered. 4. Confirm that under normal operation (without shader changes causing mRT issues), shadow resizing works as expected without excessive warnings. Documentation: No user-facing documentation changes are needed for this interim fix. However, internal developer documentation should note this guard and the ongoing investigation into the root cause. Further Development: This guard is a temporary fix. The root cause of why mRT becomes invalid after shader changes needs to be investigated and resolved. See the bug report for detailed next steps for investigation.
2025-03-12Try to parallelize xcode builds further and add more headers to PCH to ↵Rye
reduce build time
2025-03-12Enable precompiled headers for all platformsRye
2025-03-12Set correct rpath for OpenALAndrey Lihatskiy
2025-03-12#3591 Restructure SE to not catch LLContinueErrorAndrey Kleshchev
It was reporting shutdown as crashes to bugsplat
2025-03-12Merge pull request #3708 from secondlife/marchcat/2025.03-maint-bAndrey Lihatskiy
2025.03 Cherry pick from Maint B
2025-03-11Small cleanupAndrey Kleshchev
2025-03-11Add timestamp to snapshot file namesBennett Goble
This changeset adds a timestamp in the format of "YYYY-MM-DD_HHSS" to snapshot filenames. This is useful for understanding when a snapshot was taken, chronologically ordering files, and is less confusing than the current method of adding a number to the snapshot name, as it does not result in interleaving of old and new snapshots inside a directory.
2025-03-11#3717 LLPluginClassMedia::sendMessageAndrey Kleshchev
2025-03-11**fix: Correctly update shadows on RenderShadowResolutionScale change**William Weaver
Shadows were not updating correctly after a shader change occurred in-session and then the RenderShadowResolutionScale setting was adjusted. This issue is present in Second Life Release 7.1.12.1355088671 (64-bit) and Second Life Test 7.1.12.250701803 (64-bit). **Specifically, after any shader-related setting is changed in-session (such as toggling Advanced Graphics options like SSAO, HDR, Depth of Field, SSR, Antialiasing, or changing the Graphics Quality preset), subsequent adjustments to `RenderShadowResolutionScale` via Debug Settings result in broken shadow rendering.** The shadows become corrupted or disappear entirely and do not reflect the new resolution scale. Correct shadow rendering is only restored by toggling a shader or restarting the viewer. This behavior is inconsistent with other render settings that update immediately after modification and degrades the user experience when dynamically adjusting shadow quality. This commit changes the signal listener for "RenderShadowResolutionScale" in **llviewercontrol.cpp** from `handleShadowsResized` to `handleSetShaderChanged`. `handleSetShaderChanged` ensures a full shader update, which is necessary for this setting to take effect immediately—similar to other render settings like RenderDeferredSSAO. This change ensures that shadows update correctly and immediately when the resolution scale is changed in Debug Settings, even after prior shader changes in the session, without requiring additional shader toggling or viewer restarts. This provides a smoother and more responsive experience for advanced users adjusting shadow quality in various rendering scenarios. --- **Steps to Reproduce (Bug)** _Verified in Second Life Release 7.1.12.1355088671 (64-bit) and Second Life Test 7.1.12.250701803 (64-bit):_ 1. **Fresh Install Preparation:** Ensure a clean Second Life installation state. Ideally, uninstall and reinstall the viewer or clear/rename all folders in `AppData\Local\Second Life` and `AppData\Roaming\Second Life` before launching. 2. Launch the Second Life Viewer and log in. 3. Enable the Debug Menu: Open Preferences (Ctrl+P), go to the "Advanced" tab, and check "Show Advanced Settings". 4. Open Debug Settings: Click the "Advanced" menu in the menu bar and select "Debug Settings." 5. Locate the `RenderShadowResolutionScale` setting (which should be set to 1.0 on a clean install). 6. Initially, changing `RenderShadowResolutionScale` at this point may not exhibit the bug. Proceed to the next steps to reliably trigger it. 7. **Trigger the Bug:** Open Preferences (Ctrl+P) again and go to the "Graphics" tab. 8. Click the "Advanced Settings" button. 9. **Toggle *any* of the following Advanced Graphics options:** - Screen Space Ambient Occlusion - HDR and Emissive Rendering - Depth of Field - Screen Space Reflections - Antialiasing - *Alternatively*, change the "Graphics Quality" preset slider (e.g., Low to Ultra or any other change). 10. Return to the Debug Settings floater. 11. Change the value of `RenderShadowResolutionScale` to a different value (e.g., from 1.0 to 0.5 or 2.0). 12. **Observe the Bug:** Notice that shadow rendering does not update correctly—shadows become corrupted or disappear. 13. **Workaround (in buggy version):** To restore correct shadow rendering without the fix, either: - Toggle a different shader (e.g., change graphics presets in Preferences, or toggle SSAO, SSR, etc.), or - Restart the viewer. **Steps to Verify (Fix):** 1. Build the viewer with this commit applied. 2. Launch the viewer and log in. 3. Repeat steps 1–9 from "Steps to Reproduce (Bug)" to ensure an Advanced Graphics setting is toggled before proceeding. 4. Open Debug Settings and locate `RenderShadowResolutionScale`. 5. Change the value of `RenderShadowResolutionScale` (e.g., from 1.0 to 0.5 or 2.0). 6. **Verify the Fix:** Confirm that shadow rendering updates immediately and correctly—even after toggling Advanced Graphics settings—with the shadows visibly changing resolution in real time. No shader toggling or viewer restart is required. --- - No specific regression testing is required for this targeted fix. However, standard viewer functionality should be verified after building to ensure no unintended side effects have been introduced. Pay particular attention to shadow rendering in various environments and lighting conditions to confirm the fix has not negatively impacted other shadow-related features. --- - No documentation changes are needed as this is a bug fix for an existing debug setting.
2025-03-11Merge branch 'release/2025.03' into marchcat/2025.03-maint-bAndrey Lihatskiy
2025-03-11Merge pull request #3711 from secondlife/maxim/2025.03-3702Maxim Nikolenko
#3702 Crash at doTeleportViaLandmark
2025-03-11#3702 Crash at doTeleportViaLandmarkMnikolenko Productengine