I have a workaround for Obsidian and potentially other apps, since I have the same issue: if you're using the Flatpak version, you can disable Wayland (Wayland Windowing System, Inherit Wayland Socket) in Flatseal, which gets pen support working for the most part.
The only issue with the above is that some drag and drop stuff no longer works, and if the display scale isn't set to 100% the pen cursor is kinda off in things like Excalidraw (but still draws correctly)
If you install some of the other applications as flatpaks too, doing the same to those might work as well.