Crashing when rendering viewport frames

I first observed this today around 4AM eastern, but it could have started happening as early as yesterday evening. I’m sure it wasn’t happening before this time because I opened old versions of my place file which worked before, and they were also crashing.

With a sufficient quantity of viewportframes or complexity of models, viewportframes will cause the viewport to stutter between two frames and cause the client or studio to crash, as seen here:

This is the repro file: Viewports.rbxl (386.4 KB) In this file, a viewport frame is created every second, and after some number of frames are created, studio crashes. GPU utilization slowly climbs, and then spikes at 100% when it crashes.

The number of viewports required to crash depends on the model complexity. On my machine, studio crashes after 3 viewport frames with Quenty’s Obervation Tower model, or after 16 or 17 frames with his Pine Tree model.

I also accidentally made this file which has 10-20 viewportframes on surface guis, and I can’t open it anymore without studio crashing: CantOpenThis.rbxl (33.4 KB)

System specs:
Intel Core i7-7700HQ CPU @ 2.80GHz
16 GB RAM
NVIDIA GeForce GTX 1060

3 Likes

I can’t reproduce this with a 1070, even after filling the whole screen with viewport frames, or creating a bunch more viewport frames in the other file. Are your drivers up to date?

Can you include a crash dump by following the instructions in the bug report requirements?

2 Likes

I cannot reproduce.

I have tried this on a NVIDIA 1080 GTX and a Radeon Pro WX 5100. I have tried Vulkan and D3D11 render, both seem to work. I have modified the script to create 1024 targets and although Studio gets slow (because it now renders a LOT of render targets) it does not crash. I also verified I can push it over system memory, but I cannot get it to run out of video memory on either system. (When it runs out of system memory vidmm starts to move memory around seemingly freezing the system, but once memory is swapped out, it continues running)

I have tested the CantOpenThis.rbxl file you have provided, I can open it. I have modified the scene in there by duplicating hundreds of layers and do not see the issue.

Please double check your video driver is up to date. Please attach a crash dump if you have one.

3 Likes

I tested this as well and my frames did not stutter at all even though I got at least more than 10 viewport frames, my specs is pretty good.

Im not even sure if my drivers are up-to date either so I don’t know if thats the problem or not.

Specs:
NVIDIA GeForce GTX 1050
8GB RAM
Intel Core i5-8300H CPU 2.30GHZ

Thank you for investigating, I apologize for not posting the crash dumps. Here are two from the first repro file if you are interested:

log_3A0FB_last.txt (2.6 KB) log_BB4FA_last.txt (2.6 KB)

However, after updating my drivers, the issue appears to be totally resolved. Thank you!

1 Like

Thank you for sending the logs. And really good to hear that the issue appears to be resolved!

2 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.