Valheim Graphic and PC Enhancements
Taken from r/valheim•Posted byu/Unusual-Albatross [Developer] and several pages in PC Gamer and other Game magazines.
Poor performance is often noticed even on the best gaming PCs because those systems normally run games exceedingly well. If your computer is running Valheim poorly, don't fret, as the game is still in very early access and is not yet optimized. That hasn't stopped some folks on Reddit from finding a few tricks to optimize performance though, so follow along with those hints if you're experiencing very poor performance.
Chromatic aberration is an odd effect that's usually reserved for lenses. Lenses may find it tricky to direct each wavelength of light to the same point, meaning some wavelengths, such as red or blue, will sit slightly adjacent to one another. This may be disabled to enhance your PC's Performance.
Depth of field is a little more self explanatory: objects out of your focus appear blurry. At least that's how focus exists in real life with our human eyeballs. In gaming it's not quite as simple as the game doesn't necessarily know where you are looking, only where your character is looking or which way they're facing. This may be disabled to enhance your PC's Performance.
Just turn it off. 'Nuff said.
Motion blur is a handy tool when your system isn't quite up the task of running a game. It's essentially a way of tricking your brain into turning a flipbook into silky smooth video through the use of enthusiastic blurring. It doesn't always work though, and if you're a PC gamer you usually have some other alternatives to bring frame rate up that will see you workaround the need for such blurry solutions. Turning down the graphics preset a notch or two will cover it in most cases. And lucky for you Valheim isn't the most demanding game going and still looks great even with the graphics set to the lower settings.
(Image credit: RustyB3ans)
The steps are simple: Right click on Valheim in your Steam library and go to 'Manage' and then 'Browse local files.' That should bring up a window of Valheim's game files. Click on the valheim_Data folder. Find the file named 'boot' or 'boot.config' and open it with Notepad. Add "gfx-enable-native-gfx-jobs=1" right below the first line. Save and close the file. Go back to Valheim in your Steam library, right click and select 'Properties.' Add "-windows-mode exclusive" into the launch options field. Close that window. Open up Task Manager (press Ctrl + Alt + Delete) and find Valheim under the processes tab. Right click and select 'Go to details.' Right click valheim.exe, select 'Set Priority' and change it to 'High.' You'll have to repeat this final step with Task Manager each time you launch the game.
And that's it! While you might not get the same boost in performance I got, you should notice a jump in your overall fps. If you're getting any kind of weird lighting or graphics bugs, RustyB3ans recommends deleting "gfx-enable-native-gfx-jobs=1" from the boot.config file.
Sysmain — or SuperFetch — is a Windows 10 service that preloads common apps to speed up your general computer usage experience. While it normally doesn’t affect your CPU usage too much, some players are reporting huge FPS boosts by disabling Sysmain.
Here’s the basic steps to disable the service.
- On Windows 10, type services in the Start Menu search bar.
- Launch the Services app and locate the Sysmain service.
- Select Sysmain, and then left-click Stop the service on the left.
You can restart the service from this app at any time. If you don’t see an FPS boost, I recommend restarting this app and letting it do its thing.
As a quick method to improve FPS, you can raise / lower LOD — or Level Of Detail. You can do this very quickly with a few simple commands.
- Press F5 after launching Valheim to open the console command window.
- Type the following command to change LOD:
- lodbias 1
Depending on the number you input, the LOD bias will increase / decrease. If you don’t input a number, the LOD bias will revert to the Level of Detail that is default to your settings. You can change the lodbias # to anything you want — you can even go below 1 with .5 / .4 / .3 etc.
If you have an NVIDIA graphics card, you can do some things to tweak your settings. These tweaks require that you go into your NVIDIA 3D settings, from the NVIDIA Control Panel. Tip: Remember to keep your graphics card driver updated! Especially never graphics card will get a lot of performance boosts from just updating the drivers.
Open NVIDIA Control Panel and head over to the Manage 3D Settings tab on the left. If you want to apply these settings to all games, select global settings. However, if you want to apply these to only Valheim, select the Program List and look for the game. If you cannot find the game within the list, hit the browse button, navigate to the game’s installation directory, and select the .exe file for it. Once you’ve selected the game or global settings, change the power management mode to performance mode. This will ensure that your GPU is working at its maximum pace. Turn off Image Sharpening mode. This will turn off the sharpness post-processing that can hog up your resources. Disable Low-Latency Mode. Set the Max Pre-Rendered Frames value to 1. This will ensure that your GPU is working on the immediate next frame rather than trying to process what’s ahead. Enable Threaded Optimization and G-Sync if your monitor supports it. Set the Display Mode to Single Display Performance Mode. This can help massively if you have a multi-monitor setup as this tunnels the resources into a single display. For Texture Filtering Quality, select the Performance Mode option.
If you have an AMD Graphics Card, you can change its settings using AMD’s Radeon Control Panel utility. Just follow these steps:
If you have an AMD Graphics Card, you can change its settings using AMD’s Radeon Control Panel utility. Just follow these steps: Right-click an empty desktop space and open up the AMD Radeon Settings Control Panel. Now, choose the Global Graphics option to change graphics card settings for your games. Once you’re in, turn off all the proprietary post-processing options that AMD has enabled by default. These include Radeon Anti-Lag, Radeon Chill, and Radeon Boost. Also, turn off wait for Vertical Refresh (which will boost performance but can cause screen tearing). Disable Image Sharpening, Anisotropic Filtering, Maximum Tessellation Level, Frame Rate Target Control, and OpenGL Triple Buffering. Now, turn on Surface Format Optimization. For the GPU Workload setting, select Graphics Mode for the best performance. Select Performance Mode under the Texture Filtering Quality option. Finally, set both Tessellation and Shader Cache to AMD Optimized mode for the most optimal experience while playing Valheim.
-windowed -lowmemory -high -screen-width 1800 -screen-height 1050
You should set your pc to -window-mode exclusive -screen-fullscreen vs my setting for windowed mode. Most games run better in fullscreen. The same for setting your Screen width and Height to tailor it to your pc enviroment.
Valheim Keybinds: Most like ARK or ATlas:
We highly recommend doing a back up of your files, they are saved here: AppData\LocalLow\IronGate\Valheim
Try looking through Steam's own server list (view-> servers) Add Favorite server- Type in ip and (according to some) port 2457 (depending on server configuration)
Disable game pad.
Closing apps that are Optimizing Your Network might help.
We don’t have a solution for this right now but we are working on it. Some players report that turning down in-game settings and have NVIDIA prioritize performance helps. Unfortunately, there's not much you can do about this one except to report it on the official bug page and hope there's a fix soon.
Maybe you're trying to chop down trees or attack enemies only to find that zero damage is being done? Multiplayer sessions, at times, get out of sync and cause weird issues like this to happen. If it's affecting everyone, restarting the server is probably the best option. If it's just affecting one player, that player should restart their client. Don't let this go on for too long as desynced player actions will actually take place once they've disconnected, which could result in quite a bit of havoc.
A player has reported that the Killer Network software (often found on MSI computers) causes sync issues. Uninstall the software (not the network drivers). To fully rid yourself of the sync issues, you may need to go to killernetworking.com and get their uninstaller.
Something funny can happen when a player uses a portal; the path their character takes can leave a wake of destruction. In Valheim, portals physically move your character across the map during the teleporting process and can sometimes destroy objects and flip boats. To prevent this, make sure there aren't loose player-built objects or boats between portals. Basically, draw a straight line between your portals on the map and keep things clear of that line. This doesn't apply to buildings or other anchored objects like furniture.
World file corrupted, no solution for this right now.
Sometimes, this can happen when you exit the game forcibly by pressing Alt+F4 or using Task Manager in Windows to close the game. Instead of doing that, use the Quit option to leave the game, instead. Other times, players are finding that they'll log into their multiplayer worlds — both locally hosted and dedicated servers — only to find a world with an explored map but no trace of human settlements to be found. Even still, some updates have corrupted worlds during the update process.
No matter how this bug happens, players can save themselves a significant amount of anxiety and panic by backing up their local files on a regular basis. On a Windows 10 machine, you'll find these files located in "C:\Users\YourWindowsUsername\AppData\LocalLow\IronGate\Valheim\". Each world you create has its own folder in this location and can be simply copied to another folder on your computer and used as a backup. If your live world gets corrupted, replace that folder with a backup version you've stored.
Do you want to back up your save? Maybe your character or world (or maybe both) got corrupted from a crash? Don’t worry, there’s still hope! As we all know the game is still in EA and can have some major game breaking bugs. After losing a character and world 50 hours in, I found out the game makes an extra backup save of both your worlds and characters. Here’s what to do if your save gets corrupted:
The character and world file location is in:
(Press windows key and type %appdata% to get to AppData)
If you look in Valheim/Characters, you will see
If your character file gets corrupted,
CharacterName.fchwill be the corrupted file, however
CharacterName.fch.oldhas a slightly older version of your character. What you want to do in this case is BACK THESE FILES UP FIRST. Then delete
CharacterName.fch. You got your character back!
Now for worlds, go to Valheim/worlds. You will see 4 files for each world:
You will follow the same process here. Back up these files first, then delete
WorldName(you’re just removing db.old) and rename
Keep your saves backed up at all times, the game is still buggy and you could lose all progress from a simple crash.
When players die in Valheim, everything their character has equipped, as well as everything in a player's inventory, get placed in a gravestone that marks their death site. That, of course, is how it's supposed to work but some players are returning to their point of death only to find no grave marker and no items to retrieve. Sometimes, it occurs when a player jumps and dies in the air. Other times, this happens at the entrance to a crypt — trapping the gravestone between the points where a player is forced to warp in or out of a crypt, making the items irretrievable. Right now, there is no workaround for this issue.
These bugs fall within that annoying category and generally won't do much harm, although they could be problematic if you don't avoid them in the first place.
Players can outfit their lodgings with various pieces of furniture to increase its comfort level, keeping that resting buff around for longer periods of time. One bug is preventing some players from reaching maximum comfort level, and it's caused by stools and benches. These places to sit seem to override the comfort advantages of chairs, lowering your home's overall comfort level by one point. Adding a table to the mix fixes this and even adds an additional comfort level beyond what a chair alone will.
Ever heard a funny sound coming from your smelter? Take a look inside and you might find something wholly disturbing; a deer stuck in the blazing furnace, unable to escape. While it seems horrifying at first, these deer appear to take no damage from the furnace and can even be easily killed to deliver easy deer hides to the player. Chalk this one up to a bug that turned into a bonus.
Some players have seen ships flying to and fro in the skies of Valheim, only to realize that it was the very ship they just worked hard to build! Turns out, a bug is causing some of the seabirds to land in a ship and accidentally take control, forcing the boats to take to the skies and move in wholly unnatural ways. There is no fix for this bug at this time and no real way to avoid it.
Raising boars in Valheim? Be careful not to leave the gate open, as some boars can escape and make a beeline back to their spawn point. The escaped boars run at maximum speed for as long as it takes to get back to their point of origin in the world — a behavior that's quite abnormal in the game — and cannot be tamed again.
When you break most items in Valheim, particularly pieces like walls and other homely goods, they are supposed to break into the raw materials it costs to craft them. At times, an item broken returns nothing but sadness and loss instead of said raw materials. This doesn't appear to be an intended consequence, thus is, instead, a bug.
Wards can be crafted to make a player's home their sanctuary. These decorative statues create a magical barrier that makes it impossible for other players to break any items inside that barrier; that is until this ugly bug reared its head. Wards, apparently, have no magical power over themselves and can be destroyed, thus, rendering their entire purpose pointless in the game. Until this bug is fixed, make sure to place your Ward inside your Buildings for protection from Griefers. Our server is password protected and whitelisted for our protection.
Valheim players will find that just hovering the blueprint of a hearth or a firepit underneath themselves can sometimes feel so real that it actually begins burning the player. Now that's one realistic vision. Until this bug gets fixed, make sure you're placing firepits or hearths at least a few feet away from yourself. If you catch fire, DONT stop drop and roll! Run right out and Jump in the nearest body of water.