Anonymous edits have been disabled on the wiki. If you want to contribute please login or create an account.

Valheim

From PCGamingWiki, the wiki about fixing PC games
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
Dev general icon.svg
This product is unreleased but remains under active development - information may change frequently and could be outdated or irrelevant.
Valheim
Valheim cover
Developers
Iron Gate Studio
Publishers
Coffee Stain Studios
Engines
Former Unity 2019[Note 1]
Unity 2022[Note 2]
Release dates
Windows Early access
Linux Early access
Taxonomy
Monetization One-time game purchase
Microtransactions None
Modes Singleplayer, Multiplayer
Pacing Real-time
Perspectives Third-person
Controls Direct control
Genres Action, Simulation, Building, Survival, Open world
Vehicles Naval/watercraft
Art styles Stylized
Themes Fantasy
Valheim on HowLongToBeat
Valheim on IGDB
Valheim on MobyGames
Valheim on Wikipedia

Valheim is a singleplayer and multiplayer third-person action, simulation, building, survival and open world game.

The game was released in early access on February 2, 2021 on Steam, selling over three million copies by February 19.[3]

General information

Official subreddit
Official Discord server
Steam Community Discussions

Availability

Source DRM Notes Keys OS
Humble Store
Icon overlay.png
Windows
Linux
Microsoft Store
Microsoft Store
Included with Xbox Game Pass for PC.
Windows
Steam
Icon overlay.png
Windows
Linux

Monetization

Type Notes
One-time game purchase The game requires an upfront purchase to access.

Microtransactions

Type Notes
No microtransactions Game does not contain any microtransactions.

Essential improvements

Improve the performance in OpenGL mode on Linux for AMD/Intel

Use the mesa_glthread=true %command% command line argument[citation needed]
  • Running the game with mesa_glthread=true %command% on Steam greatly improves the performance when running on Linux with the Mesa driver library for AMD/Intel GPUs in order to utilize multiple CPU cores. Not required in Mesa 21.1.

Improve performance

Edit boot.config file.[4]
  • Open boot.config (located in /steamapps/common/Valheim/Valheim_Data) with a text editor.
  • At the top of the file add:
    gfx-enable-gfx-jobs=1
    gfx-enable-native-gfx-jobs=1
    scripting-runtime-version=latest
  • Save File.

Notes

Warning: This can cause freezes/crashes when using Vulkan on certain hardware.[5]

Game data

Configuration file(s) location

System Location
Windows HKEY_CURRENT_USER\SOFTWARE\IronGate\Valheim\
Microsoft Store
Linux $XDG_CONFIG_HOME/unity3d/IronGate/Valheim/prefs
This game follows the XDG Base Directory Specification on Linux.

Save game data location

System Location
Windows %USERPROFILE%\AppData\LocalLow\IronGate\Valheim\
Microsoft Store
Linux $XDG_CONFIG_HOME/unity3d/IronGate/Valheim/

Save game cloud syncing

System Native Notes
Steam Cloud
Xbox Cloud

Video

Graphics Options
Graphics Options

Graphics feature State Notes
Widescreen resolution
Multi-monitor
Ultra-widescreen
4K Ultra HD
Text and icons on the map appear to use fixed pixel widths, making them difficult to read at 4K resolution.
Field of view (FOV)
Windowed
Borderless fullscreen windowed
Fullscreen mode defaults to borderless fullscreen.
Anisotropic filtering (AF)
See the glossary page for potential workarounds.
Anti-aliasing (AA)
On/off toggle.
Vertical sync (Vsync)
60 FPS and 120+ FPS
High dynamic range display (HDR)
There are no plans to implement native HDR support.
Ray tracing (RT)
The game engine may allow for manual configuration of the game via its variables. See the Unity page for more details.

HUD Settings

Hide HUD

The default hotkey to toggle the HUD is Ctrl+F3

Exclusive Fullscreen mode

Command line parameter[6]
  1. See Command line arguments.
  2. Type in -window-mode exclusive -screen-fullscreen
This can improve the performance but might cause issues when tabbing out of the game.

[7]

Force Vulkan on Windows

Command line parameter[8]
  1. See Command line arguments.
  2. Type in -force-vulkan

Console

Command line parameter[9]
  1. See Command line arguments.
  2. Type in -console

Input

Input settings
Input settings

