Shader Complilation on PC: About to become a bigger bottleneck?

Discussion in 'Rendering Technology and APIs' started by Flappy Pannus, Aug 6, 2020.

  1. Davros

    Legend

    Joined:
    Jun 7, 2004
    Messages:
    16,751
    Likes Received:
    4,049
    II have a ryzen 7 and a 2070
    when in the 90's was Doom Eternal, Control, Shadow of the Tomb Raider, Mechwarrior 5, Rage 2, Borderlands 3 ,Just Cause 4, Far Cry 5, ect ect ect released ;)
     
    #61 Davros, Aug 31, 2020
    Last edited: Aug 31, 2020
  2. BRiT

    BRiT (>• •)>⌐■-■ (⌐■-■)
    Moderator Legend Alpha

    Joined:
    Feb 7, 2002
    Messages:
    18,795
    Likes Received:
    21,097
    I figured you'd still be running Windows ME or Windows 7 or some only DX11 OS.
     
    CeeGee and egoless like this.
  3. Davros

    Legend

    Joined:
    Jun 7, 2004
    Messages:
    16,751
    Likes Received:
    4,049
  4. BRiT

    BRiT (>• •)>⌐■-■ (⌐■-■)
    Moderator Legend Alpha

    Joined:
    Feb 7, 2002
    Messages:
    18,795
    Likes Received:
    21,097
  5. Davros

    Legend

    Joined:
    Jun 7, 2004
    Messages:
    16,751
    Likes Received:
    4,049
    What other use is there for a p.c other than gaming ;)
     
  6. BRiT

    BRiT (>• •)>⌐■-■ (⌐■-■)
    Moderator Legend Alpha

    Joined:
    Feb 7, 2002
    Messages:
    18,795
    Likes Received:
    21,097
    Paperweight.
     
    Davros likes this.
  7. Davros

    Legend

    Joined:
    Jun 7, 2004
    Messages:
    16,751
    Likes Received:
    4,049
    Back to my question I know horizon zero dawn suffers from this (dont own it) and I do remember there was a few seconds delay in battlefield 2 where it said something like "optimising shaders"
    but apart from that I dont remember experiencing this massive delay what games does it happen in ?
     
  8. Flappy Pannus

    Newcomer

    Joined:
    Jul 4, 2016
    Messages:
    145
    Likes Received:
    172
    Games with lengthy shader compiling stages that I've personally come across:

    No Man's Sky
    Dishonored 2/D2: Death of the Outsider
    Basically *all* Call of Duty games (you can choose not to precompile shaders, however it increases level load times and on my i59400 system induces 100% cpu and stuttering when resuming a level for ~20 sec or so)
    Detroit Become Human
    Metro: Exodus

    There are games where it's not done pre-game where it can have an effect of course, as mentioned Death Stranding did this where people were wondering why it was so choppy in the first minute while it was compiling shaders. IME Deus Ex: Manking Divided exhibits this during level loads which can increase them significantly, albeit when for whatever reason it can't be spun off into a seperate thread during gameplay that's ideally when you want to do it regardless (my point being though with 'no load' gaming with nvme's you won't have that opportunity going forward).
     
    milk, iroboto and BRiT like this.
  9. Remij

    Newcomer

    Joined:
    May 3, 2008
    Messages:
    232
    Likes Received:
    385
    Metro Exodus doesn't have a shader compiling process.
     
  10. swaaye

    swaaye Entirely Suboptimal
    Legend

    Joined:
    Mar 15, 2003
    Messages:
    8,759
    Likes Received:
    842
    Location:
    WI, USA
    Dishonored 2 does usually have a lengthy startup but I thought that might be their Denuvo copy protection. Sometimes the game loads quickly, but usually it takes something like 45 seconds? I didn't think the level loads were especially lengthy.

    Actually when I think of shader compilation issues the only game that really comes to mind is the Dolphin emulator. They have been trying to solve emulation stuttering and have a few different approaches for pre-compiling shaders now, and of course Vulkan and D3D12 options.
     
    #70 swaaye, Sep 2, 2020
    Last edited: Sep 2, 2020
  11. DavidGraham

    Veteran

    Joined:
    Dec 22, 2009
    Messages:
    3,508
    Likes Received:
    4,127
    It does whenever you change most settings.
     
  12. swaaye

    swaaye Entirely Suboptimal
    Legend

    Joined:
    Mar 15, 2003
    Messages:
    8,759
    Likes Received:
    842
    Location:
    WI, USA
    Compared to the ridiculously long, mind numbing monologues, the loading screens were nothing. :)
     
    #72 swaaye, Sep 2, 2020
    Last edited: Sep 2, 2020
  13. Davros

    Legend

    Joined:
    Jun 7, 2004
    Messages:
    16,751
    Likes Received:
    4,049
    So I tested Metro Exodus and i'd say it took about 100 seconds thats a big difference from the 10-15 minutes some people are claiming for shader compilation
     
  14. BRiT

    BRiT (>• •)>⌐■-■ (⌐■-■)
    Moderator Legend Alpha

    Joined:
    Feb 7, 2002
    Messages:
    18,795
    Likes Received:
    21,097
    Now imagine it on an older CPU and maybe on HDD.
     
  15. Kugai Calo

    Newcomer

    Joined:
    Mar 6, 2020
    Messages:
    184
    Likes Received:
    181
    If it's something that occurs at install time, not even load time, how is it a bottleneck?
     
  16. BRiT

    BRiT (>• •)>⌐■-■ (⌐■-■)
    Moderator Legend Alpha

    Joined:
    Feb 7, 2002
    Messages:
    18,795
    Likes Received:
    21,097
    It was already explained how it happens at points other than install time.
     
  17. Kugai Calo

    Newcomer

    Joined:
    Mar 6, 2020
    Messages:
    184
    Likes Received:
    181
    #77 Kugai Calo, Sep 3, 2020
    Last edited by a moderator: Sep 3, 2020
  18. Davros

    Legend

    Joined:
    Jun 7, 2004
    Messages:
    16,751
    Likes Received:
    4,049
    While I do own a nvme drive the game itself is installed on a mechanical hard drive.
    I did play it on a i5-2400 I dont remember how long it took but I dont remember it being any kind of problem.
    I'm just not buying these scare stories that p.c gamers will be waiting 10-15 minutes for shader compilation
     
    PSman1700 likes this.
  19. Flappy Pannus

    Newcomer

    Joined:
    Jul 4, 2016
    Messages:
    145
    Likes Received:
    172
    No it's definitely shader compiling. Nothing to do with Denuvo.
     
  20. Flappy Pannus

    Newcomer

    Joined:
    Jul 4, 2016
    Messages:
    145
    Likes Received:
    172
    Who is claiming that? It's definitely the case with Horizon and Detroit:Become Human, but no one has claimed that for Metro.
     
Loading...

Share This Page

  • About Us

    Beyond3D has been around for over a decade and prides itself on being the best place on the web for in-depth, technically-driven discussion and analysis of 3D graphics hardware. If you love pixels and transistors, you've come to the right place!

    Beyond3D is proudly published by GPU Tools Ltd.
Loading...