Jump to content

[SOLVED] Can't set gamma value


photo

Recommended Posts

Hello everyone,

 

I'm having a bit of trouble with the gamma settings, resulting in a very dark render. I've tested this one 2 different ATI systems with clean installs of the latest Unigine build. If I use the Unigine Heaven benchmark (the one available for public download), gamma is set properly and looks awesome. Running the Heaven level from the latest SDK results in the attached screenshot.

post-176-0-51076900-1312869831_thumb.jpg

Log: (line 6)

00:50:51 Loading "C:/Program Files/Unigine/Unigine SDK - binary/data/unigine.cfg"...
00:50:54 Loading "dxgi.dll"...
00:50:54 Loading "openal32.dll"...
00:50:54 Set 1024x768 windowed video mode
00:50:55 Set 1.00 gamma value
00:50:55 AppWindow::setGamma(): SetDeviceGammaRamp(): failed
00:50:55 Engine::video_restart(): can't set gamma value
00:50:55 Unigine engine http://unigine.com/
00:50:55 Binary: Windows 64bit Visual C++ 1600 Release Jul 21 2011 r7184
00:50:55 Features: OpenGL Direct3D9 Direct3D10 Direct3D11 OpenAL XPad360 Joystick Editor
00:50:55 App path: C:/Program Files/Unigine/Unigine SDK - binary/data/
00:50:55 Data path: C:/Program Files/Unigine/Unigine SDK - binary/data/
00:50:55 Save path: C:/Program Files/Unigine/Unigine SDK - binary/data/
00:50:55
00:50:55 ---- System ----
00:50:55 System: Windows Vista (build 6000) 64bit
00:50:55 CPU: Intel(R) Core(TM) i7 CPU 920 @ 2.67GHz 3100MHz MMX SSE SSE2 SSE3 SSSE3 SSE41 SSE42 HTT x8
00:50:55 GPU: ATI Radeon HD 5800 Series 8.872.0.0 x1
00:50:55 System memory: 3063 Mb
00:50:55 Video memory: 2048 Mb
00:50:55 Sync threads: 3
00:50:55 Async threads: 3
00:50:55
00:50:55 ---- MathLib ----
00:50:55 Set SSE simd processor
00:50:55
00:50:55 ---- Sound ----
00:50:55 Renderer: Speakers (SoundMAX Integrated Digital HD Audio)
00:50:55 OpenAL vendor: Creative Labs Inc.
00:50:55 OpenAL renderer: Software
00:50:55 OpenAL version: 1.1
00:50:55 Found AL_EXT_LINEAR_DISTANCE
00:50:55 Found AL_EXT_OFFSET
00:50:55 Found ALC_EXT_EFX
00:50:55 Found EFX Filter
00:50:55 Found EFX Reverb
00:50:55 Found EAX Reverb
00:50:55 Found QUAD16 format
00:50:55 Found 51CHN16 format
00:50:55 Found 61CHN16 format
00:50:55 Found 71CHN16 format
00:50:55 Maximum sources: 62
00:50:55 Maximum effect slots: 1
00:50:55 Maximum auxiliary sends: 1
00:50:55
00:50:55 ---- Render ----
00:50:55 Renderer: ATI R800 2048Mb
00:50:55 Direct3D11 desc: ATI Radeon HD 5800 Series
00:50:55 Found feature level 11.0
00:50:55 Found compute shader 11.0
00:50:55 Maximum texture size: 16384
00:50:55 Maximum texture units: 16
00:50:55 Maximum texture renders: 8
00:50:55
00:50:55 ---- Physics ----
00:50:55 Physics: Multi-threaded
00:50:55
00:50:55 ---- PathFind ----
00:50:55 PathFind: Multi-threaded
00:50:55
00:50:55 Unigine~# editor_quit && world_load samples/worlds/triggers_00
00:50:55 ---- Interpreter ----
00:50:55 Version: 2.41
00:50:55
00:50:55 Loading "core/unigine.cpp" 113ms
00:50:56 Loading "core/locale/unigine.en" dictionary
00:50:56 Loading "core/materials/default/unigine_post.mat" 15 materials 21 shaders 4ms
00:50:56 Loading "core/materials/default/unigine_render.mat" 37 materials 311 shaders 98ms
00:50:56 Loading "core/materials/default/unigine_meshes.mat" 18 materials 11031 shaders 142ms
00:50:56 Loading "core/materials/default/unigine_terrains.mat" 2 materials 432 shaders 13ms
00:50:56 Loading "core/materials/default/unigine_grass.mat" 1 material 69 shaders 13ms
00:50:56 Loading "core/materials/default/unigine_particles.mat" 1 material 47 shaders 7ms
00:50:56 Loading "core/materials/default/unigine_billboards.mat" 1 material 51 shaders 3ms
00:50:56 Loading "core/materials/default/unigine_volumes.mat" 6 materials 45 shaders 11ms
00:50:56 Loading "core/materials/default/unigine_guis.mat" 1 material 82 shaders 1ms
00:50:56 Loading "core/materials/default/unigine_water.mat" 1 material 117 shaders 55ms
00:50:56 Loading "core/materials/default/unigine_skies.mat" 1 material 13 shaders 59ms
00:50:56 Loading "core/materials/default/unigine_decals.mat" 1 material 99 shaders 3ms
00:50:56 Loading "core/properties/unigine.prop" 2 properties 0ms
00:50:56 Unigine~# editor_load
00:50:56 Editor::editor_quit(): editor is not loaded
00:50:56 Interpreter::load(): can't open "samples/worlds/triggers_00.cpp" file
00:50:57 Loading "data/core/editor/editor.cpp" 894ms
00:50:57
00:50:57 ---- Editor ----
00:50:57 Version: 0.58
00:50:57 

 

I've tried installing the latest DirectX and I've tried catalyst drivers 10.7, 11.1, 11.2, and the latest 11.7. Any help or potential workarounds would be appreciated!

 

Thanks :D

Link to comment
  • 1 month later...

I'm having a bit of trouble with the gamma settings, resulting in a very dark render.

00:50:55 AppWindow::setGamma(): SetDeviceGammaRamp(): failed
00:50:55 Engine::video_restart(): can't set gamma value

Please ignore this message, it does not have anything to do with the darkening. The real problem is that you seem not to launch Heaven properly: it requires specifying its specific system script and a config for proper colors on he start-up. So use demos/heaven_d3d11.bat for launching.

Link to comment
×
×
  • Create New...