Closed AT14C closed 1 year ago
Are you using the integrated Intel GPU or the Nvidia one? Do you have the correct drivers installed?
Could you please try with vk_validation = 2? It should show memory regions, I suppose that code has not found required region of memory.
Update: vk_validation is renamed to r_validatuon in master branch.
Are you using the integrated Intel GPU or the Nvidia one? Do you have the correct drivers installed?
Nvidia gpu, and I am using the official driver
Could you please try with vk_validation = 2? It should show memory regions, I suppose that code has not found required region of memory.
Update: vk_validation is renamed to r_validatuon in master branch.
I tried it (via quake2 +r_validation 2
), but the debug output doesn't seem to be much more verbose
Also here's a log from me running the older stable release with +vk_validation 2
if it helps
log.txt
There's nothing especially helpful here. Please attach a full log with the new (failing) ref_vk and the output of vulkaninfo
. Also it would be useful if we added more logging. We should log all memory heap info, on failing allocation we should log information (especially size) about the allocation and we should have a cvar for logging all allocation info always.
Could you please try with validation_force branch? https://github.com/yquake2/ref_vk/commit/6cead718c1bd74d7574fd06b2e19443437fa4eca should provide more information what is going wrong.
Could you please try with https://github.com/yquake2/ref_vk/tree/validation_old and https://github.com/yquake2/ref_vk/tree/validation_force? Are both working? Which of branch produces better fps with?
r_validation 0
timedemo 1
demomap demo1.dm2
Both work, but there is an obvious performance difference. For validation_force
the demo runs slightly faster than normal speed, taking a total of 29.3 seconds to complete, while validation_old
finishes in 0.8 seconds. Both builds were compiled with debug flags though, so they could possibly run faster, but I'd imagine the large difference between the two would still be the same.
Here's the stats:
validation_force: 689 frames, 29.3 seconds: 23.5 fps
validation_old: 689 frames, 0.8 seconds: 836.2 fps
Could you please check, and reopen bug if issue is still exists?
Ok I tried the fork you made and it works perfectly fine and runs great too, I think you fixed it :+1:
Thank you, I have created v1.0.3 tag.
OS: Arch Linux x86_64 Kernel: 6.0.5-x64v2-xanmod1-1 CPU: Intel i7-10750H (12) @ 5.000GHz GPU: NVIDIA GeForce RTX 2060 Mobile
Building and using the latest commit of this repo results in a segfault before even properly launching the game on my machine. However, whenever I build and use release 1.02 from June 13th it works just fine.