Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice
  3. Dismiss Notice

Multithreaded Rendering always off in Linux builds?

Discussion in 'Linux' started by Claytonious, Sep 21, 2022.

  1. Claytonious

    Claytonious

    Joined:
    Feb 16, 2009
    Posts:
    907
    Our Linux x86_64 builds, when run on a Steam Deck, always report that multithreaded rendering is turned off. We have this line in one of our startup scripts:

    Code (CSharp):
    1. Debug.Log($"BASE: Starting game with Graphics.MT:{SystemInfo.graphicsMultiThreaded} Graphics.Mode:{SystemInfo.renderingThreadingMode}");
    and the output we get on SteamDeck is always:

    Code (CSharp):
    1. BASE: Starting game with Graphics.MT:False Graphics.Mode:NativeGraphicsJobs
    We always get that output, regardless of whether we toggle "Graphics Jobs" in player settings. We also always get this whether building for Vulkan or OpenGLCore.

    We are building from Unity 2021.3.9f1.

    Is multithreaded rendering actually not working on these builds? (We have some peculiar performance problems on the Steam Deck so we want to verify that multithreaded rendering is happening).

    Thanks!
     
    Last edited: Sep 21, 2022
  2. DevDunk

    DevDunk

    Joined:
    Feb 13, 2020
    Posts:
    5,207
    If you can confirm this make a bug report
     
  3. Claytonious

    Claytonious

    Joined:
    Feb 16, 2009
    Posts:
    907
    Submitted bug report IN-17375 with a simple repro project attached.
     
    DevDunk likes this.