-
Notifications
You must be signed in to change notification settings - Fork 89
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Crash on macOS Sequoia #712
Comments
Hi, @TomDev234 and thanks for report! It seem one of the shaders failed to compile on your machine. Unfortunately, it's very hard to tell which one it was - so I've added extra data in error reporting, for Mac.
Hm, |
No, not compiled by myself. |
As mentioned before: unfortunately there is not enough information in crash. Basically all known so far, it that on of compute shaders, that works on M1, cannot be compiled on AMD. If you can run build from ad81669 - that will be helpful, as not shader name is part of the crash-data. Also if you still have XCode setup - it's possible to see in debugger, what been compiled as well. |
I have build OpenGothic from source. I get this error message. How to run it from Xcode? There is no Xcode project file. tom@i9-9900K Testing % ./opengothic/Gothic2Notr.sh -g Gothic\ II ---crashlog(std::system_error("/Volumes/SRC_SSD/SRC/Build/OpenGothic/shader/ssao/ssao_blur.comp": Compiler encountered an internal error: I)--- |
Hi, @TomDev234 and thanks for update
Seem to be a driver bug. I've reported this issue on apple developer forum, here: https://developer.apple.com/forums/thread/772346
Ah, sorry, I've should have mention how to generate it: |
Yeah, like I've mention before - driver bug.
and I've proveded shader source to them, so you dont have to. |
Here are the MTLCompilerService crash logs. |
Game crashes at startup.
/Volumes/WORK_HDD/Gaming/Games/Testing/OpenGothic.command ; exit;
tom@i9-9900K ~ % /Volumes/WORK_HDD/Gaming/Games/Testing/OpenGothic.command ; exit;
OpenGothic v1.0 dev
no "Gothic.ini" file in path - using default settings
---crashlog(DeviceLostException(device is lost))---
GPU: AMD Radeon RX 6900 XT
#1: __cxa_get_exception_ptr - 4 libc++abi.dylib 0x00007ff809ee9237 __cxa_get_exception_ptr + 0
#2: __cxxabiv1::failed_throw(__cxxabiv1::__cxa_exception*) - 5 libc++abi.dylib 0x00007ff809ee921c _ZN10__cxxabiv1L12failed_throwEPNS_15__cxa_exceptionE + 0
#3: Tempest::Detail::MtDevice::handleError(NS::Error*) - 6 libTempest.dylib 0x000000010f6bd357 _ZN7Tempest6Detail8MtDevice11handleErrorEPN2NS5ErrorE + 71
#4: Tempest::Detail::MtCompPipeline::MtCompPipeline(Tempest::Detail::MtDevice&, Tempest::Detail::MtPipelineLay const&, Tempest::Detail::MtShader const&) - 7 libTempest.dylib 0x000000010f663dd1 _ZN7Tempest6Detail14MtCompPipelineC2ERNS0_8MtDeviceERKNS0_13MtPipelineLayERKNS0_8MtShaderE + 609
#5: Tempest::MetalApi::createComputePipeline(Tempest::AbstractGraphicsApi::Device*, Tempest::AbstractGraphicsApi::PipelineLay const&, Tempest::AbstractGraphicsApi::Shader*) - 8 libTempest.dylib 0x000000010f66b048 _ZN7Tempest8MetalApi21createComputePipelineEPNS_19AbstractGraphicsApi6DeviceERKNS1_11PipelineLayEPNS1_6ShaderE + 56
#6: Tempest::Device::pipeline(Tempest::Shader const&) - 9 libTempest.dylib 0x000000010f68ac09 _ZN7Tempest6Device8pipelineERKNS_6ShaderE + 89
#7: Shaders::Shaders() - 10 Gothic2Notr 0x000000010d88d645 _ZN7ShadersC2Ev + 2837
#8: Renderer::Renderer(Tempest::Swapchain&) - 11 Gothic2Notr 0x000000010d8817bd _ZN8RendererC2ERN7Tempest9SwapchainE + 1437
#9: MainWindow::MainWindow(Tempest::Device&) - 12 Gothic2Notr 0x000000010d8a413a _ZN10MainWindowC2ERN7Tempest6DeviceE + 154
#10: main - 13 Gothic2Notr 0x000000010d8a38fb main + 555
zsh: abort /Volumes/WORK_HDD/Gaming/Games/Testing/OpenGothic.command
Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.
The text was updated successfully, but these errors were encountered: