Commit Graph

216 Commits (3079cda4868fb736d20cd07698a164b109704d47)

Author SHA1 Message Date
Ansariel a775b9fc7f Merge branch 'DRTVWR-546' of https://bitbucket.org/lindenlab/viewer 2022-04-19 15:49:47 +02:00
Dave Parks 9b2df75c87 SL-17077 Ensure profiling is disabled if gpu_benchmark fails. Log the source of the real crash for when the viewer inevitably crashes later. 2022-03-25 13:05:50 -05:00
Ansariel 47e2173239 Merge branch 'DRTVWR-546' of https://bitbucket.org/lindenlab/viewer
# Conflicts:
#	indra/llrender/llgl.cpp
#	indra/llwindow/llwindowwin32.cpp
#	indra/newview/app_settings/settings.xml
#	indra/newview/featuretable.txt
#	indra/newview/featuretable_mac.txt
#	indra/newview/lldrawpoolalpha.cpp
#	indra/newview/lldynamictexture.cpp
#	indra/newview/llviewerdisplay.cpp
#	indra/newview/pipeline.cpp
#	indra/newview/pipeline.h
2021-12-16 08:42:54 +01:00
Mnikolenko Productengine 66d88733ee SL-16454 FIXED Performance viewer login screen is black after a Release viewer session. 2021-12-07 19:15:50 +02:00
Dave Parks 5e5be92d79 SL-16202 Put Multi-threaded GL behind a feature flag and update featuretable (decruftify settings, compatibility pass). 2021-12-06 15:29:34 +00:00
Ansariel 7427b46ea5 Merge branch 'DRTVWR-546' of https://bitbucket.org/lindenlab/viewer
# Conflicts:
#	.gitignore
#	indra/cmake/Copy3rdPartyLibs.cmake
#	indra/llcommon/llcommon.cpp
#	indra/llcommon/llerror.cpp
#	indra/llcommon/llprofiler.h
#	indra/llcommon/llthread.cpp
#	indra/llimage/llimageworker.cpp
#	indra/llprimitive/llmodel.h
#	indra/llrender/llfontgl.cpp
#	indra/llrender/llfontgl.h
#	indra/llrender/llgl.cpp
#	indra/llrender/llvertexbuffer.cpp
#	indra/llrender/llvertexbuffer.h
#	indra/llwindow/llwindowmacosx.h
#	indra/llwindow/llwindowwin32.cpp
#	indra/llwindow/llwindowwin32.h
#	indra/newview/app_settings/settings.xml
#	indra/newview/llappviewer.cpp
#	indra/newview/llappviewer.h
#	indra/newview/lldrawpoolavatar.cpp
#	indra/newview/lldrawpoolavatar.h
#	indra/newview/lldynamictexture.cpp
#	indra/newview/llfloatermodelpreview.cpp
#	indra/newview/llimview.cpp
#	indra/newview/llmeshrepository.h
#	indra/newview/llmodelpreview.cpp
#	indra/newview/llnetmap.cpp
#	indra/newview/llskinningutil.cpp
#	indra/newview/llskinningutil.h
#	indra/newview/llspatialpartition.cpp
#	indra/newview/llteleporthistory.cpp
#	indra/newview/llviewerdisplay.cpp
#	indra/newview/llviewerobject.cpp
#	indra/newview/llviewerobjectlist.cpp
#	indra/newview/llviewertexture.cpp
#	indra/newview/llviewertexturelist.cpp
#	indra/newview/llviewerwindow.cpp
#	indra/newview/llvoicevivox.cpp
#	indra/newview/llvosky.cpp
#	indra/newview/llvovolume.cpp
2021-11-12 15:21:52 +01:00
Dave Houlton 3e99853b29 SL-16138 remove checks for now-mandatory capabilities 2021-10-06 10:59:00 -06:00
Ansariel c516f1fc9a Merge branch 'master' of https://vcs.firestormviewer.org/phoenix-firestorm 2021-05-02 13:50:45 +02:00
Dave Houlton 2386125ae0 Merge master into DV525-merge-6.4.19 2021-04-29 11:40:22 -06:00
Ansariel 93f1998a47 Merge branch 'DRTVWR-525' of https://bitbucket.org/lindenlab/viewer 2021-01-08 23:06:41 +01:00
Ansariel 6c587d437d Merge branch 'DRTVWR-515-maint' of https://bitbucket.org/lindenlab/viewer 2020-12-02 08:17:58 +01:00
Andrey Kleshchev bb4d02446f SL-14347 Crash at ChoosePixelFormat SEH 2020-12-01 18:22:24 +02:00
Dave Houlton 7cd076c796 DRTVWR-510 remove all LL_SOLARIS conditionals 2020-10-08 17:16:22 -06:00
Ansariel 3c158f981a Merge DRTVWR-440 2020-01-31 12:44:28 +01:00
Dave Houlton 1c17e51279 DRTVWR-440, whitespace change to test TeamCity trigger 2020-01-22 13:06:57 -07:00
Ansariel d79b79fbe2 Merge viewer-ordered-shutdown 2019-10-19 03:16:10 +02:00
andreykproductengine 24a0601a50 DRTVWR-493 Reworked a number of inits 2019-08-13 20:19:46 +03:00
Ansariel 1f02cfc1de Merge viewer-neko 2018-08-16 14:51:06 +02:00
andreykproductengine 1197da3cdf MAINT-8974 Reduce default settings for intel GPUs in case of failed benchmark 2018-08-09 15:57:48 +03:00
andreykproductengine e236da41e9 MAINT-8197 Compliment benchmark crash processing with SEH handling 2018-08-06 19:56:44 +03:00
Ansariel 106d34da3a Merge viewer-neko 2018-06-12 21:54:15 +02:00
Andrey Lihatskiy 1b23621756 Merged lindenlab/viewer-neko into default 2018-06-11 14:28:30 +03:00
andreykproductengine d98df5ec2b MAINT-8730 Remove unused fetchFeatureTable code 2018-06-07 16:33:52 +03:00
AndreyL ProductEngine 546fc96f01 MAINT-8721 Enabled benchmarking for Intel GPUs 2018-06-04 23:18:37 +03:00
Ansariel 3a1fcb9521 Merge Firestorm LGPL 2018-01-17 20:28:45 +01:00
Ansariel e7715f7a31 Merge Firestorm LGPL 2017-11-30 20:33:07 +01:00
Ansariel 36934fffc2 Merge Firestorm LGPL 2017-11-30 00:27:47 +01:00
Ansariel c86ac15e2f Re-enable feature table download 2017-11-29 22:42:20 +01:00
Ansariel 06db7c626f Merge Firestorm LGPL 2017-10-11 17:58:16 +02:00
Ansariel 2d6314182b Merge Firestorm LGPL 2017-10-11 19:53:58 +02:00
Ansariel 7c97b96d5d Merge viewer-neko 2017-08-30 20:00:53 +02:00
andreykproductengine c21b3bbacc MAINT-7739 Make LLOSInfo a Singleton 2017-08-25 20:26:25 +03:00
Ansariel e6f9a5e2db Merge viewer64 2017-07-27 21:07:14 +02:00
Oz Linden ee2cd159a5 add logging for skipping benchmark (and fixed some log tags) 2017-07-12 15:04:50 -04:00
Glenn Glazer 5c1d9d65f6 fix missing declaration 2017-07-06 16:09:44 -07:00
Glenn Glazer 42a8dbbd16 upgrade to VMP package 507104 2017-07-06 15:44:13 -07:00
Nicky 985730a52c Merge. 2017-05-18 17:40:24 +02:00
Oz Linden 60aade5ea2 add some extra logging to feature table parsing 2017-05-15 15:09:57 -04:00
Nat Goodspeed 52899ed62a DRTVWR-418, MAINT-6996: Rationalize LLMemory wrt 64-bit support.
There were two distinct LLMemory methods getCurrentRSS() and
getWorkingSetSize(). It was pointless to have both: on Windows they were
completely redundant; on other platforms getWorkingSetSize() always returned
0. (Amusingly, though the Windows implementations both made exactly the same
GetProcessMemoryInfo() call and used exactly the same logic, the code was
different in the two -- as though the second was implemented without awareness
of the first, even though they were adjacent in the source file.)

