Tiny Glade

Tiny Glade

aaronadoty Nov 23, 2024 @ 5:43pm
Tiny Glade almost unresponsively slow
I am running Tiny Glade on a Surface Book with Windows 10 Pro, an Intel Core i7-6600U processor with 16GB of RAM and a GeForce GTX 965M GPU with 2GB of RAM (Driver version 546.33). Two days ago, Tiny Glade was running crisply and smoothly with its default video settings in Fullscreen. Now it is barely responsive, with tool selection and panning taking several seconds to occur, making it unusable. Nothing has changed in my setup and no other applications are running. Does anyone have any suggestions about what might be happening or how to fix?
< >
Showing 1-15 of 16 comments
aaronadoty Nov 23, 2024 @ 5:56pm 
I have tried doing a clean reinstall of my graphics driver and restarted and shut down and rebooted my machine several times, with no change/improvement.
h3r2tic  [developer] Nov 24, 2024 @ 10:31am 
Hmm, very odd! If you go to the Video settings in Tiny Glade, does it show you the GeForce card at the top of the settings list? I wonder if it's maybe somehow switched to your integrated Intel HD Graphics 520.
aaronadoty Nov 24, 2024 @ 12:39pm 
Hi Tomasz

Thanks for your reply. At one point, Tiny Glade did switch to my integrated Intel GPU, but a notice came up pointing out that the game may crash (which it did when I tried to run it). In fact, my Surface Book could not find my NVIDIA GPU at all, but it reappeared after I rebooted the machine.

I’ve checked the video settings, and Tiny Glade says it is using my NVIDIA card.

At one point, I had a notice appear in Tiny Glade saying my Vulkan settings were missing or broken, but this message also disappeared after a restart. I reinstalled the NVIDIA driver to be safe and the GPU seems to be running fine, but Tiny Glade still barely works. I tried dropping the resolution setting to 0.7, but this made no difference.

In my first day with the game, I played for about seven hours off and on (such a terrific game, btw) and TG worked incredibly smoothly the whole time, so I can’t figure out why it is struggling so much now.

Any thoughts? I wondered if my NVIDIA GPU is cooked, but I’ve checked it in Task Manager and Game Bar and it seems to be working OK (it shoots up to 100% usage as soon as TG launches, but only gets up to about 45°C and is only using about half of its RAM).

I would really appreciate any ideas you have about what I could try. I am loving Tiny Glade, but it is almost unusable atm. :steamsad:
h3r2tic  [developer] Nov 24, 2024 @ 2:52pm 
I guess no easy answer for us then, heh. At least not yet. Thanks for checking the GPU and reporting details of the behavior. There's one thing that might shed some more light, but it's still kinda WIP, so it's not built into the default version of the game.

There's a "beta" in Steam, called ` 1_10_3-benchmark` (Right click Tiny Glade in your Steam Library → Properties → Betas → Beta Participation). If you use that version, and then while the game is running at a snail's pace, you can use the in-game feedback tool (F6). You should see an option called "Attach benchmark" - if you flip its value to "Yes" and send us the data, I will be able to check what the CPU & GPU are doing, and if there's anything that stands out.
aaronadoty Nov 24, 2024 @ 4:44pm 
Great, thanks Tomasz! I will give that a try and let you know back in this thread when I’ve sent through some benchmark feedback.
aaronadoty Nov 24, 2024 @ 10:25pm 
Hi Tomasz

I have opted in to the 1_10_3-benchmark beta as you suggested. I tried to send through a benchmark but my machine froze while the screen said it was sending. Let me know if anything came through. I will try again later.
aaronadoty Nov 24, 2024 @ 10:33pm 
I’ve successfully sent you a benchmark!
h3r2tic  [developer] Nov 25, 2024 @ 3:48am 
I've successfully downloaded it, thanks!

So what I'm seeing here is that the issue is on the GPU side. Even though the GeForce is indeed being used, all rendering operations are running slower than they should - no single thing stands out, it's just the entire frame is slower than it should be.

It's almost as if the GPU is running in low power mode, which I think would correlate with the low temperature you're seeing on it. Task Manager's 100% display is likely inaccurate, as I've seen cases where it shows 0% while the game is running, and I'm not even sure what they base the numbers on.

What I'd try is going to the NVIDIA Control Panel and changing the power management mode, as in here: https://nvidia.custhelp.com/app/answers/detail/a_id/3130/~/setting-power-management-mode-from-normal-to-maximum-performance

It might also be a Windows power management thing, so check the battery gizmo in the taskbar; maybe you have it set to maximum battery / low power even if hooked up to a power source?
aaronadoty Nov 28, 2024 @ 1:06am 
Hi Tomasz

Thanks very much for reviewing the benchmark and for your advice on settings. I have switched the battery and GPU to maximise performance. I have noticed a slight improvement, but tool selection, panning around and positioning elements is still very laggy. I’ve sent you another benchmark to compare with the last one. Can you see any changes?

Perhaps this is as good as it gets with my old machine – but it seemed to be working so much better during my first session!
h3r2tic  [developer] Nov 28, 2024 @ 3:29am 
Hey! Thanks for the additional benchmark! But hmm, no that didn't seem to do anything: https://imgur.com/a/KpTVI8v (left is the "before" and right is the "after"). The right one looks slightly slower even, but I'm pretty sure that's just variability due to statistical noise and glade differences.
I gotta think about this some more; GPU clock speed could be one thing, but performance might also be this bad if resources are placed in system memory instead of GPU memory. I'll need to add some diagnostics for that.
It's also possible to check GPU information like the internal frequency etc using a tool called "nvidia-smi", but I'll have to find the exact command for ya, and right now I gotta run do some chores ^^;
Last edited by h3r2tic; Nov 28, 2024 @ 3:30am
aaronadoty Nov 28, 2024 @ 12:54pm 
Hi Tomasz – thanks for sticking with me on this! I really appreciate the help and look forward to any suggestions you come up with. I switched back to resolution scaling of 1.0 last night to take some screenshots, and TG nearly ground to a halt. (Just confirming the stark difference to day one with TG, where I had scaling set at 1.0 and happily noodled around for hours.) it is a mystery wrapped in an enigma. *sigh*
h3r2tic  [developer] Dec 3, 2024 @ 5:43pm 
Hey there again, and sorry for the delay - a few things popped up, and I had to focus a bit on the upcoming update ^^; But I've managed to spend some time on this, and added extra diagnostics to the F6 benchmark tool. Now it can capture diagnostic information of NVIDIA GPUs (power state, internal frequency, temperature, utilization, memory usage) without having to rely on external tools. I hope this can help shine some light on this issue.

I've also finally properly integrated the code into our main development line, so once the next patch lands, switching between Steam betas/branches won't be necessary... but until then, there's a new beta, called ` 1_10_3-benchmark2`. When you have a moment, I'd appreciate if you could send that in-game feedback including the benchmark data.
aaronadoty Dec 7, 2024 @ 2:58pm 
Hi Tomasz
I’ve installed benchmark 2 and I’ve sent you two benchmarks, both of the same file, one running on my new SteamDeck (yay!), and one from my old Surface Book. Such a stark difference between the two!

I will be interested to hear what you learn from the two benchmarks.
Aaron
h3r2tic  [developer] Dec 8, 2024 @ 6:57am 
Hey, Aaron! Thanks for the new benchmark data!

Okays, starting with the Steam Deck - not much to say there, performs as expected :) I'd suggest maybe reducing the resolution scale to around 0.7-0.8, as that will get you quite a decent FPS boost. Then when using the Deck on the go, I like to set a TDP limit to something like 10W.

Now, for the main course, the GTX 965M...

This is the data that our benchmark has gathered about the GPU's utilization:

Clocks: {Graphics: 135 MHz, Memory: 405 MHz, Video: 405 MHz}
P-state: P8
Utilization: {Graphics: 99%, FrameBuffer: 52%, VideoEngine: 0%, BusInterface: 14%}
Power: []
Memory: MemoryInfo { dedicated: 2 GiB, dedicated_available: 1.9574585 GiB, system: 0 KiB, shared: 7.9596367 GiB, dedicated_available_current: 0.97798157 GiB, dedicated_evictions_size: 4.1601563 MiB, dedicated_evictions: 0 }
Sensors: [Sensor { controller: GpuInternal, default_temperature_range: -256C ~ 127C, current_temperature: 50C, target: Gpu }]

This evidence supports my earlier theory that the GPU itself is running slowly. P-state (or power state) being P8 is a clear indication of that. NVIDIA GPUs have multiple power states, with the high performance one being P0, which one would expect in games. Further to this, the "Clocks" are low too. The 965M is supposed to have a base clock of 924 MHz, and here the "Graphics" clock of 135 MHz doesn't quite match that. The memory should be 1253 MHz, but it's only 405 MHz here.

Yet if you look at utilization, it says that the graphics subsystem is utilized at 99%. Normally if utilization is high, the driver should bump the power state, thus giving you better performance. Here something is preventing it from doing that. That's gonna boil down to driver or OS settings.

Since you've already tried changing settings in the NVIDIA Control Panel, and that seemed to have no effect, can you check that the power mode in Windows is set to high performance? The battery icon in the tray should pop up a slider with possible values. Failing that, maybe you have some additional software for controlling the GPU (such as Afterburner), that could be messing with us here?
Last edited by h3r2tic; Dec 8, 2024 @ 7:00am
aaronadoty Dec 9, 2024 @ 5:28pm 
Hi Tomasz
Thanks very much for reviewing the benchmarks and for your suggestions. I’ve double-checked that my battery settings are on “best performance”. One thing regarding the GPU settings – my NVIDIA control panel has no settings options, so I cannot set the performance for the GPU here. I modified this through the NVIDIA app instead. However, I can no longer launch the NVIDIA app, nor can I uninstall it to do a reinstall. Instead, I have just gone mad and deleted every NVIDIA file and application I could find on my machine, then reinstalled the NVIDIA Control Panel and the graphics driver. Reinstalling the NVIDIA Control Panel didn’t give me any more settings, but I went into my Windows Graphics settings and set the Graphics preference to “high performance” for both Steam and Tiny Glade, forcing them to use the NVIDIA GPU rather than the Intel HD Graphics.

One of these changes seems to have shaken something loose and Tiny Glade is running much more smoothly. I’ve sent you another benchmark and will be interested to know if it shows whether I’ve managed to take off the handbrake on my GPU.

Aaron
< >
Showing 1-15 of 16 comments
Per page: 1530 50

Date Posted: Nov 23, 2024 @ 5:43pm
Posts: 16