Cool VL Viewer forum

View unanswered posts | View active topics It is currently 2024-03-19 07:34:49



Reply to topic  [ 8 posts ] 
Can't turn on ALM in Cool VL Viewer 1.30.0.13 on Mac 
Author Message

Joined: 2012-01-19 03:18:40
Posts: 196
Location: Sydney, Australia (UTC +10)
Reply with quote
I don't generally run with ALM turned on because it hits my frame rate too hard, so I only noticed this morning that I can't turn ALM on in Cool VL Viewer 1.30.0.13. I can do so in 1.30.0.9, the previous Mac build.

When I go into Preferences and click the Advance Lighting Model check-box, the tick appears, but I don't get the usual "preview" of the ALM graphics, and when I click on the Apply button, the check-box simply unchecks, and I remain in non-ALM mode. Clicking the OK button produces the same result.

Quote:
Cool VL Viewer v1.30.0.13, 64 bits, Aug 22 2022 20:44:27
RestrainedLove viewer v2.09.29.27
Release notes

You are at 257009.6, 258555.7, 22.0 in Luitgard located at
simhost-0353d13a62153db1f.agni.secondlife.io (35.89.104.130:13058)
Alias: ec2-35-89-104-130.us-west-2.compute.amazonaws.com
Second Life Server 2022-08-24.574550
Release notes

CPU: Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz (4200 MHz)
Memory: 16384MB
OS version: Mac OS X 10.14.6 Darwin 18.7.0 Darwin Kernel Version 18.7.0: Tue Jun 22 19:37:08 PDT 2021; root:xnu-4903.278.70~1/RELEASE_X86_64 x86_64
Memory manager: OS native
Graphics card vendor: ATI Technologies Inc.
Graphics card: AMD Radeon Pro 580 OpenGL Engine
OpenGL version: 2.1 ATI-2.11.26
Detected VRAM: 8101MB
J2C decoder: OpenJPEG: 1.4.0.635f
Audio driver: FMOD Studio v2.02.08
Networking backend: libcurl 7.47.0/OpenSSL 1.0.2u/zlib 1.2.11.zlib-ng
Embedded browser: Dullahan 1.12.3/CEF 91.1.21/Chromium 91.0.4472.114
Packets lost: 1/7335 (0.0%)

Built with: Clang/LLVM v11.0.3
Compiler-generated maths: SSE4.1.

Compile flags used for this build:
-O2 -fno-delete-null-pointer-checks -mno-retpoline -mno-retpoline-external-thunk -DNDEBUG -std=c++17 -stdlib=libc++ -fno-threadsafe-statics -pipe -g -fexceptions -fno-strict-aliasing -fvisibility=hidden -fsigned-char -m64 -mfpmath=sse -fno-math-errno -fno-trapping-math -pthread -Wall -Wno-reorder -Wno-deprecated-declarations -Wno-tautological-overlap-compare -DLL_DARWIN=1 -DLL_PHMAP=1 -DLL_FMOD=1 -DXML_STATIC


Attachments:
CoolVLViewer.log.zip [22.6 KiB]
Downloaded 29 times
2022-09-15 00:52:01
Profile

Joined: 2009-03-17 18:42:51
Posts: 5523
Reply with quote
From what I can see in the log, this is apparently an issue with the Contrast Adaptive Sharpening shader (CAS) failing to load on your Mac...
Not sure what is going wrong there, however, since I do not see this happening under Linux or Windows. Most likely, again, a bug in Apple's OpenGL shitty drivers. :?

I need more info, so could you please try this:
  • Login with the viewer in non-deferred mode (ALM off)
  • Enable "Advanced" -> "Rendering" -> "Render tests" -> "Debug GL"
  • Switch ALM on.
  • Log off and post here the viewer log.


2022-09-15 08:11:44
Profile WWW

Joined: 2012-01-19 03:18:40
Posts: 196
Location: Sydney, Australia (UTC +10)
Reply with quote
Your wish is my command. :)


Attachments:
CoolVLViewer.log.zip [29.52 KiB]
Downloaded 31 times
2022-09-15 23:28:29
Profile

Joined: 2009-03-17 18:42:51
Posts: 5523
Reply with quote
OK, please try adding two #extension's at the start of the app_settings/shaders/class1/deferred/CASF.glsl file, so that it reads:
Code:
.../...
 * Linden Research, Inc., 945 Battery Street, San Francisco, CA  94111  USA
 * $/LicenseInfo$
 */

#extension GL_ARB_shader_texture_lod : enable
#extension GL_EXT_gpu_shader4 : enable

/*[EXTRA_CODE_HERE]*/

#ifdef DEFINE_GL_FRAGCOLOR
.../...

And let me know if it works for you...


2022-09-15 23:46:43
Profile WWW

Joined: 2012-01-19 03:18:40
Posts: 196
Location: Sydney, Australia (UTC +10)
Reply with quote
I'm sorry, Henri, but that patch produced no visible change in the viewer's behaviour. I still could not turn on ALM.


Attachments:
CoolVLViewer.log.zip [42.83 KiB]
Downloaded 29 times
2022-09-17 00:57:19
Profile

Joined: 2009-03-17 18:42:51
Posts: 5523
Reply with quote
It looks like an issue with OpenGL v2.1 limitations (which the Macs are stuck with).

It is too late for me to find a solution for today's releases, but I already made provision for those so that a failing CAS shader compilation won't ruin the whole ALM mode and will simply be ignored (meaning the CAS shader will just not be used).


2022-09-17 08:23:45
Profile WWW

Joined: 2012-01-19 03:18:40
Posts: 196
Location: Sydney, Australia (UTC +10)
Reply with quote
Henri Beauchamp wrote:
It looks like an issue with OpenGL v2.1 limitations (which the Macs are stuck with).
Yeah...
Quote:
It is too late for me to find a solution for today's releases, but I already made provision for those so that a failing CAS shader compilation won't ruin the whole ALM mode and will simply be ignored (meaning the CAS shader will just not be used).
Thank you, Henri.


2022-09-17 14:05:36
Profile

Joined: 2012-01-19 03:18:40
Posts: 196
Location: Sydney, Australia (UTC +10)
Reply with quote
CoolVLViewer1.30.0.17 fixed this problem. Thank you, Henri!


2022-09-22 23:53:00
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 8 posts ] 

Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group
Designed by ST Software.