View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0013414 | Dwarf Fortress | Technical -- Rendering | public | 2025-12-31 01:15 | 2026-01-03 07:33 |
| Reporter | Rexer | Assigned To | |||
| Priority | normal | Severity | major | Reproducibility | sometimes |
| Status | new | Resolution | open | ||
| Platform | Steam | OS | Linux Bazzite | OS Version | 43 |
| Product Version | 53.08 | ||||
| Summary | 0013414: Linux native build leaks GPU GTT memory continuously (Windows/Proton unaffected) | ||||
| Description | The Linux native build has a GPU memory leak causing GTT to grow continuously until system becomes unresponsive. The Windows build running via Proton does not have this issue. Evidence: - Tested twice - Linux native: GTT grew from 0.4 GB to 15+ GB in 0000024:0000020 minutes (idle at menu) - Previous session: reached 64 GB before system froze - Windows/Proton: GTT stable at 0.24 GB after same time period | ||||
| Steps To Reproduce | 1. Launch Dwarf Fortress (Linux native build via Steam) 2. Sit at main menu (no save loaded needed) 3. Monitor GPU GTT memory with: cat /sys/class/drm/card*/device/mem_info_gtt_used 4. Observe GTT growing ~0.7-1 GB per minute | ||||
| Additional Information | System: - GPU: AMD Radeon RX 6900 XT - Driver: Mesa 25.3.0 (RADV Vulkan) - RAM: 64 GB - Steam Runtime: Scout | ||||
| Tags | No tags attached. | ||||
|
|
There have been reports elsewhere that this might be related to the "sdl2-compat" library (which translates everything to SDL3) - I'm running the game on Linux Mint 21 with SDL2, and I don't see any of these memory leaks. Granted, I'm using an NVIDIA GPU, and the device doesn't expose a "mem_info_gtt_used" property for me to view, but the "nvidia-smi" tool reports that the game is only using 4MB of GPU memory while at the title screen (and only when in Graphics mode - in ASCII mode, it only takes 2MB). |