Keyboard and mouse State Notes
Remapping
Open chat is hardcoded to Enter. Item belt hotkeys can't be remapped.
Mouse acceleration
Mouse sensitivity
Mouse input in menus
Mouse Y-axis inversion
Controller
Controller support
Full controller support
Added by the Steam Deck update on March 1.
Controller remapping
See the glossary page for potential workarounds.
Controller sensitivity
Controller Y-axis inversion
Enable the "Invert Mouse" option.
Controller types
XInput-compatible controllers
Xbox button prompts
Impulse Trigger vibration
PlayStation controllers
Doesn't read inputs correctly. May require Steam Input support to be enabled.
Generic/other controllers
Additional information
Controller hotplugging
Haptic feedback
Digital movement supported
Simultaneous controller+KB/M

Audio

Audio settings
Audio settings

Audio feature State Notes
Separate volume controls
Surround sound
Up to 7.1[10]; See Surround sound
Subtitles
There is no spoken dialogue.
Closed captions
Mute on focus lost
Royalty free audio

Surround sound

Patch one of Unity's standard configuration files in Valheim with SSound4Val.cmd[11]
Only applies to Windows installations.[Note 3]
See the README file on GitHub for up-to-date information on how to use SSound4Val.cmd.
  1. Download SSound4Val.cmd.
  2. (optional) Download the tool SFK separately and place the file sfk.exe in the same directory as SSound4Val.cmd. The script can do this automatically.
  3. Double-click SSound4Val.cmd. A command line window should appear. Depending on where the Valheim executable is located, you may have to instead Right Click the file and choose "Run as administrator" from the context menu.
  4. Follow the instructions provided by the script.
Miscellaneous settings
Miscellaneous settings

Localizations

Language UI Audio Sub Notes
English
Bulgarian
Simplified Chinese
Czech
Danish
Finnish
French
German
Hungarian
Polish
Brazilian Portuguese
Romanian
Russian
Spanish
Swedish
Turkish

Network

Multiplayer types

Type Native Players Notes
LAN play
10 Co-op, Versus
The game can be played over LAN using the dedicated server.
Online play
10 Co-op, Versus
PVP can be turned on. Off by default

Connection types

Issues fixed

Game runs poorly on Vulkan in AMD on Linux

Force OpenGL mode

Run the game with -force-opengl or -force-glcore, additionally you can also run with mesa_glthread=true %command% -force-opengl (or -force-glcore) for much better performance. Will be fixed in the upcoming Mesa 21.1[citation needed]

Disable TearFree

The game runs poorly with TearFree enabled with AMDGPU and Vulkan.
xrandr --output DisplayPort-0 --set TearFree off
Change DisplayPort-0 to the name of your display (run xrandr to get a list)

Other information

API

Technical specs Supported Notes
Direct3D 11 Default API on Windows
OpenGL 4.5 Alternate API on Linux
Vulkan 1.2 Default API on Linux, alternate on Windows
Executable 32-bit 64-bit Notes
Windows
Linux

System requirements

Windows
Minimum Recommended
Operating system (OS) 7
Processor (CPU) 2.6 GHz Quad Core
System memory (RAM) 8 GB
Hard disk drive (HDD) 1 GB
Video card (GPU) Nvidia GeForce GTX 950
AMD Radeon HD 7970
DirectX 11 compatible
Other
A 64-bit operating system is required.
Linux
Minimum Recommended
Operating system (OS) Any up to date version
Processor (CPU) 2.6 GHz Dual Core
System memory (RAM) 8 GB
Hard disk drive (HDD) 1 GB
Video card (GPU) Nvidia GeForce GTX 950
AMD Radeon HD 7970
Other
A 64-bit operating system is required.


Notes

  1. Unity engine build: 2019.4.31f1[1]
  2. Unity engine build: 2022.3.12f1[2]
  3. The HEX-numbers used for searching and replacing, however, are likely OS independent.

References

  1. Verified by User:Baronsmoki on 2022-01-10
  2. Verified by User:Jams3223 on 2023-11-02
  3. Three Million Vikings! - last accessed on 2021-02-19
  4. Steam Community - last accessed on 28 May 2023
  5. Reddit - last accessed on 28 May 2023
  6. Steam Community - last accessed on 28 May 2023
  7. Reddit - last accessed on 28 May 2023
  8. Steam Community - last accessed on 28 May 2023
  9. Steam Community - last accessed on 28 May 2023
  10. Unity - Scripting API: AudioSpeakerMode - last accessed on 2023-11-21
  11. Verified by User:Nilbadimo on 2023-11-21