cogentcore / core

A free and open source framework for building powerful, fast, and elegant 2D and 3D apps that run on macOS, Windows, Linux, iOS, Android, and the Web with a single pure Go codebase, allowing you to Code Once, Run Everywhere.
http://cogentcore.org/core
BSD 3-Clause "New" or "Revised" License
1.31k stars 71 forks source link

Problem with vgpu when installing GoGi and building widgets #481

Closed StephenJRead closed 6 months ago

StephenJRead commented 1 year ago

Just tried to install gogi and build widgets. Latest version of macOS BigSur and go1.19. Got the following error.

github.com/goki/gi/gimain github.com/goki/gi/examples/widgets reads-Mac-mini:widgets read$ ./widgets panic: vulkan error: vulkan error: incompatible driver (-9) on /Users/read/go/pkg/mod/github.com/goki/vgpu@v1.0.5/vgpu/errors.go:23 (0x459d1be) NewError: pc, , , ok := runtime.Caller(0)

goroutine 1 [running, locked to thread]: github.com/goki/vgpu/vgpu.IfPanic(...) /Users/read/go/pkg/mod/github.com/goki/vgpu@v1.0.5/vgpu/errors.go:40 github.com/goki/vgpu/vgpu.(GPU).Config(0xc00043b000, {0x4e12151?, 0x4e42ef3?}) /Users/read/go/pkg/mod/github.com/goki/vgpu@v1.0.5/vgpu/gpu.go:172 +0xbb5 github.com/goki/gi/oswin/driver/vkos.(appImpl).initVk(0x5f0db80) /Users/read/go/gi/oswin/driver/vkos/app.go:195 +0x22a github.com/goki/gi/oswin/driver/vkos.Main(0x4bba0a0?) /Users/read/go/gi/oswin/driver/vkos/app.go:74 +0x45 github.com/goki/gi/oswin/driver.driverMain(...) /Users/read/go/gi/oswin/driver/driver_vkos.go:18 github.com/goki/gi/oswin/driver.Main(...) /Users/read/go/gi/oswin/driver/driver.go:27 github.com/goki/gi/gimain.Main(0x4efe160?) /Users/read/go/gi/gimain/gimain.go:31 +0x57 main.main() /Users/read/go/gi/examples/widgets/widgets.go:24 +0x25 reads-Mac-mini:widgets read$

rcoreilly commented 1 year ago

did you do this new step:

As of June 2022, the new Vulkan-based version 1.3.0+ requires the vulkan sdk to be installed: https://vulkan.lunarg.com/sdk/home

from the install wiki?

rcoreilly commented 1 year ago

I just tried the latest 1.3.216.0 version and it seems to fail entirely -- I don't even get as far as you! I didn't uninstall the previous one so perhaps that was my error. In any case, use the previous 1.3.211.0 version for now!

StephenJRead commented 1 year ago

Okay thanks. I did do the vulkan step with the latest version of vulkan. Will try previous version

Sent from my iPhone

On Aug 19, 2022, at 11:52 PM, rcoreilly @.***> wrote:



I just tried the latest 1.3.216.0 version and it seems to fail entirely -- I don't even get as far as you! I didn't uninstall the previous one so perhaps that was my error. In any case, use the previous 1.3.211.0 version for now!

— Reply to this email directly, view it on GitHubhttps://urldefense.com/v3/__https://github.com/goki/gi/issues/481*issuecomment-1221245858__;Iw!!LIr3w8kk_Xxm!piyr2MbBRRK8fH3kOGtEFHFVIlbMborf0ThYpP0S6UvpV8YlPke0wBARWyMDoOxPyFFXFGhzYZAw-P5VvLjy$, or unsubscribehttps://urldefense.com/v3/__https://github.com/notifications/unsubscribe-auth/AFASMS6MDT6S7XSNUPXZ2XLV2B6ELANCNFSM57CSIQUA__;!!LIr3w8kk_Xxm!piyr2MbBRRK8fH3kOGtEFHFVIlbMborf0ThYpP0S6UvpV8YlPke0wBARWyMDoOxPyFFXFGhzYZAw-Ofv8BT7$. You are receiving this because you authored the thread.Message ID: @.***>

StephenJRead commented 1 year ago

I just installed the April version and reinstalled goki, just to be safe and widgets now builds and runs fine. Later tonight I will move onto installing emergent.

Stephen J. Read, Mendel B. Silberberg Professor of Social Psychology 3620 McClintock Ave, 821 SGM University of Southern California Los Angeles, CA 90089-1061 @.**@.>

On Aug 19, 2022, at 11:52 PM, rcoreilly @.**@.>> wrote:

I just tried the latest 1.3.216.0 version and it seems to fail entirely -- I don't even get as far as you! I didn't uninstall the previous one so perhaps that was my error. In any case, use the previous 1.3.211.0 version for now!

— Reply to this email directly, view it on GitHubhttps://urldefense.com/v3/__https://github.com/goki/gi/issues/481*issuecomment-1221245858__;Iw!!LIr3w8kk_Xxm!piyr2MbBRRK8fH3kOGtEFHFVIlbMborf0ThYpP0S6UvpV8YlPke0wBARWyMDoOxPyFFXFGhzYZAw-P5VvLjy$, or unsubscribehttps://urldefense.com/v3/__https://github.com/notifications/unsubscribe-auth/AFASMS6MDT6S7XSNUPXZ2XLV2B6ELANCNFSM57CSIQUA__;!!LIr3w8kk_Xxm!piyr2MbBRRK8fH3kOGtEFHFVIlbMborf0ThYpP0S6UvpV8YlPke0wBARWyMDoOxPyFFXFGhzYZAw-Ofv8BT7$. You are receiving this because you authored the thread.Message ID: @.***>

rcoreilly commented 6 months ago

looks like this is fixed.