Skip to content

Failed (and solved) #5

@gnacho

Description

@gnacho

I get this issue after changing monitors:

> ~/.cargo/bin/obsbot-gui                                                                                                                                                                                           ✔ 
> wl_surface#25: error 2: Buffer size (320x45) must be an integer multiple of the buffer_scale (2).
> warning: queue 0x558196a2d5e0 destroyed while proxies still attached:
>   wl_buffer#95 still attached
>   wl_buffer#93 still attached
>   wl_buffer#94 still attached
>   wl_buffer#92 still attached
>   wl_subsurface#34 still attached
>   wl_surface#33 still attached
>   wl_subsurface#32 still attached
>   wl_surface#31 still attached
>   wl_subsurface#30 still attached
>   wl_surface#29 still attached
>   wl_subsurface#28 still attached
>   wl_surface#27 still attached
>   wl_subsurface#26 still attached
>   wl_surface#25 still attached
>   xdg_wm_base#23 still attached
>   wl_output#15 still attached
>   wl_output#14 still attached
>   xdg_activation_v1#13 still attached
>   zwp_text_input_manager_v3#12 still attached
>   zwp_pointer_constraints_v1#11 still attached
>   zwp_relative_pointer_manager_v1#10 still attached
>   wl_seat#9 still attached
>   wp_fractional_scale_manager_v1#8 still attached
>   wp_viewporter#7 still attached
>   wl_subcompositor#6 still attached
>   wl_shm#5 still attached
>   wl_compositor#4 still attached
>   wl_registry#2 still attached

And I realized it was due to fractional scale, so the solution is launching obsbot with this command:

WAYLAND_DISPLAY= GDK_SCALE=1 obsbot-gui

And... tadaaa, it works!!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions