Cool VL Viewer forum

View unanswered posts | View active topics It is currently 2024-03-28 06:38:44



Reply to topic  [ 8 posts ] 
1.26.12 (23): Advcanced Lighting not working with gtx 980 
Author Message

Joined: 2012-02-09 21:01:50
Posts: 284
Reply with quote
The client has a problem in the code, it seems:

Code:
2014-11-09T21:08:46Z WARNING: LLShaderMgr::loadShaderFile: GLSL Compilation Error: (0) in deferred/alphaF.glsl
2014-11-09T21:08:46Z WARNING: LLShaderMgr::dumpObjectLog: 0(168) : error C1008: undefined variable "diffuseLookup"

2014-11-09T21:08:46Z WARNING: LLShaderMgr::loadShaderFile:
0: #version 400

2014-11-09T21:08:47Z WARNING: LLShaderMgr::loadShaderFile:
1: #define DEFINE_GL_FRAGCOLOR 1
2: #define FXAA_GLSL_130 1
3: #define ATTRIBUTE in
[...]
18:  * @file alphaF.glsl
19:  *


Details see secondlife.log: http://tillie-world.net/files/1261223.zip

Code:
Cool VL Viewer 1.26.12 (23) Nov  8 2014 11:37:27 (Cool VL Viewer)
RestrainedLove viewer v2.09.03.20

Second Life Server 14.10.24.295913

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 980/PCIe/SSE2
Windows graphics driver version: 9.18.0013.4460
OpenGL version: 4.4.0 NVIDIA 344.60


2014-11-09 21:18:20
Profile

Joined: 2009-03-17 18:42:51
Posts: 5523
Reply with quote
shaders/class1/deferred/alphaF.glsl didn't change between v1.26.12.22 and v1.26.12.23, and the only change in llshadermgr.cpp deals with a define for ATI cards, so it can't possibly affect your card.

Also, I'm not seeing any error here, using a GTX 660 or GTX 460.

My guesses are (in likeliness order):
  • Failure from the driver to properly use the cached compiled shaders, and/or failure to detect a new set of shaders: in this case, just wipe out your compiled shaders cache and restart the viewer to solve the issue.
  • Incomplete/buggy support of your driver version for the GTX 980 (wow, you like them ultra-fresh (and expensive), don't you ?...).
  • Buggy GLSL compiler in the driver (did you just update the graphics driver ?). Using 343.22 here, but under Linux.

In any case, I very much doubt it's a viewer bug and if after wiping out the cached compiled shaders you still encounter the same issue, then my guess is that you will encounter it as well with LL's release viewer.


2014-11-10 09:41:54
Profile WWW

Joined: 2012-02-09 21:01:50
Posts: 284
Reply with quote
Henri Beauchamp wrote:
[*] Incomplete/buggy support of your driver version for the GTX 980 (wow, you like them ultra-fresh (and expensive), don't you ?...).
[*] Buggy GLSL compiler in the driver (did you just update the graphics driver ?). Using 343.22 here, but under Linux.


Yup, much required, I use a 4K display plus a 2560x1440 display on my PC. :D

nVidia just updated the drivers again today (after a release last week). Will check if the problem still occurs.

EDIT: And I did a clean install besides the updated install and there was a difference in glsl files, some got removed, so I cleaned up a bit. That will probably help. :)

EDIT 2: Yah up, that did it. :)


2014-11-10 18:31:54
Profile

Joined: 2012-06-21 19:30:21
Posts: 6
Reply with quote
I get only about 40 FPS or less on ultra (65 FPS on high) with a GTX 970

The graphics card doesn't even get hot, below 60C so fans stay off.
Shouldn't i get much more FPS with a monster card and CPU like this?


edit: I tried other viewers too, Cool viewer is the most fast viewer for my PC (of course)


----------------------------------------------------------------------------------------------------
Cool VL Viewer 1.26.12 (23) Nov 8 2014 10:45:45 (Cool VL Viewer)

CPU: Intel(R) Core(TM) i7-5930K CPU @ 3.50GHz (1200 MHz)
Memory: 15882 MB
OS version: Linux 3.13.0-24-generic #47-Ubuntu SMP Fri May 2 23:30:00 UTC 2014 x86_64
Memory manager: OS native
Graphics card vendor: NVIDIA Corporation
Graphics card: GeForce GTX 970/PCIe/SSE2
OpenGL version: 4.4.0 NVIDIA 343.22

J2C decoder: KDU
Audio driver: FMOD Ex 4.44.46
Networking backend: libcurl/7.38.0 OpenSSL/1.0.1h zlib/1.2.8
Embedded browser: Qt Webkit v4.7.1 (version number hard-coded)
Packets lost: 41/40548 (0.1%)

Built with GCC version 4.6.4


2014-11-16 10:07:01
Profile

Joined: 2009-03-17 18:42:51
Posts: 5523
Reply with quote
Medusa Milena wrote:
I get only about 40 FPS or less on ultra (65 FPS on high) with a GTX 970

