-
December 24th, 2023, 02:36 #1
High GPU usage issues with Unity Games: (includes Fantasy Grounds)
This issue has been said and addressed several times before in the House of Healing.
This potential issue is also not just a Fantasy Grounds issue, it is inherent to the Unity engine itself.
Video cards and their respective drivers, card settings, and computer builds differ and vary in these potential areas.
To help address the high GPU usage issue in Unity games, like Fantasy Grounds Unity, caused by Unity Engine's default behavior of rendering as many frames as possible, consider these approaches:
Limit Unity Frame Rate: Cap frame rates to reduce GPU strain. Search "limit unity fps" for scripts and settings.
External Frame Rate Limiting: Use your video card's software for this purpose.
Frame Rate Limiting Tutorial
Fantasy Grounds Unity Guide: Offers specific advice for FGU, including driver settings and commands.
Fantasy Grounds Unity GPU Usage Guide
Combining these methods should help mitigate high GPU usage in Unity-based games.
YouTube tutorial on Frame Rate Limiting in Unity: https://www.youtube.com/watch?v=DT-ig6dd82U
Unity's documentation on vSyncCount: https://docs.unity3d.com/ScriptRefer...SyncCount.html
Fantasy Grounds Unity Troubleshooting Guide for Reducing GPU Usage:
https://fantasygroundsunity.atlassia...cing+GPU+Usage
Update: The Fantasy Grounds platform has been set to 60 FPS Vsync settings by default now.Last edited by Laerun; April 26th, 2024 at 08:02. Reason: Typos and updated formatting and update.
FGA Founder
FGU teacher and student!
Ultimate License Holder
Discord Alias: Laerun#6969
http://www.fantasygroundsacademy.com
-
December 24th, 2023, 13:47 #2
I really think this should be a Sticky either here or in the House of Healing. I've been troubleshooting this issue on a case-by-case basis when players complained about "FG being slow" or "using too much GPU", and for some reason never ocurred to me to just compile the links with the relevant info
-
December 24th, 2023, 14:23 #3
One neat trick that helped me find my issue :
Since I use FGU on Steam, you can add an FPS counter on any launched game/software.
Once I saw that my FPS, while in FGU, jumped around 1500-2000 that confirmed that capping my FPS would be the fix!
Rejoignez la communauté Francophone de fantasy grounds sur Discord! https://discord.gg/wrZ3WQuHKH
-
December 29th, 2023, 03:30 #4
Just Curious, this video states that the game maker can lock the FPS, why not just do that at a level that works for FGU?
Lock FPS its in the first 3 minutes. I can't imagine that FGU would need more than 60fps. and you can adjust as needed with a new release.My First Mod PFRPG - Feats Extended, focusing on PF1e Feats and Racial Traits automation. It is open to community assistance** accidentally deleted, If anyone grabbed a copy, PLEASE let me know**. Here is the forum Link.
40+ PF1e Extensions & Modules I use, with links.
PF1E Coding Effects - Spreadsheet
Discord: Morenu
-
December 29th, 2023, 04:58 #5
Supreme Deity
- Join Date
- Mar 2007
- Posts
- 21,508
Our default behavior is to set frame rate to match refresh rate of monitor (which typically is 60-120, though some monitors scale higher). You can change to having the application set a fixed 60fps by using "/vsync 0" chat command.
However, given that we see people that have systems running at 1500-2000; that means that the graphics driver is overriding the default behavior limits somewhere in the graphics pipeline.
Regards,
JPG
-
March 10th, 2024, 06:31 #6
- Join Date
- May 2020
- Posts
- 32
I've tried all of these fixes, and none of them seem to work. Tonight, not only did I crash, but my friends did, as well. It's not a simple crash either - it takes Discord, etc with it. I made a topic about it months ago, but it seems to now be spreading to people playing, not just me as the host.
I play plenty of other unity games like Hearthstone etc (and I edit things in Unity from time to time) and never have this issue.
-
March 10th, 2024, 07:14 #7
Supreme Deity
- Join Date
- Mar 2007
- Posts
- 21,508
If it's taking down other applications, then that usually points to some issues with hardware/drivers as Windows prevents applications from affecting others directly (with the exception being shared drivers).
The difference between other Unity games and FG is that we let you use your own graphics, instead of graphics that have been fixed to very specific sets and heavily optimized for managing memory usage and performance. That's why we provide guidelines for the kinds/sizes of images to use in FG to get the best performance and avoid issues. These guidelines are applied to any product that is submitted for sale on our web store.
* What resolution are the images you are using for maps?
* Were you able to verify that the frame rate was locked at 60 fps when switching to /vsync 0? (You can use the built-in Windows Game Bar to help measure FPS.)
Regards,
JPG
-
March 10th, 2024, 07:18 #8
Supreme Deity
- Join Date
- Mar 2007
- Posts
- 21,508
Also, if you can provide a zipped up copy of your campaign folder and which maps you were using, I can pass along to our image feature developer to look at.
Regards,
JPG
-
March 10th, 2024, 17:05 #9
@Eddiesuxnutz - so is the main change from your previous thread on this that players crashed as well? Did everyone crash or just some of the players? Did the crash occur when a specific action was being performed, or a specific map was being used?
As an FYI for others looking to help, here's a reference to your previous thread: https://www.fantasygrounds.com/forum...thing-on-my-PCPrivate Messages: My inbox is forever filling up with PMs. Please don't send me PMs unless they are actually private/personal messages. General FG questions should be asked in the forums - don't be afraid, the FG community don't bite and you're giving everyone the chance to respond and learn!
-
March 10th, 2024, 22:13 #10
How big or large are the image dimensions that you are sharing with your group in your campaign? Sometimes large images and complicated maps can become troublesome. Are you running any extensions, things that impact maps or the Combat tracker?
Also, did you ever find out your system temps after playing for awhile?Last edited by Laerun; March 10th, 2024 at 22:16.
FGA Founder
FGU teacher and student!
Ultimate License Holder
Discord Alias: Laerun#6969
http://www.fantasygroundsacademy.com
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks