Information
I have verifed my game files (Steam only)
YesI have disabled all mods
YesI am running the latest game update
YesRequired
Summary
Headless (-nographics) mode always crashes on launch since CK3 v1.16 (Chamfron) - on Windows, Linux, macOSDescription
Ever since the release of v1.16 (Chamfron) the game's headless mode, available via the `-nographics` command line argument, crashes within a couple of seconds after being launched. The issue occurs 100% of the time, on vanilla game with no mods, on all 3 platforms (Windows, Linux, macOS). It first appeared with the release of v1.16.0 (about a month ago), but unfortunately still persists as of v1.16.2.3.`-nographics` being thus broken makes it significantly more complicated to run the game's executable inside a GPU-less server environment/Docker container for the purposes of automated testing, log collection etc.. This negatively affects the development workflow of certain popular CK3 modding projects (Godherja, AGOT) that rely on the game's headless mode for parts of their CI setup.
Using Godherja as the example, CK3's `-nographics` mode has been used on a daily basis as part of the team's GitLab CI pipeline for the past 2 years (since CK3 v1.9) - for the purposes of smoke-testing the team's Git pushes and collecting `error.log` to be used in subsequent automation steps.
Due to `-nographics` no longer working since v1.16, about half of Godherja's CI jobs have been rendered non-functional. AGOT's internal automation faces similar negative impact.
Steps to reproduce
1. Open the system terminal and navigate to the `binaries/` subfolder inside of the game's installation directory.2.a. If on Windows, run the following command:
```
.\ck3.exe -nographics
```
2.b. If on Linux, run:
```
./ck3 -nographics
```
2.c. Alternatively, run the game via Steam after providing `-nographics` argument in the "Launch Options" section of the game's properties.
3. Observe `ck3` process via Task Manager or `top`.
4. Monitor the game's log files in `Paradox Interactive/Crusader Kings III/logs/` inside the user's `Documents/` (Windows, macOS) or `.local/share/` (Linux) folder.
**Expected result:** `ck3` process runs in the background without displaying a window, loads into an observer game at the bookmark with the biggest `weight` and starts the in-game simulation, all the while writing output to log files (including `game.log`, `debug.log`, `dedicated_server.log` and `error.log`).
**Actual result:** `ck3` process crashes after several seconds, with minimal output in the logs; one can see either a crash reporter window (if running in a graphical environment) or corresponding error messages in the terminal.
Attached are crash dumps from running the vanilla CK3 v1.16.2.3 with `-nographics` on Windows, Linux and macOS.
Game Version
1.16.2.3Platform
Other (Please Specify)Additional Information
Affected Feature
- Crashes
- Modding
Save Game
Other Attachments
View attachment ck3_20250604_212438-nographics-crash-windows.zipView attachment ck3_20250604_182215-nographics-crash-linux.zipView attachment ck3_20250604_213153-nographics-crash-macos.zip
Last edited:
- 3