Cool VL Viewer forum

View unanswered posts | View active topics It is currently 2024-04-16 09:59:03



Reply to topic  [ 5 posts ] 
1.26.9.33: opengl crash when enabling shadows 
Author Message

Joined: 2012-02-09 21:01:50
Posts: 284
Reply with quote
Hello,

the client crashed with a "hardware does not meet minimum specifications" opengl driver error ( http://nvidia.custhelp.com/app/answers/detail/a_id/3008 ). This error is silly cause I can run the client with all features enabled, including materials.


What I did:

- TP to Erebus/135/104/27
- Look at Ante Flan's animated material-ready water
- enabled shadows
--> crash

Log and dump: http://xp2.de/tillie/openglcrash.zip

--systeminfo--
Cool VL Viewer 1.26.9 (33) Oct 13 2013 01:26:04 (Cool VL Viewer)
RestrainedLove viewer v2.08.03.29

CPU: Intel(R) Core(TM) i7-3770K CPU @ 3.50GHz (3500.03 MHz)
Memory: 16340 MB
OS Version: Microsoft Windows 7 64-bit Service Pack 1 (Build 7601)
Memory manager: OS native
Graphics Card Vendor: NVIDIA Corporation
Graphics Card: GeForce GTX 680/PCIe/SSE2
Windows Graphics Driver Version: 9.18.0013.3140
OpenGL Version: 4.4.0
--systeminfo--


2013-10-18 16:57:00
Profile

Joined: 2009-03-17 18:42:51
Posts: 5545
Reply with quote
Tillie wrote:
Hello,

the client crashed with a "hardware does not meet minimum specifications" opengl driver error ( http://nvidia.custhelp.com/app/answers/detail/a_id/3008 ). This error is silly cause I can run the client with all features enabled, including materials.
The error code/message is probably irrelevant and might just be the result of a driver bug (see below). The "crash" itself is just the result of the watchdog timer of the viewer kicking in after the graphics driver froze.

Quote:
What I did:

- TP to Erebus/135/104/27
- Look at Ante Flan's animated material-ready water
- enabled shadows
--> crash
Went there, did that: could not reproduce the crash..

Quote:
Log and dump: http://xp2.de/tillie/openglcrash.zip

--systeminfo--
Cool VL Viewer 1.26.9 (33) Oct 13 2013 01:26:04 (Cool VL Viewer)
RestrainedLove viewer v2.08.03.29

CPU: Intel(R) Core(TM) i7-3770K CPU @ 3.50GHz (3500.03 MHz)
Memory: 16340 MB
OS Version: Microsoft Windows 7 64-bit Service Pack 1 (Build 7601)
Memory manager: OS native
Graphics Card Vendor: NVIDIA Corporation
Graphics Card: GeForce GTX 680/PCIe/SSE2
Windows Graphics Driver Version: 9.18.0013.3140
OpenGL Version: 4.4.0
--systeminfo--
You are using a beta driver (v331.40) and I was using the latest WHQL driver (v327.23), so I upgraded to the beta driver on my Win7 64bits partition and tried again: still no crash (also switched all possible combinations of deferred rendering graphics settings (DoF/SSAO/Shadows), still to no avail). Of course, I only have a GTX 660, so it might be a bug in the driver that only kicks in with newer GPUs. I'd recommend that you try and roll back to the release driver (327.23) and see what happens... In any case, that's not something I can correct from the viewer code...


2013-10-18 19:48:55
Profile WWW

Joined: 2012-02-09 21:01:50
Posts: 284
Reply with quote
Will investigate further.

I am using the beta driver since it is out and (18 days now) have had no other problems so far.


2013-10-18 20:12:19
Profile

Joined: 2012-02-09 21:01:50
Posts: 284
Reply with quote
I found the problem. Last session I had to do a photo with better shadows, so I raised some values to get improved display of the shadows:

Code:
    <key>RenderShadowResolutionScale</key>
        <map>
        <key>Comment</key>
            <string>Scale of shadow map resolution vs. screen resolution</string>
        <key>Type</key>
            <string>F32</string>
        <key>Value</key>
            <real>4</real>
        </map>
    <key>RenderShadowSplitExponent</key>
        <map>
        <key>Comment</key>
            <string>Near clip plane split distances for shadow map frusta (x=perspective, y=ortho, z=transition rate).</string>
        <key>Type</key>
            <string>Vector3</string>
        <key>Value</key>
            <array>
                <real>7.9000000953674316</real>
                <real>3</real>
                <real>2</real>
            </array>
        </map>


That worked quite well. But if you disable shadows now and reenable them, the client crashes. I deleted those two sections to get the default values -> all is well, I can toggle shadows on/off without a crash.


2013-10-19 12:30:49
Profile

Joined: 2009-03-17 18:42:51
Posts: 5545
Reply with quote
I tried again, using the same settings as yours, but still could not crash the viewer... Pehaps it has something to do with the size of the viewer window (mine fits a 1680x1050 screen, but IIRC, you are using much larger resolutions): in this case, reloading the shaders (and therefore reallocating the vertex buffers) could, on low/fragmented memory conditions, cause a crash (including inside the driver)...


2013-10-19 22:40:53
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 5 posts ] 

Who is online

Users browsing this forum: No registered users and 24 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.