summaryrefslogtreecommitdiff
path: root/indra/newview
AgeCommit message (Collapse)Author
9 daysFix "Too many fragment shader texture samplers"Erik Kundiman
Linux on M1 crash, caused by PBR Terrain. M1 only supports 16 image samplers in the fragment shader (GL_MAX_TEXTURE_IMAGE_UNITS). That's why we need to be able to mask RenderTerrainPBRDetail on Linux too by adding it to an also added TexUnit16orLess list to its feature table, and to the graphic settings lists above it in the file.
2025-04-27Add dependency on libgles-dev on Debian/UbuntuErik Kundiman
Thanks to Jenni Windrider for the bug report and solution. On startup, the log gets flooded with: [0426/150813.911339:ERROR:viz_main_impl.cc(196)] Exiting GPU process due to errors during initialization [0426/150813.918965:ERROR:egl_util.cc(44)] Failed to load GLES library: /usr/lib/x86_64-linux-gnu/libGLESv2.so: /usr/lib/x86_64-linux-gnu/libGLESv2.so: cannot open shared object file: No such file or directory doing a ls shows there's indeed no libGLESv2.so: ll /usr/lib/x86_64-linux-gnu/libGLESv2* - rw-r--r-- root root 110.39K 18.Mar'25 15:10  libGLESv2_nvidia.so.2 - rw-r--r-- root root 110.39K 18.Mar'25 15:10  libGLESv2_nvidia.so.570.133.07 - rw-r--r-- root root 70.30K 08.Apr'24 10:04  libGLESv2.so.2 - rw-r--r-- root root 70.30K 08.Apr'24 10:04  libGLESv2.so.2.1.0 The package that provides this isn't installed by default: apt-file search libGLESv2.so libgles-dev: /usr/lib/x86_64-linux-gnu/libGLESv2.so So installing libgles-dev fixes that.
2025-04-27Replace {.._DIR}/lib/release with ARCH_PREBUILT_DIRS_RELEASEErik Kundiman
Shorter.
2025-04-27One Collada DOM try_compile for all platformsErik Kundiman
On macOS, it's static library too, now, hence the stream editing is done out of any platform scope (which it's still needed because BUILD_SHARED_LIBS is ignored), and the (so)versions don't need to be set any more. CMAKE_INSTALL_LIBDIR is also ignored, hence the libcollada14dom.a moving.
2025-04-17Remove dependency on uriparserErik Kundiman
Turns out it hasn't been needed, might be leftover from system Collada DOM, and LL has their own URI parser.
2025-04-09Merge tag 'Second_Life_Release#632a8648-2025.03' into 2025.03Erik Kundiman
2025-04-08Bump feature table version.Jonathan "Geenz" Goodman
2025-04-08Merge branch 'main' into 2025.03Erik Kundiman
2025-04-08Suppression of a redondant call in LLDrawPoolWaterExclusionmobserveur
The second call to pwaterpool->pushWaterPlanes(1) is a reminicence of an older method where it was using 2 passes.
2025-04-08Fixing Low preset making things dark on macmobserveur
Adjustments in the featuretable for mac so the low preset doesn't render dark. RenderReflectionsEnabled set to 0 and RenderReflectionProbeCount set to 1 was causing the issue.
2025-04-08AA Slowing down the viewer on Mac FIXmobserveur
AA was causing the viewer to slow down when used with hdr & emissive option ON. This commit fixes the issue, by making sure mipmap generation is inactive on the Luminance framebuffer.
2025-04-08#3745 fix for showing system notification on login #2Maxim Nikolenko
2025-04-07#3627 std::bad_alloc in EventPollAndrey Kleshchev
2025-04-07#3627 std::bad_alloc when loading a modelAndrey Kleshchev
2025-04-07#3878 Crash at LLPipeline::unlinkDrawableAndrey Kleshchev
assertInitializedDoError() on shutdown
2025-04-07#3870 Crash at LLVOAvatarSelf::getJoint()Andrey Kleshchev
A long standing one
2025-04-07#3868 Crash in updateHoveredStateAndrey Kleshchev
according to bugsplat mWrapperPanel is null.
2025-04-07#3849 Crash at LLSelectMgr::updatePointAtAndrey Kleshchev
2025-04-07#3846 Crash at updateGLTFMaterialsAndrey Kleshchev
2025-04-07FMOD has been upgraded from 2.02.27 to 2.02.28Erik Kundiman
2025-04-07Make it build & install, USING Portage, on GentooErik Kundiman
Gentoo uses lib64, just like Fedora, and has libexec too. The necessary step to install dependencies is part of the ebuild script now (tracked in another repo, ebuild.git). One thing I forgot to mention on the commit in that ebuild repo is, unzip.h is provided on Gentoo only by minizip, and not minizip-ng cause somehow the (minizip) "compat" USE flag couldn't be turned on somehow, and there was no "minizip" (without -ng) package on Gentoo, but it was achievable by setting the "minizip" USE flag on the zlib (again, without -ng) package. The queue header inclusion is needed cause its absence would cause the compiling to fail on Portage (though it compiled when building the viewer manually without Portage). Also, using the prebuilt Meshoptimizer caused some linking errors when using Portage (though, again, it linked when building the viewer manually without Portage), hence Meshoptimizer is built from source as part of the CMake configuration on Gentoo, differing from fellow Linux distros. Now Collada DOM, firstly the unpack destination directory is moved to inside the build directory now, to make it uniform with other 3rd-party files, just for less confusion. Secondly, since the patching that takes effect is the one done by Portage, it would kill the process when there are offending failed patchings (ones that generate .rej, reject files), and they are the vcxproj patchings which aren't used anyway. Thirdly, the hash checking on the downloaded file, that would fail anyway since Portage doesn't allow any downloading that isn't part of the ebuild, unfortunately has to be skipped so the emerge process wouldn't be killed just because of it. Ebuild has its own sum checking (though this means this particular file is not checked on other platforms, but other files aren't checked either anyway yet). Last but not least, the XDG Application category is removed because it's considered deprecated by Portage, though not fatal, but the viewer is already shown well in the Internet (Network) submenu anyway on unix desktops.
2025-04-01Merge tag 'Second_Life_Release#e671cb54-2025.03' into 2025.03Erik Kundiman
2025-03-30Shadow options in the graphics advanced panelmobserveur
New optimisation and resolution shadow options
2025-03-30#3795 Crash at getVolatileAPRPool()Andrey Kleshchev
2025-03-29Merge tag 'Second_Life_Release#6ac1d4f3-2025.03' into 2025.03Erik Kundiman
2025-03-29Merge tag 'Second_Life_Release#4e80ec7e-2025.03' into 2025.03Erik Kundiman
2025-03-29Merge tag 'Second_Life_Release#8eff224c-2025.03' into 2025.03Erik Kundiman
2025-03-29Merge branch 'main' into 2025.03Erik Kundiman
2025-03-29Explicit float remaining arguments for lerpErik Kundiman
Some compilers may find it ambiguous as in anything newer than C++17, it could be float, double or long double. This lerp is meant to be the float one, as the 4th argument is, and the 3rd argument is an F32.
2025-03-29Revert "Temporary fix for antialiasing causing lower performance on mac"Erik Kundiman
This reverts commit faab4af12b583b48cfdd9f6e41dad7bba06c3970.
2025-03-27#3829 WebRTC crash OnDataReceivedImplAndrey Kleshchev
2025-03-27Avoid recalculating pixel area when possibleAndrey Kleshchev
2025-03-27Use LLCachedControl in llviewerwindow and llappviewerAndrey Kleshchev
Getting from gSavedSettings is expensive to do so often
2025-03-26Mitigate some of the frame stuttering we're seeing by setting the VRAM ↵Jonathan "Geenz" Goodman
divisor to 1. tl;dr - this helps avoid frequent texture reuploads to VRAM in some texture heavy areas. This speaks to some bigger problems we're seeing in our texture streaming system however. You will see similar problems by manually setting the texture VRAM manually.
2025-03-26#3803 Crash at LLTabContainer::setTabMaxim Nikolenko
2025-03-26Disable shoreline fade. (#3811)Jonathan "Geenz" Goodman
2025-03-25#3795 Fix macos shutdown crashAndrey Kleshchev
2025-03-25#3643 Make sure attribute names match between OSsAndrey Kleshchev
On Mac spaces aren't permitted.
2025-03-25#3798 Crash at getAvatar()Andrey Kleshchev
2025-03-24Readd probe count setting (#3793)Jonathan "Geenz" Goodman
* Readd max probe count. Disable dynamic probe allocation by default (for now).
2025-03-24#3796 Crash at assetRequestCoroAndrey Kleshchev
Coroutine doesn't own req pointer, don't use it
2025-03-24#3780 disable water exclusion if user applies PBR or MediaMaxim Nikolenko
2025-03-22Merge branch 'main' into 2025.03Erik Kundiman
2025-03-22Temporary fix for antialiasing causing lower performance on macmobserveur
Water exclusion seems to be at the origin of poor performance with antilasing combind with hdr mode. We remove this from pipeline.cpp for now as a temporary fix. Technically we revert pipeline.cpp to the previous version.
2025-03-22Merge tag 'Second_Life_Release#0ec9bfaa-2025.03' into 2025.03Erik Kundiman
2025-03-21tab_container.xml adjustmentsecretfoxtail
Slightly increase tab height.
2025-03-21#3713 Crash at updateGLTFMaterialsAndrey Kleshchev
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-21#3364 Fix a case of excessive texture updatesAndrey Kleshchev
when bias fluctuates a bit. Make bias' effect a bit more gradual.