tdakhran / wl-ambilight

Ambient light for wayland
MIT License
8 stars 0 forks source link

what(): Interface not supported: zwlr_export_dmabuf_manager_v1 #2

Open user3287 opened 1 year ago

user3287 commented 1 year ago

Trying to execute wl-ambilight I get the following error:

  1. When executing as non-root:
terminate called after throwing an instance of 'std::runtime_error'
  what():  Interface not supported: zwlr_export_dmabuf_manager_v1
zsh: IOT instruction (core dumped)
  1. When executing as root:
error: XDG_RUNTIME_DIR is invalid or not set in the environment.
terminate called after throwing an instance of 'std::runtime_error'
  what():  Failed to connect to wayland display
zsh: IOT instruction (core dumped)

I use Manjaro/ Plasma/ Wayland with an amd gpu.

tdakhran commented 1 year ago

zwlr_export_dmabuf_manager_v1 is an unstable protocol and not many Wayland compositors implement it. sway do implement it.

I will add wlr-screencopy-unstable-v1 support, it is more commonly used but has higher overhead.

user3287 commented 1 year ago

Ah, I figured that wasn't the issue because https://wayland.app/protocols/wlr-export-dmabuf-unstable-v1 lists zwlr_export_dmabuf_manager_v1 as first point... I'm very inexperienced. I use KWin. Thanks for looking into this! :)

user3287 commented 1 year ago

Still here looking for a way to get my ambient light to work on kwin :P Funny how "back then", when I just started to use wayland, I didn't even understand the differences between kwin and sway. On that note: Why actually doesn't kwin support that protocol? Because it's still unstable?