
SuperSampling DSR
World supersampling with native-size UI and optional system DSR/DLDSR. Valheim 1.0.12 API update; in-game testing pending.SuperSampling (DSR)
Higher-resolution 3D rendering with normal-size HUD and menus.
0.1.2 is the renamed Valheim 1.0 compatibility test release. 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. All 43 logic checks and 21 API checks passed. These references omit method bodies; live Valheim rendering, Harmony patching, UI behavior and GPU/DSR testing remain unverified.
Install
- Install BepInExPack Valheim 5.4.2350 or a compatible newer version.
- Import this ZIP as a local mod in your mod manager, or copy its
BepInExfolder into the Valheim game folder. - Launch the modded game. Press F8.
- 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 from Valheim Supersampling 0.1.0 or 0.1.1: 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.
| Output | Scale | World resolution | Relative world pixel count |
|---|---|---|---|
| 1920 × 1080 | 125% | 2400 × 1350 | 1.5625× |
| 1920 × 1080 | 150% | 2880 × 1620 | 2.25× |
| 1920 × 1080 | 175% | 3360 × 1890 | 3.0625× |
| 1920 × 1080 | 200% | 3840 × 2160 | 4× |
| 3840 × 2160 | 200% | 7680 × 4320 | 4× |
Scale is relative to the current game output. Use the monitor's native output for the usual supersampling setup. Higher scales increase GPU work and VRAM use. Targets beyond the GPU dimension limit or 67,108,864 pixels are rejected. Allocation failure disables the feature; this cannot prevent every driver or memory-exhaustion crash.
NVIDIA / System DSR
- Enable your preferred DSR/DLDSR factors in NVIDIA's driver settings.
- Open F8 → System DSR.
- Check the native reference, refresh the list, and select a higher resolution.
- Leave Keep UI at native size enabled. UI adjustment 100% adds no extra enlargement.
- Apply, then choose Keep within 15 seconds after the mode applies.
The list contains higher, matching-aspect resolutions exposed by Unity, with refresh rates. 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.
First game test
- In a world at native output, test In-Game at 125%, 150%, and 200%.
- Compare foliage, distant edges, water, sky, fog, and post-processing against Off at the same position.
- Open inventory, full map, settings, and menus. Check size, sharpness, and mouse alignment.
- Resize the window, change scenes, and toggle Off. Check for black frames, inverted images, or missing UI.
- 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.

