Comment by ~primalmotion on ~exec64/imv
On Jan 18, 2023 11:00, ~emersion wrote:
Patch for this: https://lists.sr.ht/~exec64/imv-devel/patches/38286
Fixes the issue here too. Thanks!
Comment by ~primalmotion on ~exec64/imv
I haven't checked the cpu usage, but I see the same symptoms otherwise, yeah
Comment by ~primalmotion on ~exec64/imv
continuing my investigation, I can get the master of imv to work on output with scale > 1 with this patch
diff --git a/src/wl_window.c b/src/wl_window.c index 5efa42f..77b02f2 100644 --- a/src/wl_window.c +++ b/src/wl_window.c @@ -488,7 +488,7 @@ static void output_scale(void *data, struct wl_output *wl_output, int32_t factor { (void)data; struct output_data *output_data = wl_output_get_user_data(wl_output); - output_data->pending_scale = factor; + output_data->pending_scale = 1; }
This is obviously completely ugly and definitely not the fix, but it does fix the issue partially (the image shows but it's blurry)
Comment by ~primalmotion on ~exec64/imv
mpv fixed the issue in their master, not sure if the same thing can be applied in imv. I tried naively to find some similar portion of the code in imv, but could not find anything relevant
https://github.com/mpv-player/mpv/commit/cd3b4edea06dec659d9676f2649cc1b1be2e8565
Ticket created by ~primalmotion on ~exec64/imv
imv (and mpv) broke on wlroots/sway > May 30.
imv Downloads/screenshot-2022-06-01-14:47:56.png wl_surface@10: error 2: Buffer size (717x795) is not divisible by scale (2)
According to emersion, this is not a bug on wlroots/sway (see https://github.com/swaywm/sway/issues/7050)
(I tried with imv latest as well as master)
Ticket created by ~primalmotion on ~emersion/grim
For some reasons, grim stopped working on my laptop monitor. It says
failed to copy output eDP-1
and returns 1. It works well on my secondary monitor though (but the fact that the other monitor is plugged or not does not change anything regarding eDP-1)I have tried to install the latest master version, through the AUR but that does not change anything. I run sway 1.8-dev-251a648e
Ticket created by ~primalmotion on ~exec64/imv
I've updated to latest wlroots/sway and now imv segfaults immediately, whatever image I try to open:
imv Downloads/screenshot-2021-12-13-19:58:23.png listener function for opcode 4 of wl_output is NULL [1] 347009 abort (core dumped) imv Downloads/screenshot-2021-12-13-19:58:23.png