The graphics card doesn't even get hot, below 60C so fans stay off.
Shouldn't i get much more FPS with a monster card and CPU like this?
A GTX 9x0 is an overkill for any SL viewer: a GTX 660 will give you equivalent results unless you got a super-high resolution monitor tied to it...

The bottleneck in your system is likely the CPU: even the fastest CPUs can't feed a GTX 9x0 fast enough to load it at 100% in a software such as the SL viewer, which uses a single-threaded renderer (i.e. the rendering code only uses one CPU core, and the speed will depend almost exclusively on the CPU frequency, not on its number of cores when they are beyond 2).

To try and get the most out of your CPU, you may enable the multi-threaded optimizations in the NVIDIA driver (this is done automatically by the Cool VL Viewer, under Linux, thanks to an "export __GL_THREADED_OPTIMIZATIONS=1" in the cool_vl_viewer wrapper script, but this must be configured at the driver level under Windows).

Quote:
edit: I tried other viewers too, Cool viewer is the most fast viewer for my PC (of course)
That's because the main loop code was optimized the most, giving more time for the CPU to execute the rendering code. It's important to optimize the code where the speed bottleneck actually is...

I don't know if you overclocked your CPU (it will keep reporting its default factory speed in /proc/cpuinfo under Linux, so what is displayed in the About box is not relevant), but if you didn't, your best bet is to try and do it (my Core-i5 2500K is overclocked at 4.6GHz, and it does make quite a difference when compared to the 3.3GHz stock speed).


2014-11-16 10:43:29
Profile WWW

Joined: 2012-06-21 19:30:21
Posts: 6
Reply with quote
Henri Beauchamp wrote:
A GTX 9x0 is an overkill for any SL viewer: a GTX 660 will give you equivalent results unless you got a super-high resolution monitor tied to it...



Thats a weird comment, saying as if i bought the card pure for SL and should use an older card instead? Not.

Quote:
The bottleneck in your system is likely the CPU: even the fastest CPUs can't feed a GTX 9x0 fast enough to load it at 100% in a software such as the SL viewer, which uses a single-threaded renderer (i.e. the rendering code only uses one CPU core, and the speed will depend almost exclusively on the CPU frequency, not on its number of cores when they are beyond 2).


That's the only valid reason i can think of yes, will SL use more core's in future?

Quote:
I don't know if you overclocked your CPU


Nope, and not really planing to.


2014-11-16 11:40:12
Profile

Joined: 2009-03-17 18:42:51
Posts: 5523
Reply with quote
Medusa Milena wrote:
Henri Beauchamp wrote:
A GTX 9x0 is an overkill for any SL viewer: a GTX 660 will give you equivalent results unless you got a super-high resolution monitor tied to it...

Thats a weird comment, saying as if i bought the card pure for SL and should use an older card instead? Not.
It's not weird at all... I'm just trying to explain you that your expectations for faster frame rates in SL based on an ultra-powerful GPU are moot...

Quote:
Quote:
The bottleneck in your system is likely the CPU: even the fastest CPUs can't feed a GTX 9x0 fast enough to load it at 100% in a software such as the SL viewer, which uses a single-threaded renderer (i.e. the rendering code only uses one CPU core, and the speed will depend almost exclusively on the CPU frequency, not on its number of cores when they are beyond 2).
That's the only valid reason i can think of yes, will SL use more core's in future?
It's highly unlikely as it would involve pretty much a full rewrite of the whole renderer... Perhaps in SL 2, if SL 2 will at all use a dedicated viewer client software...

Quote:
Quote:
I don't know if you overclocked your CPU
Nope, and not really planing to.
Why not ?... There's no risk doing it (at worst, you'll get crashes while overclocked and will have to run it back at stock speed), and only potential gains... Especially since your CPU is a "K" (unlocked) series ! I'm ready to bet that your CPU could easily run (with no or very very little supply voltage increase) at a minimum of 4Ghz, i.e. at the very least a 12.5% speed gain, and 4.2GHz (20% gain) is most probably a reasonable expectation with still very conservative (100% risk-less) supply voltage and max core temperatures for an Haswell (which is less "overclockable" than a Sandy bridge or even an Ivy bridge... Shame on Intel !... But Intel is a shame anyway, by its CPU's very flawed architecture... If only IBM had chosen Motorola (the 68K was gorgeous !... It already was a 32bits, flat-memory CPU when Intel was still struggling with 16bits and paged memory) instead of Intel for it's IBM PC platform... *deep, depressed sigh* But I digress...).


2014-11-16 13:25:22
Profile WWW

Joined: 2012-02-09 21:01:50
Posts: 284
Reply with quote
My GTX 980 helps me for using the 4K and the 2560xsomething display at the same time, as it helps with several directx games. :-)

One thing that's useful: for several software you can just disable antialiasing, pixels are small enough on the 4k display that you mostoften don't need any AA.

I didn't get it for Sl specifically. The overall opengl performance boost isnt that much of a thing usually. :p


2014-11-17 11:43:00
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 8 posts ] 

Who is online

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