flux icon indicating copy to clipboard operation
flux copied to clipboard

Build fails and run crashes on NixOS Wayland

Open robbins opened this issue 1 year ago • 3 comments

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.

  • system: "x86_64-linux"
  • host os: Linux 6.6.26, NixOS, 24.05 (Uakari), 24.05.20240410.1042fd8
  • multi-user?: yes
  • sandbox: yes
  • version: nix-env (Nix) 2.21.2

Let me know if you need any further info.

robbins avatar Apr 18 '24 02:04 robbins

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.

sandydoo avatar Apr 20 '24 13:04 sandydoo

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]  -> [email protected]_registry(new id wl_registry@2)
[3215601.049]  -> [email protected](new id wl_callback@3)
[3215601.130] [email protected]_id(3)
[3215601.143] [email protected](1, "wl_shm", 1)
[3215601.158]  -> [email protected](1, "wl_shm", 1, new id [unknown]@4)
[3215601.165] [email protected](2, "wl_drm", 2)
[3215601.170] [email protected](3, "zwp_linux_dmabuf_v1", 4)
[3215601.174] [email protected](4, "wl_compositor", 6)
[3215601.180]  -> [email protected](4, "wl_compositor", 6, new id [unknown]@5)
[3215601.184] [email protected](5, "wl_subcompositor", 1)
[3215601.190]  -> [email protected](5, "wl_subcompositor", 1, new id [unknown]@6)
[3215601.194] [email protected](6, "wl_data_device_manager", 3)
[3215601.196] [email protected](7, "zwlr_export_dmabuf_manager_v1", 1)
[3215601.200] [email protected](8, "zwlr_data_control_manager_v1", 2)
[3215601.204] [email protected](9, "zwp_primary_selection_device_manager_v1", 1)
[3215601.209] [email protected](10, "wp_viewporter", 1)
[3215601.214] [email protected](11, "zwlr_gamma_control_manager_v1", 1)
[3215601.218] [email protected](12, "zwlr_output_power_manager_v1", 1)
[3215601.222] [email protected](13, "xdg_wm_base", 6)
[3215601.227] [email protected](14, "wl_seat", 9)
[3215601.232]  -> [email protected](14, "wl_seat", 6, new id [unknown]@7)
[3215601.241] [email protected](15, "wp_presentation", 1)
[3215601.244] [email protected](16, "ext_idle_notifier_v1", 1)
[3215601.247] [email protected](17, "zwlr_layer_shell_v1", 4)
[3215601.252] [email protected](18, "org_kde_kwin_server_decoration_manager", 1)
[3215601.256] [email protected](19, "zxdg_decoration_manager_v1", 1)
[3215601.260]  -> [email protected](19, "zxdg_decoration_manager_v1", 1, new id [unknown]@8)
[3215601.263] [email protected](20, "zwlr_output_manager_v1", 4)
[3215601.266] [email protected](21, "zwp_keyboard_shortcuts_inhibit_manager_v1", 1)
[3215601.269] [email protected](22, "zwp_pointer_constraints_v1", 1)
[3215601.274]  -> [email protected](22, "zwp_pointer_constraints_v1", 1, new id [unknown]@9)
[3215601.278] [email protected](23, "zwp_relative_pointer_manager_v1", 1)
[3215601.283]  -> [email protected](23, "zwp_relative_pointer_manager_v1", 1, new id [unknown]@10)
[3215601.287] [email protected](24, "zwp_virtual_keyboard_manager_v1", 1)
[3215601.291] [email protected](25, "zwlr_virtual_pointer_manager_v1", 2)
[3215601.295] [email protected](26, "zwlr_foreign_toplevel_manager_v1", 3)
[3215601.299] [email protected](27, "wp_drm_lease_device_v1", 1)
[3215601.303] [email protected](28, "zwp_tablet_manager_v2", 1)
[3215601.308] [email protected](29, "zwp_idle_inhibit_manager_v1", 1)
[3215601.312] [email protected](30, "zxdg_exporter_v1", 1)
[3215601.315] [email protected](31, "zxdg_importer_v1", 1)
[3215601.319] [email protected](32, "zxdg_exporter_v2", 1)
[3215601.322] [email protected](33, "zxdg_importer_v2", 1)
[3215601.326] [email protected](34, "zwp_pointer_gestures_v1", 3)
[3215601.330] [email protected](35, "zwp_text_input_manager_v3", 1)
[3215601.334]  -> [email protected](35, "zwp_text_input_manager_v3", 1, new id [unknown]@11)
[3215601.339] [email protected](36, "zwp_input_method_manager_v2", 1)
[3215601.342] [email protected](37, "xdg_activation_v1", 1)
[3215601.345]  -> [email protected](37, "xdg_activation_v1", 1, new id [unknown]@12)
[3215601.349] [email protected](38, "ext_session_lock_manager_v1", 1)
[3215601.352] [email protected](39, "wp_cursor_shape_manager_v1", 1)
[3215601.355] [email protected](40, "wp_tearing_control_manager_v1", 1)
[3215601.358] [email protected](41, "wp_single_pixel_buffer_manager_v1", 1)
[3215601.361] [email protected](42, "xwayland_shell_v1", 1)
[3215601.364] [email protected](43, "hyprland_toplevel_export_manager_v1", 2)
[3215601.367] [email protected](44, "wp_fractional_scale_manager_v1", 1)
[3215601.370] [email protected](45, "zwp_text_input_manager_v1", 1)
[3215601.373] [email protected](46, "hyprland_global_shortcuts_manager_v1", 1)
[3215601.376] [email protected](47, "zwlr_screencopy_manager_v1", 3)
[3215601.379] [email protected](48, "zxdg_output_manager_v1", 3)
[3215601.382] [email protected](49, "wl_output", 4)
[3215601.385]  -> [email protected](49, "wl_output", 3, new id [unknown]@13)
[3215601.389] [email protected](50, "wl_output", 4)
[3215601.392]  -> [email protected](50, "wl_output", 3, new id [unknown]@14)
[3215601.396] [email protected](3918)
[3215601.402]  -> [email protected](new id wl_callback@3)
[3215601.447] [email protected]_id(3)
[3215601.449] [email protected](0)
[3215601.453] [email protected](1)
[3215601.456] [email protected](875709016)
[3215601.457] [email protected](875708993)
[3215601.459] [email protected](875710274)
[3215601.463] [email protected](842094674)
[3215601.464] [email protected](842088786)
[3215601.466] [email protected](892426322)
[3215601.469] [email protected](892420434)
[3215601.470] [email protected](909199186)
[3215601.472] [email protected](808665688)
[3215601.474] [email protected](808665665)
[3215601.476] [email protected](1211384408)
[3215601.478] [email protected](1211384385)
[3215601.480] [email protected](942948952)
[3215601.483] [email protected](942948929)
[3215601.485] [email protected]("seat0")
[3215601.489] [email protected](3)
[3215601.491] [email protected](0, 0, 510, 290, 0, "LG Electronics", "24MP56", 3)
[3215601.496] [email protected](1, 1920, 1080, 74000)
[3215601.498] [email protected](1)
[3215601.501] [email protected]()
[3215601.505] [email protected](0, 0, 710, 400, 0, "Dell Inc.", "DELL G3223Q", 0)
[3215601.507] [email protected](1, 3840, 2160, 120014)
[3215601.510] [email protected](1)
[3215601.513] [email protected]()
[3215601.515] [email protected](3918)
[3215601.529]  -> [email protected]_surface(new id wl_surface@3)
[3215601.531]  -> [email protected]_pointer(new id wl_pointer@15)
[3215601.535]  -> [email protected]_relative_pointer(new id zwp_relative_pointer_v1@16, wl_pointer@15)
[3215601.538]  -> [email protected]_keyboard(new id wl_keyboard@17)
[3215602.808]  -> [email protected]_text_input(new id zwp_text_input_v3@18, wl_seat@7)
[3215602.825]  -> [email protected]_surface(new id wl_surface@19)
[3215602.829]  -> [email protected](13, "xdg_wm_base", 2, new id [unknown]@20)
[3215602.841]  -> [email protected]_pool(new id wl_shm_pool@21, fd 14, 4096)
[3215602.849]  -> [email protected]_xdg_surface(new id xdg_surface@22, wl_surface@19)
[3215602.852]  -> [email protected]_toplevel(new id xdg_toplevel@23)
[3215602.859]  -> [email protected]()
[3215602.863]  -> [email protected]_min_size(2, 1)
[3215602.869]  -> [email protected]_window_geometry(0, 0, 1280, 800)
[3215602.872]  -> [email protected]_surface(new id wl_surface@24)
[3215602.875]  -> [email protected]_pointer(new id wl_pointer@25)
[3215602.879]  -> [email protected]_toplevel_decoration(new id zxdg_toplevel_decoration_v1@26, xdg_toplevel@23)
[3215602.882]  -> [email protected]_mode()
[3215602.885]  -> [email protected]()
[3215602.887]  -> [email protected]_min_size(2, 1)
[3215602.890]  -> [email protected]_max_size(0, 0)
[3215602.892]  -> [email protected]_min_size(2, 1)
[3215602.894]  -> [email protected]_max_size(0, 0)
[3215602.897]  -> [email protected]_title("Flux")
[3215602.902]  -> [email protected](new id wl_callback@27)
[3215603.045] [email protected]_id(27)
[3215603.048] [email protected](1, fd 14, 64703)
[3215603.965] [email protected]_info(30, 300)
[3215603.969] [email protected](3919)
[3215603.971] [email protected](1920, 1063, array[0])
[3215603.975] [email protected](2)
[3215603.978] [email protected](3919)
[3215603.980]  -> [email protected]_configure(3919)
[3215605.346]  -> [email protected]_registry(new id wl_registry@27)
[3215605.350]  -> [email protected](new id wl_callback@28)
[3215605.392] [email protected]_id(28)
[3215605.394] [email protected](1, "wl_shm", 1)
[3215605.397] [email protected](2, "wl_drm", 2)
[3215605.403] [email protected](3, "zwp_linux_dmabuf_v1", 4)
[3215605.406]  -> [email protected](3, "zwp_linux_dmabuf_v1", 4, new id [unknown]@29)
[3215605.408] [email protected](4, "wl_compositor", 6)
[3215605.411] [email protected](5, "wl_subcompositor", 1)
[3215605.413] [email protected](6, "wl_data_device_manager", 3)
[3215605.415] [email protected](7, "zwlr_export_dmabuf_manager_v1", 1)
[3215605.418] [email protected](8, "zwlr_data_control_manager_v1", 2)
[3215605.420] [email protected](9, "zwp_primary_selection_device_manager_v1", 1)
[3215605.422] [email protected](10, "wp_viewporter", 1)
[3215605.424] [email protected](11, "zwlr_gamma_control_manager_v1", 1)
[3215605.427] [email protected](12, "zwlr_output_power_manager_v1", 1)
[3215605.429] [email protected](13, "xdg_wm_base", 6)
[3215605.432] [email protected](14, "wl_seat", 9)
[3215605.434] [email protected](15, "wp_presentation", 1)
[3215605.437] [email protected](16, "ext_idle_notifier_v1", 1)
[3215605.439] [email protected](17, "zwlr_layer_shell_v1", 4)
[3215605.441] [email protected](18, "org_kde_kwin_server_decoration_manager", 1)
[3215605.444] [email protected](19, "zxdg_decoration_manager_v1", 1)
[3215605.446] [email protected](20, "zwlr_output_manager_v1", 4)
[3215605.448] [email protected](21, "zwp_keyboard_shortcuts_inhibit_manager_v1", 1)
[3215605.453] [email protected](22, "zwp_pointer_constraints_v1", 1)
[3215605.455] [email protected](23, "zwp_relative_pointer_manager_v1", 1)
[3215605.458] [email protected](24, "zwp_virtual_keyboard_manager_v1", 1)
[3215605.460] [email protected](25, "zwlr_virtual_pointer_manager_v1", 2)
[3215605.463] [email protected](26, "zwlr_foreign_toplevel_manager_v1", 3)
[3215605.465] [email protected](27, "wp_drm_lease_device_v1", 1)
[3215605.467] [email protected](28, "zwp_tablet_manager_v2", 1)
[3215605.470] [email protected](29, "zwp_idle_inhibit_manager_v1", 1)
[3215605.472] [email protected](30, "zxdg_exporter_v1", 1)
[3215605.475] [email protected](31, "zxdg_importer_v1", 1)
[3215605.477] [email protected](32, "zxdg_exporter_v2", 1)
[3215605.480] [email protected](33, "zxdg_importer_v2", 1)
[3215605.482] [email protected](34, "zwp_pointer_gestures_v1", 3)
[3215605.484] [email protected](35, "zwp_text_input_manager_v3", 1)
[3215605.486] [email protected](36, "zwp_input_method_manager_v2", 1)
[3215605.488] [email protected](37, "xdg_activation_v1", 1)
[3215605.491] [email protected](38, "ext_session_lock_manager_v1", 1)
[3215605.495] [email protected](39, "wp_cursor_shape_manager_v1", 1)
[3215605.498] [email protected](40, "wp_tearing_control_manager_v1", 1)
[3215605.501] [email protected](41, "wp_single_pixel_buffer_manager_v1", 1)
[3215605.503] [email protected](42, "xwayland_shell_v1", 1)
[3215605.505] [email protected](43, "hyprland_toplevel_export_manager_v1", 2)
[3215605.507] [email protected](44, "wp_fractional_scale_manager_v1", 1)
[3215605.509] [email protected](45, "zwp_text_input_manager_v1", 1)
[3215605.512] [email protected](46, "hyprland_global_shortcuts_manager_v1", 1)
[3215605.514] [email protected](47, "zwlr_screencopy_manager_v1", 3)
[3215605.517] [email protected](48, "zxdg_output_manager_v1", 3)
[3215605.519] [email protected](49, "wl_output", 4)
[3215605.521] [email protected](50, "wl_output", 4)
[3215605.524] [email protected](3919)
[3215605.526]  -> [email protected]_default_feedback(new id zwp_linux_dmabuf_feedback_v1@28)
[3215605.529]  -> [email protected](new id wl_callback@30)
[3215605.551] [email protected]_id(30)
[3215605.553] [email protected]_device(array[8])
[3215605.733] [email protected]_table(fd 14, 5104)
[3215605.740] [email protected]_target_device(array[8])
[3215605.742] [email protected]_flags(0)
[3215605.745] [email protected]_formats(array[638])
[3215605.752] [email protected]_done()
[3215605.753] [email protected]()
[3215605.755] [email protected](3919)
[3215605.758]  -> [email protected]()
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]  -> [email protected]_registry(new id wl_registry@2)
[4292204.675]  -> [email protected](new id wl_callback@3)
[4292204.715] [email protected]_id(3)
[4292204.719] [email protected](1, "wl_shm", 1)
[4292204.741]  -> [email protected](1, "wl_shm", 1, new id [unknown]@4)
[4292204.754] [email protected](2, "wl_drm", 2)
[4292204.756] [email protected](3, "zwp_linux_dmabuf_v1", 4)
[4292204.759] [email protected](4, "wl_compositor", 6)
[4292204.762]  -> [email protected](4, "wl_compositor", 6, new id [unknown]@5)
[4292204.764] [email protected](5, "wl_subcompositor", 1)
[4292204.768]  -> [email protected](5, "wl_subcompositor", 1, new id [unknown]@6)
[4292204.772] [email protected](6, "wl_data_device_manager", 3)
[4292204.774] [email protected](7, "zwlr_export_dmabuf_manager_v1", 1)
[4292204.776] [email protected](8, "zwlr_data_control_manager_v1", 2)
[4292204.779] [email protected](9, "zwp_primary_selection_device_manager_v1", 1)
[4292204.782] [email protected](10, "wp_viewporter", 1)
[4292204.785] [email protected](11, "zwlr_gamma_control_manager_v1", 1)
[4292204.787] [email protected](12, "zwlr_output_power_manager_v1", 1)
[4292204.789] [email protected](13, "xdg_wm_base", 6)
[4292204.796] [email protected](14, "wl_seat", 9)
[4292204.802]  -> [email protected](14, "wl_seat", 6, new id [unknown]@7)
[4292204.823] [email protected](15, "wp_presentation", 1)
[4292204.825] [email protected](16, "ext_idle_notifier_v1", 1)
[4292204.827] [email protected](17, "zwlr_layer_shell_v1", 4)
[4292204.830] [email protected](18, "org_kde_kwin_server_decoration_manager", 1)
[4292204.832] [email protected](19, "zxdg_decoration_manager_v1", 1)
[4292204.839]  -> [email protected](19, "zxdg_decoration_manager_v1", 1, new id [unknown]@8)
[4292204.842] [email protected](20, "zwlr_output_manager_v1", 4)
[4292204.844] [email protected](21, "zwp_keyboard_shortcuts_inhibit_manager_v1", 1)
[4292204.847] [email protected](22, "zwp_pointer_constraints_v1", 1)
[4292204.849]  -> [email protected](22, "zwp_pointer_constraints_v1", 1, new id [unknown]@9)
[4292204.852] [email protected](23, "zwp_relative_pointer_manager_v1", 1)
[4292204.855]  -> [email protected](23, "zwp_relative_pointer_manager_v1", 1, new id [unknown]@10)
[4292204.861] [email protected](24, "zwp_virtual_keyboard_manager_v1", 1)
[4292204.864] [email protected](25, "zwlr_virtual_pointer_manager_v1", 2)
[4292204.866] [email protected](26, "zwlr_foreign_toplevel_manager_v1", 3)
[4292204.869] [email protected](27, "wp_drm_lease_device_v1", 1)
[4292204.872] [email protected](28, "zwp_tablet_manager_v2", 1)
[4292204.874] [email protected](29, "zwp_idle_inhibit_manager_v1", 1)
[4292204.876] [email protected](30, "zxdg_exporter_v1", 1)
[4292204.879] [email protected](31, "zxdg_importer_v1", 1)
[4292204.882] [email protected](32, "zxdg_exporter_v2", 1)
[4292204.885] [email protected](33, "zxdg_importer_v2", 1)
[4292204.887] [email protected](34, "zwp_pointer_gestures_v1", 3)
[4292204.890] [email protected](35, "zwp_text_input_manager_v3", 1)
[4292204.897]  -> [email protected](35, "zwp_text_input_manager_v3", 1, new id [unknown]@11)
[4292204.900] [email protected](36, "zwp_input_method_manager_v2", 1)
[4292204.902] [email protected](37, "xdg_activation_v1", 1)
[4292204.904]  -> [email protected](37, "xdg_activation_v1", 1, new id [unknown]@12)
[4292204.906] [email protected](38, "ext_session_lock_manager_v1", 1)
[4292204.908] [email protected](39, "wp_cursor_shape_manager_v1", 1)
[4292204.910] [email protected](40, "wp_tearing_control_manager_v1", 1)
[4292204.912] [email protected](41, "wp_single_pixel_buffer_manager_v1", 1)
[4292204.913] [email protected](42, "xwayland_shell_v1", 1)
[4292204.916] [email protected](43, "hyprland_toplevel_export_manager_v1", 2)
[4292204.919] [email protected](44, "wp_fractional_scale_manager_v1", 1)
[4292204.921] [email protected](45, "zwp_text_input_manager_v1", 1)
[4292204.923] [email protected](46, "hyprland_global_shortcuts_manager_v1", 1)
[4292204.926] [email protected](47, "zwlr_screencopy_manager_v1", 3)
[4292204.928] [email protected](48, "zxdg_output_manager_v1", 3)
[4292204.931] [email protected](49, "wl_output", 4)
[4292204.933]  -> [email protected](49, "wl_output", 3, new id [unknown]@13)
[4292204.936] [email protected](50, "wl_output", 4)
[4292204.938]  -> [email protected](50, "wl_output", 3, new id [unknown]@14)
[4292204.941] [email protected](2522)
[4292204.949]  -> [email protected](new id wl_callback@3)
[4292204.984] [email protected]_id(3)
[4292204.986] [email protected](0)
[4292205.019] [email protected](1)
[4292205.021] [email protected](875709016)
[4292205.022] [email protected](875708993)
[4292205.024] [email protected](875710274)
[4292205.026] [email protected](842094674)
[4292205.028] [email protected](842088786)
[4292205.031] [email protected](892426322)
[4292205.033] [email protected](892420434)
[4292205.035] [email protected](909199186)
[4292205.037] [email protected](808665688)
[4292205.040] [email protected](808665665)
[4292205.042] [email protected](1211384408)
[4292205.044] [email protected](1211384385)
[4292205.047] [email protected](942948952)
[4292205.049] [email protected](942948929)
[4292205.051] [email protected]("seat0")
[4292205.054] [email protected](3)
[4292205.056] [email protected](0, 0, 510, 290, 0, "LG Electronics", "24MP56", 3)
[4292205.077] [email protected](1, 1920, 1080, 74000)
[4292205.079] [email protected](1)
[4292205.081] [email protected]()
[4292205.088] [email protected](0, 0, 710, 400, 0, "Dell Inc.", "DELL G3223Q", 0)
[4292205.091] [email protected](1, 3840, 2160, 120014)
[4292205.093] [email protected](1)
[4292205.095] [email protected]()
[4292205.098] [email protected](2522)
[4292205.158]  -> [email protected]_surface(new id wl_surface@3)
[4292205.166]  -> [email protected]_pointer(new id wl_pointer@15)
[4292205.178]  -> [email protected]_relative_pointer(new id zwp_relative_pointer_v1@16, wl_pointer@15)
[4292205.191]  -> [email protected]_keyboard(new id wl_keyboard@17)
[4292206.502]  -> [email protected]_text_input(new id zwp_text_input_v3@18, wl_seat@7)
[4292206.558]  -> [email protected]_surface(new id wl_surface@19)
[4292206.572]  -> [email protected](13, "xdg_wm_base", 2, new id [unknown]@20)
[4292206.588]  -> [email protected]_pool(new id wl_shm_pool@21, fd 14, 4096)
[4292206.613]  -> [email protected]_xdg_surface(new id xdg_surface@22, wl_surface@19)
[4292206.621]  -> [email protected]_toplevel(new id xdg_toplevel@23)
[4292206.643]  -> [email protected]()
[4292206.655]  -> [email protected]_min_size(2, 1)
[4292206.658]  -> [email protected]_window_geometry(0, 0, 1280, 800)
[4292206.661]  -> [email protected]_surface(new id wl_surface@24)
[4292206.663]  -> [email protected]_pointer(new id wl_pointer@25)
[4292206.667]  -> [email protected]_toplevel_decoration(new id zxdg_toplevel_decoration_v1@26, xdg_toplevel@23)
[4292206.674]  -> [email protected]_mode()
[4292206.677]  -> [email protected]()
[4292206.678]  -> [email protected]_min_size(2, 1)
[4292206.681]  -> [email protected]_max_size(0, 0)
[4292206.683]  -> [email protected]_min_size(2, 1)
[4292206.685]  -> [email protected]_max_size(0, 0)
[4292206.688]  -> [email protected]_title("Flux")
[4292206.703]  -> [email protected](new id wl_callback@27)
[4292206.892] [email protected]_id(27)
[4292206.895] [email protected](1, fd 14, 64703)
[4292207.838] [email protected]_info(30, 300)
[4292207.842] [email protected](2523)
[4292207.846] [email protected](1920, 1063, array[0])
[4292207.868] [email protected](2)
[4292207.876] [email protected](2523)
[4292207.884]  -> [email protected]_configure(2523)
[4292209.292]  -> [email protected]_registry(new id wl_registry@27)
[4292209.297]  -> [email protected](new id wl_callback@28)
[4292209.325] [email protected]_id(28)
[4292209.328] [email protected](1, "wl_shm", 1)
[4292209.331] [email protected](2, "wl_drm", 2)
[4292209.334] [email protected](3, "zwp_linux_dmabuf_v1", 4)
[4292209.336]  -> [email protected](3, "zwp_linux_dmabuf_v1", 4, new id [unknown]@29)
[4292209.340] [email protected](4, "wl_compositor", 6)
[4292209.342] [email protected](5, "wl_subcompositor", 1)
[4292209.344] [email protected](6, "wl_data_device_manager", 3)
[4292209.347] [email protected](7, "zwlr_export_dmabuf_manager_v1", 1)
[4292209.350] [email protected](8, "zwlr_data_control_manager_v1", 2)
[4292209.352] [email protected](9, "zwp_primary_selection_device_manager_v1", 1)
[4292209.355] [email protected](10, "wp_viewporter", 1)
[4292209.358] [email protected](11, "zwlr_gamma_control_manager_v1", 1)
[4292209.360] [email protected](12, "zwlr_output_power_manager_v1", 1)
[4292209.363] [email protected](13, "xdg_wm_base", 6)
[4292209.365] [email protected](14, "wl_seat", 9)
[4292209.367] [email protected](15, "wp_presentation", 1)
[4292209.370] [email protected](16, "ext_idle_notifier_v1", 1)
[4292209.373] [email protected](17, "zwlr_layer_shell_v1", 4)
[4292209.375] [email protected](18, "org_kde_kwin_server_decoration_manager", 1)
[4292209.378] [email protected](19, "zxdg_decoration_manager_v1", 1)
[4292209.380] [email protected](20, "zwlr_output_manager_v1", 4)
[4292209.383] [email protected](21, "zwp_keyboard_shortcuts_inhibit_manager_v1", 1)
[4292209.385] [email protected](22, "zwp_pointer_constraints_v1", 1)
[4292209.388] [email protected](23, "zwp_relative_pointer_manager_v1", 1)
[4292209.390] [email protected](24, "zwp_virtual_keyboard_manager_v1", 1)
[4292209.393] [email protected](25, "zwlr_virtual_pointer_manager_v1", 2)
[4292209.396] [email protected](26, "zwlr_foreign_toplevel_manager_v1", 3)
[4292209.399] [email protected](27, "wp_drm_lease_device_v1", 1)
[4292209.401] [email protected](28, "zwp_tablet_manager_v2", 1)
[4292209.403] [email protected](29, "zwp_idle_inhibit_manager_v1", 1)
[4292209.406] [email protected](30, "zxdg_exporter_v1", 1)
[4292209.409] [email protected](31, "zxdg_importer_v1", 1)
[4292209.411] [email protected](32, "zxdg_exporter_v2", 1)
[4292209.413] [email protected](33, "zxdg_importer_v2", 1)
[4292209.416] [email protected](34, "zwp_pointer_gestures_v1", 3)
[4292209.418] [email protected](35, "zwp_text_input_manager_v3", 1)
[4292209.420] [email protected](36, "zwp_input_method_manager_v2", 1)
[4292209.423] [email protected](37, "xdg_activation_v1", 1)
[4292209.425] [email protected](38, "ext_session_lock_manager_v1", 1)
[4292209.428] [email protected](39, "wp_cursor_shape_manager_v1", 1)
[4292209.430] [email protected](40, "wp_tearing_control_manager_v1", 1)
[4292209.432] [email protected](41, "wp_single_pixel_buffer_manager_v1", 1)
[4292209.435] [email protected](42, "xwayland_shell_v1", 1)
[4292209.437] [email protected](43, "hyprland_toplevel_export_manager_v1", 2)
[4292209.439] [email protected](44, "wp_fractional_scale_manager_v1", 1)
[4292209.441] [email protected](45, "zwp_text_input_manager_v1", 1)
[4292209.443] [email protected](46, "hyprland_global_shortcuts_manager_v1", 1)
[4292209.445] [email protected](47, "zwlr_screencopy_manager_v1", 3)
[4292209.447] [email protected](48, "zxdg_output_manager_v1", 3)
[4292209.450] [email protected](49, "wl_output", 4)
[4292209.452] [email protected](50, "wl_output", 4)
[4292209.454] [email protected](2523)
[4292209.457]  -> [email protected]_default_feedback(new id zwp_linux_dmabuf_feedback_v1@28)
[4292209.459]  -> [email protected](new id wl_callback@30)
[4292209.478] [email protected]_id(30)
[4292209.480] [email protected]_device(array[8])
[4292209.647] [email protected]_table(fd 14, 5104)
[4292209.654] [email protected]_target_device(array[8])
[4292209.656] [email protected]_flags(0)
[4292209.658] [email protected]_formats(array[638])
[4292209.666] [email protected]_done()
[4292209.668] [email protected]()
[4292209.670] [email protected](2523)
[4292209.673]  -> [email protected]()
[4292227.101]  -> [email protected]_surface_feedback(new id zwp_linux_dmabuf_feedback_v1@30, wl_surface@19)
[4292227.110]  -> [email protected](new id wl_callback@31)
[4292227.151] [email protected]_id(28)
[4292227.157] [email protected]_id(31)
[4292227.159] [email protected](2523)
[4292227.917] [email protected]_device(array[8])
[4292227.922] [email protected]_table(fd 18, 5104)
[4292227.929] [email protected]_target_device(array[8])
[4292227.931] [email protected]_flags(0)
[4292227.932] [email protected]_formats(array[638])
[4292227.935] [email protected]_done()
[4292227.937] [email protected]()
[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]  -> [email protected]_window_geometry(0, 0, 1920, 1063)
[4292242.941]  -> [email protected](new id wl_callback@31)
[4292242.948]  -> [email protected]_params(new id zwp_linux_buffer_params_v1@28)
[4292242.965]  -> [email protected](fd 19, 0, 0, 5120, 33554432, 5683971)
[4292242.971]  -> [email protected](fd 20, 1, 4587520, 1536, 33554432, 5683971)
[4292242.975]  -> [email protected]_immed(new id wl_buffer@32, 1280, 800, 875713089, 0)
[4292242.978]  -> [email protected]()
[4292242.982]  -> [email protected](wl_buffer@32, 0, 0)
[4292242.985]  -> [email protected](0, 0, 2147483647, 2147483647)
[4292242.988]  -> [email protected]()
interface 'wl_surface' has no event 2

robbins avatar Apr 22 '24 17:04 robbins

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.

sandydoo avatar Apr 22 '24 19:04 sandydoo