Replies: 3 comments 8 replies
|
@SideFx Thanks for trying gogpu on Windows ARM64! Root causeThis is a goffi limitation — the ARM64 FFI calling convention is currently implemented only for Unix (Linux/macOS). The ARM64 on Linux and macOS should work — the calling convention (AAPCS64) is fully implemented there. Windows ARM64 statusWindows ARM64 uses a different calling convention than Unix ARM64 (different register usage, stack alignment rules). We haven't implemented For now, gogpu works on:
What hardware are you on?Is this a Snapdragon X laptop (Surface Pro, Lenovo, etc.)? Curious about the Windows ARM64 use case — it's growing fast and we want to support it eventually. Could you open an issue at go-webgpu/goffi for Windows ARM64 support? That's where the FFI calling convention lives. In the meantime, if you have an x86-64 machine available, gogpu works there fully. |
|
@cdlus I can confirm that the gles renderer works on Adreno GPU. @kolkov I always wondered why we need a Windows manifest in any Go UI or wxWidgets (C++) to set the DPI awareness and in Qt6 (C++) apps we don't. Never questioned that, took it as "Microsoft given". Just asked Copilot and received an interesting answer, quote:
Without this, Windows treated the process as DPI‑unaware and applied bitmap scaling, resulting in blurry UI.
So, I wonder if it would be possible to include the DPI awareness into your API (see above call SetProcessDpiAwarenessContext)? This would require the mouse offset issue been resolved beforehand, of course. |
|
You guys rock :) |
Uh oh!
There was an error while loading. Please reload this page.
Hi,
I'm receiving the following error message when running the examples (tried "hello" and "gallery" so far):
janbu@constellation CLANGARM64 ~/git/ui/examples/hello
$ go run .
github.com/go-webgpu/goffi/internal/arch/arm64
C:\Users\janbu\go\pkg\mod\github.com\go-webgpu\goffi@v0.4.2\internal\arch\arm64\implementation.go:16:16: cannot use &Implementation{} (value of type *Implementation) as arch.FunctionCaller value in argument to arch.Register: *Implementation does not implement arch.FunctionCaller (missing method Execute)
Any suggestions?
Best,
Jan
All reactions