One of the actual MAINT-6996 problems was due to the fact that
getWorkingSetSize() returned U32, where getCurrentRSS() returns U64. In other
words, getWorkingSetSize() was both useless *and* wrong. Remove it, and change
its one call to getCurrentRSS() instead.

The other culprit was that in several places, the 64-bit WorkingSetSize
returned by the Windows GetProcessMemoryInfo() call (and by getCurrentRSS())
was explicitly cast to a 32-bit data type. That works only when explicitly or
implicitly (using LLUnits type conversion) scaling the value to kilobytes or
megabytes. When the size in bytes is desired, use 64-bit types instead.

In addition to the symptoms, LLMemory was overdue for a bit of cleanup.

There was a 16K block of memory called reserveMem, the comment on which read:
"reserve 16K for out of memory error handling." Yet *nothing* was ever done
with that block! If it were going to be useful, one would think someone would
at some point explicitly free the block. In fact there was a method
freeReserve(), apparently for just that purpose -- which was never called. As
things stood, reserveMem served only to *prevent* the viewer from ever using
that chunk of memory. Remove reserveMem and the unused freeReserve().

The only function of initClass() and cleanupClass() was to allocate and free
reserveMem. Remove initClass(), cleanupClass() and the LLCommon calls to them.

In a similar vein, there was an LLMemoryInfo::getPhysicalMemoryClamped()
method that returned U32Bytes. Its job was simply to return a size in bytes
that could fit into a U32 data type, returning U32_MAX if the 64-bit value
exceeded 4GB. Eliminate that; change all its calls to getPhysicalMemoryKB()
(which getPhysicalMemoryClamped() used internally anyway). We no longer care
about any platform that cannot handle 64-bit data types.
2017-05-02 10:51:18 -04:00
Nicky 56d01fc1f6 Skip gpu_benchmark if the startup paramert -noprobe is present. This can be used as a last resort option if gpu_bench hangs or crashes (eg on some Intel chipset/driver/windows combination). 2017-04-24 15:06:36 +02:00
Ansariel 40f8fa3637 With all the meshes with high res textures flying around nowadays this seems to be a good idea... 2017-03-25 14:31:49 +01:00
Ansariel cb968152b0 Merge viewer-bear 2016-05-28 14:34:35 +02:00
AndreyL ProductEngine 0d5edb03a2 MAINT-6435 Deafult preset should set the same settings as the "Reset to recommended settings" button 2016-05-27 03:34:37 +03:00
Ansariel Hiller e5b206c321 Fixed startup crash on Windows 2016-05-02 11:34:14 +00:00
Ansariel d3d6aeb26a Crash fix at startup on Windows 2016-05-02 13:29:47 +02:00
Ansariel 14f0ed0144 Merge viewer-quickgraphics 2016-05-02 09:41:12 +02:00
Oz Linden f495ca8f1a Adjust some avatar complexity defaults (mostly slightly upwards)
Make more settings between mac and windows the same
Remove solaris and xp featuretables, since we don't support them any more
2016-04-29 10:52:43 -04:00
Ansariel 2797c5938a Merge Firestorm LGPL 2016-04-05 10:47:23 +02:00
Oz Linden 9be58e915a merge with 4.0.3-release 2016-04-04 15:53:09 -04:00
Ansariel 3192fe832f Merge viewer-quickgraphics 2016-03-08 01:41:31 +01:00