I haven’t been able to figure out how to get Godot to properly render UI on HiDPI displays with scaling on Linux (Wayland). Text, rounded corners, and other UI elements appear noticeably blurry regardless of the display settings (stretch mode, stretch scale, viewport width/height). Below are two screenshots, the first was taken when my display was set to 1x scaling, the second is the same UI element after setting my display to 2x scaling and restarting Godot.
In the editor, the text displays as crisp as in the 1x image regardless of screen scaling; this issue only affects the game when running.