Novum / vkQuake

Vulkan Quake port based on QuakeSpasm
GNU General Public License v2.0
1.72k stars 214 forks source link

Skybox glitching in some maps (version 1.30.0) #663

Closed Noryokusha closed 1 year ago

Noryokusha commented 1 year ago

Some maps has the skybox appears to be glitched out like following the player's mouse input. Rolling back to version 1.22.3 seems to fix the issue

Tested on maps: qbj_rabbit7250, ad_swampy HW: RX 6750 XT driver 23.2.2 skybox_glitch_AdobeExpress

temx commented 1 year ago

This only happens on AMD cards. Not sure if related, but I get the following validation error on startup only when using the AMD driver:

Validation Error: [ VUID-VkBufferCreateInfo-usage-requiredbitmask ] Object 0: handle = 0x25116569d90, type = VK_OBJECT_TYPE_DEVICE; | MessageID = 0x7a4eee71 | vkCreateBuffer: value of pCreateInfo->usage must not be 0. The Vulkan spec states: usage must not be 0 (https://vulkan.lunarg.com/doc/view/1.3.236.0/windows/1.3-extensions/vkspec.html#VUID-VkBufferCreateInfo-usage-requiredbitmask)

Stack: Host_Init() -> VID_Init() -> R_CreatePaletteOctreeBuffers() -> R_CreatePaletteOctreeBuffers() -> vkCreateBuffer() line 4092

Novum commented 1 year ago

Okay, will fix this later today.

temx commented 1 year ago

The issue is unrelated to usage flags, it's validation clean now.

temx commented 1 year ago

@Noryokusha Can you test the build from https://github.com/Novum/vkQuake/suites/11556845572/artifacts/598366111 and confirm it fixes the issue for you?

Noryokusha commented 1 year ago

@temx yep it totally fix the issue for me. thank you