Skip to content
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

[bug]Mac最新系统15.0报错mvk-error| VK_ERROR_INVALID_SHADER_NV #5722

Open
Baiyuetribe opened this issue Oct 6, 2024 · 0 comments
Open

Comments

@Baiyuetribe
Copy link
Contributor

Baiyuetribe commented Oct 6, 2024

error log

2870d965b84fc7ca7109e09afd7f7bac

[mvk-error] VK_ERROR_INVALID_SHADER_NV: Compute shader function could not be compiled into pipeline. See previous logged error.
vkCreateComputePipelines failed -1000012000
该问题会导致程序崩溃闪退

运行环境

  • latest(ncnn、vk驱动都是最新的)

复现步骤

普通ncnn程序,调用vk时,开发及运行均正常,但当可执行文件封装在xxx.app里,就会报错
具体步骤:比如有个二进制demo文件,复制到demo.app的Conetnt/MacOS文件夹里。
或者将现成的vkpeek丢到对应的目录里,结果也一样[即独立运行正常、丢到封装目录里再运行就会报错]。
image

more

该问题仅出现在最新升级后的macos15.0上,当xxx.app包含中文时,就会异常,但也有正常的。以vkpeek为例,比如存放在中文.appConetnt/MacOS目录下,就会报错。看起来,mac15.0最新版的app文件名对中文不是全量支持,临时解决方案,换英文名或尝试其他中文字符。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant