Cemu
Cemu copied to clipboard
Add wayland support
When loading a game in wayland on linux CEMU crashes with this message
(Cemu:88939): Gdk-WARNING **: 21:50:42.090: ../../../../../gdk/x11/gdkwindow-x11.c:5653 drawable is not a native X11 window
(Cemu:88939): Gtk-CRITICAL **: 21:50:42.212: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkScrollbar
RPXHash: 0xdcac9927
(Cemu:88939): Gdk-WARNING **: 21:50:53.302: ../../../../../gdk/x11/gdkwindow-x11.c:5653 drawable is not a native X11 window
SIGSEGV!
Error: signal 11:
./Cemu[0x810107]
/lib/x86_64-linux-gnu/libc.so.6(+0x42520)[0x7faa1cbf7520]
/lib/x86_64-linux-gnu/libX11-xcb.so.1(XGetXCBConnection+0xb)[0x7faa1aa1e10b]
/usr/lib/x86_64-linux-gnu/libvulkan_radeon.so(+0x116378)[0x7faa1ab83378]
./Cemu[0x957da5]
./Cemu[0x954998]
./Cemu[0x9559fb]
./Cemu[0xb92eb1]
./Cemu[0xb4aac6]
./Cemu[0xb48e87]
./Cemu[0xb35f22]
./Cemu[0x7c24e6]
./Cemu[0x7c2653]
./Cemu[0x7c2a4d]
./Cemu[0x7c2acf]
./Cemu[0x7c2b79]
./Cemu[0x59a155]
./Cemu[0x7c34eb]
./Cemu[0x5557b6]
./Cemu[0x555a90]
./Cemu[0x50c2f5]
/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_closure_invoke+0x16f)[0x7faa1cfdfd2f]
/lib/x86_64-linux-gnu/libgobject-2.0.so.0(+0x30b76)[0x7faa1cffbb76]
/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_signal_emit_valist+0x11a4)[0x7faa1cffd554]
/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_signal_emit+0x93)[0x7faa1cffd7a3]
/lib/x86_64-linux-gnu/libgtk-3.so.0(gtk_widget_activate+0x5c)[0x7faa1e17bcbc]
/lib/x86_64-linux-gnu/libgtk-3.so.0(gtk_menu_shell_activate_item+0x13e)[0x7faa1e0499ce]
/lib/x86_64-linux-gnu/libgtk-3.so.0(+0x266ca3)[0x7faa1e049ca3]
/lib/x86_64-linux-gnu/libgtk-3.so.0(+0x3e6eb8)[0x7faa1e1c9eb8]
/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_signal_emit_valist+0x1290)[0x7faa1cffd640]
/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_signal_emit+0x93)[0x7faa1cffd7a3]
/lib/x86_64-linux-gnu/libgtk-3.so.0(+0x3ae724)[0x7faa1e191724]
terminate called without an active exception
Aborted (core dumped)
At the moment it can be fixed by running export GDK_BACKEND=x11 before running Cemu
From my knowledge Wayland support is just not supported, so I've renamed it to reflect the issue. Can change it back if it's not the same.
+1 for Wayland support. I'm having the same issue on Fedora 36.