You can sign up to get a daily email of our articles, see the Mailing List page!

Fancy playing Quake with the Vulkan API? Now you can

Posted by , | Views: 16,082

I'm a little late on reporting this due to being ill, but Quake has been ported to Vulkan and it's open source of course.

Thanks to "sub" for sending it in 4 days ago, but I just haven't had time to cover it until now.

It was done by Axel Gneiting who actually works for id Software as an Engine Programmer, which is pretty cool:

My Vulkan Quake 1 Port running "In the Shadows" mod. Some stuff still missing. Code is here https://t.co/FDJtk2QNOz pic.twitter.com/SIcWroQOwr

— Axel Gneiting (@axelgneiting) July 21, 2016


He didn't actually do the work to get it on Linux, he stated in another tweet a friend did that for him.

You can find the source code on github here.

Article taken from GamingOnLinux.com.
0 Likes
We do often include affiliate links to earn us some pennies. We are currently affiliated with GOG, Humble Store and Paradox Interactive. See more information here.
The comments on this article are closed.
25 comments
Page: 1/3»
  Go to:

Sslaxx 25 July 2016 at 7:03 pm UTC
People at id still use Linux post-Carmack, huh? Hmmm. Not that it means much, but it is interesting to note.
liamdawe 25 July 2016 at 7:13 pm UTC
SslaxxPeople at id still use Linux post-Carmack, huh? Hmmm. Not that it means much, but it is interesting to note.
Well, no. As pointed out, he didn't do the Linux side of it.
tuubi 25 July 2016 at 7:28 pm UTC
View PC info
  • Supporter
SslaxxPeople at id still use Linux post-Carmack, huh? Hmmm. Not that it means much, but it is interesting to note.
The article states "a friend did that for him." Gneiting did the Vulkan part. The Linux friend could be this gentleman if the github changelog is anything to go by.


Last edited by tuubi at 25 July 2016 at 7:30 pm UTC
Cheogh 25 July 2016 at 7:56 pm UTC
Can someone explain how to get this running?
t3g 25 July 2016 at 8:36 pm UTC
I'd love for someone to get this up and running, packaged, and put up on something like http://www.playdeb.net
Kristian 25 July 2016 at 9:22 pm UTC
So anyone know which source files are supposed to have the Vulkan bits?
sub 25 July 2016 at 9:31 pm UTC
KristianSo anyone know which source files are supposed to have the Vulkan bits?
Vulkan API naming convention for functions is a "vk" prefix followed by a capital letter.

All source files containing at least one matching function can be listed with

grep -r "vk[A-Z]+*" * | sed -nre "s@(^.*):.*@\1@p" | uniq


Last edited by sub at 25 July 2016 at 9:39 pm UTC
sub 25 July 2016 at 10:04 pm UTC
I can only test it on my Haswell notebook, but it seems the warning
QuoteVulkan Initialization
WARNING: Haswell Vulkan support is incomplete
should be taken seriously.
At least it quits with
QuoteQUAKE ERROR: Couldn't create Vulkan device
Kithop 25 July 2016 at 11:02 pm UTC
I managed to get it working on my system, with the nvidia-367 drivers (that break NVENC in OBS, sadly), but I can't, for the life of me, get Vsync to disable so I can benchmark it. :p

If you adjust any of the video settings in-game and try to save it, it segfaults, but you *can* get it to pick up the normal quakespasm command line options for e.g. setting your window size.

Oh, and forcing fullscreen also segfaults.

No combination of 'vid_vsync 0' in various config files including autoexec.cfg, or even as '+vid_vsync 0' on the command line gets it to stop capping itself.

It does run, though, if you specify -width and -height.

After you've checked it out from git, check out the Quake/Makefile and look at the different options. Assume for every 'USE_THIS_THING' that you want to set to '1', you need to look for the 'libthing' and 'libthing-dev' (or your distro's equivalents) and be sure they're installed as dependencies first. If you try to compile it then and it complains about a missing header file, that's probably the thing-dev you need.

If anyone cracks how to disable vsync properly for benchmarking though, let me know. :/
ProfessorKaos64 25 July 2016 at 11:05 pm UTC
Totally making a package out of this for SteamOS. drool
  Go to:
While you're here, please consider supporting GamingOnLinux on Patreon, Liberapay or Paypal. We have no adverts, no paywalls, no timed exclusive articles. Just good, fresh content. Without your continued support, we simply could not continue!

You can find even more ways to support us on this dedicated page any time. If you already are, thank you!
Livestreams & Videos
Community Livestreams
See more!
Popular this week
View by Category
Contact
Latest Comments
Latest Forum Posts