protonscr

Uncharted: Legacy of Thieves Collection: Xid 13 / VK_ERROR_DEVICE_LOST after a few minutes on RTX 3080, fixed by VKD3D_CONFIG=no_upload_hvv

vkd3dopen appid 1659420
HansKristian-Work/vkd3d-proton#3422 · opened 2026-10-28 by vasiliy-maslov · updated 2026-10-28 · 0 comments · github · game page · search this game
Vvasiliy-maslov 2026-10-28 github

By opening this issue, I confirm that:

  • [x] I have not copy-pasted an LLM-generated response into the description.

Description and steps to reproduce

Description

Uncharted 4 (u4.exe, Steam AppID 1659420) reproducibly hangs in gameplay after about 5 minutes. The picture freezes, audio keeps playing, the game does not react to input. The same spot (prison chapter) hangs every time.

The kernel logs an Xid and vkd3d-proton reports device loss:

NVRM: Xid (PCI:0000:01:00): 13, name=u4.exe, Graphics Exception: channel 0x00000021, Class 0000c7c0, Offset 00000000, Data 00000000
err:vkd3d-proton:vkd3d_wait_for_gpu_timeline_semaphore: Failed to wait for Vulkan timeline semaphore, vr 2.
warn:vkd3d-proton:d3d12_device_mark_as_removed: Device ... is lost (reason 0x887a0005, "VK_ERROR_DEVICE_LOST").

Channel number varies between runs (0x20-0x23), class is always c7c0.

Workaround that fixes it: VKD3D_CONFIG=no_upload_hvv. With it I played well over an hour including the prison section and the next chapter, DLSS on and higher settings, with no Xid. Some FPS drops in cutscenes (not measured).

System

  • OS: CachyOS, kernel 7.3.0-4-cachyos, KDE Plasma 6.8.1 (Wayland)
  • GPU: RTX 3080 (LHR), driver 615.78.08 (nvidia-open), Resizable BAR enabled
  • CPU: i5-14600K, 32 GB RAM, Intel iGPU also present (hidden from the game in tests, no effect)
  • Two monitors, 3440x1440@144 and 2560x1440@180
  • vkd3d-proton: 3.1.0, build 0bb64c56c8f0dcc+ (from proton-cachyos 11.0-20261015 log)
  • Proton: proton-cachyos-slr 11.0-20261015, GE-Proton (latest), Proton Experimental. Hangs on all three, Experimental lasted a bit longer. The fix was verified on Proton Experimental.

Relevant log lines:

Topology: No more than 1 device local heap, HVV access is viable.
HVV usage is allowed, using DEVICE_LOCAL | HOST_COHERENT for UPLOAD.
Applying resizable BAR budget to memory types: 0x20.

What did NOT help

  • VKD3D_CONFIG=single_queue
  • VKD3D_DISABLE_EXTENSIONS=VK_EXT_device_generated_commands
  • Clearing the shader caches (Steam shadercache, ~/.nv/ComputeCache, ~/.cache/nvidia)
  • Disabling DLSS and PROTON_ENABLE_NVAPI=0, lowering graphics settings
  • Disabling the Steam overlay, hiding the Intel Vulkan driver
  • Restoring the stock power limit (320 W) and removing clock locks
  • VKD3D_CONFIG=breadcrumbs: no breadcrumb output was produced

Notes

I also had a separate hang at the loading screen with no Xid (all game threads in futex_wait, GPU idle). I'm not sure whether it is related.

I can provide a full PROTON_LOG=1 VKD3D_DEBUG=warn log of a hang without the workaround if useful.

Related threads