Skip to content
This repository was archived by the owner on Apr 4, 2025. It is now read-only.

[BUG-234859] [PBR] Sudden and large loss of FPS as sun sets #11703

Closed
sl-service-account opened this issue Dec 17, 2023 · 11 comments
Closed

[BUG-234859] [PBR] Sudden and large loss of FPS as sun sets #11703

sl-service-account opened this issue Dec 17, 2023 · 11 comments

Comments

@sl-service-account
Copy link

sl-service-account commented Dec 17, 2023

What just happened?

Using Second Life on Bellisseria as sun set. I had the Statistics bar up for PBR viewer testing. As the sun finally went down there was a visual change and a big drop in FPS, which did not recover afterwards.

FPS while sun was still up was approx 85fps, with a frame of around 11ms.

Immediately the sun finally set the FPS dropped to around 40FPs and the frame time jumped up to around 25ms. It stayed like that for some minutes.

Looking at the statistics bar about 5 minutes later the FPS was round 70 FS and frame time around 15ms.

What were you doing when it happened?

Watching the sun set on Bellisseria with Statistics bar open. Using Release candidate 7.1.2.7215179142.

What were you expecting to happen instead?

Frame rate to stay similar in all sun/moon conditions.

Other information

A relog after 5 minutes or so appears to allow the FPS to go back to around 85fps (frame time 11ms or so) rather than the limited FPS it had settled on ahead of the relog.

I had noticed during previous testing related to the NVidia GPU/8 core CPU systems on Firestorm and LL viewers that there could be a big an sudden change in FPS at times when sun was out and not. But the report as shown above was my clearest indication the frame rate drop was exactly as the sun finally left the sky and the sky turned a sudden deeper blue with no sun colour in it.

Attachments

Original Jira Fields
Field Value
Issue BUG-234859
Summary [PBR] Sudden and large loss of FPS as sun sets
Type Bug
Priority Unset
Status Closed
Resolution Duplicate
Labels pbr
Reporter Ai Austin (ai.austin)
Created at 2023-12-17T15:41:44Z
Updated at 2024-01-25T18:48:30Z
{
  'Build Id': 'unset',
  'Business Unit': ['Platform'],
  'Date of First Response': '2023-12-19T13:49:39.421-0600',
  "Is there anything you'd like to add?": 'I had noticed during previous testing related to the NVidia GPU/8 core CPU systems on Firestorm and LL viewers that there could be a big an sudden change in FPS at times when sun was out and not. But the report as shown above was my clearest indication it was exactly as the sun finally left the sky and the sky turned a sudden deeper blue wit no sun colour in it.',
  'ReOpened Count': 0.0,
  'Severity': 'Unset',
  'System': 'SL Viewer',
  'Target Viewer Version': 'viewer-development',
  'What just happened?': 'Using Second Life on Bellisseria as sun set. I had the Statistics bar up for PBR viewer testing. As the sun finally went down there was a visual change and a big drop in FPS, which did not recover afterwards.\r\n\r\nFPS while sun was still up was approx 85fps, with a frame of around 11ms.\r\n\r\nImmediately the sun finally set the FOPS dropped to around 40FPs and the frame time jumped up to around 25ms. It stayed like that for some minutes.\r\n\r\nLooking at the statistics bar about 5 minutes later the FPS was round 70 FS and frame time around 15ms.',
  'What were you doing when it happened?': 'Watching the sun set on Bellisseria with Statistics bar open. Using Release candidate 7.1.2.7215179142.',
  'What were you expecting to happen instead?': 'Frame rate to stay high in all sun/moon conditions.',
  'Where': 'http://maps.secondlife.com/secondlife/Damiano/90/18/21',
}
@sl-service-account
Copy link
Author

Ai Austin commented at 2023-12-18T15:40:29Z

I happened to catch the transition from sun just above the horizon to sun just below the horizon in Firestorm 7.1.1.72630 while I had the statistics bar open and that exhibits the same behaviour significant frame rate drop behaviours as the LL 7.1.2.7215179142 RC. 9ms frame time to 24ms frame time Sun-Up.jpg Sun-Down.jpg .

Images of Sun Up and Sun Down attached.

@sl-service-account
Copy link
Author

Dan Linden commented at 2023-12-19T19:49:39Z

I was going to say this sounds like BUG-234706, but you are already running the GLTF maint viewer in which this should be fixed.

@sl-service-account
Copy link
Author

Dan Linden commented at 2023-12-20T18:38:24Z, updated at 2023-12-20T18:38:42Z

It appears that parcel is using the default Day Cycle.

If you create a new Day Cycle from the + button in the Inventory, then open it and hit the Play button does this performance drop reproduce?

If it does reproduce, it would be interesting to note if the GPU utilization dropped as well. You can see this in the Performance tab of the Task Manager. This is what the issue was in BUG-234706.
image-2023-12-20-10-38-38-069.png

