|
|
Line 470: |
Line 470: |
| <code>xrandr --output DisplayPort-0 --set TearFree off</code><br> | | <code>xrandr --output DisplayPort-0 --set TearFree off</code><br> |
| Change DisplayPort-0 to the name of your display (run <code>xrandr</code> to get a list) | | Change DisplayPort-0 to the name of your display (run <code>xrandr</code> to get a list) |
− | }}
| |
− |
| |
− | ==Issues unresolved==
| |
− | ===Mouse cursor isn't captured properly on Linux<ref name="valheimbugs-436152">{{Refurl|url=https://valheimbugs.featureupvote.com/suggestions/436152/#comment533139|title=Cursor not properly captured on Linux multimonitor after 0.214.300 patch - Valheim Bugs|date=2023-10-31|snippet=The 0.214.300 version of the game includes engine update to 2020.3.41f1, which was required to fix bugs with scrolling being inverted and slow on Linux. This update fixed the mentioned issue, but created new problems. All mouse input related issues should be resolved when and if Valheim gets updated to a new Unity version.}}</ref>===
| |
− | {{ii}} The developers are aware of this issue and are awaiting a Unity update that should resolve it.
| |
− |
| |
− | {{Fixbox|description=Download and install [https://github.com/ValveSoftware/gamescope gamescope]|ref=<ref name="valheimbugs-436152" /><ref name="mezzodrinker-20231031">{{Refcheck|user=Mezzodrinker|date=2023-10-31|comment=Verified with Valheim 0.217.25 on Arch Linux, Gnome 45 and Wayland.}}</ref>|fix=
| |
− | {{ii}} See the [https://github.com/ValveSoftware/gamescope/blob/master/README.md README file on GitHub] for up-to-date information on how to set up gamescope.
| |
− | # Modify the Steam launch arguments of Valheim to the following: <code>gamescope -W <width> -H <height> -b -- %command%</code> where <code><width></code> and <code><height></code> are the width and height of your monitor's native resolution, respectively. For example, if your monitor has a native resolution of 1920×1080, use <code>gamescope -W 1920 -H 1080 -b -- %command%</code>
| |
− | }}
| |
− |
| |
− | {{Fixbox|description=Run via Proton and use Vulkan|ref=<ref name="valheimbugs-436152" /><ref name="mezzodrinker-20231031" />|fix=
| |
− | # Open the '''Library''' in Steam, then <kbd>Right Click</kbd> on Valheim and select '''Properties...'''
| |
− | # In the '''Compatibility''' tab, set the check mark to '''Force the use of a specific Steam Play compatibility tool'''.
| |
− | # Leave the Proton version at the default value or switch to Proton 8.0.<ref>{{Refurl|url=https://www.protondb.com/app/892970|title=ProtonDB {{!}} Game Details for Valheim|date=2023-10-31}}</ref>
| |
− | # In the '''General''' tab, under '''Launch Options''', add the command line option <code>-force-vulkan</code>.
| |
− | }}
| |
− |
| |
− | {{Fixbox|description=Adjust monitor layout|ref=<ref name="valheimbugs-436152" />|collapsed=yes|fix=
| |
− | {{Image|Valheim Mouse Cursor Workaround - Display Settings.webp|Suggested monitor layout}}
| |
− | # Open the system settings for the monitor layout.
| |
− | # Move the monitors so that the monitor on which Valheim is shown only touches the other monitors on the corners (see image).
| |
− | }}
| |
− |
| |
− | {{Fixbox|description=Disconnect all other monitors|ref=<ref name="valheimbugs-436152" />}}
| |
− |
| |
− | {{Fixbox|description=Move the game window after start|ref=<ref name="valheimbugs-436152" />{{dubious|date=2023-10-31|reason=Could not verify with Valheim 0.217.25 on Arch Linux, Gnome 45 and Wayland. --mezzodrinker}}|collapsed=yes|fix=
| |
− | # Launch the game on a monitor that does not have the highest resolution.
| |
− | # Move the game window to the monitor with the highest resolution.
| |
− | }}
| |
− |
| |
− | {{Fixbox|description=Use borderless fullscreen mode|ref=<ref name="valheimbugs-436152" />{{dubious|date=2023-10-31|reason=Could not verify with Valheim 0.217.25 on Arch Linux, Gnome 45 and Wayland. --mezzodrinker}}|collapsed=yes|fix=
| |
− | # Start the game with the command line parameter <code>-console</code>.
| |
− | # Once in the main menu, press <kbd>F5</kbd> to open the console.
| |
− | # Enter the command <code>exclusivefullscreen</code> and confirm with <kbd>Enter ⏎</kbd>.
| |
− | # In case the above command does not fix the behaviour, repeat the last step and check again.
| |
| }} | | }} |
| | | |