VRAM related crash when interacting with a trader using the native Linux build with Vulkan

Dinkley

Refugee
Version
V2.16 (B14)
Platform
Linux
Hello!

I'd like to clarify first that this crash doesn't seem to happen when using the default renderer, only when forcing the game to run with Vulkan via `--force-vulkan`. I was forcing it to use Vulkan because of some graphical glitches on the default renderer.

Anyway, if the game is using so much VRAM that it goes over the limit and starts spilling over into system memory, the game will crash if you try to interact with a trader. This may also apply to any inventory but I haven't tested it.
This is noteworthy because this does not happen with the default renderer. Even when the VRAM spills over, interacting with traders and inventories works just fine (albeit with a slight hitch).

Specs:
- RAM: 32GB DDR4
- GPU: AMD RX 5600 XT (6GB VRAM)
- Resolution: 2560x1440 @ 180Hz (Happens with 1920x1080 @ 180Hz too)
- No mods, fully vanilla.

From my testing, you are able to interact with the trader as normal as long as the game is using below the maximum amount of VRAM you have. If you try to interact with a trader while the VRAM is spilling over, it will crash immediately.

I'm using Steam's performance overlay and you'll be able to see my current system stats at the top of the video.

Timeline:
- When loading has finished, the VRAM usage is 3.2GB.
- When I spawned into the world, the VRAM usage is 4.2GB (and it climbs from here)
- When I interacted with Trader Rekt for the first time, the VRAM usage is 5.9GB
- When I interacted with Trader Rekt for the second time, the VRAM usage is 6.1GB (Which is above the 6GB maximum, and the game crashes immediately.)
Post automatically merged:

Forgot to mention I'm using Arch Linux (Linux 7.0.9)
 
Reproduction Steps
  1. Have a GPU that has 6GB of VRAM (or more, or less. I don't have anything else to test with)
  2. (Optional) Enable Steam's performance overlay so you can see your VRAM usage
  3. Launch the native Linux build with the launch argument `--force-vulkan`
  4. Load into a world
  5. (Optional) Interact with an NPC before you reach max VRAM usage.
  6. Interact with an NPC again after you reach max VRAM usage.
  7. Crash.
Link to Logs
https://pastebin.com/UQe6SBPL
Link to Screenshot/Video
https://www.youtube.com/watch?v=xLH3HuugVsQ
Thank you so much for reporting this. I tried hard to replicate your settings as best I could but don't get the exact same suboptimal memory error you reported. It does still crash my system though, even when I cranked the VRAM up to 8gb so I made an internal ticket and attached your observations to it.

Thanks again!
 
This issue should be fixed in the next build so I'm going to move this thread. If you find it happens again after the next update please open a new ticket with all your relevant info. Thanks again.
 
Back
Top