
My bad.. I forgot that Chugl does not
install like the other chugins and
had a left over version in ~/.chuck/lib
(which works with the older chuck.)
I copied the new chugin to /usr/local/lib and
[chuck:2:SYSTEM]: | | [chugin] ChuGL.chug [OK] (API version: 10.2)
[chuck:2:SYSTEM]: | | | version: 0.2.6 (alpha)
[chuck:2:SYSTEM]: | | | author: Andrew Zhu Aday & Ge Wang
so it looks good, but the circles.ck from examples/basic fails.
maybe I am missing some dependencies?
ΒΆ chuck circles.ck
[ChuGL]: 12:22:22 TRACE
/home/david/chuck-1.5.5.2/chugl-main/src/graphics.cpp:257:initializing
WebGPU context [ChuGL]: 12:22:22 TRACE
/home/david/chuck-1.5.5.2/chugl-main/src/graphics.cpp:282:WebGPU
instance created [ChuGL]: 12:22:22 TRACE
/home/david/chuck-1.5.5.2/chugl-main/src/graphics.cpp:287:WebGPU
surface created [ChuGL]: 12:22:22 TRACE
/home/david/chuck-1.5.5.2/chugl-main/src/graphics.cpp:295:adapter
created [ChuGL]: 12:22:22 INFO
/home/david/chuck-1.5.5.2/chugl-main/src/graphics.cpp:300:Adapter
vendor: [ChuGL]: 12:22:22 INFO
/home/david/chuck-1.5.5.2/chugl-main/src/graphics.cpp:301:Adapter
architecture: [ChuGL]: 12:22:22 INFO
/home/david/chuck-1.5.5.2/chugl-main/src/graphics.cpp:302:Adapter
device: AMD TURKS (DRM 2.50.0 / 6.12.38+deb13-amd64, LLVM 19.1.7)
[ChuGL]: 12:22:22 INFO
/home/david/chuck-1.5.5.2/chugl-main/src/graphics.cpp:303:Adapter
description: 4.5 (Core Profile) Mesa 25.0.7-2 [ChuGL]: 12:22:22 INFO
/home/david/chuck-1.5.5.2/chugl-main/src/graphics.cpp:304:Adapter
backend type: OpenGL [ChuGL]: 12:22:22 INFO
/home/david/chuck-1.5.5.2/chugl-main/src/graphics.cpp:306:Adapter type:
Unknown [ChuGL]: 12:22:22 INFO
/home/david/chuck-1.5.5.2/chugl-main/src/graphics.cpp:308:Adapter
vendor ID: 65541 [ChuGL]: 12:22:22 INFO
/home/david/chuck-1.5.5.2/chugl-main/src/graphics.cpp:309:Adapter
device ID: 0 [ChuGL]: 12:22:22 TRACE
/home/david/chuck-1.5.5.2/chugl-main/src/graphics.cpp:199:Supported
limits: [ChuGL]: 12:22:22 TRACE
/home/david/chuck-1.5.5.2/chugl-main/src/graphics.cpp:200:maxBindGroups:
8 [ChuGL]: 12:22:22 TRACE
/home/david/chuck-1.5.5.2/chugl-main/src/graphics.cpp:201:maxBindingsPerBindGroup:
65535 [ChuGL]: 12:22:22 TRACE
/home/david/chuck-1.5.5.2/chugl-main/src/graphics.cpp:202:minUniformBufferOffsetAlignment
256 [ChuGL]: 12:22:22 TRACE
/home/david/chuck-1.5.5.2/chugl-main/src/graphics.cpp:204:minStorageBufferOffsetAlignment
256 [ChuGL]: 12:22:22 TRACE
/home/david/chuck-1.5.5.2/chugl-main/src/graphics.cpp:335:required
features: 2 Could not get WebGPU device: Validation Error
Caused by:
Unsupported features were requested: Features(FLOAT32_FILTERABLE |
VERTEX_WRITABLE_STORAGE)
[ChuGL]: 12:22:22 FATAL
/home/david/chuck-1.5.5.2/chugl-main/src/app.cpp:372:Failed to
initialize graphics context
[chuck]: (VM) removing all (1) shreds...
thread '<unnamed>' panicked at src/lib.rs:2954:5:
invalid queue
note: run with `RUST_BACKTRACE=1` environment variable to display a
backtrace thread '<unnamed>' panicked at
library/core/src/panicking.rs:221:5: panic in a function that cannot
unwind stack backtrace:
0: 0x7f9fe57c8345 -
std::backtrace_rs::backtrace::libunwind::trace::h649ab3318d3445c5 at
/rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/std/src/../../backtrace/src/backtrace/libunwind.rs:116:5
1: 0x7f9fe57c8345 -
std::backtrace_rs::backtrace::trace_unsynchronized::hf4bb60c3387150c3
at
/rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
2: 0x7f9fe57c8345 -
std::sys::backtrace::_print_fmt::hd9186c800e44bd00 at
/rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/std/src/sys/backtrace.rs:65:5
3: 0x7f9fe57c8345 -
This list lives! (and fwiw I applaud the effort to minimizing one's internet footprint!)
The error suggests that your ChuGL chugin is an older version (specifically, it was built with an older chugin.h header) -- compared with your chuck host, which is on the latest release (1.5.5.2). Since you appear to be on Linux, one remedy is to re-build and re-install the ChuGL chugin on your system. FYI here is the latest ChuGL release tag (which is associated with chuck-1.5.5.2):
https://github.com/ccrma/chugl/releases/tag/v0.2.6
I hope this helps!
All the best, Ge!
~~~ Ge Wang Associate Professor Center for Computer Research in Music and Acoustics (CCRMA) Department of Music (also Computer Science, by Courtesy) Stanford University https://ccrma.stanford.edu/~ge/ ~ Senior Fellow & Faculty Associate Director, Stanford HAI ~ Artful Design: Technology in Search of the Sublime! -- what we make, makes us -- https://artful.design/ ~~~
On 9/15/25 8:52 PM, d wrote:
Maybe this list is dead ? I'd prefer not do create a discord account. I'm still (foolishly) trying to minimize my internet footprint.
Anyhow the most recent chugl chugin seems to have an problem.
Probably an easy fix.
chuck version: 1.5.5.2 (chai) Linux | 64-bit audio drivers: ALSA | JACK http://chuck.cs.princeton.edu/ http://chuck.stanford.edu/
chuck:2:SYSTEM]: | | [chugin] ChuGL.chug [FAILED] (API version: 10.1) [chuck:2:SYSTEM]: | | | reason: incompatible API version: chugin (10.1) vs. host (10.2) _______________________________________________ chuck-users mailing list -- chuck-users@lists.cs.princeton.edu To unsubscribe send an email to chuck-users-leave@lists.cs.princeton.edu
chuck-users mailing list -- chuck-users@lists.cs.princeton.edu To unsubscribe send an email to chuck-users-leave@lists.cs.princeton.edu