Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FIX] Shader caching causes GPU instance to suspend #91

Closed
niraethm opened this issue Jun 24, 2022 · 3 comments
Closed

[FIX] Shader caching causes GPU instance to suspend #91

niraethm opened this issue Jun 24, 2022 · 3 comments
Labels
bug Something isn't working

Comments

@niraethm
Copy link

niraethm commented Jun 24, 2022

Trying to run shader cache as without shader cache multiplayer is unplayable

Running
CPU: Ryzen 3700x 8 core
GPU: Aorus RTX 3060 Ti
RAM: 64GB
OS: Windows 10

What the terminal provides when launching the multiplayer h1-mod


Loading fastfile code_pre_gfx_mp

Loading fastfile eng_patch_code_pre_gfx_mp

Loading fastfile eng_cache_code_pre_gfx_mp

Loading fastfile patch_code_pre_gfx_mp

Loading fastfile cache_code_pre_gfx_mp

Loading fastfile cache_code_post_gfx_mp

Loading fastfile patch_code_post_gfx_mp

Loading fastfile eng_cache_code_post_gfx_mp

Loading fastfile eng_patch_code_post_gfx_mp

Loading fastfile eng_code_post_gfx_mp

Loading fastfile code_post_gfx_mp

Waited 123 msec for asset "$black", of type "image"

Loading fastfile cache_ui_mp

Loading fastfile patch_ui_mp

Loading fastfile techsets_ui_mp

Loading fastfile eng_cache_ui_mp

Loading fastfile eng_patch_ui_mp

Loading fastfile eng_ui_mp

Loading fastfile ui_mp

Loading fastfile cache_common_mp

Loading fastfile patch_common_mp

Waited 1244 msec for asset "m/mtl_ret_h1_transparent_01", of type "material"

Loading LUI script 'data/ui_scripts/discord'

Loading LUI script 'data/ui_scripts/hud_info'

Loading LUI script 'data/ui_scripts/mods'

Loading LUI script 'data/ui_scripts/patches'

Loading LUI script 'data/ui_scripts/server_list'

Loading LUI script 'data/ui_scripts/stats'

[DW] bdUNK80: missing task '132'

Loading fastfile techsets_common_mp

Loading fastfile eng_cache_common_mp

Loading fastfile eng_patch_common_mp

Loading fastfile eng_common_mp

Loading fastfile common_mp

Loading LUI script 'data/ui_scripts/discord'

Loading LUI script 'data/ui_scripts/extra_gamemodes'

Loading LUI script 'data/ui_scripts/hud_info'

Loading LUI script 'data/ui_scripts/mods'

Loading LUI script 'data/ui_scripts/patches'

Loading LUI script 'data/ui_scripts/server_list'

Loading LUI script 'data/ui_scripts/stats'

Loading fastfile techsets_common_core_mp

Loading fastfile techsets_common_depot_mp

Loading fastfile techsets_common_wet_mp

Loading fastfile techsets_mp_backlot

Error: IDXGISwapChain::Present failed: The GPU device instance has been suspended. Use GetDeviceRemovedReason to determine the appropriate action.```
@skkuull
Copy link
Collaborator

skkuull commented Jun 24, 2022

go to players2/config_mp.cfg and change seta 0x3502C932 "1" to seta 0x3502C932 "0"

@skkuull skkuull pinned this issue Jun 24, 2022
@mjkzy mjkzy changed the title Shader Caching causes GPU instance to suspend [FIX] Shader caching causes GPU instance to suspend Jun 25, 2022
@niraethm niraethm reopened this Jun 27, 2022
@mjkzy mjkzy added the bug Something isn't working label Jun 29, 2022
@mjkzy
Copy link
Collaborator

mjkzy commented Jul 4, 2022

alternatives are to cancel shader caching or r_preloadshaders 1

@mjkzy mjkzy closed this as completed Jul 4, 2022
@VladWinner
Copy link
Contributor

Update: It just turned out that the issue still happens if OS recognizes 2 monitors.
Workaround: If you physically turn off the second monitor, IDXGISwapChain error does not occur.
Confirmed cases:
https://steamcommunity.com/app/209660/discussions/0/613957600523500122/&ctp=2#c535152511367244145
https://steamcommunity.com/app/209660/discussions/0/535151589903873498/#c535151589907846342

@auroramod auroramod deleted a comment from VladWinner Jul 5, 2022
@auroramod auroramod deleted a comment from VladWinner Jul 5, 2022
@auroramod auroramod deleted a comment from niraethm Jul 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants