sandydoo / flux

An open-source tribute to the macOS Drift screensaver
https://flux.sandydoo.me/
MIT License
759 stars 38 forks source link

Build fails and run crashes on NixOS Wayland #24

Open robbins opened 4 months ago

robbins commented 4 months ago

After running nix build github:sandydoo/flux the build fails with the following error:

warning: The interpretation of store paths arguments ending in `.drv` recently changed. If this command is now failing try again with '/nix/store/7jc6sl4fv89mc86prv0hcl7jflf8wxnh-flux-web-4.7.0.drv^*'
@nix { "action": "setPhase", "phase": "unpackPhase" }
unpacking sources
unpacking source archive /nix/store/ava838216fich57vw2isaimx7habg4rs-web
source root is web
@nix { "action": "setPhase", "phase": "patchPhase" }
patching sources
@nix { "action": "setPhase", "phase": "updateAutotoolsGnuConfigScriptsPhase" }
updateAutotoolsGnuConfigScriptsPhase
@nix { "action": "setPhase", "phase": "configurePhase" }
configuring
@nix { "action": "setPhase", "phase": "buildPhase" }
building
no Makefile or custom buildPhase, doing nothing
@nix { "action": "setPhase", "phase": "installPhase" }
installing
{
  WEBPACK_BUNDLE: true,
  WEBPACK_BUILD: true,
  'skip-wasm-pack': true,
  'path-to-elm': '/nix/store/8rlasrnb8qxy8lflskjqnrxpkmc5jc9h-elm-0.19.1/bin/elm'
}
^MVerifying dependencies (0/11)^MVerifying dependencies (1/11)^MVerifying dependencies (2/11)^MVerifying dependencies (3/11)^MVerifying dependencies (4/11)^MVerifying dependencies (5/11)^MVerifying dependencies>
Compiling ...^MCompiling (1)^MSuccess! Compiled 1 module.

    Main ───> /build/2024318-106-1vg96i9.75bm.js

assets by status 1.05 MiB [cached] 11 assets
runtime modules 4.67 KiB 8 modules
orphan modules 79 bytes [orphan] 1 module
cacheable modules 215 KiB (javascript) 231 KiB (webassembly)
  modules by path ./src/ 172 KiB
    ./src/index.js 1.35 KiB [built] [code generated]
    ./src/Main.elm 171 KiB [built] [code generated]
  modules by path ./flux/ 42.9 KiB (javascript) 231 KiB (webassembly)
    ./flux/flux_wasm_bg.js 40.8 KiB [built] [code generated]
    ./flux/flux_wasm_bg.wasm 2.09 KiB (javascript) 231 KiB (webassembly) [built] [code generated]

ERROR in ./src/index.js 2:0-48
Module not found: Error: Can't resolve '../flux-next' in '/build/web/src'
resolve '../flux-next' in '/build/web/src'
  using description file: /build/web/package.json (relative path: ./src)
    Field 'browser' doesn't contain a valid alias configuration
    using description file: /build/web/package.json (relative path: ./flux-next)
      no extension
        Field 'browser' doesn't contain a valid alias configuration
        /build/web/flux-next doesn't exist
      .js
        Field 'browser' doesn't contain a valid alias configuration
        /build/web/flux-next.js doesn't exist
      .json
        Field 'browser' doesn't contain a valid alias configuration
        /build/web/flux-next.json doesn't exist
      .wasm
        Field 'browser' doesn't contain a valid alias configuration
        /build/web/flux-next.wasm doesn't exist
      as directory
        /build/web/flux-next doesn't exist

webpack 5.89.0 compiled with 1 error in 1079 ms

When running nix run github:sandydoo/flux (with RUST_BACKTRACE=full) I get the following crash:

thread 'main' panicked at /nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-vendor-cargo-deps/c19b7c6f923b580ac259164a89f2577984ad5ab09ee9d583b888f934adbbe8d0/winit-0.26.1/src/platform_impl/linux/wayland/window/mod.rs:229:77:
internal error: entered unreachable code
stack backtrace:
   0:     0x55898e53f6dd - <unknown>
   1:     0x55898e3c6bb0 - <unknown>
   2:     0x55898e514e3e - <unknown>
   3:     0x55898e540f9e - <unknown>
   4:     0x55898e5408a5 - <unknown>
   5:     0x55898e5417cb - <unknown>
   6:     0x55898e5412d8 - <unknown>
   7:     0x55898e541266 - <unknown>
   8:     0x55898e541251 - <unknown>
   9:     0x55898e35dcd4 - <unknown>
  10:     0x55898e35dea2 - <unknown>
  11:     0x55898e392a52 - <unknown>
  12:     0x55898e54af92 - <unknown>
  13:     0x7f4a9038b90a - wl_closure_dispatch
  14:     0x7f4a90387b81 - dispatch_event.isra.0
  15:     0x7f4a90389534 - wl_display_dispatch_queue_pending
  16:     0x7f4a90389aef - wl_display_roundtrip_queue
  17:     0x55898e391d49 - <unknown>
  18:     0x55898e392dcf - <unknown>
  19:     0x55898e39d789 - <unknown>
  20:     0x55898e39a2b5 - <unknown>
  21:     0x55898e37df78 - <unknown>
  22:     0x55898e37e522 - <unknown>
  23:     0x7f4a903bffce - __libc_start_call_main
  24:     0x7f4a903c0089 - __libc_start_main_impl
  25:     0x55898e37ad75 - <unknown>
  26:                0x0 - <unknown>
zsh: abort (core dumped)  RUST_BACKTRACE=full nix run github:sandydoo/flux

My system info is as follows. I'm running nixpkgs unstable at commit 1042fd8, and am using the Hyprland Wayland compositor.

Let me know if you need any further info.

