Open CliveRosfield opened 2 years ago
Did you find a solution? I am about to try the same on My Mac Pro M1 as well.
No I never figured it out. If it works for you let me know. I'm running Ventura though, so that alone could be the problem im having.
Try with r_fullscreen 0
I'm getting this same error, although slightly different output.
Here's what it looks like with r_fullscreen 0
and r_modeFullscreen "-2"
. Here's my q3config.cfg file:
q3config.cfg.zip
-> % ./quake3e
Q3 1.32e macos-aarch64 Sep 21 2022
----- FS_Startup -----
...found 134 cached paks
...loaded in 8 milliseconds
----------------------
21890 files in 140 pk3 files
execing default.cfg
execing q3config.cfg
couldn't exec autoexec.cfg
Hunk_Clear: reset the hunk ok
...detecting CPU, found ARM aarch64
----- Client Initialization -----
----- Client Initialization Complete -----
----- Initializing Renderer ----
-------------------------------
----- R_Init -----
SDL using driver "cocoa"
Initializing Vulkan display
...setting mode 10: 2048 1536
Couldn't get a visual
...WARNING: could not set the given mode (10)
Setting r_mode 10 failed, falling back on r_mode 3
Initializing Vulkan display
...setting mode 3: 640 480
Couldn't get a visual
...WARNING: could not set the given mode (3)
----- Client Shutdown (Server fatal crashed: VKimp_Init() - could not load Vulkan subsystem) -----
RE_Shutdown( 3 )
-----------------------
Sys_Error: VKimp_Init() - could not load Vulkan subsystem
EDIT: oh and I built the binary with: make USE_VULKAN=1 RENDERER_DEFAULT=vulkan USE_RENDERER_DLOPEN=0 -j 8
The good news is the opengl renderer still works (although not opengl2).
After getting the error "VKimp_Init() - could not load Vulkan subsystem" and using the start parameter "+set fs_debug 1" it showed me an error about the missing file "vulkan-1.dll". Downloading the runtime component for Vulkan solved the problem and Quake3e runs now with the Vulkan renderer (set cl_renderer "vulkan").
export DYLD_LIBRARY_PATH=`brew --prefix molten-vk`/lib
export DYLD_LIBRARY_PATH=`brew --prefix molten-vk`/lib
Thanks @ph1lm!! That worked!!
I've tried for days now and keep getting this error when launching quake3e with Vulkan. I'm not sure what the issue is as I've tried to install Molten-vk with home-brew and Vulkan sdk, I've tried version 3.216.0 as well as 3.224.1. As for more information, I had also installed SDL2 first without home-brew and got the error about sdl.h when attempting to build with make, so I fixed that by editing the make file and putting "BASE_CFLAGS += -I/opt/homebrew/include/SDL2 -D_THREAD_SAFE" and "CLIENT_LDFLAGS = -F/Library/Frameworks -L/opt/homebrew/lib -lSDL2"..... anyways I don't know a lot about this kind of stuff. I managed to get the OpenGL version to work but I'd prefer the Vulkan one if someone could please help. Sorry if this is messy im not very experienced with this, I just wanna play this awesome quake 3 port on my M1 PRO.......edit: Also I wanted say I ran make using commands mentioned by tomgreen66 inside issue #176 that should've fixed the problem with the recent changes of Vulkan 3.216.0, but I still get the same error about not loading Vulcan subsystem when running the created binaries.