Commit Graph

77610 Commits (de2ef92061fb82bd45eea9687bf53bf8a5c5098f)

Author SHA1 Message Date
Ansariel 6522975250 Merge branch 'master' of https://github.com/FirestormViewer/phoenix-firestorm 2025-03-07 17:19:04 +01:00
Jonathan "Geenz" Goodman e6927d8a07
Merge pull request #3304 from secondlife/release/2024.12-ForeverFPS
2024.12 ForeverFPS
2025-03-06 15:23:54 -05:00
PanteraPolnocy eceef94d5b FIRE-35181 Chinese Translation cleanup, by 小滢 Zi Ying 2025-03-05 14:29:38 +01:00
Beq 515e5773a3 Improve debug and eliminate some potential buffer overrun in debug 2025-03-04 01:51:39 +00:00
Beq bdaf67912e ignore a few of the upstream merges of white space changes that hide blame 2025-03-04 01:49:53 +00:00
Beq 078e5d1c5a update contributors (Dax Dupont) 2025-03-03 21:04:40 +00:00
Beq Janus 45cf0c3ce8
Merge pull request #82 from DaxDupont/hid-fix
[FIRE-10419 & FIRE-32546] Selectively process devices based on CLSID to prevent stuttering
2025-03-03 15:50:31 +00:00
Beq Janus bd010d1a87
Merge pull request #85 from FirestormViewer/dependabot/github_actions/dawidd6/action-download-artifact-9
Bump dawidd6/action-download-artifact from 8 to 9
2025-03-03 14:11:05 +00:00
PanteraPolnocy cc6a73cdd2 Traslations: Remove few orphaned phototools entires 2025-03-03 14:33:50 +01:00
PanteraPolnocy 1f08360a64 FIRE-35207 Russian translation update, by Romka Swallowtail 2025-03-03 14:31:20 +01:00
PanteraPolnocy e68352e057 FIRE-35222 French translation update (Sun/Moon panel), by Laurent Bechir 2025-03-02 18:11:00 +01:00
PanteraPolnocy 9661d073a8 Small fix for French I forgot about 2025-03-02 17:31:57 +01:00
PanteraPolnocy 1869336984 FIRE-35205 French translation update, by Laurent Bechir 2025-03-02 17:27:56 +01:00
PanteraPolnocy 9f04223c0b FIRE-35181 Chinese Translation Update, by 小滢 Zi Ying 2025-03-02 15:08:09 +01:00
PanteraPolnocy 0c7b453c11 Do not duplicate panel name in XML 2025-03-01 16:40:12 +01:00
PanteraPolnocy 5cf357d213 Adjusting tooltips in Polish as well 2025-03-01 15:33:12 +01:00
Ansariel fcab43be03 Do not incentivize users to crank up LOD up to 4 and remove tourist guide style tooltips 2025-03-01 13:42:00 +01:00
dependabot[bot] fac553388a
Bump dawidd6/action-download-artifact from 8 to 9
Bumps [dawidd6/action-download-artifact](https://github.com/dawidd6/action-download-artifact) from 8 to 9.
- [Release notes](https://github.com/dawidd6/action-download-artifact/releases)
- [Commits](https://github.com/dawidd6/action-download-artifact/compare/v8...v9)

---
updated-dependencies:
- dependency-name: dawidd6/action-download-artifact
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-01 10:11:36 +00:00
PanteraPolnocy dcb5b0ce29 Updated Polish translation 2025-03-01 06:05:02 +01:00
Ansariel 16e5677c99 Merge branch 'master' of https://github.com/FirestormViewer/phoenix-firestorm-foreverfps 2025-03-01 00:35:19 +01:00
Ansariel 49a6b228aa Merge branch 'release/2024.12-ForeverFPS' of https://github.com/secondlife/viewer 2025-03-01 00:34:45 +01:00
minerjr 55a39da74e FIRE-35081 Blurry prims not changing with graphics settings, not happening with SL Viewer - cont.
Refined the logic for the textures to include animated textures to not be downscaled They are not forced to be high boost level.
Update the logic of how to process the on screen max vsize to be simpler.
Added split time max_time for the updateImagesCreateTextures, as originally they were two different functions and can save doubled the time for each.
Added time limit on LLViewerObjectList::updateApparentAngles, as it it affects the Textures in the texture list and worked on a fixed # of objects per frame and each object is variable in the amount of processing required, affecting frame rate and # of textures updated.
2025-02-27 08:55:47 -04:00
Andrey Kleshchev 42ceac9695 Revert "#2639 GPU test twice to fix misreported bandwidth (#3558)"
This reverts commit b0d80552b3.
2025-02-26 20:14:39 +02:00
Maxim Nikolenko bc02334284
#3270 use TELEPORT_LOCAL when teleporting within a region via landmark 2025-02-26 15:35:04 +02:00
Ansariel e518cba882 Merge branch 'release/2024.12-ForeverFPS' of https://github.com/secondlife/viewer
# Conflicts:
#	indra/llrender/llfontfreetype.h
2025-02-26 10:04:47 +01:00
Ansariel 645c76be61 Merge branch 'master' of https://github.com/FirestormViewer/phoenix-firestorm 2025-02-26 09:48:32 +01:00
minerjr 742ec3d13e FIRE-35198 Limit VRAM texture usage UI control reverts to default value
The manual control for the Limit VRAM texture usage in the Preferences->Graphics->Hardware Settings did not restore the saved value of the slider upload load.

So when the viewer would load, it would indeed load the saved value, but the value was not reflected upon by the slider on the page. This caused issues of when a user went to move the slide back to it's intended position it would set off the bias system as well as make the user not have confidence in that the feature is working.

Added a call to the ser value of the UI control on refresh enable state of the UI floater for the preferences to the saved RenderMaxVRAMBudget.
2025-02-26 04:00:31 -04:00
Angeldark Raymaker c3a66a2f2d FIRE-35161: Export more joints to BVH
That's most of them. Refactor BVH writing a tiny bit.
2025-02-25 20:11:12 +00:00
Angeldark Raymaker 257a1d3bd4 FIRE-35161: Revert all joint state when animation stops
Collision volumes always needed it, but some infrequently posed joints do too, and it simiplifies the code.
2025-02-25 20:09:21 +00:00
Beq Janus e132dd4a3d
Merge pull request #83 from AyaneStorm/pr-Fire-35185-link-rendering-in-pick-and-1stlife
[FIRE-35185] Profile preview removing embedded URLs from 1st Life tab
2025-02-25 14:26:22 +00:00
Jonathan "Geenz" Goodman ca079bc149
Merge pull request #3610 from secondlife/geenz/mirrors-enabled-fix
#3331 - Mirrors no longer function on relog
2025-02-25 09:07:45 -05:00
Jonathan "Geenz" Goodman ae7658de24 Mitigation for #3331 2025-02-25 08:50:25 -05:00
Jonathan "Geenz" Goodman 5b425eb9dc
Merge pull request #3602 from secondlife/geenz/eep-setting-fixes
- #3594 Adjustments to mitigate sun reflection being too narrow.
2025-02-24 17:20:48 -05:00
Jonathan "Geenz" Goodman 62cf4781af
Merge branch 'release/2024.12-ForeverFPS' into geenz/eep-setting-fixes 2025-02-24 17:19:55 -05:00
Jonathan "Geenz" Goodman 3dde346975 Backout minimal+ change. 2025-02-24 17:19:41 -05:00
Andrey Kleshchev 5b968b7209 #3332 Remake glyph count into cache generation
1. Cover reset with 'generation'
2. Fix lapse of judgement with mLastFontGlyphCount, it should have been
saved before render(), not after
2025-02-24 19:31:16 +02:00
chanayane 538dcb0da2
Fix FIRE-35185 (disables link rendering while editing picks or 1st life) 2025-02-23 22:55:15 +01:00
Jonathan "Geenz" Goodman 892628c7f3 Quick fix for null pointer in LLDrawPoolWater 2025-02-23 12:54:50 -05:00
Jonathan "Geenz" Goodman d2fd2f49e3 Cleanup 2025-02-23 12:20:11 -05:00
PanteraPolnocy 33d1961a7e Add the '[UNTRUSTED_URL]' across all languages 2025-02-23 15:37:39 +01:00
Jonathan "Geenz" Goodman 3e2da8e584 Accidental double linearization, try roughness ^2 for water punctual light. 2025-02-22 14:17:43 -05:00
Ansariel eeae01eee2 Remove orphaned shader 2025-02-22 16:54:25 +01:00
minerjr 097bbc7c26 FIRE-35081 - Updated logic
Updated the math to remove the need to store the variable and use it again
Updated the "TextureCameraBoost" to default to 7, as we add 1 to the value now instead of using max (TextureCameraBoost, 1.0f)
2025-02-22 11:12:36 -04:00
minerjr 6a4ec7a0b4 FIRE-35081 - Updated logic
Cleaned up the logic to be 1, cleaner and 2, more performant.
Moved allocations outside the loop as well as the static texture_camera_boost setup as it should be only done once and not every time a face is on screen.
Cleaned up switch statements into couple of if statements as switch logic would be only good if only 1 level to be used.
2025-02-22 10:46:40 -04:00
Andrey Kleshchev b2e3159ce7 viewer-private#398 Fix constant asset rerequests 2025-02-22 13:02:52 +02:00
minerjr 7bd44050a6 FIRE-35081 Blurry prims not changing with graphics settings, not happening with SL Viewer
Added new logic in the LLViewerTextureList::updateImageDecodePriority method to better handle the texture quality.

- Apply new rules to bias discard, there are now 2 bias, off-screen and on-screen.
        On-screen Bias
        Only applied to LOD Textures and one that have Discard > 1 (0, 1 protected)

- Off-screen Bias
        Will be using the old method of applying the mMaxVirtualSize, however
        only on LOD textures and fetched textures get bias applied.

         Local (UI & Icons), Media and Dynamic textures should not have any discard applied to them.

Without this, textures will become blurry that are on screen, which is one of the #1 user complaints.

So now, only LOD textures will change on screen, except for Fetched textures when the bias is greater then 2.00.

Also made possible fix for edge case of multiple faces for 1 texture, the last face dictates which happens to the texture. Now any that are in camera will flip signal that it is on screen.

System can be made to be be flexible.

To test out, Go to Preferences->Graphics->Rendering Settings and move the VRAM override to the far left. Then walk around and try to notice if there are any downscaled or blurry textures. To test a blurry object. Right click on it and pick edit. All of the game objects will have a max quality texture applied. Click off and see if the texture on the object changes quality to a blurred mess.
2025-02-22 00:12:07 -04:00
Beq 2e81a07db9 FIRE-34243 - RLVFLegacy (Mac only) shader is broken
Initially I cleaned up the legacy shader to remove the errors, turns out though that the legacy shader is not needed any more. Tested on Mac Mini
2025-02-22 01:41:11 +00:00
Dax Dupont 4aff595bdf Added FS comments 2025-02-21 22:50:33 +01:00
minerjr c121c12f77 Fixed fast cache read creating invalid textures (1024x1024+ sized)
When saving textures to the fast cache, which only supports 16x16 textures at 4 bytes per pixel, the system will force scale down textures to fit, even beyond the allowed MAX_DISCARD_LEVEL, such as 1024x1024 having Discard = 6 and 2048x2048 texture having Discard = 7 and writing it to the headers.

Updated the readFromFastCache to expand invalid textures to be at the MAX_DISCARD_LEVEL(5) discard instead of at 6, 7 or 8. Scale up the 16x16 textures to match the requirements for the textures at MAX_DISCARD_LEVEL.

Mostly for re-loading after high bias scenario as these can cause crashes in the KDU decoder codebase. Which can possibly lead to deadlocked threads as well as bad textures clogging up the fetch system.

Example Firestorm.log output of the error in action.

2025-02-21T13:47:43Z INFO   LLKDUMessage::put_text : KDU Error: Attempting to access a non-existent resolution level within some tile-component.  Problem almost certainly caused by trying to discard more resolution levels than the number of DWT levels used to compress a tile-component.
Exception thrown at 0x00007FFA77A1BB0A in firestorm-bin.exe: Microsoft C++ exception: boost::wrapexcept<`anonymous namespace'::KDUError> at memory location 0x000000C3985FF470.
2025-02-21T13:47:43Z WARNING   LLTextureFetchWorker::callbackDecoded : DECODE FAILED: 0c699ab7-dd72-bfc9-d695-267e1a3f936a Discard: 6, reason: LLKDUMessageError::flush()
2025-02-21T13:47:43Z WARNING   _ll_apr_warn_status : APR: firestorm\phoenix-firestorm-foreverfps\indra\llcommon\llapr.cpp:651 The system cannot find the file specified.
2025-02-21T13:47:43Z WARNING   LLAPRFile::remove :  Attempting to remove filename: AppData\Local\FirestormOS_x64\texturecache\0\0c699ab7-dd72-bfc9-d695-267e1a3f936a.texture
2025-02-21T13:47:43Z INFO   LLKDUMessage::put_text : KDU Error: Kakadu Core Error:
2025-02-21 12:01:54 -04:00
minerjr 8a527d676e Add restore to mBoostLevel (mPrevBoostLevel) for BOOST_SELECTED interactions
Added to the llgltexture a second boost level which will be used to properly restore the boost level after an object is right clicked on as the BOOST_SELECTED code does not restore the value the previous value. This does now and on all the child objects assigned to the object.

Also fixed up the lltextureview.cpp as it had some merge issues from a long time ago and was missed.
2025-02-21 09:45:34 -04:00