Game logs can grow at 100+ MiB/s and reach hundreds of GiB without a size limit
Describe the bug
Heroic allows game/runner log files to grow to extremely large sizes when a launched game produces high-frequency Wine output.
I reproduced this with Red Dead Redemption 2 from Epic Games (Legendary app name: Heather).
The game repeatedly outputs:
fixme:quartz:v4l_device_create Unhandled frame size type: 2.While this spam is active, Heroic's launch.log grows at approximately 110–155 MiB/s, typically around 130–145 MiB/s.
Before noticing the issue, the following Heroic log files had accumulated:
208G ~/.local/state/Heroic/logs/runners/legendary.log.old
208G ~/.local/state/Heroic/logs/games/Heather_legendary/launch.log
103G ~/.local/state/Heroic/logs/games/Heather_legendary/launch.log.oldThat is approximately 517 GiB of logical log data.
The underlying Wine message may be a Wine/game issue, but the Heroic-specific problem is that the log files appear to have no effective maximum size/retention limit.
Add logs
06e0:fixme:quartz:v4l_device_create Unhandled frame size type: 2.
06e0:fixme:quartz:v4l_device_create Unhandled frame size type: 2.
06e0:fixme:quartz:v4l_device_create Unhandled frame size type: 2.
06e0:fixme:quartz:v4l_device_create Unhandled frame size type: 2.Steps to reproduce
- Launch Heroic Games Launcher.
- Launch Red Dead Redemption 2 from Epic Games / Legendary.
- Monitor the game log:
tail -F ~/.local/state/Heroic/logs/games/Heather_legendary/launch.log- During the affected period, the following Wine message begins repeating extremely rapidly:
fixme:quartz:v4l_device_create Unhandled frame size type: 2.- Monitor the size of the log:
watch -n 1 'du -h ~/.local/state/Heroic/logs/games/Heather_legendary/launch.log'- I measured the file growth rate during reproduction and observed:
131.62 MiB/s
110.31 MiB/s
125.28 MiB/s
154.38 MiB/s
137.34 MiB/s
134.79 MiB/s
135.78 MiB/s
136.96 MiB/s
146.77 MiB/sThe spam occurs in bursts. When the burst stops, log growth returns to approximately 0 MiB/s. It can start again later.
Restarting the game may rotate, truncate, or recreate the current log file, while the previous log may be retained as .old.
Expected behavior
Heroic should prevent game and runner logs from consuming an unbounded amount of disk space.
For example, logs could have:
- A maximum log file size
- Size-based log rotation
- A maximum number of retained rotated logs
- Automatic truncation of old log data
Even if an application or Wine produces pathological amounts of stdout/stderr output, Heroic should protect the user's filesystem from logs growing to hundreds of GiB.
Screenshots
No response
Heroic Version
Latest Stable
System Information
- OS: CachyOS
- Desktop environment: KDE Plasma
- CPU: AMD Ryzen 5 9600X
- GPU: NVIDIA GeForce RTX 4070
- RAM: 32 GB
- Filesystem: Btrfs
- Btrfs compression:
zstd:1 - Store: Epic Games
- Runner: Legendary
- Game: Red Dead Redemption 2
- Legendary app name:
Heather - Wine/Proton version: GE-Proton 11.7
Additional information
Heroic version installed from pacman:
heroic-games-launcher 2.22.3-2The issue was reproducible multiple times.
The log growth is bursty rather than continuous. During an active burst I repeatedly measured approximately 110–155 MiB/s of log growth.
The previous accumulated log sizes were:
208G ~/.local/state/Heroic/logs/runners/legendary.log.old
208G ~/.local/state/Heroic/logs/games/Heather_legendary/launch.log
103G ~/.local/state/Heroic/logs/games/Heather_legendary/launch.log.oldAfter deleting those files, ~/.local/state/Heroic dropped to approximately 1.2 MiB.
Because my filesystem uses Btrfs with zstd compression, the approximately 517 GiB of logical log data consumed much less physical disk space. Deleting the logs recovered roughly 18 GiB of actual filesystem space.
On an uncompressed filesystem, the impact could be considerably worse.
Related issues:
- #1118 — Log files can take up to 100gb of disk space
- #3061 — GTAV causing creation of log files that grow to 100s of megabytes in size
- #4699 — When a game log is too big, opening the Logs modal can crash Heroic
I also tested the workaround WINEDEBUG=-all.
With WINEDEBUG=-all enabled:
launch.logstayed around 92 KiB during the same test period.- Measured log growth remained around 0.00–0.01 MiB/s.
- The repeated
fixme:quartz:v4l_device_create Unhandled frame size type: 2.messages no longer appeared.
This confirms that the excessive log growth is caused by Wine debug/fixme output being captured by Heroic.
However, WINEDEBUG=-all is only a workaround. The underlying Heroic issue remains that captured game output can grow to hundreds of GiB without an effective size limit.
Source: Heroic-Games-Launcher/HeroicGamesLauncher