Commit Graph

77482 Commits (c121c12f771d2f87e0af3de25a0a036773f134fe)

Author SHA1 Message Date
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
Ansariel fe41087069 Merge branch 'release/2024.12-ForeverFPS' of https://github.com/secondlife/viewer 2025-02-19 15:20:09 +01:00
Maxim Nikolenko 8114850e94
#3511 fix for PBR skies being too bright on Low Graphics 2025-02-18 11:33:32 +02:00
Andrey Kleshchev 9b0c167b84 #3557 Waves not applying without Transparent Water 2025-02-18 10:26:57 +02:00
Andrey Kleshchev b0d80552b3
#2639 GPU test twice to fix misreported bandwidth (#3558)
A workaround, hopefully temporary.
First test returns half the throughput, do two tests. May be caused by
driver, may be some 'energy saving', will need to be checked later.
It was working the same way prior to ExtraFPS, but viewer was running
an extra CPU test.
2025-02-15 02:51:22 -05:00
Jonathan "Geenz" Goodman c60061b504
Switch from GL_RGB16F to GL_R11F_G11F_B10F for probes (#3562)
* #3561 Switch from GL_RGB16F to GL_R11F_G11F_B10F for reflection probes to help reduce memory bandwidth and VRAM pressure.
2025-02-14 13:16:35 -05:00
Ansariel 5bf1f485f3 Merge branch 'release/2024.12-ForeverFPS' of https://github.com/secondlife/viewer
# Conflicts:
#	indra/llcommon/llqueuedthread.cpp
2025-02-13 21:24:29 +01:00
Ansariel e954b419ee Merge branch 'master' of https://github.com/FirestormViewer/phoenix-firestorm 2025-02-13 19:03:19 +01:00
Andrey Lihatskiy 8f8453c3e8
Merge pull request #3549 from secondlife/marchcat/foreverfps-xcode-16
Update ForeverFPS build to use macos15/xcode16.1
2025-02-13 19:52:12 +02:00
Andrey Lihatskiy d74b30b4ec Follow-up fixes from develop 2025-02-13 18:00:55 +02:00
Andrey Lihatskiy 34c3eed88a Bump macos runner to os version 15 with xcode 16.1 2025-02-13 17:40:40 +02:00
Andrey Lihatskiy ddbe1ff981 Fix xcode16 build errors 2025-02-13 17:30:08 +02:00
Maxim Nikolenko 0679cbdec8
viewer-private#394 Ensure correct item id is used on mac 2025-02-13 16:10:49 +02:00
Angeldark Raymaker c5aa25116e FIRE-34978: fix control name mapping for FSAA choice
both quality and type were mapped to the same debug setting
2025-02-13 13:38:33 +00:00
Andrey Kleshchev 646d0779bd viewer-private#396 Use benefits for picks count 2025-02-12 19:12:12 +02:00
Andrey Kleshchev bec382698b viewer-private#395 Fix voice not reconnecting 2025-02-12 17:49:46 +02:00
Maxim Nikolenko 09c60de43c
#3210 Fix for "Texture will be downscaled" log message happening too often 2025-02-12 17:09:44 +02:00
Andrey Kleshchev e708d69fb0 #3332 Fix buffers not accounting for dynamic cache values
And fix previous lapse of judgement with GLYPH_BATCH_SIZE
2025-02-11 23:59:42 +02:00
Jonathan "Geenz" Goodman d450295cf5
Additional water fixes and tweaks. (#3524)
* Incorporation of feedback for #3456
2025-02-11 13:49:24 -05:00
Andrey Kleshchev 6a78b5b43c #3332 Font issues with multy-byte and multy-glyps characters 2025-02-10 23:18:33 +02:00
Andrey Kleshchev bc84cb02a2 #3332 Issues with text buffer updates 2025-02-10 23:18:33 +02:00
Beq fdbb976021 FIRE-35138] Fix the over-zealous tab switching when editing materials
Thsi actually just disbales the viewer trying to guess what the user intends. Feedback on FIRE-35138 in regards other issues would be useful
2025-02-08 22:13:09 +00:00
Andrey Kleshchev 3a251b1b9e #3332 Switching screens can break text rendering 2025-02-07 23:27:30 +02:00
PanteraPolnocy 10f5306248 FIRE-35144, FIRE-35146, FIRE-35141: Updated Chinese (小滢 Zi Ying), French (Laurent Bechir), Russian (Romka Swallowtail) and Polish translations 2025-02-07 20:15:04 +01:00
Ansariel 7e7e19ee35 Merge branch 'release/2024.12-ForeverFPS' of https://github.com/secondlife/viewer
# Conflicts:
#	indra/newview/llinventorymodel.h
#	indra/newview/llviewertexturelist.cpp
#	indra/newview/llvoiceclient.cpp
#	indra/newview/pipeline.cpp
2025-02-07 19:38:29 +01:00
Ansariel 7ca41f92d2 Merge branch 'master' of https://github.com/FirestormViewer/phoenix-firestorm 2025-02-07 19:25:29 +01:00
Maxim Nikolenko 1924241f04
viewer-private#375 add more logging in attempt to get more info 2025-02-07 19:00:20 +02:00
Andrey Kleshchev 95106e203c #3505 Fix updateMenu() being called too frequently on fetch callback
The actual problem is fetch dumping thousands of callbacks, but this
should mitigate the problem
2025-02-07 18:34:04 +02:00
Andrey Kleshchev 046ec79d22 #3505 Make inventory run less content checks 2025-02-07 18:34:04 +02:00
Andrey Kleshchev df0634f0c4 #3505 Make checkFolderForContentsOfType cheaper 2025-02-07 18:34:04 +02:00
Ansariel 87bee2e1c7 Update German translation 2025-02-07 12:50:45 +01:00
Jonathan "Geenz" Goodman 93a88e6025
Water Exclusion Surfaces (#3517)
* #3455 Add support for water exclusion surfaces
2025-02-07 05:55:47 -05:00
Beq Janus 056957becd
Merge pull request #71 from AyaneStorm/pr-inventory-limit-search-to-folders
Allows to limit search to folders only in inventory
2025-02-06 22:37:36 +00:00
Ansariel 1562c140b5 Don't create instance if using legacy notification floater 2025-02-06 18:27:19 +01:00
chanayane 11a7b5b4df
Allows to limit search to folders only in inventory 2025-02-06 13:35:38 +01:00
Jonathan "Geenz" Goodman 317cd6e66e
Add some haze to the distance on water. (#3508)
* #3507 Add distance haze to water to get us closer to 6.6.17's appearance.
2025-02-06 02:44:16 -05:00
Beq b39fd18744 FIRE-35130 - crash on login with "use legacy notification floater" on 2025-02-06 01:53:56 +00:00
Beq d5274c6c35 FIRE-35130 - Bugsplat when accessing mNotificationsToGo
Apart from the lack on init in the constructor there seems no other issue. This is a tentative fix as I cannot get this to repro for me.
2025-02-06 00:03:20 +00:00
Beq f7e2118da9 update to contributions and team roster.
minerjr, Angeldark Raymaker and SimonLsAlt added to team roster
rafak360, Aira Yumi and Ayane Lyla added to contributors
2025-02-06 00:03:20 +00:00
Beq 6ef58b5dc5 FIRE-35121 - Shader compilation fail causing bugsplat. 2025-02-05 23:43:46 +00:00
Beq Janus f27ec69074
Merge pull request #78 from SimonLsAlt/simon_notice_lag
FIRE-35118 - remove lag event for "Delete All" on notices
2025-02-05 17:12:07 +00:00
Rye c0156eb1c7
Merge pull request #3497 from secondlife/rye/forever-3445
Fix media failing to function on PBR materials (#3445)
2025-02-05 11:26:40 -05:00
simonlsalt 5fedf54b4d More FIRE-35118 - Deferred deletion of notifications. Code and tag cleanup,
work for all types of notifications
2025-02-05 04:07:54 +00:00
Maxim Nikolenko 265ebfb82f
#3346 crash at LLConversationItemSession::clearAndDeparentModels 2025-02-04 19:19:50 +02:00
Beq 8b154ad95e FIRE-34749 - editing PBR objects turns them all white
Technically what appears to be happening is that the renderer is identifying the object as wnating to show the BP textures because the BP tab was selected.
This fix tries to correctly select the BP tab by default only when no PBR faces are present. It also triggers a rebuild of the selected objects to force them updated draw because the selection even occurs before the tab change and they would otherwise by displayed using whatever the previous mode was.
2025-02-03 21:21:29 +00:00
Rye 81a2813bf5 Fix media failing to function on PBR materials (#3445) 2025-02-03 14:49:14 -05:00
PanteraPolnocy 224ee9f7f5 Updated Polish translation 2025-02-03 17:19:39 +01:00
PanteraPolnocy 45126265cf Merge branch 'master' of https://github.com/FirestormViewer/phoenix-firestorm 2025-02-03 16:27:22 +01:00
PanteraPolnocy 925feb6a7b FIRE-35119 Chinese Translation Update, by 小滢 Zi Ying 2025-02-03 16:27:06 +01:00