Skip to content

Latest commit

 

History

History
106 lines (72 loc) · 3.65 KB

README.md

File metadata and controls

106 lines (72 loc) · 3.65 KB

what is wine-wayland

Wine-wayland allows running DX9/DX11 and Vulkan games using pure wayland and Wine/DXVK.

why wine-wayland

  • You are tired of dealing with X11 and don't care about launchers and controllers
  • You want to remove X11 related packages from your PC
  • You want to experience potentially faster and smoother gaming on Wayland
  • You are concerned about insecure X11 games that can spy on other apps running on X11.

screenshot

screenshot screenshot1

requirements

  • Archlinux or Manjaro
  • GPU with Vulkan and Wayland support
  • Mesa 20 or later with Wayland and Vulkan support
  • weston based compositor (tested on wayward), wlroots based compositor (tested on sway)
  • SDL and Faudio

download

You can download the 64bit only version from https://github.com/varmd/wine-wayland/releases. This version is automatically built via Github Actions. cd to download folder and install

pacman -U wine-wayland*pkg*

installation

download from github, cd to zip directory

makepkg
pacman -U wine-wayland*pkg*

installation of 32bit (optional, for 32bit games)

First compile and install regular wine-wayland, then in the same zip directory

makepkg -P PKGBUILD-32 --noextract
pacman -U lib32-wine-wayland*

running

cd your-dir
mkdir -p prefix/your-game
cp -r YourGameFolder prefix/your-game/

Copy relevant 64bit or 32bit dxvk dlls to prefix/your-game or use winetricks.

Copy start-example.sh to your-dir and modify it for your-game, change your-game and YourGameFolder at the top of the file.

rename start-example.sh to start-your-game.sh

Then in the terminal run sh start-your-game.sh

keyboard shortcuts

  • F11 - Enter fullscreen mode
  • F10 - some games may not restrict cursor properly, manually restricts cursor to the game surface.
  • F9 - some games (such as NMS) that draw their own cursor may need this to lock the cursor pointer. Also enable export WINE_VK_HIDE_CURSOR=1 in the start-game.sh. After alt-tabbing, press F9 two times to reset cursor state

notes

  • For Unity games make sure game folder is executable

  • Some games may take a while to start

  • Some games may crash if fullscreen is enabled/disabled. After crashing, look in the game settings folder and see if you can enable/disable fullscreen manually.

  • If a game is not starting try to disable WINE_VK_VULKAN_ONLY variable and start the game to see if there are any error popups

  • While launchers are not working many games do not require launchers to run

  • You can use https://github.com/derrod/legendary to download and run games from Epic Games Store

  • You can use https://github.com/ValvePython/steamctl to download games from Steam

  • GOG games can be extracted with innounp

  • If a game is not starting, try wineserver -k, and start again

  • Use export XCURSOR_SIZE="xx" and export XCURSOR_THEME=themename to set cursor theme and increase cursor size

  • Use export WINE_VK_NO_CLIP_CURSOR=1 to disable cursor locking for games that erroneously try to lock mouse cursor.

  • Use export WINE_VK_FULLSCREEN_GRAB_CURSOR=1 to automatically enable cursor grab in fullscreen.

  • For best performance use fsync patched kernel, and export WINEFSYNC=1 variable

caveats and issues

  • No controller support
  • No GDI apps support
  • No OpenGL support
  • No custom cursors

games confirmed working

  • ABZU
  • Dirt 3
  • Subnautica
  • Rebel Galaxy
  • Endless Space
  • Age of Wonders 3
  • Stellaris
  • EU4
  • Path of Exile
  • Pathfinder Kingmaker
  • Crusader Kings 2
  • Mutant Year Zero
  • Tropico 6