XFCE works quite well, also I found this guide really helpful:
https://wiki.archlinux.org/title/HiDPI
So in case you consider XFCE, also GTK and other frameworks need to be configured. With closed-source Nvidia drivers the configuration options with Xrandr are limited though IIRC.