protonscr

Failed to create sampler object: VK_ERROR_OUT_OF_DEVICE_MEMORY

dxvkclosed
doitsujin/dxvk#5744 · opened 2026-06-28 by xDoge26 · updated 2026-07-23 · 8 comments · github
XxDoge26 2026-06-28 github

Please describe your issue as accurately as possible. Include screenshots or videos when relevant.
The game freeze and crashed
If you use Windows, please check the following page: https://github.com/doitsujin/dxvk/wiki/Windows

Software information

Name of the game, settings used etc. Include any mods or add-ons if applicable.
Team Fortress 2

System information

  • GPU: RTX 3050 6G
  • Driver: NVIDIA_610.62_x64_dch_Studio
  • Wine version: Windows 10 LTSC
  • DXVK version: dxvk 3.0

Apitrace file(s)

  • Put a link here

For instructions on how to use apitrace, see: https://github.com/doitsujin/dxvk/wiki/Using-Apitrace

Log files

Please attach Proton or Wine logs as a text file:

  • When using Proton, set the Steam launch options for your game to PROTON_LOG=1 %command% and attach the corresponding steam-xxxxx.log file in your home directory.
  • When using regular Wine, use wine game.exe > game.log 2>&1 and attach the resulting game.log file.
  • On Windows, DXVK log files will usually appear next to the games exe or in its base folder.

tf_win64_d3d9.log

Ddoitsujin maintainer 2026-06-28 github

Probably running out of address space? Not sure why you'd use DXVK with Team Fortress 2 anyway but it's not exactly a secret that 2GB of address space just isn't enough with DXVK and Vulkan drivers in the mix. Proton force-enables LAA for a reason.

XxDoge26 2026-06-28 github

TF2 is a 64bit game

Ddoitsujin maintainer 2026-06-28 github

Don't see why the driver would report OUT_OF_MEMORY then.

Best we can do on our end is disable the CUDA interop extensions when we detect Windows because those are also only useful to get DLSS working on Proton, but that's just going to be a hack around an issue that's completely ourside of our control.

Edit: I guess external overlays etc could be fighting DXVK for legacy sampler space too, but that's once again not really on us.

Ddoitsujin maintainer 2026-06-28 github
XxDoge26 2026-06-28 github

i guess it didnt crash anymore after 30mins playing? How

dxvk-merge-71c2a0b5d2bbb8ad88ffdd4ef5f50a77d735995e

Aandrew-2e128 2026-07-22 github

I am getting the following error since 3.0 (tested also with 3.0.1 and 3.0.2)

err:   Exception on CS thread!
err:   Failed to create sampler object: VK_ERROR_OUT_OF_DEVICE_MEMORY

memory usage in nvtop was showing slightly above 2GiB mark for Compute and Graphics of the process

notes: wine 11.13, 64bit d3d9 game, rtx 3060 ti, driver: 610.43.03

KK0bin maintainer 2026-07-22 github

Which game and what do you need to do to reproduce it?

Aandrew-2e128 2026-07-23 github

Renegade X

tested with no overlay (Mangohud) same issue still happens
setup is niri (wayland) and wine configured to use wayland too

Launch options

Upstream links