OPINIONATED OMARCHY
TROUBLESHOOTING CORPUS
790
RECORDS
790
AUDITED
0
UNCHECKED
2388
SOURCES
LIVE
display-monitors low common DISPUTE

Fix Firefox rendering blurry or double-scaled on a fractional scale

omarchyarchendeavouroscachyosmanjarohyprlandwayland
AUDITED Audited against its sources and confirmed accurate.

Symptom

Firefox is fuzzy on a fractionally scaled display, or is enormous. Set the screen to 150% and Firefox renders at 200% then gets shrunk back down, so every glyph looks smeared.

Cause

Firefox picks up GTK's scale, which is integer-only, then the compositor downscales the result. GDK_SCALE does not scale Firefox consistently and does not accept fractional values at all.

Fix

Omarchy already sets MOZ_ENABLE_WAYLAND=1. In about:config set:


widget.wayland.fractional-scale.enabled = true

If the UI is still the wrong size, override it directly instead of using GDK_SCALE:


layout.css.devPixelsPerPx = 1.5     # 1.25 = 125%, 1.5 = 150%; -1.0 = follow system

Restart Firefox. Do not also set Xft.dpi. Setting it alongside a toolkit scale makes Firefox's UI much larger than intended.

Verify

about:support -> Graphics shows Window Protocol: wayland, and page text is sharp at your chosen scale.

Sources

firefox-blurry-or-double-scaled-wayland