Cosmere RPG Beta Launch
  1. #1

    Exclamation 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

  2. #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

  3. #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

  4. #4
    Morenu's Avatar
    Join Date
    Mar 2020
    Location
    Pennsylvania, USA
    Posts
    708
    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

  5. #5
    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

  6. #6
    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.

  7. #7
    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

  8. #8
    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

  9. #9
    Trenloe's Avatar
    Join Date
    May 2011
    Location
    Colorado, USA
    Posts
    34,204
    @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-PC
    Private 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!

  10. #10
    Quote Originally Posted by Trenloe View Post
    @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-PC
    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 3 users browsing this thread. (0 members and 3 guests)

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
DICE PACKS BUNDLE

Log in

Log in