It's possible the problem is actually GTK (which sits between Mutter and the apps) only supporting integer scales.
** Tags added: focal ** Also affects: gtk+3.0 (Ubuntu) Importance: Undecided Status: New ** Tags added: xrandr-scaling ** Changed in: gtk+3.0 (Ubuntu) Importance: Undecided => Low ** Changed in: mutter (Ubuntu) Importance: Undecided => Low -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to gtk+3.0 in Ubuntu. https://bugs.launchpad.net/bugs/1895164 Title: Display scaling 150% causes Firefox and Chrome to return window.devicePixelRatio = 2 Status in gtk+3.0 package in Ubuntu: New Status in mutter package in Ubuntu: New Bug description: ## Steps to reproduce 1. Use Ubuntu 20.04 with an Nvidia graphics card with GNOME Desktop. 2. Set display scaling to any fractional value (150%) 3. open up Firefox/Chrome/Chromium. Open up Console and type `window.devicePixelRatio` ## What happened I received 2 ## What should have happened I should have gotten 1.5 --- I reported this bug here instead of in Firefox/Chrome because they both report the same value only on Linux. They correctly report 1.5 on Windows, which I believe may be an issue with GNOME. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gtk+3.0/+bug/1895164/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp