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

Fails to start on Wayland #159

Open
mashmerlow opened this issue Feb 11, 2024 · 10 comments
Open

Fails to start on Wayland #159

mashmerlow opened this issue Feb 11, 2024 · 10 comments

Comments

@mashmerlow
Copy link

mashmerlow commented Feb 11, 2024

Inkscape doesn't start when using Wayland. I'm using Debian 12.5 with GNOME 43.9 on an AMD Ryzen 5700G.
It runs perfectly when the "wayland" socket is disabled using Flatseal, albeit using XWayland

This is the error that it displays.
`

 0# Inkscape::Application::crash_handler(int) in /app/bin/../lib/inkscape/libinkscape_base.so.1.3.2.0
 1# 0x00007F2C46651E80 in /usr/lib/x86_64-linux-gnu/libc.so.6
 2# Gdk::Device::get_source() const in /app/bin/../lib/inkscape/../libgdkmm-3.0.so.1
 3# 0x00007F2C48850B5D in /app/bin/../lib/inkscape/libinkscape_base.so.1.3.2.0
 4# Inkscape::DeviceManagerImpl::DeviceManagerImpl() in /app/bin/../lib/inkscape/libinkscape_base.so.1.3.2.0
 5# Inkscape::DeviceManager::getManager() in /app/bin/../lib/inkscape/libinkscape_base.so.1.3.2.0
 6# Inkscape::Application::Application(bool) in /app/bin/../lib/inkscape/libinkscape_base.so.1.3.2.0
 7# Inkscape::Application::create(bool) in /app/bin/../lib/inkscape/libinkscape_base.so.1.3.2.0
 8# InkscapeApplication::on_startup() in /app/bin/../lib/inkscape/libinkscape_base.so.1.3.2.0
 9# Glib::SignalProxyNormal::slot0_void_callback(_GObject*, void*) in /app/lib/libglibmm-2.4.so.1
10# g_closure_invoke in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
11# 0x00007F2C45DD1CD9 in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
12# 0x00007F2C45DD33F1 in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
13# g_signal_emit_valist in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
14# g_signal_emit in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
15# g_application_register in /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
16# 0x00007F2C45F0076E in /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
17# g_application_run in /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
18# main in inkscape
19# 0x00007F2C4663B08A in /usr/lib/x86_64-linux-gnu/libc.so.6
20# __libc_start_main in /usr/lib/x86_64-linux-gnu/libc.so.6
21# _start in inkscape
System info Inkscape 1.3.2 (091e20ef0f, 2023-11-25)
GLib version:     2.78.3
GTK version:      3.24.39
glibmm version:   2.66.1
gtkmm version:    3.24.5
libxml2 version:  2.11.5
libxslt version:  1.1.39
Cairo version:    1.18.0
Pango version:    1.51.0
HarfBuzz version: 8.1.1

OS version:       GNOME 45 (Flatpak runtime)
`
@hfiguiere
Copy link
Collaborator

I use it all the time on Wayland. No problem. Do you have some uncommin input device connected?

@hfiguiere
Copy link
Collaborator

Also what GPU?

@mashmerlow
Copy link
Author

mashmerlow commented Feb 11, 2024

I use the integrated graphics in the AMD Ryzen 5700G, which I believe uses the "amdgpu" driver.
As for input, I do have a Wacom Intuos Pro tablet.

Edit: Disconnecting it and reconnecting somehow makes Inkscape work again. After plugging it in again, the issue returns.

@hfiguiere
Copy link
Collaborator

What if you run Inkscape flatpak from the command line with --device=all, whil you have the wacom tablet plugged in.

Something like

flatpak run --device=all org.inkscape.Inkscape

If that does the trick we have an easy solution, and I can figure out a more robust fix.

@mashmerlow
Copy link
Author

It still brings up the error message, unfortunately 😔

@hfiguiere
Copy link
Collaborator

I can reproduce here (located the Wacom).

@ripper81
Copy link

I can also reproduce this on my Kubuntuinstall. Running KDE Plasma 5.27.10 with the Waylandsession. Inkscape is crashing on startup as long as the wacom tablet is connected.

@ethereal-engineer
Copy link

Can also verify - same issue. Unplug the Intuos Tablet and - wow - it works. It will also work if forcing to run on xwayland using GDK_BACKEND=x11.
arch, hyprland

@manuq
Copy link

manuq commented May 14, 2024

Verified here as well. Thanks to this ticket now I know that unplugging my Wacom makes Inkscape start again.

@weiss-d
Copy link

weiss-d commented May 17, 2024

same thing with Wacom Intuous / Manjaro - Wayland - Plasma 6

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

6 participants