~whynothugo/shotman#22: 
`capture --output` not working with Wayfire 0.7.5

$ shotman --capture output
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` 
value: the requested global was not found in the registry', 
src/main.rs:173:6
note: run with `RUST_BACKTRACE=1` environment variable to display 
a backtrace
$ RUST_BACKTRACE=full shotman --capture output
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` 
value: the requested global was not found in the registry', 
src/main.rs:173:6
stack backtrace:
   0:     0x561e075108ac - <unknown>
   1:     0x561e0745a30e - <unknown>
   2:     0x561e074e52c4 - <unknown>
   3:     0x561e0751208f - <unknown>
   4:     0x561e07511c8f - <unknown>
   5:     0x561e07512d28 - <unknown>
   6:     0x561e075127e4 - <unknown>
   7:     0x561e07512746 - <unknown>
   8:     0x561e07512731 - <unknown>
   9:     0x561e074071d2 - <unknown>
  10:     0x561e07407562 - <unknown>
  11:     0x561e074da9f0 - <unknown>
  12:     0x561e07411013 - <unknown>
  13:     0x561e074c97b9 - <unknown>
  14:     0x7f0db09c798a - <unknown>
  15:     0x7f0db09c7a45 - __libc_start_main
  16:     0x561e0740b661 - <unknown>
  17:                0x0 - <unknown>
Status
REPORTED
Submitter
~flexibeast
Assigned to
No-one
Submitted
1 year, 4 months ago
Updated
1 year, 3 months ago
Labels
third-party

~whynothugo 1 year, 3 months ago

What version is this?

Can you include the output of wayland-info?

~whynothugo 1 year, 3 months ago

I have an impression that wayfire doesn't support single-pixel-buffer-v1.

Wayfire uses wlroots, which means (if I understand correctly) that implementing support for it shouldn't be a big deal.

~flexibeast 1 year, 3 months ago

What version is this?

i presume you mean "version of shotman", since i mentioned the Wayfire version (0.7.5) in the issue title; it's shotman v0.4.3-7-g0328ae5.

I have an impression that wayfire doesn't support single-pixel-buffer-v1.

Yeah, it's not listed in the output of wayland-info for either 0.7.5 or 0.8.0 (which i've just started running). Would you still like the full output of wayland-info for both versions? Or should i just open an issue in the wayland repo asking if single-pixel-buffer-v1 might be able to be implemented?

~whynothugo 1 year, 3 months ago

You can use shotman <= v0.4.1 in the meantime (which doesn't require single-pixel-buffer-v1).

Please do open a request for Wayfire to implement this. wlroots does most of the heavy lifting and adding supports seems to be pretty simple. Here's the relevant change for swaywm:

https://github.com/swaywm/sway/pull/7053/files

~flexibeast 1 year, 3 months ago

Thanks! Issue opened.

Register here or Log in to comment, or comment via email.