sandydoo commented 4 months ago

After running nix build github:sandydoo/flux the build fails with the following error:

nix build builds the web version by default. I've fixed this now, but it's best to use the web-* tags. I don't promise that anything on main will build.

When running nix run github:sandydoo/flux (with RUST_BACKTRACE=full) I get the following crash:

nix run builds and runs a wrapped version of the desktop app for NixOS. I don't have a wayland machine (with HW acceleration) to test this, but perhaps we're missing some wayland lib. I found this issue mentioning libxkbcommon, so I've added it to the runtime deps. Let me know if it works.

robbins commented 4 months ago

I've fixed this now, but it's best to use the web-* tags. I don't promise that anything on main will build.

Oh, ok :)

I found https://github.com/rust-windowing/winit/issues/1760 mentioning libxkbcommon, so I've added it to the runtime deps.

Where was that dependency added? I don't see it on main, but I added libxkbcommon to runtimeLibraries of flux-desktop-wrapped locally and it's now hitting a different issue. I included WAYLAND_DEBUG=1 output if it's any use.

> WAYLAND_DEBUG=1 RUST_BACKTRACE=full nix run
warning: Git tree '/home/nate/src/github.com/sandydoo/flux' is dirty
[3215601.037]  -> wl_display@1.get_registry(new id wl_registry@2)
[3215601.049]  -> wl_display@1.sync(new id wl_callback@3)
[3215601.130] wl_display@1.delete_id(3)
[3215601.143] wl_registry@2.global(1, "wl_shm", 1)
[3215601.158]  -> wl_registry@2.bind(1, "wl_shm", 1, new id [unknown]@4)
[3215601.165] wl_registry@2.global(2, "wl_drm", 2)
[3215601.170] wl_registry@2.global(3, "zwp_linux_dmabuf_v1", 4)
[3215601.174] wl_registry@2.global(4, "wl_compositor", 6)
[3215601.180]  -> wl_registry@2.bind(4, "wl_compositor", 6, new id [unknown]@5)
[3215601.184] wl_registry@2.global(5, "wl_subcompositor", 1)
[3215601.190]  -> wl_registry@2.bind(5, "wl_subcompositor", 1, new id [unknown]@6)
[3215601.194] wl_registry@2.global(6, "wl_data_device_manager", 3)
[3215601.196] wl_registry@2.global(7, "zwlr_export_dmabuf_manager_v1", 1)
[3215601.200] wl_registry@2.global(8, "zwlr_data_control_manager_v1", 2)
[3215601.204] wl_registry@2.global(9, "zwp_primary_selection_device_manager_v1", 1)
[3215601.209] wl_registry@2.global(10, "wp_viewporter", 1)
[3215601.214] wl_registry@2.global(11, "zwlr_gamma_control_manager_v1", 1)
[3215601.218] wl_registry@2.global(12, "zwlr_output_power_manager_v1", 1)
[3215601.222] wl_registry@2.global(13, "xdg_wm_base", 6)
[3215601.227] wl_registry@2.global(14, "wl_seat", 9)
[3215601.232]  -> wl_registry@2.bind(14, "wl_seat", 6, new id [unknown]@7)
[3215601.241] wl_registry@2.global(15, "wp_presentation", 1)
[3215601.244] wl_registry@2.global(16, "ext_idle_notifier_v1", 1)
[3215601.247] wl_registry@2.global(17, "zwlr_layer_shell_v1", 4)
[3215601.252] wl_registry@2.global(18, "org_kde_kwin_server_decoration_manager", 1)
[3215601.256] wl_registry@2.global(19, "zxdg_decoration_manager_v1", 1)
[3215601.260]  -> wl_registry@2.bind(19, "zxdg_decoration_manager_v1", 1, new id [unknown]@8)
[3215601.263] wl_registry@2.global(20, "zwlr_output_manager_v1", 4)
[3215601.266] wl_registry@2.global(21, "zwp_keyboard_shortcuts_inhibit_manager_v1", 1)
[3215601.269] wl_registry@2.global(22, "zwp_pointer_constraints_v1", 1)
[3215601.274]  -> wl_registry@2.bind(22, "zwp_pointer_constraints_v1", 1, new id [unknown]@9)
[3215601.278] wl_registry@2.global(23, "zwp_relative_pointer_manager_v1", 1)
[3215601.283]  -> wl_registry@2.bind(23, "zwp_relative_pointer_manager_v1", 1, new id [unknown]@10)
[3215601.287] wl_registry@2.global(24, "zwp_virtual_keyboard_manager_v1", 1)
[3215601.291] wl_registry@2.global(25, "zwlr_virtual_pointer_manager_v1", 2)
[3215601.295] wl_registry@2.global(26, "zwlr_foreign_toplevel_manager_v1", 3)
[3215601.299] wl_registry@2.global(27, "wp_drm_lease_device_v1", 1)
[3215601.303] wl_registry@2.global(28, "zwp_tablet_manager_v2", 1)
[3215601.308] wl_registry@2.global(29, "zwp_idle_inhibit_manager_v1", 1)
[3215601.312] wl_registry@2.global(30, "zxdg_exporter_v1", 1)
[3215601.315] wl_registry@2.global(31, "zxdg_importer_v1", 1)
[3215601.319] wl_registry@2.global(32, "zxdg_exporter_v2", 1)
[3215601.322] wl_registry@2.global(33, "zxdg_importer_v2", 1)
[3215601.326] wl_registry@2.global(34, "zwp_pointer_gestures_v1", 3)
[3215601.330] wl_registry@2.global(35, "zwp_text_input_manager_v3", 1)
[3215601.334]  -> wl_registry@2.bind(35, "zwp_text_input_manager_v3", 1, new id [unknown]@11)
[3215601.339] wl_registry@2.global(36, "zwp_input_method_manager_v2", 1)
[3215601.342] wl_registry@2.global(37, "xdg_activation_v1", 1)
[3215601.345]  -> wl_registry@2.bind(37, "xdg_activation_v1", 1, new id [unknown]@12)
[3215601.349] wl_registry@2.global(38, "ext_session_lock_manager_v1", 1)
[3215601.352] wl_registry@2.global(39, "wp_cursor_shape_manager_v1", 1)
[3215601.355] wl_registry@2.global(40, "wp_tearing_control_manager_v1", 1)
[3215601.358] wl_registry@2.global(41, "wp_single_pixel_buffer_manager_v1", 1)
[3215601.361] wl_registry@2.global(42, "xwayland_shell_v1", 1)
[3215601.364] wl_registry@2.global(43, "hyprland_toplevel_export_manager_v1", 2)
[3215601.367] wl_registry@2.global(44, "wp_fractional_scale_manager_v1", 1)
[3215601.370] wl_registry@2.global(45, "zwp_text_input_manager_v1", 1)
[3215601.373] wl_registry@2.global(46, "hyprland_global_shortcuts_manager_v1", 1)
[3215601.376] wl_registry@2.global(47, "zwlr_screencopy_manager_v1", 3)
[3215601.379] wl_registry@2.global(48, "zxdg_output_manager_v1", 3)
[3215601.382] wl_registry@2.global(49, "wl_output", 4)
[3215601.385]  -> wl_registry@2.bind(49, "wl_output", 3, new id [unknown]@13)
[3215601.389] wl_registry@2.global(50, "wl_output", 4)
[3215601.392]  -> wl_registry@2.bind(50, "wl_output", 3, new id [unknown]@14)
[3215601.396] wl_callback@3.done(3918)
[3215601.402]  -> wl_display@1.sync(new id wl_callback@3)
[3215601.447] wl_display@1.delete_id(3)
[3215601.449] wl_shm@4.format(0)
[3215601.453] wl_shm@4.format(1)
[3215601.456] wl_shm@4.format(875709016)
[3215601.457] wl_shm@4.format(875708993)
[3215601.459] wl_shm@4.format(875710274)
[3215601.463] wl_shm@4.format(842094674)
[3215601.464] wl_shm@4.format(842088786)
[3215601.466] wl_shm@4.format(892426322)
[3215601.469] wl_shm@4.format(892420434)
[3215601.470] wl_shm@4.format(909199186)
[3215601.472] wl_shm@4.format(808665688)
[3215601.474] wl_shm@4.format(808665665)
[3215601.476] wl_shm@4.format(1211384408)
[3215601.478] wl_shm@4.format(1211384385)
[3215601.480] wl_shm@4.format(942948952)
[3215601.483] wl_shm@4.format(942948929)
[3215601.485] wl_seat@7.name("seat0")
[3215601.489] wl_seat@7.capabilities(3)
[3215601.491] wl_output@13.geometry(0, 0, 510, 290, 0, "LG Electronics", "24MP56", 3)
[3215601.496] wl_output@13.mode(1, 1920, 1080, 74000)
[3215601.498] wl_output@13.scale(1)
[3215601.501] wl_output@13.done()
[3215601.505] wl_output@14.geometry(0, 0, 710, 400, 0, "Dell Inc.", "DELL G3223Q", 0)
[3215601.507] wl_output@14.mode(1, 3840, 2160, 120014)
[3215601.510] wl_output@14.scale(1)
[3215601.513] wl_output@14.done()
[3215601.515] wl_callback@3.done(3918)
[3215601.529]  -> wl_compositor@5.create_surface(new id wl_surface@3)
[3215601.531]  -> wl_seat@7.get_pointer(new id wl_pointer@15)
[3215601.535]  -> zwp_relative_pointer_manager_v1@10.get_relative_pointer(new id zwp_relative_pointer_v1@16, wl_pointer@15)
[3215601.538]  -> wl_seat@7.get_keyboard(new id wl_keyboard@17)
[3215602.808]  -> zwp_text_input_manager_v3@11.get_text_input(new id zwp_text_input_v3@18, wl_seat@7)
[3215602.825]  -> wl_compositor@5.create_surface(new id wl_surface@19)
[3215602.829]  -> wl_registry@2.bind(13, "xdg_wm_base", 2, new id [unknown]@20)
[3215602.841]  -> wl_shm@4.create_pool(new id wl_shm_pool@21, fd 14, 4096)
[3215602.849]  -> xdg_wm_base@20.get_xdg_surface(new id xdg_surface@22, wl_surface@19)
[3215602.852]  -> xdg_surface@22.get_toplevel(new id xdg_toplevel@23)
[3215602.859]  -> wl_surface@19.commit()
[3215602.863]  -> xdg_toplevel@23.set_min_size(2, 1)
[3215602.869]  -> xdg_surface@22.set_window_geometry(0, 0, 1280, 800)
[3215602.872]  -> wl_compositor@5.create_surface(new id wl_surface@24)
[3215602.875]  -> wl_seat@7.get_pointer(new id wl_pointer@25)
[3215602.879]  -> zxdg_decoration_manager_v1@8.get_toplevel_decoration(new id zxdg_toplevel_decoration_v1@26, xdg_toplevel@23)
[3215602.882]  -> zxdg_toplevel_decoration_v1@26.unset_mode()
[3215602.885]  -> wl_surface@19.commit()
[3215602.887]  -> xdg_toplevel@23.set_min_size(2, 1)
[3215602.890]  -> xdg_toplevel@23.set_max_size(0, 0)
[3215602.892]  -> xdg_toplevel@23.set_min_size(2, 1)
[3215602.894]  -> xdg_toplevel@23.set_max_size(0, 0)
[3215602.897]  -> xdg_toplevel@23.set_title("Flux")
[3215602.902]  -> wl_display@1.sync(new id wl_callback@27)
[3215603.045] wl_display@1.delete_id(27)
[3215603.048] wl_keyboard@17.keymap(1, fd 14, 64703)
[3215603.965] wl_keyboard@17.repeat_info(30, 300)
[3215603.969] wl_callback@27.done(3919)
[3215603.971] xdg_toplevel@23.configure(1920, 1063, array[0])
[3215603.975] zxdg_toplevel_decoration_v1@26.configure(2)
[3215603.978] xdg_surface@22.configure(3919)
[3215603.980]  -> xdg_surface@22.ack_configure(3919)
[3215605.346]  -> wl_display@1.get_registry(new id wl_registry@27)
[3215605.350]  -> wl_display@1.sync(new id wl_callback@28)
[3215605.392] wl_display@1.delete_id(28)
[3215605.394] wl_registry@27.global(1, "wl_shm", 1)
[3215605.397] wl_registry@27.global(2, "wl_drm", 2)
[3215605.403] wl_registry@27.global(3, "zwp_linux_dmabuf_v1", 4)
[3215605.406]  -> wl_registry@27.bind(3, "zwp_linux_dmabuf_v1", 4, new id [unknown]@29)
[3215605.408] wl_registry@27.global(4, "wl_compositor", 6)
[3215605.411] wl_registry@27.global(5, "wl_subcompositor", 1)
[3215605.413] wl_registry@27.global(6, "wl_data_device_manager", 3)
[3215605.415] wl_registry@27.global(7, "zwlr_export_dmabuf_manager_v1", 1)
[3215605.418] wl_registry@27.global(8, "zwlr_data_control_manager_v1", 2)
[3215605.420] wl_registry@27.global(9, "zwp_primary_selection_device_manager_v1", 1)
[3215605.422] wl_registry@27.global(10, "wp_viewporter", 1)
[3215605.424] wl_registry@27.global(11, "zwlr_gamma_control_manager_v1", 1)
[3215605.427] wl_registry@27.global(12, "zwlr_output_power_manager_v1", 1)
[3215605.429] wl_registry@27.global(13, "xdg_wm_base", 6)
[3215605.432] wl_registry@27.global(14, "wl_seat", 9)
[3215605.434] wl_registry@27.global(15, "wp_presentation", 1)
[3215605.437] wl_registry@27.global(16, "ext_idle_notifier_v1", 1)
[3215605.439] wl_registry@27.global(17, "zwlr_layer_shell_v1", 4)
[3215605.441] wl_registry@27.global(18, "org_kde_kwin_server_decoration_manager", 1)
[3215605.444] wl_registry@27.global(19, "zxdg_decoration_manager_v1", 1)
[3215605.446] wl_registry@27.global(20, "zwlr_output_manager_v1", 4)
[3215605.448] wl_registry@27.global(21, "zwp_keyboard_shortcuts_inhibit_manager_v1", 1)
[3215605.453] wl_registry@27.global(22, "zwp_pointer_constraints_v1", 1)
[3215605.455] wl_registry@27.global(23, "zwp_relative_pointer_manager_v1", 1)
[3215605.458] wl_registry@27.global(24, "zwp_virtual_keyboard_manager_v1", 1)
[3215605.460] wl_registry@27.global(25, "zwlr_virtual_pointer_manager_v1", 2)
[3215605.463] wl_registry@27.global(26, "zwlr_foreign_toplevel_manager_v1", 3)
[3215605.465] wl_registry@27.global(27, "wp_drm_lease_device_v1", 1)
[3215605.467] wl_registry@27.global(28, "zwp_tablet_manager_v2", 1)
[3215605.470] wl_registry@27.global(29, "zwp_idle_inhibit_manager_v1", 1)
[3215605.472] wl_registry@27.global(30, "zxdg_exporter_v1", 1)
[3215605.475] wl_registry@27.global(31, "zxdg_importer_v1", 1)
[3215605.477] wl_registry@27.global(32, "zxdg_exporter_v2", 1)
[3215605.480] wl_registry@27.global(33, "zxdg_importer_v2", 1)
[3215605.482] wl_registry@27.global(34, "zwp_pointer_gestures_v1", 3)
[3215605.484] wl_registry@27.global(35, "zwp_text_input_manager_v3", 1)
[3215605.486] wl_registry@27.global(36, "zwp_input_method_manager_v2", 1)
[3215605.488] wl_registry@27.global(37, "xdg_activation_v1", 1)
[3215605.491] wl_registry@27.global(38, "ext_session_lock_manager_v1", 1)
[3215605.495] wl_registry@27.global(39, "wp_cursor_shape_manager_v1", 1)
[3215605.498] wl_registry@27.global(40, "wp_tearing_control_manager_v1", 1)
[3215605.501] wl_registry@27.global(41, "wp_single_pixel_buffer_manager_v1", 1)
[3215605.503] wl_registry@27.global(42, "xwayland_shell_v1", 1)
[3215605.505] wl_registry@27.global(43, "hyprland_toplevel_export_manager_v1", 2)
[3215605.507] wl_registry@27.global(44, "wp_fractional_scale_manager_v1", 1)
[3215605.509] wl_registry@27.global(45, "zwp_text_input_manager_v1", 1)
[3215605.512] wl_registry@27.global(46, "hyprland_global_shortcuts_manager_v1", 1)
[3215605.514] wl_registry@27.global(47, "zwlr_screencopy_manager_v1", 3)
[3215605.517] wl_registry@27.global(48, "zxdg_output_manager_v1", 3)
[3215605.519] wl_registry@27.global(49, "wl_output", 4)
[3215605.521] wl_registry@27.global(50, "wl_output", 4)
[3215605.524] wl_callback@28.done(3919)
[3215605.526]  -> zwp_linux_dmabuf_v1@29.get_default_feedback(new id zwp_linux_dmabuf_feedback_v1@28)
[3215605.529]  -> wl_display@1.sync(new id wl_callback@30)
[3215605.551] wl_display@1.delete_id(30)
[3215605.553] zwp_linux_dmabuf_feedback_v1@28.main_device(array[8])
[3215605.733] zwp_linux_dmabuf_feedback_v1@28.format_table(fd 14, 5104)
[3215605.740] zwp_linux_dmabuf_feedback_v1@28.tranche_target_device(array[8])
[3215605.742] zwp_linux_dmabuf_feedback_v1@28.tranche_flags(0)
[3215605.745] zwp_linux_dmabuf_feedback_v1@28.tranche_formats(array[638])
[3215605.752] zwp_linux_dmabuf_feedback_v1@28.tranche_done()
[3215605.753] zwp_linux_dmabuf_feedback_v1@28.done()
[3215605.755] wl_callback@30.done(3919)
[3215605.758]  -> zwp_linux_dmabuf_feedback_v1@28.destroy()
thread 'main' panicked at flux-desktop/src/main.rs:106:10:
called `Result::unwrap()` on an `Err` value: NoAvailablePixelFormat
stack backtrace:
   0:     0x560c610316dd - <unknown>
   1:     0x560c60eb8bb0 - <unknown>
   2:     0x560c61006e3e - <unknown>
   3:     0x560c61032f9e - <unknown>
   4:     0x560c610328a5 - <unknown>
   5:     0x560c610337cb - <unknown>
   6:     0x560c6103330c - <unknown>
   7:     0x560c61033266 - <unknown>
   8:     0x560c61033251 - <unknown>
   9:     0x560c60e4fcd4 - <unknown>
  10:     0x560c60e50242 - <unknown>
  11:     0x560c60e928c6 - <unknown>
  12:     0x560c60e8c2b5 - <unknown>
  13:     0x560c60e6ff78 - <unknown>
  14:     0x560c60e70522 - <unknown>
  15:     0x7f12e419afce - __libc_start_call_main
  16:     0x7f12e419b089 - __libc_start_main_impl
  17:     0x560c60e6cd75 - <unknown>
  18:                0x0 - <unknown>
