All Projects → varmd → Wine Wayland

varmd / Wine Wayland

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

Programming Languages

c
50402 projects - #5 most used programming language

Projects that are alternatives of or similar to Wine Wayland

Dxvk
Vulkan-based implementation of D3D9, D3D10 and D3D11 for Linux / Wine
Stars: ✭ 7,117 (+2405.99%)
Mutual labels:  gaming, vulkan, wine
Winetricks
Winetricks is an easy way to work around problems in Wine
Stars: ✭ 1,786 (+528.87%)
Mutual labels:  gaming, wine
Grvk
Vulkan-based Mantle API implementation
Stars: ✭ 117 (-58.8%)
Mutual labels:  gaming, vulkan
Wine Nine Standalone
Build Gallium Nine support on top of an existing WINE installation
Stars: ✭ 170 (-40.14%)
Mutual labels:  gaming, wine
Swvkc
experimental Wayland Vulkan compositor
Stars: ✭ 105 (-63.03%)
Mutual labels:  vulkan, wayland
Wine Origin Updater
Updater for Origin in Wine
Stars: ✭ 57 (-79.93%)
Mutual labels:  gaming, wine
Bottles
🌠 Easily manage 🍷prefix in a new way! (Run Windows software and games on Linux)
Stars: ✭ 147 (-48.24%)
Mutual labels:  gaming, wine
Wine Builds
Wine builds (Vanilla, Staging, TkG and Proton)
Stars: ✭ 145 (-48.94%)
Mutual labels:  wayland, wine
wine-launcher
Wine Launcher - Running Windows games under Linux
Stars: ✭ 249 (-12.32%)
Mutual labels:  vulkan, wine
nix-gaming
Gaming on Nix
Stars: ✭ 142 (-50%)
Mutual labels:  gaming, wine
nine
Gallium Nine Standalone
Stars: ✭ 50 (-82.39%)
Mutual labels:  gaming, wine
Vkmark
Vulkan benchmark
Stars: ✭ 80 (-71.83%)
Mutual labels:  vulkan, wayland
D9vk
A Direct3D9 to Vulkan layer using the DXVK backend. [Upstreamed to DXVK]
Stars: ✭ 805 (+183.45%)
Mutual labels:  vulkan, wine
Vk9
Direct3D 9 compatibility layer using Vulkan.
Stars: ✭ 799 (+181.34%)
Mutual labels:  vulkan, wine
Conty
Easy to use unprivileged Linux container packed into a single portable executable
Stars: ✭ 198 (-30.28%)
Mutual labels:  gaming, wine
Serpent
Cross-platform gaming kit in the D programming language
Stars: ✭ 140 (-50.7%)
Mutual labels:  gaming, vulkan
Protontricks
A simple wrapper that does winetricks things for Proton enabled games, requires Winetricks.
Stars: ✭ 182 (-35.92%)
Mutual labels:  gaming, wine
awesome-gnu-linux-gaming
A curated list of awesome GNU/Linux tips & tricks, games, tools, and resources - Mirrored from: https://gitlab.com/linuxcafefederation/awesome-gnu-linux-gaming.git
Stars: ✭ 135 (-52.46%)
Mutual labels:  gaming, wine
docker-nvidia-glx-desktop
MATE Desktop container designed for Kubernetes supporting OpenGL GLX and Vulkan for NVIDIA GPUs with WebRTC and HTML5, providing an open source remote cloud graphics or game streaming platform. Spawns its own fully isolated X Server instead of using the host X server, therefore not requiring /tmp/.X11-unix host sockets or host configuration.
Stars: ✭ 47 (-83.45%)
Mutual labels:  vulkan, wine
Linuxgsm
The command-line tool for quick, simple deployment and management of Linux dedicated game servers.
Stars: ✭ 3,063 (+978.52%)
Mutual labels:  gaming

What is wine-wayland

Wine-wayland allows running DX9/DX11/DX12 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
  • 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
  • You want to replace all the lib32 packages with only one package, and still be able to play most 32-bit games

Screenshot

screenshot screenshot1

