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 -
<std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as
core::fmt::Display>::fmt::h1b9dad2a88e955ff at
/rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/std/src/sys/backtrace.rs:40:26
4: 0x7f9fe58152fb - core::fmt::rt::Argument::fmt::h351a7824f737a6a0
at
/rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/core/src/fmt/rt.rs:173:76
5: 0x7f9fe58152fb - core::fmt::write::h4b5a1270214bc4a7 at
/rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/core/src/fmt/mod.rs:1182:21
6: 0x7f9fe57bd7df - std::io::Write::write_fmt::hd04af345a50c312d at
/rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/std/src/io/mod.rs:1827:15
7: 0x7f9fe57cab31 -
std::sys::backtrace::BacktraceLock::print::h68d41b51481bce5c at
/rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/std/src/sys/backtrace.rs:43:9
8: 0x7f9fe57cab31 -
std::panicking::default_hook::{{closure}}::h96ab15e9936be7ed at
/rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/std/src/panicking.rs:269:22
9: 0x7f9fe57ca80c - std::panicking::default_hook::h3cacb9c27561ad33
at
/rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/std/src/panicking.rs:296:9
10: 0x7f9fe57cb251 -
std::panicking::rust_panic_with_hook::hfe205f6954b2c97b at
/rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/std/src/panicking.rs:800:13
11: 0x7f9fe57cb083 -
std::panicking::begin_panic_handler::{{closure}}::h6cb44b3a50f28c44 at
/rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/std/src/panicking.rs:667:13
12: 0x7f9fe57c8809 -
std::sys::backtrace::__rust_end_short_backtrace::hf1c1f2a92799bb0e at
/rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/std/src/sys/backtrace.rs:168:18
13: 0x7f9fe57cad44 - rust_begin_unwind at
/rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/std/src/panicking.rs:665:5
14: 0x7f9fe50c20c5 -
core::panicking::panic_nounwind_fmt::runtime::h907a0444fa61a6dc at
/rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/core/src/panicking.rs:112:18
15: 0x7f9fe50c20c5 -
core::panicking::panic_nounwind_fmt::h4c4dc67d0bbc166c at
/rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/core/src/panicking.rs:122:5
16: 0x7f9fe50c2152 -
core::panicking::panic_nounwind::hb98133c151c787e4 at
/rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/core/src/panicking.rs:221:5
17: 0x7f9fe50c2376 -
core::panicking::panic_cannot_unwind::he9511e6e72319a3e at
/rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/core/src/panicking.rs:309:5
18: 0x7f9fe5357b78 - wgpuQueueRelease 19: 0x7f9fe50c4b6b -
_ZN15GraphicsContext7releaseEPS_ 20: 0x7f9fe518ed50 -
_ZN3App3endEPS_ 21: 0x7f9fe5168f0d - _Z20chugl_main_loop_hookPv 22:
0x5608a99029bf - _Z2goiPPKc 23: 0x5608a98f6269 - main 24:
0x7f9fedcb4ca8 - <unknown> 25: 0x7f9fedcb4d65 - __libc_start_main
26: 0x5608a98f6c11 - _start 27: 0x0 - <unknown>
thread caused non-unwinding panic. aborting.
On Mon, 15 Sep 2025 22:17:09 -0700
Ge Wang <[email protected]> wrote:
> 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 -- [email protected]
> > To unsubscribe send an email to
> > [email protected]
> _______________________________________________
> chuck-users mailing list -- [email protected]
> To unsubscribe send an email to
> [email protected]
_______________________________________________
chuck-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]