Try / OpenGothic

Reimplementation of Gothic 2 Notr
MIT License
1.14k stars 80 forks source link

Intel Arc crash #426

Closed Nebulavenus closed 1 year ago

Nebulavenus commented 1 year ago

Intel Arc A750 crashes right after the game loading screen and intro movie. It works alright in game menu. Tested both on the old and the newest version of gothic. After searching a bit on the web, some point to freeing descriptor pool after descriptor layout was already freed. Some about incorrect descriptor layout, like image_count = 0 (I don't remember exactly). This may be correct, because I think intel vulkan drivers are stricter, newer and immature. Intel Arc Drivers are 4146. Windows 10.

log-1891.txt crash-1891.log crash-1527.log log-1527.txt

Try commented 1 year ago

Hi, @Nebulavenus , thanks for report!

By look of crash, in both cases it's bindless set, so disabling(-rt 0) ray-tracing can be a temporarily solution.

Some about incorrect descriptor layout, like image_count = 0

If, you have VulkanSDK with layers on you machine, run with validation is very welcome. -v - enables Vulkan validation and will log vulkan errors in .log file

Nebulavenus commented 1 year ago

Disabling ray tracing did the trick! Framerate was stable and high, game is playable. I did also install LunarG Vulkan SDK and tried to run it with -rt 1 and -v. It still crashes and has no clear visible errors in the logs. The -rt 0 mode works, and there are also no visible errors of vulkan validation layers. The other versions behave same. I was using prebuilt versions from CI.

log1966-rt_0.txt log1966.txt crash_1966.log

Try commented 1 year ago

I've posted issue on Intel forum: https://community.intel.com/t5/Intel-ARC-Graphics/IntelARC-OpenGothic-Vulkan-driver-crash/m-p/1464708#M2280

Looking forward for their response

Nebulavenus commented 1 year ago

I followed the thread and created a report using ssu at their request. If you have time, please post this on the Intel forum. report (1).txt

Try commented 1 year ago

@Nebulavenus From Intel forum:

The latest version available at the moment is 19045. Could you advise the affected person to install all the necessary Windows Updates on their system?

Also please don;t hesitate to jump directly to conversation there)

Nebulavenus commented 1 year ago

I followed all advices, updated windows to latest, reinstalled drivers. Still crashing. The issue can be closed. I will test -rt with newer drivers from time to time. I also tried to test -dx12 with raytracing enabled, but it was still launching vulkan and crashing.

Try commented 1 year ago

I've reworked how bindless with on this week, you can check it out, if you have time: 9f24ca2d