Search Unity

Multithreaded Rendering always off in Linux builds?

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

  1. Claytonious

    Claytonious

    Joined:
    Feb 16, 2009
    Posts:
    904
    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,059
    If you can confirm this make a bug report
     
  3. Claytonious

    Claytonious

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