Games – Vulkan OpenSource

Free and open source efforts for games without Wayland support running through XWayland on Vulkan are documented here. For more information about toolkit’s with proper Wayland support and how to remove legacy ones running on XWayland only, read Wayland.

XWayland (X11)

GZDoom

GZDoom (license GPLv3, https://zdoom.org, https://github.com/coelckers/gzdoom/tree/vulkan2) is based on the open source release of the Doom 1 engine and it has been enhanced with Linux and Vulkan support (since Version 4.0). Another engine for Doom is Doomsday (withouth Vulkan). It supports as well all the other idTech 1 game engine games like:

  • Doom 1 + 2
  • Heretic
  • Hexen
  • Strife
  • Chex Quest
  • and fan-created games like Harmony and Hacx.
yay gzdoom

Luxtorpeda can use GZDoom automatically in Steam Play, only Vulkan doesn’t work yet automatically.

To manually setup GZDoom and play with Vulkan enabled, run:

gzdoom +vid_backend 0

Doom 1 + 2

You can buy DRM free copies:

If after the installation GZDoom doesn’t find you game .wad files automatically, you can add the path to the file like this:

$ nano .config/gzdoom/gzdoom.ini
...[IWADSearch.Directories]
...Path=/home/USERNAME/.wine/drive_c/GOG Games/DOOM/
...

If you add multiple folders, GZDoom will automatically create a game selection menu.

Herectic

Hexen

Chex Quest 1 + 2 + 3

Chex Quest is available to downlaod from the official website https://www.chexmix.com/chexquest.

Helium Rain

Helium Rain (64bit) is an Early Access game on Steam (https://store.steampowered.com/app/681330/Helium_Rain). The developers released the source code of Helium Rain (license BSD, https://github.com/arbonagw/HeliumRain) of their own engine,it requires the Unreal Engine and the content to build.

Helium Rain supports Vulkan (2018-01-26). To run the game on Vulkan you need to add -vulkan to the launch options in Steam. The beta channel is not available anymore.

The game doesn’t work on Wayland (bug) only through XWayland.

Command & Conqueror: Generals – openSAGE

OpenSAGE (license LGPLv3, https://github.com/OpenSAGE) is a free and open source re-implementation of the SAGE game engine. This will allow you to play Command & Conquer: Generals and Zero Hour, but support could be extended to other RTS titles from EA Pacific. Linux support has been added and Vulkan support is already work in progress (https://github.com/OpenSAGE/OpenSAGE/releases/tag/v0.2.0). If it works natively on Wayland or only through XWayland has to be seen.

vkOpenArena

vkOpenArena (license GPLv2+, https://github.com/suijingfeng/vkOpenArena) provides Vulkan support since March 2019.

vkQuake

vkQuake (https://github.com/Novum/vkQuake) is a Vulkan port of the Quake game licensed under GPLv2. Installation on Arch Linux:

yay vkquake

So far I had no luck in running vkQuake directly via Wayland, even with the start parameter -platform wayland or with the prefix SDL_VIDEODRIVER=wayland. vkQuake runs only through XWayland.

Luxtorpeda can use vkQuake automatically in Steam Play.

Quake

If you want to do the setup manually, do the following:

  • Extract the following files into the folder .vkquake/id1/
  • pak0.pak: contains episode 1 (shareware, gratis). Episode 1 is available as a shareware version for testing, if you don’t own the game. You can download it from https://bit.ly/2aDMSiz.
  • pak1.pak: contains episodes 2-4 (you can buy it e.g. on GOG https://www.gog.com/game/quake_the_offering, the version on GOG is provided with the original soundtrack files, not like the steam version)

If you have downloaded the shareware version extract the archive. Now you need a tool like 7-zip to extract the file resource.1, in the terminal you can do this with this command:

7z e resource.1

If you have copied the file PAK0.PAK to the .vkquake/id1/ folder, rename it on Linux to pak0.pak as Linux is case-sensitive and otherwise it won’t find the file. If you have the PAK1.PAK file, do the same for this one.

If you have Quake version with the soundtrack copy them to the folder .vkquake/id1/music/.

Now you should be able to run the game, if it doesn’t try to run it from the terminal to see the error messages.

vkQuake2

Quake 2

vkQuake2 (license GPLv2, https://github.com/kondrak/vkQuake2) added Vulkan support for the Quake 2 engine. The Linux version is available since mid January 2019.

Installation on Arch Linux:

yay vkquake2

Before running the game you need to copy some files to the game directory (you may need to install the GOG version first with Wine):

sudo mv Quake\ II/* /opt/vkquake2/baseq2/

Then the game did run on Vulkan, at least in multiplayer mode. The normal game did freeze.

vkQuake3

Quake 3

vkQuake3 (license GPLv2, https://github.com/suijingfeng/vkQuake3) added a Vulkan backend based on the Qauke III Arena Kenny Edition.

Quake III Arena Kenny Edition

In the Quake III Arena Kenny Edition Vulkan support has been added as well, read https://github.com/kennyalive/Quake-III-Arena-Kenny-Edition/releases/tag/v1.1. But it is not available for Linux at the moment.

RBDoom-3-BFG

Doom 3

The source code of vkDoom3 (GPLv3), a Doom 3 Vulkan port, has been released and you can follow the  project here https://github.com/DustinHLand/vkDOOM3. The RBDOOM-3-BFG project can be followed here https://github.com/RobertBeckebans/RBDOOM-3-BFG and they plan to pull the Vulkan code as well and by this it will support Linux (64 bit). The bug for Vulkan is open since some time without any response https://github.com/RobertBeckebans/RBDOOM-3-BFG/issues/398, but beginning of October 2018 some merge activity started. RBDoom3-BFG doesn’t support Wayland (bug) and it runs through XWayland.

To install RBDoom3-BFG run the following command (use the git version so that as soon as there is Vulkan support you can start testing):

yay rbdoom3-bfg-git

To play the game you need to do the following:

  1. Create a link to the install folder with the name .rbdoom3bfg in your home directory (you can install Doom 3:BFG Edition e.g. via Wine)
  2. If you use a copy of GOG, open the default.cfg file in the base directory of the game and add at the end the line “seta sys_lang "english". Otherwise the game starts in Japanese.

Warzone 2100

Some independent developers are porting the game Warzone 2100 game (released 1999, open sourced later, https://wz2100.net, https://github.com/Warzone2100/warzone2100) to Vulkan, read https://www.phoronix.com/scan.php?page=news_item&px=Warzone-2100-Vulkan. The OpenGL version of Warzone 2100 is available for Linux, the Vulkan port is currently not provided for Linux but it will be developed soon, read http://forums.wz2100.net/viewtopic.php?f=32&t=13651. The video files are available here https://sourceforge.net/projects/warzone2100/files/warzone2100/Videos/.

X-Men: The Ravages of Apocalypse

X-Men: The Ravages of Apocalypse can be downloaded from the official website http://www.zerogravity.com.au/xmen (without original soundtrack) and it runs with vkQuake on Vulkan.

Unreal Engine (98)

Vulkan-drv (license ???, https://github.com/kosumosu/vulkan-drv) is a Vulkan renderer in an early stage for the original Unreal Engine (98).

Vulkan Games Proprietary

The non open source games can be found here Vulkan Proprietary Games.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.