Cool VL Viewer forum

View unanswered posts | View active topics It is currently 2024-03-28 11:29:20



Reply to topic  [ 3 posts ] 
GPU maxing out and I don't know why 
Author Message

Joined: 2011-02-12 04:08:52
Posts: 46
Reply with quote
Probably I'm doing something wrong, I don't know what, and I'm hoping you can help.

A few weeks ago, I crashed my Win10 system badly in the course of trying to record an SL session, after which I had an issue with HUDs and avatar names interfering with UI elements. I found the relevant thread on here from October, and first managed to fix it by changing the antialiasing settings, and then checked my graphics card driver and found that it'd apparently gotten knocked out. I reinstalled that, in the process updating to the latest version. I then rebooted a couple of times.

With nothing else running but the AMD graphics card software and Task Manager, I opened Cool VL Viewer. After I finished logging in, the GPU use immediately shot up to 100%; shortly thereafter, the fan started whirring loudly. This was when I was alone in my skypod, with very little within draw distance. I tried changing different graphics settings and restarting multiple times, with no noticeable change in results.

(It is entirely likely that this was the case before I updated the drivers as well, I just wasn't looking at it then.)

I assumed that this was just SL being SL, but I tried the official client to be sure...and in that, GPU use was only around 40%.

I hate the official client, so that's not really an alternative. Is there perhaps something obvious I should be doing? Any help you could provide would be most gratefully appreciated.

Quote:
Cool VL Viewer v1.30.0.32, 64 bits, Dec 24 2022 09:39:49
Release notes

You are at 462168.8, 304913.6, 21.3 in Rhianna located at
simhost-09e635d9ba485ec7a.agni.secondlife.io (35.88.165.226:13008)
Alias: ec2-35-88-165-226.us-west-2.compute.amazonaws.com
Second Life Server 2022-11-11.576542
Release notes

CPU: Intel(R) Core(TM) i7-10700 CPU @ 2.90GHz (2904 MHz)
Memory: 48815MB
OS version: Microsoft Windows 10 64 bits v10.0 (build 19045.2364)
Memory manager: OS native
Graphics card vendor: ATI Technologies Inc.
Graphics card: Radeon RX 570 Series
Windows graphics driver version: 31.00.12044.0003
OpenGL version: 4.6.0 Compatibility Profile Context 22.20.27.07.221025
Detected VRAM: 32343MB
J2C decoder: OpenJPEG: 1.4.0.635f
Audio driver: FMOD Studio v2.02.11
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: 0/20118 (0.0%)

Built with: MSVC v1934
Compiler-generated maths: SSE2.

Compile flags used for this build:
/O2 /Oi /DNDEBUG /D_SECURE_SCL=0 /D_HAS_ITERATOR_DEBUGGING=0 /DWIN32 /D_WINDOWS /W3 /GR /EHsc /std:c++17 /EHs /fp:fast /MP /TP /W2 /c /nologo /GS- /Zc:threadSafeInit- /DLL_WINDOWS=1 /DUNICODE /D_UNICODE /DWINVER=0x0601 /D_WIN32_WINNT=0x0601 /DLL_PHMAP=1 /DLL_NETBIOS=1 /DBOOST_ALL_NO_LIB /DLL_FMOD=1 /DAPR_DECLARE_STATIC /DAPU_DECLARE_STATIC /DCURL_STATICLIB=1 /DXML_STATIC


Attachments:
File comment: Log from official SL client, for possible contrast?
SecondLife.zip [53.67 KiB]
Downloaded 27 times
File comment: Most recent Cool VL Viewer log.
CoolVLViewer.zip [20.39 KiB]
Downloaded 28 times
2022-12-28 05:37:28
Profile

Joined: 2009-03-17 18:42:51
Posts: 5523
Reply with quote
The viewer is working just fine from what I am seeing in the log, and the fact your GPU gets loaded at 100% when there is almost nothing to render is not surprising at all: in these conditions, the well optimized C++ code (up to twice as fast as LL's in some parts of the code) will throw, CPU side, as many frames as it can at the GPU, and since the latter got almost nothing to do either, the frames will be rendered in a couple milliseconds at most, meaning you will see fps rates in the 400+ range (I can reach over 800fps in my skybox).
Each rendered frame consuming a fixed amount of power for a given scene, the total power consumption is strictly proportional to the frame rate...

Since such enormous frame rates are ludicrous, I implemented a (smart) limiter: "Preferences" floater, "Cool features" tab, "Misc." sub-tab, "Frame rate limit" spinner: set it to your monitor VSync rate (usually 60fps, but maybe 120 or 144, for a gaming monitor). This will limit the frame rate in such a way that it does not slow down other operations (unlike what happens when you enable VSync); in fact it will even speed up textures rezzing since my algorithm is designed so that the viewer will use the "free time" in each frame to perform more ancillary tasks on the CPU side (such as textures prioritizing, fetching, decoding, creation).


2022-12-28 09:09:43
Profile WWW

Joined: 2011-02-12 04:08:52
Posts: 46
Reply with quote
Henri Beauchamp wrote:
Since such enormous frame rates are ludicrous, I implemented a (smart) limiter: "Preferences" floater, "Cool features" tab, "Misc." sub-tab, "Frame rate limit" spinner: set it to your monitor VSync rate (usually 60fps, but maybe 120 or 144, for a gaming monitor). This will limit the frame rate in such a way that it does not slow down other operations (unlike what happens when you enable VSync); in fact it will even speed up textures rezzing since my algorithm is designed so that the viewer will use the "free time" in each frame to perform more ancillary tasks on the CPU side (such as textures prioritizing, fetching, decoding, creation).

Ah, perfect! I didn't see that setting before. That has indeed fixed it. :-)

Thank you so much, and have a very happy year to come! <3


2022-12-28 17:25:23
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 3 posts ] 

Who is online

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