Search Unity

figuring out performance issues on Linux

Discussion in 'Linux' started by Tom163, Nov 3, 2021.

  1. Tom163

    Tom163

    Joined:
    Nov 30, 2007
    Posts:
    1,290
    Some of my players report bad performance on Linux (https://steamcommunity.com/app/523070/discussions/0/3112543466380908203/)

    I unfortunately don't have a Linux machine to test myself, so I can't do things like running the profiler in the editor. I know from their answers that the game already has bad FPS in the main menu, which has no 3D models, lights, shadows or whatever, only a GUI Canvas with some elements. Frankly speaking, I have no clue what could possibly cause low FPS there, the scene would probably run at 1000 FPS if I didn't cap FPS to 60.

    I'll be thankful for any advise on where to look or how to figure out what the issue is.

    I'm building the binaries with 2021.2 beta 15
     
    Last edited: Nov 3, 2021
  2. SnowKaya

    SnowKaya

    Joined:
    Oct 5, 2021
    Posts:
    5
    The game runs fine on my Ryzen 3 2200G, just ignore some background open apps https://prnt.sc/1zhyqxr
    It hurts me to say but, although perhaps some micro optimization can be done, i believe that their computers aren't able to run the game well.
     
  3. Tom163

    Tom163

    Joined:
    Nov 30, 2007
    Posts:
    1,290
    Thanks for the test. I've since done some optimizations that might have caused their issues, and I'm mostly out of ideas what else to make faster (except things with small gains).
     
  4. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,680
    It's going to be really really hard to figure this one out without seeing a profiler. May I suggest you setup a dual boot on your Windows machine?
     
  5. Tom163

    Tom163

    Joined:
    Nov 30, 2007
    Posts:
    1,290
    Which Windows machine? ;-)

    I'm a Mac developer. I could potentially set up a Linux on a bootcamp partition, but it's going to be tricky. If my game sells a few copies, I might buy a cheap desktop PC and put Windows and Linux on it, for testing.
     
  6. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,680
    Sorry, assumed you developed on Windows :p. But yeah, bootcamp is an option.