zsh: abort (core dumped)  WAYLAND_DEBUG=1 RUST_BACKTRACE=full nix run

It works correctly with WINIT_UNIX_BACKEND=x11. If I remove .with_double_buffer(Some(true)) I get a different issue:

[4292204.654]  -> wl_display@1.get_registry(new id wl_registry@2)
[4292204.675]  -> wl_display@1.sync(new id wl_callback@3)
[4292204.715] wl_display@1.delete_id(3)
[4292204.719] wl_registry@2.global(1, "wl_shm", 1)
[4292204.741]  -> wl_registry@2.bind(1, "wl_shm", 1, new id [unknown]@4)
[4292204.754] wl_registry@2.global(2, "wl_drm", 2)
[4292204.756] wl_registry@2.global(3, "zwp_linux_dmabuf_v1", 4)
[4292204.759] wl_registry@2.global(4, "wl_compositor", 6)
[4292204.762]  -> wl_registry@2.bind(4, "wl_compositor", 6, new id [unknown]@5)
[4292204.764] wl_registry@2.global(5, "wl_subcompositor", 1)
[4292204.768]  -> wl_registry@2.bind(5, "wl_subcompositor", 1, new id [unknown]@6)
[4292204.772] wl_registry@2.global(6, "wl_data_device_manager", 3)
[4292204.774] wl_registry@2.global(7, "zwlr_export_dmabuf_manager_v1", 1)
[4292204.776] wl_registry@2.global(8, "zwlr_data_control_manager_v1", 2)
[4292204.779] wl_registry@2.global(9, "zwp_primary_selection_device_manager_v1", 1)
[4292204.782] wl_registry@2.global(10, "wp_viewporter", 1)
[4292204.785] wl_registry@2.global(11, "zwlr_gamma_control_manager_v1", 1)
[4292204.787] wl_registry@2.global(12, "zwlr_output_power_manager_v1", 1)
[4292204.789] wl_registry@2.global(13, "xdg_wm_base", 6)
[4292204.796] wl_registry@2.global(14, "wl_seat", 9)
[4292204.802]  -> wl_registry@2.bind(14, "wl_seat", 6, new id [unknown]@7)
[4292204.823] wl_registry@2.global(15, "wp_presentation", 1)
[4292204.825] wl_registry@2.global(16, "ext_idle_notifier_v1", 1)
[4292204.827] wl_registry@2.global(17, "zwlr_layer_shell_v1", 4)
[4292204.830] wl_registry@2.global(18, "org_kde_kwin_server_decoration_manager", 1)
[4292204.832] wl_registry@2.global(19, "zxdg_decoration_manager_v1", 1)
[4292204.839]  -> wl_registry@2.bind(19, "zxdg_decoration_manager_v1", 1, new id [unknown]@8)
[4292204.842] wl_registry@2.global(20, "zwlr_output_manager_v1", 4)
[4292204.844] wl_registry@2.global(21, "zwp_keyboard_shortcuts_inhibit_manager_v1", 1)
[4292204.847] wl_registry@2.global(22, "zwp_pointer_constraints_v1", 1)
[4292204.849]  -> wl_registry@2.bind(22, "zwp_pointer_constraints_v1", 1, new id [unknown]@9)
[4292204.852] wl_registry@2.global(23, "zwp_relative_pointer_manager_v1", 1)
[4292204.855]  -> wl_registry@2.bind(23, "zwp_relative_pointer_manager_v1", 1, new id [unknown]@10)
[4292204.861] wl_registry@2.global(24, "zwp_virtual_keyboard_manager_v1", 1)
[4292204.864] wl_registry@2.global(25, "zwlr_virtual_pointer_manager_v1", 2)
[4292204.866] wl_registry@2.global(26, "zwlr_foreign_toplevel_manager_v1", 3)
[4292204.869] wl_registry@2.global(27, "wp_drm_lease_device_v1", 1)
[4292204.872] wl_registry@2.global(28, "zwp_tablet_manager_v2", 1)
[4292204.874] wl_registry@2.global(29, "zwp_idle_inhibit_manager_v1", 1)
[4292204.876] wl_registry@2.global(30, "zxdg_exporter_v1", 1)
[4292204.879] wl_registry@2.global(31, "zxdg_importer_v1", 1)
[4292204.882] wl_registry@2.global(32, "zxdg_exporter_v2", 1)
[4292204.885] wl_registry@2.global(33, "zxdg_importer_v2", 1)
[4292204.887] wl_registry@2.global(34, "zwp_pointer_gestures_v1", 3)
[4292204.890] wl_registry@2.global(35, "zwp_text_input_manager_v3", 1)
[4292204.897]  -> wl_registry@2.bind(35, "zwp_text_input_manager_v3", 1, new id [unknown]@11)
[4292204.900] wl_registry@2.global(36, "zwp_input_method_manager_v2", 1)
[4292204.902] wl_registry@2.global(37, "xdg_activation_v1", 1)
[4292204.904]  -> wl_registry@2.bind(37, "xdg_activation_v1", 1, new id [unknown]@12)
[4292204.906] wl_registry@2.global(38, "ext_session_lock_manager_v1", 1)
[4292204.908] wl_registry@2.global(39, "wp_cursor_shape_manager_v1", 1)
[4292204.910] wl_registry@2.global(40, "wp_tearing_control_manager_v1", 1)
[4292204.912] wl_registry@2.global(41, "wp_single_pixel_buffer_manager_v1", 1)
[4292204.913] wl_registry@2.global(42, "xwayland_shell_v1", 1)
[4292204.916] wl_registry@2.global(43, "hyprland_toplevel_export_manager_v1", 2)
[4292204.919] wl_registry@2.global(44, "wp_fractional_scale_manager_v1", 1)
[4292204.921] wl_registry@2.global(45, "zwp_text_input_manager_v1", 1)
[4292204.923] wl_registry@2.global(46, "hyprland_global_shortcuts_manager_v1", 1)
[4292204.926] wl_registry@2.global(47, "zwlr_screencopy_manager_v1", 3)
[4292204.928] wl_registry@2.global(48, "zxdg_output_manager_v1", 3)
[4292204.931] wl_registry@2.global(49, "wl_output", 4)
[4292204.933]  -> wl_registry@2.bind(49, "wl_output", 3, new id [unknown]@13)
[4292204.936] wl_registry@2.global(50, "wl_output", 4)
[4292204.938]  -> wl_registry@2.bind(50, "wl_output", 3, new id [unknown]@14)
[4292204.941] wl_callback@3.done(2522)
[4292204.949]  -> wl_display@1.sync(new id wl_callback@3)
[4292204.984] wl_display@1.delete_id(3)
[4292204.986] wl_shm@4.format(0)
[4292205.019] wl_shm@4.format(1)
[4292205.021] wl_shm@4.format(875709016)
[4292205.022] wl_shm@4.format(875708993)
[4292205.024] wl_shm@4.format(875710274)
[4292205.026] wl_shm@4.format(842094674)
[4292205.028] wl_shm@4.format(842088786)
[4292205.031] wl_shm@4.format(892426322)
[4292205.033] wl_shm@4.format(892420434)
[4292205.035] wl_shm@4.format(909199186)
[4292205.037] wl_shm@4.format(808665688)
[4292205.040] wl_shm@4.format(808665665)
[4292205.042] wl_shm@4.format(1211384408)
[4292205.044] wl_shm@4.format(1211384385)
[4292205.047] wl_shm@4.format(942948952)
[4292205.049] wl_shm@4.format(942948929)
[4292205.051] wl_seat@7.name("seat0")
[4292205.054] wl_seat@7.capabilities(3)
[4292205.056] wl_output@13.geometry(0, 0, 510, 290, 0, "LG Electronics", "24MP56", 3)
[4292205.077] wl_output@13.mode(1, 1920, 1080, 74000)
[4292205.079] wl_output@13.scale(1)
[4292205.081] wl_output@13.done()
[4292205.088] wl_output@14.geometry(0, 0, 710, 400, 0, "Dell Inc.", "DELL G3223Q", 0)
[4292205.091] wl_output@14.mode(1, 3840, 2160, 120014)
[4292205.093] wl_output@14.scale(1)
[4292205.095] wl_output@14.done()
[4292205.098] wl_callback@3.done(2522)
[4292205.158]  -> wl_compositor@5.create_surface(new id wl_surface@3)
[4292205.166]  -> wl_seat@7.get_pointer(new id wl_pointer@15)
[4292205.178]  -> zwp_relative_pointer_manager_v1@10.get_relative_pointer(new id zwp_relative_pointer_v1@16, wl_pointer@15)
[4292205.191]  -> wl_seat@7.get_keyboard(new id wl_keyboard@17)
[4292206.502]  -> zwp_text_input_manager_v3@11.get_text_input(new id zwp_text_input_v3@18, wl_seat@7)
[4292206.558]  -> wl_compositor@5.create_surface(new id wl_surface@19)
[4292206.572]  -> wl_registry@2.bind(13, "xdg_wm_base", 2, new id [unknown]@20)
[4292206.588]  -> wl_shm@4.create_pool(new id wl_shm_pool@21, fd 14, 4096)
[4292206.613]  -> xdg_wm_base@20.get_xdg_surface(new id xdg_surface@22, wl_surface@19)
[4292206.621]  -> xdg_surface@22.get_toplevel(new id xdg_toplevel@23)
[4292206.643]  -> wl_surface@19.commit()
[4292206.655]  -> xdg_toplevel@23.set_min_size(2, 1)
[4292206.658]  -> xdg_surface@22.set_window_geometry(0, 0, 1280, 800)
[4292206.661]  -> wl_compositor@5.create_surface(new id wl_surface@24)
[4292206.663]  -> wl_seat@7.get_pointer(new id wl_pointer@25)
[4292206.667]  -> zxdg_decoration_manager_v1@8.get_toplevel_decoration(new id zxdg_toplevel_decoration_v1@26, xdg_toplevel@23)
[4292206.674]  -> zxdg_toplevel_decoration_v1@26.unset_mode()
[4292206.677]  -> wl_surface@19.commit()
[4292206.678]  -> xdg_toplevel@23.set_min_size(2, 1)
[4292206.681]  -> xdg_toplevel@23.set_max_size(0, 0)
[4292206.683]  -> xdg_toplevel@23.set_min_size(2, 1)
[4292206.685]  -> xdg_toplevel@23.set_max_size(0, 0)
[4292206.688]  -> xdg_toplevel@23.set_title("Flux")
[4292206.703]  -> wl_display@1.sync(new id wl_callback@27)
[4292206.892] wl_display@1.delete_id(27)
[4292206.895] wl_keyboard@17.keymap(1, fd 14, 64703)
[4292207.838] wl_keyboard@17.repeat_info(30, 300)
[4292207.842] wl_callback@27.done(2523)
[4292207.846] xdg_toplevel@23.configure(1920, 1063, array[0])
[4292207.868] zxdg_toplevel_decoration_v1@26.configure(2)
[4292207.876] xdg_surface@22.configure(2523)
[4292207.884]  -> xdg_surface@22.ack_configure(2523)
[4292209.292]  -> wl_display@1.get_registry(new id wl_registry@27)
[4292209.297]  -> wl_display@1.sync(new id wl_callback@28)
[4292209.325] wl_display@1.delete_id(28)
[4292209.328] wl_registry@27.global(1, "wl_shm", 1)
[4292209.331] wl_registry@27.global(2, "wl_drm", 2)
[4292209.334] wl_registry@27.global(3, "zwp_linux_dmabuf_v1", 4)
[4292209.336]  -> wl_registry@27.bind(3, "zwp_linux_dmabuf_v1", 4, new id [unknown]@29)
[4292209.340] wl_registry@27.global(4, "wl_compositor", 6)
[4292209.342] wl_registry@27.global(5, "wl_subcompositor", 1)
[4292209.344] wl_registry@27.global(6, "wl_data_device_manager", 3)
[4292209.347] wl_registry@27.global(7, "zwlr_export_dmabuf_manager_v1", 1)
[4292209.350] wl_registry@27.global(8, "zwlr_data_control_manager_v1", 2)
[4292209.352] wl_registry@27.global(9, "zwp_primary_selection_device_manager_v1", 1)
[4292209.355] wl_registry@27.global(10, "wp_viewporter", 1)
[4292209.358] wl_registry@27.global(11, "zwlr_gamma_control_manager_v1", 1)
[4292209.360] wl_registry@27.global(12, "zwlr_output_power_manager_v1", 1)
[4292209.363] wl_registry@27.global(13, "xdg_wm_base", 6)
[4292209.365] wl_registry@27.global(14, "wl_seat", 9)
[4292209.367] wl_registry@27.global(15, "wp_presentation", 1)
[4292209.370] wl_registry@27.global(16, "ext_idle_notifier_v1", 1)
[4292209.373] wl_registry@27.global(17, "zwlr_layer_shell_v1", 4)
[4292209.375] wl_registry@27.global(18, "org_kde_kwin_server_decoration_manager", 1)
[4292209.378] wl_registry@27.global(19, "zxdg_decoration_manager_v1", 1)
[4292209.380] wl_registry@27.global(20, "zwlr_output_manager_v1", 4)
[4292209.383] wl_registry@27.global(21, "zwp_keyboard_shortcuts_inhibit_manager_v1", 1)
[4292209.385] wl_registry@27.global(22, "zwp_pointer_constraints_v1", 1)
[4292209.388] wl_registry@27.global(23, "zwp_relative_pointer_manager_v1", 1)
[4292209.390] wl_registry@27.global(24, "zwp_virtual_keyboard_manager_v1", 1)
[4292209.393] wl_registry@27.global(25, "zwlr_virtual_pointer_manager_v1", 2)
[4292209.396] wl_registry@27.global(26, "zwlr_foreign_toplevel_manager_v1", 3)
[4292209.399] wl_registry@27.global(27, "wp_drm_lease_device_v1", 1)
[4292209.401] wl_registry@27.global(28, "zwp_tablet_manager_v2", 1)
[4292209.403] wl_registry@27.global(29, "zwp_idle_inhibit_manager_v1", 1)
[4292209.406] wl_registry@27.global(30, "zxdg_exporter_v1", 1)
[4292209.409] wl_registry@27.global(31, "zxdg_importer_v1", 1)
[4292209.411] wl_registry@27.global(32, "zxdg_exporter_v2", 1)
[4292209.413] wl_registry@27.global(33, "zxdg_importer_v2", 1)
[4292209.416] wl_registry@27.global(34, "zwp_pointer_gestures_v1", 3)
[4292209.418] wl_registry@27.global(35, "zwp_text_input_manager_v3", 1)
[4292209.420] wl_registry@27.global(36, "zwp_input_method_manager_v2", 1)
[4292209.423] wl_registry@27.global(37, "xdg_activation_v1", 1)
[4292209.425] wl_registry@27.global(38, "ext_session_lock_manager_v1", 1)
[4292209.428] wl_registry@27.global(39, "wp_cursor_shape_manager_v1", 1)
[4292209.430] wl_registry@27.global(40, "wp_tearing_control_manager_v1", 1)
[4292209.432] wl_registry@27.global(41, "wp_single_pixel_buffer_manager_v1", 1)
[4292209.435] wl_registry@27.global(42, "xwayland_shell_v1", 1)
[4292209.437] wl_registry@27.global(43, "hyprland_toplevel_export_manager_v1", 2)
[4292209.439] wl_registry@27.global(44, "wp_fractional_scale_manager_v1", 1)
[4292209.441] wl_registry@27.global(45, "zwp_text_input_manager_v1", 1)
[4292209.443] wl_registry@27.global(46, "hyprland_global_shortcuts_manager_v1", 1)
[4292209.445] wl_registry@27.global(47, "zwlr_screencopy_manager_v1", 3)
[4292209.447] wl_registry@27.global(48, "zxdg_output_manager_v1", 3)
[4292209.450] wl_registry@27.global(49, "wl_output", 4)
[4292209.452] wl_registry@27.global(50, "wl_output", 4)
[4292209.454] wl_callback@28.done(2523)
[4292209.457]  -> zwp_linux_dmabuf_v1@29.get_default_feedback(new id zwp_linux_dmabuf_feedback_v1@28)
[4292209.459]  -> wl_display@1.sync(new id wl_callback@30)
[4292209.478] wl_display@1.delete_id(30)
[4292209.480] zwp_linux_dmabuf_feedback_v1@28.main_device(array[8])
[4292209.647] zwp_linux_dmabuf_feedback_v1@28.format_table(fd 14, 5104)
[4292209.654] zwp_linux_dmabuf_feedback_v1@28.tranche_target_device(array[8])
[4292209.656] zwp_linux_dmabuf_feedback_v1@28.tranche_flags(0)
[4292209.658] zwp_linux_dmabuf_feedback_v1@28.tranche_formats(array[638])
[4292209.666] zwp_linux_dmabuf_feedback_v1@28.tranche_done()
[4292209.668] zwp_linux_dmabuf_feedback_v1@28.done()
[4292209.670] wl_callback@30.done(2523)
[4292209.673]  -> zwp_linux_dmabuf_feedback_v1@28.destroy()
[4292227.101]  -> zwp_linux_dmabuf_v1@29.get_surface_feedback(new id zwp_linux_dmabuf_feedback_v1@30, wl_surface@19)
[4292227.110]  -> wl_display@1.sync(new id wl_callback@31)
[4292227.151] wl_display@1.delete_id(28)
[4292227.157] wl_display@1.delete_id(31)
[4292227.159] wl_callback@31.done(2523)
[4292227.917] zwp_linux_dmabuf_feedback_v1@30.main_device(array[8])
[4292227.922] zwp_linux_dmabuf_feedback_v1@30.format_table(fd 18, 5104)
[4292227.929] zwp_linux_dmabuf_feedback_v1@30.tranche_target_device(array[8])
[4292227.931] zwp_linux_dmabuf_feedback_v1@30.tranche_flags(0)
[4292227.932] zwp_linux_dmabuf_feedback_v1@30.tranche_formats(array[638])
[4292227.935] zwp_linux_dmabuf_feedback_v1@30.tranche_done()
[4292227.937] zwp_linux_dmabuf_feedback_v1@30.done()
[2024-04-22T17:45:12Z INFO  flux::flux] ✨ Initialising Flux
[2024-04-22T17:45:12Z DEBUG flux::drawer] Physical size: 1280x800px
[2024-04-22T17:45:12Z DEBUG flux::drawer] Logical size: 1280x800px
[2024-04-22T17:45:12Z DEBUG flux::drawer] Grid size: 86x54
[2024-04-22T17:45:12Z DEBUG flux::drawer] Line count: 4644
[2024-04-22T17:45:12Z INFO  flux::fluid] 💧 Condensing fluid
[2024-04-22T17:45:12Z INFO  flux::noise] 🎛 Generating noise
[4292234.672]  -> xdg_surface@22.set_window_geometry(0, 0, 1920, 1063)
[4292242.941]  -> wl_surface@19.frame(new id wl_callback@31)
[4292242.948]  -> zwp_linux_dmabuf_v1@29.create_params(new id zwp_linux_buffer_params_v1@28)
[4292242.965]  -> zwp_linux_buffer_params_v1@28.add(fd 19, 0, 0, 5120, 33554432, 5683971)
[4292242.971]  -> zwp_linux_buffer_params_v1@28.add(fd 20, 1, 4587520, 1536, 33554432, 5683971)
[4292242.975]  -> zwp_linux_buffer_params_v1@28.create_immed(new id wl_buffer@32, 1280, 800, 875713089, 0)
[4292242.978]  -> zwp_linux_buffer_params_v1@28.destroy()
[4292242.982]  -> wl_surface@19.attach(wl_buffer@32, 0, 0)
[4292242.985]  -> wl_surface@19.damage(0, 0, 2147483647, 2147483647)
[4292242.988]  -> wl_surface@19.commit()
interface 'wl_surface' has no event 2
sandydoo commented 4 months ago

Where was that dependency added? I don't see it on main

Sorry, I forgot to push 🤦

Eh, looks like winit + glutin issues. This uses a relatively old version, because the new one has completely changed the interface and requires a big rewrite. So perhaps it's been fixed upstream.