Requirements

  • Archlinux or Manjaro
  • GPU with Vulkan and Wayland support, 2GB+ VRAM, AMD or Intel, Nvidia not tested
  • Mesa 20.1 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 64-bit only archlinux package 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*

Download of 32-bit (optional, for 32-bit games)

You can download the optional 32-bit version from https://github.com/varmd/wine-wayland/releases. It is automatically built via Github Actions. Download both the 64-bit and 32-bit archlinux packages, cd to download folder and install

pacman -U *wine-wayland*pkg*

Compile

download or clone from github, cd to zip directory

makepkg
pacman -U wine-wayland*pkg*

Compile 32-bit (optional, for 32-bit games)

In wine-wayland directory

WINE_BUILD_32=1 makepkg
pacman -U *wine-wayland*pkg*

Using wineland launcher to run games

From command line (or using file manager)

mkdir -p ~/.local/share/wineland/your-game
mv YourGameFolder ~/.local/share/wineland/your-game/

"your-name" above should be lowercase, no spaces tag. For example, for Subnautica it would be subnautica. After, go to your launcher, click on the blue joystick icon. In the browser tab, click Edit below the card for your-game. Enter name for your game, YourGameFolder/game.exe for exe path. And -EpicPortal for game options (for EGS games). Set mangohud, fsync/esync, and other options if needed. See below screenshot for example of options for Subnautica.

screenshot

Afterwards, click Submit. Then click Launch.

You can obtain YourGameFolder from EGS, Steam or GOG. See the notes section below for links to command line downloaders and tools for these services.

For troubleshooting you can check the logs at YourGameFolder/log.log

Using terminal to run games with wineland launcher

After setting up your game with the steps above, you can also run your games from the terminal.

wineland your-game

Using terminal to run games without wineland launcher

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

Copy relevant 64-bit or 32-bit dxvk dlls to YourGameFolder 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

Environment variables when running games without the wineland launcher

  • Use export LD_LIBRARY_PATH="/usr/lib/wineland/lib32:$LD_LIBRARY_PATH" and export VK_ICD_FILENAMES="/usr/lib/wineland/vulkan/icd.d/intel_icd.i686.json:/usr/lib/wineland/vulkan/icd.d/radeon_icd.i686.json" when running 32-bit wine apps outside of the wineland launcher
  • If a game is not starting, or there is no keyboard/mouse focus, try export WINE_VK_VULKAN_ONLY=1 variable and start the game to see if there are any error popups
  • Use export XCURSOR_SIZE="xx" and export XCURSOR_THEME=themename to set cursor theme and increase cursor size
  • Use export WINE_VK_HIDE_CURSOR=1 to hide cursors, when games do not hide cursors - for example when using a controller
  • Use export WINE_VK_USE_CUSTOM_CURSORS=1 to enable experimental custom game cursors. This will disable cursor size and theme
  • 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.
  • Use export WINE_VK_ALWAYS_FULLSCREEN=1 to automatically set game to fullscreen without using F11.
  • For best performance use kernel with the fsync patch, and add export WINEFSYNC=1 variable

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.

Notes

  • Some Unity games require the game folder to be executable
  • 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 innoextract
  • If a game is not starting, try wineserver -k, and start again, or click Launch again in the wineland launcher

Caveats and issues

  • No GDI apps support - though popups and simple launchers may work
  • No OpenGL

Games confirmed working

  • ABZU
  • Dirt 3
  • Subnautica
  • Rebel Galaxy
  • Endless Space (add -force-d3d11 in Exe options)
  • Age of Wonders 3
  • Stellaris
  • EU4
  • Path of Exile
  • Pathfinder Kingmaker
  • Crusader Kings 2
  • Mutant Year Zero
  • Tropico 6
  • Wasteland 2
  • Torchlight 1
  • Dungeons 3
  • Seven
  • Pillars of Eternity
  • Ziggurat 1 (add -force-d3d11 in Exe options)
  • Warframe (see #25)
  • Shogun Total War 2
  • Imperator Rome
  • The Witcher 3
  • Cyberpunk 2077 (needs vkd3d dll, see https://github.com/varmd/wine-wayland/issues/31)
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].