Quick answer: To get crash logs from a player on Steam Deck, have them add PROTON_LOG=1 %command% to the game’s launch options, reproduce the crash, then switch to Desktop Mode and send you /home/deck/steam-<appid>.log. Your engine’s own log is inside the Proton prefix at ~/.local/share/Steam/steamapps/compatdata/<appid>/pfx/drive_c/users/steamuser/, under the same AppData path it uses on Windows. A native Linux build skips Proton and logs to the usual Linux folders.
A Steam Deck crash report usually arrives as one sentence in a review or a Discord message, from someone holding a device with no keyboard and a file system they have never seen. The logs exist and they are good, but they are behind Desktop Mode and a hidden folder. This guide covers where the files are, the exact steps to give a player, how to get a file off the Deck, what to read in a Proton log, and how to stop depending on any of it.
- First question: did the Deck run your Linux build or your Windows build?
- Steam Deck game log locations
- Turn on the Proton log with PROTON_LOG=1
- What to send a player
- Getting the file off the Deck
- What to look for in steam-<appid>.log
- Isolation tests that cost the player one launch each
- Reproducing it without a Steam Deck
- Tag reports that come from a Deck
- Why an in-game reporter matters most on this device
- Related guides
- Frequently asked questions
First question: did the Deck run your Linux build or your Windows build?
Everything else depends on this. If you only ship a Windows depot, the Deck runs it through Proton, Valve’s compatibility layer built on Wine. If you also ship a Linux depot, the Deck normally runs that natively, but not always: Valve’s compatibility review can set Proton as the default for a title, and a player can force a tool themselves under Properties > Compatibility.
The difference decides where logs go. A native build writes to Linux paths under /home/deck. A Proton build thinks it is on Windows, so it writes to a fake C: drive that lives in a per-game folder called the prefix. If you are not sure which one a player has, ask what the Compatibility tab shows, or just ask for the Proton log: it only gets created when Proton runs.
Steam Deck game log locations
Each Proton game has a prefix at:
~/.local/share/Steam/steamapps/compatdata/<appid>/pfx/
The Windows user profile inside it is pfx/drive_c/users/steamuser/. Your engine’s log is under that folder at the same relative path it has on a real Windows machine. ~ is /home/deck. The app ID is the number in your store page URL.
| Engine | Windows build under Proton (below users/steamuser/) | Native Linux build |
|---|---|---|
| Unity | AppData/LocalLow/<Company>/<Product>/Player.log | ~/.config/unity3d/<Company>/<Product>/Player.log |
| Godot 4 | AppData/Roaming/Godot/app_userdata/<Project>/logs/godot.log | ~/.local/share/godot/app_userdata/<Project>/logs/godot.log |
| Unreal Engine | AppData/Local/<Project>/Saved/Logs/ and Saved/Crashes/ | The project’s Saved/Logs folder; the base folder depends on how the build was packaged |
Two things to keep in mind. Games installed on a microSD card keep their prefix on the card, so the path starts under /run/media/ instead of ~/.local/share/Steam/. And an Unreal shipping build only writes a log if you enabled logging in shipping, the same as on Windows.
Save files that your game writes under AppData are in the prefix too. That is useful when you need a player’s save, and it is a warning: anything that deletes the prefix deletes saves that are not in Steam Cloud.
Turn on the Proton log with PROTON_LOG=1
The engine log tells you what your game thought was happening. The Proton log tells you what the compatibility layer saw: every DLL load, the graphics translation layer starting up, and the exception that killed the process. Proton’s documentation describes PROTON_LOG as a convenience for dumping a debug log to $PROTON_LOG_DIR/steam-$APPID.log, and PROTON_LOG_DIR defaults to the home directory.
Proton options are set in Steam’s launch options as a variable followed by %command%:
PROTON_LOG=1 %command%
After the next run there is a file at /home/deck/steam-<appid>.log. Have the player send it before they launch the game again, and have them clear the launch option afterward. The log grows quickly and logging costs some performance.
Proton also has PROTON_CRASH_REPORT_DIR, which writes crash logs into the directory you give it, for example PROTON_CRASH_REPORT_DIR=/home/deck/crashes PROTON_LOG=1 %command%. Old files there are not cleaned up automatically.
For a native Linux build there is no Proton log. Redirecting the game’s output in the launch options usually gets you the equivalent:
%command% > /home/deck/mygame-output.log 2>&1
What to send a player
Replace the app ID and paste this. It assumes the Proton case, which is the common one.
Thanks for the report, and sorry about the crash. To find the cause on
Steam Deck I need one log file. It takes about five minutes.
1. In your Library, select the game, press the gear icon and choose
Properties.
2. On the General page, in Launch Options, type exactly:
PROTON_LOG=1 %command%
3. Start the game and play until it crashes again. Then close it.
4. Press the Steam button, go to Power, choose Switch to Desktop.
5. Open the file manager (the folder icon in the taskbar). In the Home
folder there is a file named steam-1234560.log.
6. Send me that file. The easiest way is to open a web browser on the
Deck and attach it to an email or upload it where you reported the bug.
7. When you are done, double-tap "Return to Gaming Mode" on the desktop
and delete the text from Launch Options.
The file lists what the game and Steam's compatibility layer did. It has
hardware details and folder names in it, and no passwords.
If you also want the engine log, add the full prefix path for your engine from the table and tell the player to turn on hidden files in the file manager’s menu first, because .local is a hidden folder. In Desktop Mode the on-screen keyboard is Steam + X.
Getting the file off the Deck
This is the step players get stuck on, so give them one method and no choices:
- Upload from the Deck. Desktop Mode can run a normal browser (Firefox installs from the Discover store if it is not already there). Email, the Discord web app and any support form with a file field all work. This needs no other hardware.
- USB-C drive or microSD card. Copy the file in the file manager and move the storage to a PC. Good for large logs.
- Over the network. File-sharing apps from the Discover store can send to a PC on the same Wi-Fi. SSH exists on the Deck but is off, and turning it on means setting a password and starting a service in a terminal. That is fine on your own test device and too much to ask of a player.
Proton logs compress well. If a log is tens of megabytes, ask for a zip.
What to look for in steam-<appid>.log
The top of the file names the Proton version, the kernel and the command that was run. Confirm the Proton version first; a player on an old or experimental build is a finding by itself. Then search for these, from the bottom of the file up:
- A missing library.
err:module:import_dll Library SomeLib.dll (which is needed by ...) not foundmeans the Windows loader inside Wine could not find a DLL. On Windows this would be a “DLL was not found” dialog. Usually your build relies on a redistributable that is installed on your PC and absent from a clean prefix. - The crash itself.
wine: Unhandled page fault on read access to 0000000000000000 at address ...is an access violation. It is followed by a register dump and a backtrace listing modules and offsets. The module in the top frames tells you whether the fault is in your executable, in an engine DLL or in a middleware library. - Graphics translation errors. Direct3D 9 to 11 goes through DXVK and Direct3D 12 through vkd3d-proton, and both log into this file. Lines starting
err:from either, especially memory allocation failures, point at the GPU side. The Deck shares 16 GB between system and video memory, so a game that fits on a desktop card can run out here. - Noise.
fixme:lines are Wine noting functions it has only stubbed. There are thousands in a healthy run. Ignore them unless one names an API your game depends on right before the crash.
Read the Proton log next to the engine log. The engine log gives you the last thing your code did; the Proton log gives you what the system did in response.
Isolation tests that cost the player one launch each
When a log is not conclusive, these narrow it down quickly:
- Another Proton version. Properties > Compatibility > force a specific Steam Play compatibility tool, then try Proton Experimental and one older stable version. A crash that follows the Proton version is a compatibility regression. Report it on the Proton issue tracker with the log attached, and tell affected players which version works in the meantime.
- OpenGL-based wined3d instead of DXVK.
PROTON_USE_WINED3D=1 %command%swaps the Direct3D 9 to 11 translation. It is slower and not a fix, but if the crash disappears the problem is in how your renderer interacts with DXVK. - A fresh prefix. A prefix that was created by an older Proton or a broken first-run installer can stay broken. Renaming the game’s
compatdata/<appid>folder makes Steam build a new one on the next launch. Back up saves inside the prefix first. - Internal storage. If the game is on a microSD card, moving it to internal storage rules out a slow or failing card, which shows up as load-time hangs and timeouts.
Reproducing it without a Steam Deck
You do not need the hardware for most Proton bugs. Any Linux desktop with Steam can run your Windows build through the same Proton version, with the same launch options and the same log. An AMD GPU on the Mesa drivers is closest to the Deck’s graphics stack. To match the screen, run the game inside gamescope at the Deck’s resolution with a launch option such as gamescope -w 1280 -h 800 -- %command%.
What a desktop will not reproduce is the memory budget, the 4-core CPU, suspend and resume, and the controller-only input path. For those you need a device or a tester who has one.
Tag reports that come from a Deck
A Windows build under Proton asks the operating system what it is and gets a Windows answer. In your telemetry and bug reports, a Deck player therefore looks like a Windows player with an unusual AMD GPU and a 1280x800 screen. Mark it explicitly instead. Steam sets SteamDeck=1 in the environment on the device, and games running through Proton can read it:
// Unity (C#)
bool onDeck = System.Environment.GetEnvironmentVariable("SteamDeck") == "1";
# Godot (GDScript)
var on_deck := OS.get_environment("SteamDeck") == "1"
If you already use Steamworks, ISteamUtils::IsSteamRunningOnSteamDeck() answers the same question. Put the result in your log’s first lines and in the metadata of every report you send.
Why an in-game reporter matters most on this device
Every step above depends on a player being willing to leave Gaming Mode, and most are not. A reporter that runs inside the game does not have that problem: under Proton it is just your game making an HTTPS request. The Bugnet SDKs for Unity, Godot and Unreal attach the OS string, CPU, GPU, RAM, game version and recent log lines to each report, and file engine errors on their own, so a Deck crash arrives with its context instead of as a one-line review. Since the OS string says Windows under Proton, pass your SteamDeck check as report metadata when you file from code; the SDK docs show the metadata argument for each engine.
Keep the Proton log procedure for the cases an in-process reporter cannot see: a game that never starts, or a fault in the translation layer below your code.
Related guides
- How to Fix a Game Not Launching on Steam Deck
- Why Does My Unity Game Crash on Steam Deck but run fine on your PC?
- Where Are Godot Crash Logs? Finding godot.log on Windows, macOS, Linux and Steam Deck
- Steam Deck Verification: How to Get the Green Check
- Where Are Unity Crash Logs? Finding and Reading Them
Frequently asked questions
Where are game crash logs stored on Steam Deck?
A Windows build running through Proton writes its logs inside the game's prefix at ~/.local/share/Steam/steamapps/compatdata/APPID/pfx/drive_c/users/steamuser/, under the same AppData folders it would use on Windows. A native Linux build uses the normal Linux paths under /home/deck.
What does PROTON_LOG=1 do?
It makes Proton write a debug log named steam-APPID.log, by default into the home folder, which on a Steam Deck is /home/deck. You enable it by putting PROTON_LOG=1 %command% in the game's launch options in Steam.
How do I find a game's compatdata folder on Steam Deck?
Take the app ID from the game's store page URL, switch to Desktop Mode, show hidden files in the Dolphin file manager and open ~/.local/share/Steam/steamapps/compatdata/APPID. If the game is installed on a microSD card, the folder is on the card under /run/media instead.
How can a player send a log file from a Steam Deck?
In Desktop Mode they can open a web browser and upload the file to email, Discord or a support form, or copy it to a USB-C drive or microSD card. All of these need a few minutes in Desktop Mode, which is why in-game reporting matters on this device.
Does my Windows game know it is running on a Steam Deck?
It can. Steam sets the environment variable SteamDeck=1 on the device, which is visible to games running through Proton, and the Steamworks API has ISteamUtils::IsSteamRunningOnSteamDeck().
Most Deck players will never open Desktop Mode for you. Ask the ones who will, and make the game report the rest by itself.