Title: mewnala: GLFW Error: Wayland: Platform not initialized · Issue #130 · processing/libprocessing · GitHub
Open Graph Title: mewnala: GLFW Error: Wayland: Platform not initialized · Issue #130 · processing/libprocessing
X Title: mewnala: GLFW Error: Wayland: Platform not initialized · Issue #130 · processing/libprocessing
Description: Hi, This simple sketch: # sketch.py from mewnala import run, size def setup(): size(500, 500) def draw(): pass run() Produces: mewnala-test on main [?] is 📦 v0.1.0 via 🐍 v3.12.3 took 2s ❯ uv run sketch.py 2026-04-23T10:25:50.807136Z WA...
Open Graph Description: Hi, This simple sketch: # sketch.py from mewnala import run, size def setup(): size(500, 500) def draw(): pass run() Produces: mewnala-test on main [?] is 📦 v0.1.0 via 🐍 v3.12.3 took 2s ❯ uv run ...
X Description: Hi, This simple sketch: # sketch.py from mewnala import run, size def setup(): size(500, 500) def draw(): pass run() Produces: mewnala-test on main [?] is 📦 v0.1.0 via 🐍 v3.12.3 took 2s ❯ uv run ...
Opengraph URL: https://github.com/processing/libprocessing/issues/130
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"mewnala: GLFW Error: Wayland: Platform not initialized","articleBody":"Hi,\n\nThis simple sketch:\n\n```python\n# sketch.py\nfrom mewnala import run, size\n\n\ndef setup():\n size(500, 500)\n\n\ndef draw():\n pass\n\n\nrun()\n```\n\nProduces:\n\n```\nmewnala-test on main [?] is 📦 v0.1.0 via 🐍 v3.12.3 took 2s \n❯ uv run sketch.py \n2026-04-23T10:25:50.807136Z WARN bevy_asset::io::source: Skip creating file watcher because path \"/home/joseph.henry/.local/share/uv/python/cpython-3.14.0-linux-x86_64-gnu/bin/assets\" does not exist.\n2026-04-23T10:25:50.807162Z WARN bevy_asset::io::source: AssetSourceId::Default does not have an AssetWatcher configured. Consider adding an \"assets\" directory.\n2026-04-23T10:25:50.903768Z INFO bevy_render::renderer: AdapterInfo { name: \"NVIDIA GeForce RTX 4070 Ti SUPER\", vendor: 4318, device: 9989, device_type: DiscreteGpu, device_pci_bus_id: \"0000:08:00.0\", driver: \"NVIDIA\", driver_info: \"570.211.01\", backend: Vulkan, subgroup_min_size: 32, subgroup_max_size: 32, transient_saves_memory: false }\nALSA lib dlmisc.c:339:(snd_dlobj_cache_get0) Cannot open shared library libasound_module_pcm_pipewire.so (/usr/lib64/alsa-lib/libasound_module_pcm_pipewire.so: cannot open shared object file: No such file or directory)\nALSA lib dlmisc.c:339:(snd_dlobj_cache_get0) Cannot open shared library libasound_module_pcm_jack.so (/usr/lib64/alsa-lib/libasound_module_pcm_jack.so: cannot open shared object file: No such file or directory)\nALSA lib dlmisc.c:339:(snd_dlobj_cache_get0) Cannot open shared library libasound_module_pcm_oss.so (/usr/lib64/alsa-lib/libasound_module_pcm_oss.so: cannot open shared object file: No such file or directory)\nALSA lib dlmisc.c:339:(snd_dlobj_cache_get0) Cannot open shared library libasound_module_pcm_pipewire.so (/usr/lib64/alsa-lib/libasound_module_pcm_pipewire.so: cannot open shared object file: No such file or directory)\nALSA lib dlmisc.c:339:(snd_dlobj_cache_get0) Cannot open shared library libasound_module_pcm_pulse.so (/usr/lib64/alsa-lib/libasound_module_pcm_pulse.so: cannot open shared object file: No such file or directory)\nALSA lib dlmisc.c:339:(snd_dlobj_cache_get0) Cannot open shared library libasound_module_pcm_speex.so (/usr/lib64/alsa-lib/libasound_module_pcm_speex.so: cannot open shared object file: No such file or directory)\nALSA lib dlmisc.c:339:(snd_dlobj_cache_get0) Cannot open shared library libasound_module_pcm_upmix.so (/usr/lib64/alsa-lib/libasound_module_pcm_upmix.so: cannot open shared object file: No such file or directory)\nALSA lib dlmisc.c:339:(snd_dlobj_cache_get0) Cannot open shared library libasound_module_pcm_vdownmix.so (/usr/lib64/alsa-lib/libasound_module_pcm_vdownmix.so: cannot open shared object file: No such file or directory)\nALSA lib dlmisc.c:339:(snd_dlobj_cache_get0) Cannot open shared library libasound_module_pcm_pipewire.so (/usr/lib64/alsa-lib/libasound_module_pcm_pipewire.so: cannot open shared object file: No such file or directory)\n2026-04-23T10:25:51.326032Z ERROR bevy_asset: AssetSourceId::Name(assets_directory) must be registered before `AssetPlugin` (typically added as part of `DefaultPlugins`)\n2026-04-23T10:25:51.326053Z ERROR bevy_asset: AssetSourceId::Name(sketch_directory) must be registered before `AssetPlugin` (typically added as part of `DefaultPlugins`)\n2026-04-23T10:25:51.337601Z INFO bevy_pbr::cluster: GPU clustering is supported on this device.\n2026-04-23T10:25:51.337628Z INFO bevy_render::batching::gpu_preprocessing: GPU preprocessing is fully supported on this device.\n2026-04-23T10:25:51.338169Z ERROR bevy_asset::server: Asset Source 'AssetSourceId::Name(sketch_directory)' does not exist\n\nthread '\u003cunnamed\u003e' (3181393) panicked at /root/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/glfw-0.60.0/src/lib.rs:643:5:\nGLFW Error: Wayland: Platform not initialized\nnote: run with `RUST_BACKTRACE=1` environment variable to display a backtrace\n\nthread '\u003cunnamed\u003e' (3181393) panicked at /rustc/59807616e1fa2540724bfbac14d7976d7e4a3860/library/core/src/panicking.rs:225:5:\npanic in a function that cannot unwind\nstack backtrace:\n 0: 0x74ac153e35fa - \u003c\u003cstd[e28293b1aa0f68bd]::sys::backtrace::BacktraceLock\u003e::print::DisplayBacktrace as core[c1f1a4ba060b9bfa]::fmt::Display\u003e::fmt\n 1: 0x74ac153fcd2a - core[c1f1a4ba060b9bfa]::fmt::write\n 2: 0x74ac153e90e2 - \u003cstd[e28293b1aa0f68bd]::sys::stdio::unix::Stderr as std[e28293b1aa0f68bd]::io::Write\u003e::write_fmt\n 3: 0x74ac153bfc8f - std[e28293b1aa0f68bd]::panicking::default_hook::{closure#0}\n 4: 0x74ac153d9c71 - std[e28293b1aa0f68bd]::panicking::default_hook\n 5: 0x74ac153d9f22 - std[e28293b1aa0f68bd]::panicking::panic_with_hook\n 6: 0x74ac153bfd7a - std[e28293b1aa0f68bd]::panicking::panic_handler::{closure#0}\n 7: 0x74ac153b6e99 - std[e28293b1aa0f68bd]::sys::backtrace::__rust_end_short_backtrace::\u003cstd[e28293b1aa0f68bd]::panicking::panic_handler::{closure#0}, !\u003e\n 8: 0x74ac153c0d2d - __rustc[b7974e8690430dd9]::rust_begin_unwind\n 9: 0x74ac153fd46d - core[c1f1a4ba060b9bfa]::panicking::panic_nounwind_fmt\n 10: 0x74ac153fd3eb - core[c1f1a4ba060b9bfa]::panicking::panic_nounwind\n 11: 0x74ac153fd577 - core[c1f1a4ba060b9bfa]::panicking::panic_cannot_unwind\n 12: 0x74ac11397dde - glfw::callbacks::error::callback::hb80b58d9cc0a1a3c\n 13: 0x74ac16189e99 - \u003cunknown\u003e\n 14: 0x74ac161a6fb3 - glfwGetWaylandWindow\n 15: 0x74ac11387c43 - processing_glfw::GlfwContext::create_surface::h096c75f890ac6f5f\n 16: 0x74ac1130b570 - mewnala::graphics::Graphics::new::h5851dc24be0e64e5\n 17: 0x74ac11314eb0 - mewnala::mewnala::__pyfunction_size::h66e102dad801e98c\n 18: 0x74ac11359fc2 - pyo3::impl_::trampoline::trampoline::h69b0d71d432a38db\n 19: 0x74ac1135f0b0 - pyo3::impl_::trampoline::fastcall_cfunction_with_keywords::hcadc209331cacf12\n 20: 0x1a753a8 - _TAIL_CALL_CALL.llvm.10772277920457571105\n 21: 0x1a15414 - _PyFunction_Vectorcall\n 22: 0x1a3fa46 - _PyObject_VectorcallTstate.llvm.1641162504222940260\n 23: 0x74ac11312ee6 - mewnala::mewnala::__pyfunction_run::hb82fbffbecd4a5b0\n 24: 0x74ac1135a0c9 - pyo3::impl_::trampoline::trampoline::h6bc5f6d88b52d23a\n 25: 0x74ac11360a40 - pyo3::impl_::trampoline::noargs::h76df077edcb65ff3\n 26: 0x1a753a8 - _TAIL_CALL_CALL.llvm.10772277920457571105\n 27: 0x1a80de1 - _PyEval_Vector\n 28: 0x1a80af1 - PyEval_EvalCode\n 29: 0x1ac1f22 - run_mod.llvm.9708536742669578975\n 30: 0x1c05ac7 - pyrun_file\n 31: 0x1c04ee3 - _PyRun_SimpleFileObject\n 32: 0x1c04910 - _PyRun_AnyFileObject\n 33: 0x1c048b6 - pymain_run_file_obj\n 34: 0x1c047b0 - pymain_run_file\n 35: 0x1bc6d3c - Py_RunMain\n 36: 0x1bc4ccd - pymain_main.llvm.12570717782130119092\n 37: 0x1bc4ac5 - main\n 38: 0x74ac1622a1ca - __libc_start_call_main\n at ./csu/../sysdeps/nptl/libc_start_call_main.h:58:16\n 39: 0x74ac1622a28b - __libc_start_main_impl\n at ./csu/../csu/libc-start.c:360:3\n 40: 0x1bed529 - _start\n 41: 0x0 - \u003cunknown\u003e\nthread caused non-unwinding panic. aborting.\n```\n\nOther linked issues: https://github.com/processing/libprocessing/issues/101\n\nSystem information: \n- OS: Linux Mint 22 x86_64\n- Kernel: 6.8.0-106-generic\n- Python: 3.12.3\n- GPU: NVIDIA GeForce RTX 4070 Ti SUPER","author":{"url":"https://github.com/johhnry","@type":"Person","name":"johhnry"},"datePublished":"2026-04-23T10:29:10.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":11},"url":"https://github.com/130/libprocessing/issues/130"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:bbdb6de3-7710-5c5d-13c1-82f9e271d83a |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | CE2A:38B0A0:4038E1:5B31CC:6A636D01 |
| html-safe-nonce | 5e27753a8662e528de8c80b85eb23245b2f6f94b60479c0f5cd8db9a24384714 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRTJBOjM4QjBBMDo0MDM4RTE6NUIzMUNDOjZBNjM2RDAxIiwidmlzaXRvcl9pZCI6IjM4MDkzNjcxOTI4MDg2ODA3MDUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 7ad385fec17cd8f29ba2052b1845c424b10a1937686503245f1221743fea5af7 |
| hovercard-subject-tag | issue:4315284785 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/processing/libprocessing/130/issue_layout |
| twitter:image | https://opengraph.githubassets.com/fe095a86dd225e11c1e39d60fe0be8c240c9c825691af9e8be3f89e9ac944c51/processing/libprocessing/issues/130 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/fe095a86dd225e11c1e39d60fe0be8c240c9c825691af9e8be3f89e9ac944c51/processing/libprocessing/issues/130 |
| og:image:alt | Hi, This simple sketch: # sketch.py from mewnala import run, size def setup(): size(500, 500) def draw(): pass run() Produces: mewnala-test on main [?] is 📦 v0.1.0 via 🐍 v3.12.3 took 2s ❯ uv run ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | johhnry |
| hostname | github.com |
| expected-hostname | github.com |
| None | e7b5617850fbcd6d10fe2b7c56398444bccb5f3a58a4a18c6d363971295bcd03 |
| turbo-cache-control | no-preview |
| go-import | github.com/processing/libprocessing git https://github.com/processing/libprocessing.git |
| octolytics-dimension-user_id | 1617169 |
| octolytics-dimension-user_login | processing |
| octolytics-dimension-repository_id | 1101329545 |
| octolytics-dimension-repository_nwo | processing/libprocessing |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1101329545 |
| octolytics-dimension-repository_network_root_nwo | processing/libprocessing |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | aa341b3f432dc63fa9633042725aec601722a352 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width