Valheim
Install with App

Details

Latest version
0.1.3
Last Updated
First Uploaded
Downloads
65
Likes
1
Size
42KB
Dependants
ADDatHost Valheim hosting
€1

SuperSampling (DSR)

Render Valheim's 3D world above your current game resolution, then downsample it for improved image quality while keeping the HUD and menus readable.

  • Scale from your current resolution: 720p, 1080p, 1440p, 4K, ultrawide, or a custom game output size.
  • Adjust the quality: choose 125%, 150%, 175%, 200%, or a custom scale from 100% to 300%, within the render-size limits below.
  • Keep the interface readable: In-Game mode preserves the normal output resolution and size of HUD, inventory, map UI, menus and text.
  • Choose your method: In-Game supersampling on supported GPUs, or optional system DSR/DLDSR resolutions exposed by your driver.

Compatibility test release for Valheim 1.0.12. Live Valheim rendering, UI behavior and GPU/DSR testing remain unverified.

Install

  1. Install BepInExPack Valheim 5.4.2350 or a compatible newer version.
  2. Import this ZIP as a local mod in your mod manager, or copy its BepInEx folder into the Valheim game folder.
  3. Launch the modded game. Press F8.
  4. Choose In-Game → 150% → Apply to begin.

Install on your playing client. A server installation is unnecessary. No Jotunn, Configuration Manager, NVIDIA SDK, or separate shader download is required.

Updating an existing installation: close Valheim and replace BepInEx/plugins/ValheimSupersampling/ValheimSupersampling.dll with this version. Keep only one copy of the plugin. Your existing configuration, native display reference and shortcuts are retained.

Controls

Control Action
F8 Open or close settings
Left Ctrl + F8 Emergency Off; restore the pre-DSR display mode
Escape inside settings Close; revert an unconfirmed DSR change
Off / restore Restore ordinary rendering and the pre-DSR display mode

Shortcuts are configurable. The settings panel uses keyboard and mouse.

In-Game

  • 125%, 150%, 175%, 200%, or custom values from 100% to 300%, including decimals.
  • Scales both world-render dimensions. 200% means 4× as many pixels.
  • HUD, inventory, map UI, and menus retain normal output resolution and layout.
  • Uses Valheim's separate world framebuffer and UI presentation.
  • Defaults to trilinear mipmapped downsampling. Optional basic bilinear filtering can look sharper at fractional scales.
  • Uses the game's normal windowed, borderless, and fullscreen output paths. Actual DirectX/Vulkan behavior still needs game testing.
  • Has no NVIDIA requirement.

Scaling from any supported game output

The scale is applied to both the width and height of your current game output. The world is rendered at that larger size and downsampled back to your output resolution. For the usual native-display setup, set Valheim's output to your monitor's native resolution first.

Internal width = output width × scale / 100

Internal height = output height × scale / 100

Examples at 200% scale:

Current game output Internal world rendering Final output / UI
720p — 1280 × 720 2560 × 1440 1280 × 720
1080p — 1920 × 1080 3840 × 2160 1920 × 1080
1440p — 2560 × 1440 5120 × 2880 2560 × 1440
Ultrawide — 3440 × 1440 6880 × 2880 3440 × 1440
4K — 3840 × 2160 7680 × 4320 (8K) 3840 × 2160

These are examples, not a fixed list of supported resolutions. Fractional results are rounded to whole pixels. At 200%, the world has 4× as many pixels; at 150%, it has 2.25× as many pixels.

Render-size limits: higher scales use more GPU time and VRAM. In-Game targets must fit the GPU's maximum texture dimensions and the mod's 67,108,864-pixel cap. The available scale therefore depends on your starting resolution and GPU: 4K at 200% fits the pixel cap; 4K at 300% exceeds it. Allocation failure disables the feature, although driver or memory-exhaustion crashes cannot always be prevented.

NVIDIA / System DSR

  1. Enable your preferred DSR/DLDSR factors in NVIDIA's driver settings.
  2. Open F8 → System DSR.
  3. Check the native reference, refresh the list, and select a higher resolution.
  4. Leave Keep UI at native size enabled. UI adjustment 100% adds no extra enlargement.
  5. Apply, then choose Keep within 15 seconds after the mode applies.

The list is relative to your monitor's configured native reference, whether that is 720p, 1080p, 1440p, 4K, ultrawide or another size. It contains higher, matching-aspect resolutions exposed by Unity, with refresh rates. Available choices depend on the display and driver; the mod cannot select a mode that the system does not expose. Unity does not identify entries as DSR, DLDSR, custom modes, or another vendor's equivalent. The driver selects the downsampling algorithm; the mod does not enable driver factors or implement NVIDIA's proprietary filters.

System mode currently uses Windows exclusive fullscreen. Leaving it restores the previous resolution and fullscreen/windowed mode. For windowed supersampling, use In-Game. If no higher modes appear, check driver settings and restart the game.

The game's 3D resolution cap is bypassed while either mod mode is active, so it cannot undo the higher world resolution. Off resumes the game's current graphics settings.

UI compensation evaluates Valheim's normal sizing at the native reference, then scales that result for the higher output. This retains the existing Valheim UI-size preference and avoids multiplying its high-resolution scaling twice. Other mods' independent UI systems may need their own settings.

Recovery and compatibility

  • Unapplied resolutions get a 20-second application timeout.
  • Applied modes get a separate 15-second Keep / Revert countdown.
  • A recovery record is saved before display changes and retained until restoration is verified.
  • DSR must be selected manually each launch; the last selection is remembered. In-Game can resume automatically.
  • Changed/missing framebuffer or UI hooks produce a status message. Field types, static/instance status, return types and parameter types are checked. Failed adapter installation removes its own patches. In-Game does not require the DSR UI hook.
  • The native reference is initially estimated from desktop/output size. Correct it if the desktop already uses DSR or you change monitors.
  • VR, replacement render pipelines, and third-party UI systems are not verified. Avoid combining this test build with another mod that takes over the same framebuffer.

Build validation

Version 0.1.3 updates the description; rendering behavior is unchanged from 0.1.2. Built with Unity 6000.0.75f1 references and BepInExPack 5.4.2350. The required hooks were checked against the Valheim 1.0.12 public reference API. The previous 43 logic checks and 21 API checks remain applicable to the unchanged rendering code. These references omit method bodies, so they do not verify live Harmony patching or rendering.

First game test

  1. In a world at native output, test In-Game at 125%, 150%, and 200%.
  2. Compare foliage, distant edges, water, sky, fog, and post-processing against Off at the same position.
  3. Open inventory, full map, settings, and menus. Check size, sharpness, and mouse alignment.
  4. Resize the window, change scenes, and toggle Off. Check for black frames, inverted images, or missing UI.
  5. If DSR is available, test Revert, Keep, and Off / restore.

If something fails, use Left Ctrl + F8. Send BepInEx/LogOutput.log and the report from F8 → Display reference and diagnostics → Write diagnostic report. Its filename is BepInEx/config/mods.valheim.supersampling.diagnostics.txt.

To uninstall: turn Off, close Valheim, and remove BepInEx/plugins/ValheimSupersampling. After an interrupted DSR session, leave the recovery record in place and launch once with the mod so it can restore the display.

Technical references

DatHost — Valheim server hosting, first month for one euro
DatHost — Valheim server hosting, first month for one euro
DatHost — Valheim server hosting, first month for one euro
DatHost — Valheim server hosting, first month for one euro
DatHost — Valheim server hosting, first month for one euro