Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wayland error : Attempted to dispatch unknown opcode 0 for wl_shm, aborting #146

Open
irina-b-dev opened this issue Apr 20, 2023 · 0 comments

Comments

@irina-b-dev
Copy link

irina-b-dev commented Apr 20, 2023

Running any example will give Attempted to dispatch unknown opcode 0 for wl_shm, aborting .

OS : Ubuntu 22.04.2 LTS
GNOME version : 42.5
Windowing system : Wayland

log for RUST_BACKTRACE=1 WAYLAND_DEBUG=1 cargo run --example counter --features opengl, debug --release
Finished dev [unoptimized + debuginfo] target(s) in 0.22s
Running `home/repos/coffee/target/debug/examples/counter debug --release`
[ 802910.064]  -> wl_display@1.get_registry(new id wl_registry@2)
[ 802910.080]  -> wl_display@1.sync(new id wl_callback@3)
[ 802910.193] wl_display@1.delete_id(3)
[ 802910.213] wl_registry@2.global(1, "wl_compositor", 5)
[ 802910.237]  -> wl_registry@2.bind(1, "wl_compositor", 5, new id [unknown]@4)
[ 802910.273] wl_registry@2.global(2, "wl_drm", 2)
[ 802910.278] wl_registry@2.global(3, "wl_shm", 1)
[ 802910.297]  -> wl_registry@2.bind(3, "wl_shm", 1, new id [unknown]@5)
[ 802910.439] wl_registry@2.global(4, "wl_output", 2)
[ 802910.448]  -> wl_registry@2.bind(4, "wl_output", 2, new id [unknown]@6)
[ 802910.461] wl_registry@2.global(5, "zxdg_output_manager_v1", 3)
[ 802910.467] wl_registry@2.global(6, "wl_data_device_manager", 3)
[ 802910.470] wl_registry@2.global(7, "zwp_primary_selection_device_manager_v1", 1)
[ 802910.474] wl_registry@2.global(8, "gtk_primary_selection_device_manager", 1)
[ 802910.479] wl_registry@2.global(9, "wl_subcompositor", 1)
[ 802910.503] wl_registry@2.global(10, "xdg_wm_base", 4)
[ 802910.507] wl_registry@2.global(11, "zxdg_shell_v6", 1)
[ 802910.512] wl_registry@2.global(12, "gtk_shell1", 5)
[ 802910.516] wl_registry@2.global(13, "wp_viewporter", 1)
[ 802910.522] wl_registry@2.global(14, "zwp_pointer_gestures_v1", 3)
[ 802910.527] wl_registry@2.global(15, "zwp_tablet_manager_v2", 1)
[ 802910.531] wl_registry@2.global(16, "wl_seat", 5)
[ 802910.540]  -> wl_registry@2.bind(16, "wl_seat", 5, new id [unknown]@7)
[ 802910.550] wl_registry@2.global(17, "zwp_relative_pointer_manager_v1", 1)
[ 802910.583]  -> wl_registry@2.bind(17, "zwp_relative_pointer_manager_v1", 1, new id [unknown]@8)
[ 802910.614] wl_registry@2.global(18, "zwp_pointer_constraints_v1", 1)
[ 802910.620]  -> wl_registry@2.bind(18, "zwp_pointer_constraints_v1", 1, new id [unknown]@9)
[ 802910.629] wl_registry@2.global(19, "zxdg_exporter_v1", 1)
[ 802910.634] wl_registry@2.global(20, "zxdg_importer_v1", 1)
[ 802910.639] wl_registry@2.global(21, "zwp_linux_dmabuf_v1", 4)
[ 802910.644] wl_registry@2.global(22, "zwp_keyboard_shortcuts_inhibit_manager_v1", 1)
[ 802910.649] wl_registry@2.global(23, "zwp_text_input_manager_v3", 1)
[ 802910.653] wl_registry@2.global(24, "wp_presentation", 1)
[ 802910.658] wl_registry@2.global(25, "xdg_activation_v1", 1)
[ 802910.663] wl_callback@3.done(9110)
[ 802910.666]  -> wl_display@1.sync(new id wl_callback@3)
[ 802910.722] wl_display@1.delete_id(3)
[ 802910.726] wl_shm@5.format(0)
[ 802910.731] wl_shm@5.format(1)
[ 802910.733] wl_shm@5.format(875708993)
[ 802910.735] wl_shm@5.format(875709016)
[ 802910.737] wl_shm@5.format(909199186)
[ 802910.739] wl_shm@5.format(808669761)
[ 802910.743] wl_shm@5.format(808669784)
[ 802910.745] wl_shm@5.format(808665665)
[ 802910.748] wl_shm@5.format(808665688)
[ 802910.750] wl_shm@5.format(1211388481)
[wayland-client error] Attempted to dispatch unknown opcode 0 for wl_shm, aborting.
Aborted (core dumped) ```


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant