Cool VL Viewer forum

View unanswered posts | View active topics It is currently 2024-03-28 13:38:12



Reply to topic  [ 9 posts ] 
"Display gamma" makes no difference 
Author Message

Joined: 2023-10-03 14:07:30
Posts: 40
Reply with quote
I notice that in Preferences-[Graphics][GPU/GL features] the settings in the field "Display gamma" don't make a difference in Linux in Cool VL Viewer v1.32.0.1.
The "Exposure" slider in Preferences-[Graphics][Renderer settings] is what regulates brightness.
Maybe the "Display gamma" has become a field that is no longer actually in use?

Cool VL Viewer v1.32.0.1, Dec 9 2023 13:27:02 (home compiled)
RestrainedLove viewer v2.09.29.28
Release notes

CPU: Intel(R) Core(TM) i5-2320 CPU @ 3.00GHz (3092 MHz)
Memory: 15972MB
OS version: Linux-x86_64 v5.15.0-91-generic
Memory manager: jemalloc v5.3.1-20231028
Graphics: NVIDIA GEFORCE GTX 1050 TI/PCIE/SSE2
OpenGL version: 4.6.0 NVIDIA 535.129.03
Detected VRAM: 4096MB
J2C decoder: OpenJPEG: 1.4.0.635f
Audio driver: FMOD Studio v2.02.19 (PulseAudio)
Networking backend: libcurl 7.47.0/OpenSSL 1.0.2u/zlib 1.2.13.zlib-ng
Browser plugin: Dullahan 1.13.1/CEF 120.0.1/Chromium 120.0.6099.35
Packets lost: 72/139115 (0.1%)

Built with: GCC v11.4.0
Compiler-generated maths: AVX.

Compile flags used for this build:
-O3 -fno-delete-null-pointer-checks -fno-ipa-cp-clone -fno-align-labels -fno-align-loops -DNDEBUG -march=native -std=c++17 -fno-stack-protector -U_FORTIFY_SOURCE -fno-threadsafe-statics -fPIC -pipe -g -gdwarf-4 -fno-var-tracking-assignments -fexceptions -fno-strict-aliasing -fvisibility=hidden -fsigned-char -m64 -mfpmath=sse -fno-math-errno -fno-trapping-math -pthread -DLL_LINUX=1 -DLL_JEMALLOC=1 -DLL_FMOD=1 -DLL_OPENAL=1


2023-12-14 23:47:39
Profile

Joined: 2009-03-17 18:42:51
Posts: 5523
Reply with quote
Display gamma works just fine, especially with NVIDIA (which I can test here, on four different PCs, with four different NVIDIA cards, from GTX 460 to RTX 3070).

Since you are using a self-compiled binary, your issue might be due to a bad SDL2 library (if you build against system libraries, instead of the pre-built ones)...

Retry with the official build, please, and do provide the logs (there may be more info about it in there) !

Another possibility would be with your desktop environment (compositor, especially) that would override the gamma setting (this is a system-wide setting, not a viewer-only one, since it affects your whole display).


2023-12-15 08:44:49
Profile WWW

Joined: 2023-10-03 14:07:30
Posts: 40
Reply with quote
Thank you for looking into the matter.
I replaced the viewer with the download version and uninstalled the brightness controller just to be sure.
After a reboot and starting the Cool VL Viewer I could not get "display gamma" to work yet.
I always use "exposure" so it does not impair usability in any way, but I was intrigued.


Attachments:
CoolVLViewer.log.zip [20.85 KiB]
Downloaded 31 times
2023-12-15 10:52:16
Profile

Joined: 2009-03-17 18:42:51
Posts: 5523
Reply with quote
Nothing in the log, and no clue on my side for what is going wrong on your system: but it is definitely not a viewer bug...

Note that the "Exposure" graphics setting is only available in PBR rendering mode, and on the condition that HDR tone mapping is active (for legacy environment settings, the toggle for HDR tone mapping auto-adjustment/override is the in World -> Environment sub-menu). But it has nothing to do with display gamma (which is a display driver setting impacting the whole system, not a shader parameter local to the viewer 3D rendering).

If display gamma does not work via SDL2 (for whatever system-configuration reason), you can get the same result (excepted that the gamma won't be set on viewer launch and reset on exit), by setting it via the NVIDIA graphics driver control panel ("GPU 0" scroll down list, <Monitor port> (e.g. "DP-0", "HDMI-1", etc) entry, "Color Correction" tab, "Gamma" slider).


2023-12-15 13:00:05
Profile WWW

Joined: 2016-06-19 21:33:37
Posts: 337
Location: Columbus area, OH, USA
Reply with quote
I just gave gamma a try on my rig and admit, I don't see any change either. I have never needed it so never tried it. I'll poke around a bit but suspect my desktop or the NVIDIA controls might be overriding.


2023-12-15 13:58:21
Profile

Joined: 2023-10-03 14:07:30
Posts: 40
Reply with quote
I have a different Nvidia panel (picture attached) and made an application profile for The Cool VL Viewer with just the threaded optimizations set to "true".
I will see if I can find anything in the Xorg settings.


Attachments:
NvidiaLinux0.jpg
NvidiaLinux0.jpg [ 38.79 KiB | Viewed 1361 times ]
2023-12-15 15:25:54
Profile

Joined: 2009-03-17 18:42:51
Posts: 5523
Reply with quote
RossoAms wrote:
I have a different Nvidia panel (picture attached) and made an application profile for The Cool VL Viewer with just the threaded optimizations set to "true".
Do not do that, please (remove that profile): the cool_vl_viewer wrapper script takes care of setting the proper graphics driver parameters (see cool_vl_viewer.conf if you want to change them). Linux is not Windoze... :P

And the gamma is in the panel for the "DVI-D 0" entry, on your screen shot.


2023-12-15 16:58:38
Profile WWW

Joined: 2011-09-27 11:18:31
Posts: 169
Reply with quote
On AMD (latest AMDGPU) the setting works fine.


2023-12-15 17:56:07
Profile

Joined: 2023-10-03 14:07:30
Posts: 40
Reply with quote
Okay I will remove the profile. But it was the first time I could think of an Nvidia profile that actually makes sense. :D


2023-12-15 18:41:45
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 9 posts ] 

Who is online

Users browsing this forum: No registered users and 19 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:  
cron
Powered by phpBB® Forum Software © phpBB Group
Designed by ST Software.