cschied / q2vkpt

Real-time path tracer VKPT integrated into q2pro Quake 2 client.
http://brechpunkt.de/q2vkpt
GNU General Public License v2.0
946 stars 76 forks source link

Issues launching new game from menu / vkDebug issue #29

Open helpycoptor opened 5 years ago

helpycoptor commented 5 years ago

Please forgive me if these issues have already been addressed:

  1. When attempting to start a new game from the GAME menu, the game itself won't actually launch no matter which difficulty is clicked on.

  2. If I attempt to launch a new game via the console, I receive the following message: warning: could not load function vkDebugMarkerSetObjectNameEXT

I'm running the latest Nvidia drivers and the most recent Vulkan Runtime libraries (1.1.97.0), and my technical knowledge on this kind of issue is falling way short. Any ideas what might be going on here?

Thanks!

Mcilie commented 5 years ago

just a question, how would you launch the game in the console. The .menu file doesnt work for me so running the game just puts me directly into the console.

cschied commented 5 years ago

Are you using the demo version or the full version?

You can launch a game using the "newgame" cmd.

zachasme commented 5 years ago

I am encountering the same issue.

EDIT: Nevermind, see next comment.

I think it might be necessary to call extension functions through a function pointer cf. these examples.

PFN_vkDebugMarkerSetObjectNameEXT pfnDebugMarkerSetObjectNameEXT = (PFN_vkDebugMarkerSetObjectNameEXT)vkGetDeviceProcAddr(device, "vkDebugMarkerSetObjectNameEXT");
zachasme commented 5 years ago

Nevermind that, it was simply a warning, I managed to build it on Arch (see this PKGBUILD).

The actual error was from incorrect paths and not being able to find the necessary files.