Hacker News new | ask | show | jobs
by JoshTriplett 1687 days ago
Current versions of VSCode support running under Wayland, though they don't do so by default.

I would suggest running under Wayland, and making all apps use Wayland natively.

1 comments

Even when run under Wayland, VSCode looks blurry with a scaling of 150%... Wayland advocates love to mention that the real issue is using fractional scaling at all, but Windows and macOS can deal with it just fine.
VSCode/VSCodium should render sharply with fractional scaling on Wayland, as long as you run the application with these command line options:[1]

  --enable-features=UseOzonePlatform --ozone-platform=wayland
You probably want to update your desktop entries to lock in these options by default.[2]

[1] https://wiki.archlinux.org/title/Visual_Studio_Code#Running_...

[2] https://wiki.archlinux.org/title/Desktop_entries

> Even when run under Wayland, VSCode looks blurry with a scaling of 150%...

It shouldn't when running natively; it should render everything at the correct size rather than scaling them. X apps get blurry because they're rendered large and downscaled; that shouldn't happen for native Wayland apps.