Vulkan Driver Broken? VK_KHR_SURFACE unsupported

Thank you for mentioning vkQuake.

I was able to successfully build it on Debian Sid with the mentioned packages and some additional ones listed here:

meson setup --reconfigure build
The Meson build system
Version: 1.0.0
Source dir: /home/davidm/vkQuake
Build dir: /home/davidm/vkQuake/build
Build type: native build
Project name: vkquake
Project version: undefined
C compiler for the host machine: cc (gcc 12.2.0 "cc (Debian 12.2.0-14) 12.2.0")
C linker for the host machine: cc ld.bfd 2.40
Host machine cpu family: riscv64
Host machine cpu: riscv64
Program glslangValidator found: YES (/usr/bin/glslangValidator)
Program spirv-opt found: YES (/usr/bin/spirv-opt)
Program spirv-remap found: YES (/usr/bin/spirv-remap)
Library m found: YES
Library dl found: YES
Dependency threads found: YES unknown (cached)
Dependency sdl2 found: YES 2.26.2 (cached)
Dependency vulkan found: YES 1.3.239 (cached)
Dependency mad found: YES 0.15.1b (cached)
Found pkg-config: /usr/bin/pkg-config (1.8.1)
Run-time dependency flac found: YES 1.4.2
Dependency ogg found: YES 1.3.5 (cached)
Dependency vorbisfile found: YES 1.3.7 (cached)
Dependency vorbis found: YES 1.3.7 (cached)
Run-time dependency opus found: YES 1.3.1
Run-time dependency opusfile found: YES 0.12
Build targets in project: 33

Found ninja-1.11.1 at /usr/bin/ninja

meson setup --wipe build
meson setup --reconfigure build
time ninja -C build

real 1m11.146s
user 4m6.225s
sys 0m12.787s

I didn’t try running the game itself yet since I don’t have an extra hdmi monitor handy.

I’ll try building TryQuake.

git clone git://disenchant.net/tyrquake
cd tyrquake
time make
Compile Options:
.        DEBUG = N
.    TARGET_OS = UNIX
.  TARGET_UNIX = linux
.  USE_X86_ASM = N
.    CD_TARGET = linux
.   SND_TARGET = pulseaudio
.   VID_TARGET = x11
.    IN_TARGET = x11

real 9m0.085s
user 8m27.869s
sys 0m29.394s

2 Likes