Pen Tablet Not Functional Anymore in Excalidraw Plugin within Obsidian on Fedora DE Hyprland & GNOME

Issue Description

I am encountering an issue where my HUION Tablet_H430P pen tablet is not functional within the Excalidraw plugin in Obsidian when running on Hyprland and GNOME both the environments. Specifically, I am unable to select or draw anything using the pen of my pen tablet within the Excalidraw plugin. However, I am able to use the mouse without any issues. Notably, The pen tablet was functioning correctly in Obsidian up till 23rd July 2024.

Steps to Reproduce

  • Install Obsidian via Flatpak on Fedora Unix Linux with Hyprland (Wayland) or GNOME as the window manager.
  • Open Obsidian and enable the Excalidraw plugin.
  • Attempt to use the HUION Tablet_H430P pen tablet within the Excalidraw plugin.

Did you follow the troubleshooting guide? [Y/N]

Yes i did the above given steps in the sandbox vault

Expected result

I expect to be able to use my pen tablet to draw and interact with elements within the Excalidraw plugin, similar to how it functions with a mouse.

Actual result

The pen tablet is not responsive within the Excalidraw plugin. I am unable to select or draw anything using the pen. However, the pen tablet works correctly in other applications and even in standalone Excalidraw instances outside of Obsidian.

Environment

SYSTEM INFO:
	Obsidian version: v1.6.7
	Installer version: v1.6.7
	Operating system: #1 SMP PREEMPT_DYNAMIC Thu Jul 25 18:17:34 UTC 2024 6.9.11-200.fc40.x86_64
	Login status: not logged in
	Insider build toggle: off
	Live preview: on
	Base theme: light
	Community theme: none
	Snippets enabled: 0
	Restricted mode: off
	Plugins installed: 2
	Plugins enabled: 2
		1: Better Word Count v0.10.1
		2: Excalidraw v2.2.13

Additional information

Logs

Debug: Enabling Wayland backend
Deleting cache directory: /home/tratum/.var/app/md.obsidian.Obsidian/config/obsidian/GPUCache
Debug: Will run Obsidian with the following arguments: --ozone-platform-hint=auto --enable-features=WaylandWindowDecorations --enable-wayland-ime
Debug: Additionally, user gave: 
[14:0801/223257.497886:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
2024-08-01 17:02:57 Loading main app package /app/resources/obsidian.asar
LaunchProcess: failed to execvp:
xdg-settings
[14:0801/223257.940556:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
[14:0801/223257.940689:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
2024-08-01 17:02:58 Checking for update using Github
2024-08-01 17:02:59 Success.
2024-08-01 17:02:59 Latest version is 1.6.7
2024-08-01 17:02:59 App is up to date.

moved to help section for multiple violations to the acceptable bug report template.

Please read the troubleshooting guide and the bug report template thanks.

I am happy to report that i have found a workaround for this bug i encountered and here are the steps we can follow

  • Downgrade the Kernel: Downgrade the kernel version to anything below 6.9.12-200.fc40.x86_64 ( I am personally on the kernel version 6.9.11-200.fc40.x86_64)

  • Sandbox Permissions: Apply the following Sandbox Permissions

     [Context]
     shared=network;ipc;
     sockets=x11;pulseaudio;fallback-x11;ssh-auth;
     devices=dri;
     filesystems=/home/tratum/.themes;/mnt;xdg-run/app/com.discordapp.Discord:create;/home/tratum/.icons;xdg- 
     run/gnupg:ro;/run/media;home;/media;~/.local/share/fonts:ro;
     persistent=~/.ssh;
    
     [Environment]
     GTK_THEME=Andromeda-dark
     SSH_ASKPASS=/app/libexec/openssh/ssh-askpass
     OBSIDIAN_ENABLE_AUTOSCROLL=0
     PATH=/usr/bin:/app/bin:/app/texlive/bin:/app/texlive/bin/x86_64-linux:/app/texlive/bin/aarch64-linux
     OBSIDIAN_DISABLE_GPU=0
     GH_PATH=gh
     OBSIDIAN_CLEAN_CACHE=1
     XCURSOR_PATH=/run/host/user-share/icons:/run/host/share/icons:~/.icons
     ICON_THEME=Flat-Remix-Blue-Dark
    

Note: Unfortunately This’ll not work for wayland and only the x-11-windowing system via the gnome desktop environment

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.