@sl-service-account
Copy link
Author

Ai Austin commented at 2023-12-22T20:40:13Z, updated at 2023-12-22T21:29:36Z

Trying to get you that data Dan.

Incidentally though, the same FPS and frame rate drop occurs when the moon sets. See Moon-Up.png (94fps) and Moon-Down.png (instant drop to around 55FPS and a slow recover to about 60FPS, but not bouncing back up to the higher frame rate seen earlier.

Tested on current release, current RC and some nightly builds up to 21-Dec-2023 on Discord Content-Features Channel and it happens on them all. Also on latest Firestorm PBR Alpha. Seen on my two Windows 10 32GB memory Xeon processor systems (one with Nvidia GTX 1080 and one with Nvidia GTX 980).

Second_Life_7_1_2_7215179142_x86_64_Setup.exe
Second_Life_7_1_2_7267936070_x86_64_Setup.exe
Second_Life_7_1_2_7292896315_x86_64_Setup.exe
Phoenix-FirestormOS-Alphax64-7-1-1-72630_Setup.exe

@sl-service-account
Copy link
Author

Ai Austin commented at 2023-12-22T21:15:13Z, updated at 2024-01-03T12:32:13Z

New Day Cycle Test as Requested

Test on a machine while travelling, 32GB memory, Nvidia GTX 980 GPU (4GB). Wifi on this particular test, but I don't think that is relevant as its actually faster than my home broadband (Speedtest shows steady 150mbps down, 30mbps up). On a Bellisseria region on main grid, Set camera to look out to sea and horizon. Only a buoy in view.

Created a New Day Cycle and left it unchanged. Took a reading of GPU usage (high, but pretty level). SL Viewer running at 155FPS steady. Shared Environment still has sun high in sky at the time. See Before-New-Day-Cycle-Play.png

Opened New Day Cycle and hit play. FPS was around 120FPS at start of play, as Moon set it dropped to around 90fps, see During-New-Day-Cycle-Play.png. GPU usage was lower than before but not by much.

Then as new day cycle continued it recovered slowly back to around 120FPS and stayed around that figure during day part of cycle. Then as Sun set drop again to around 95fps, and slow recovered back to 120FPS. While play on the new day cycle was running it never went back to around 150FPS as it started at.

When I stopped the New Day Cycle Play and returned to Shared Environment. Sun still high in sky. FPS jumped back to 155fps.

@sl-service-account
Copy link
Author

Ai Austin commented at 2024-01-03T12:40:18Z, updated at 2024-01-03T12:40:46Z

For what its worth as additional information, I was running the Firestorm PBR Alpha 7.1.2.72848 on a Bellisseria region with shared environment at the time of a moonset so brought up the statistics tool.

The FPS was pretty stead around 77fps as the Moon was going down and while there were reflections in the water.

The moment the reflections in the water disappeared the frame rate dropped to 28 FPS. It stayed around there for about 2 minutes.

The frame rate very slowly nudged back up. 40FPS after about 5 minutes, 50 FPS after 10 minutes, but even much later it still had not returned to the original 77FPS.

@sl-service-account
Copy link
Author

Ai Austin commented at 2024-01-13T15:43:35Z, updated at 2024-01-13T15:53:57Z

Retesting on 7.1.3.7467259489 (GLTF PBR Maint 2) and I observe the same behaviour. View is past a Bellisseria houseboat out to sea to West. See 2024-01-13-SL-7.1.3.7467259489-Test-View.jpg

FPS as sun approaches horizon for sunset - 71 FPS
Sudden change as sun goes down - 43 FPS
After 4 minutes it has slowly risen to 52FPS
After 10 minutes it has risen a bit further to 62FPS and seemed to stick at that for 10 minutes more.

I then relogged back to same camera, window size, etc and FPS was instantly up at 85FPS.

@sl-service-account
Copy link
Author

Ai Austin commented at 2024-01-15T09:49:34Z, updated at 2024-01-15T16:47:38Z

I don't have a convenient Linden Lab pre-PBR viewer installed to test on that, but I did try on the pre-PBR Firestorm 6.6.17 and that does not show the FPS dip at sunset and moonset. The FPS stays pretty level throughout a day cycle.

@sl-service-account
Copy link
Author

Dan Linden commented at 2024-01-19T18:54:52Z

Thank you, Ai! I see the loss of FPS on my machine too.

@sl-service-account
Copy link
Author

Dan Linden commented at 2024-01-25T18:45:59Z

The dip in framerate here seems much larger when shadows are on. I do see a change in framerate on a pre-PBR viewer (6.6.16.6566955269) too, but the variance is smaller.

@sl-service-account
Copy link
Author

Dan Linden commented at 2024-01-25T18:48:30Z

This issue is being copied to Canny. Please find your issue at
https://feedback.secondlife.com/bug-reports/p/pbr-sudden-and-large-loss-of-fps-as-sun-sets

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant