Font rendering and screen tearing issue after install

This year I decided that I was going to switch to Linux full time on my main machine, I always liked arch and decided to install EndeavourOS, but after installing it with the gnome DE I noticed that some fonts on discord and Vivaldi were blurry and with some sharpening issues.

some examples:
image

things that I tried:

  • Reinstalling the OS with another DE (KDE)
  • Using a WM instead of a DE
  • Installing nvidia drivers
  • Changing Xft settings to the following:

Xft.lcdfilter: lcddefault
Xft.antialias: true
Xft.autohint: 0
Xft.hinting: true
Xft.hintstyle: hintslight
Xft.rgba: rgb
Xft.dpi: 96

  • set FREETYPE_PROPERTIES=“truetype:interpreter-version=40” (it improved a little bit of the font rendering)
  • Changed nvidia settings to ForceFullCompositionPipeline = On
  • Change all the hinting options

My specs are:

Graphics Card: Nvidia RTX 2080 Super

Processor: Ryzen 7 3800X 8-core

Motherboard: TUF X470-PLUS GAMING

16 GB of ram

Yeah, they are different, but they use different font rendering software, so they are going to look different. I see no major issue with either, though.

That said, I am almost blind. :rofl:

Welcome to the forum!

P.S. You should open a new topic regarding screen tearing. Let’s focus on fonts in this one.

3 Likes

Hmmm - not sure what to say there. The biggest difference I see is that the Windows rendering appears to be slightly bolder rather than sharper or clearer. Your setting appear to make some sense to me, so no suggestions there. have you tried different fonts? TTF are Windows format (AFAIK) so might be responding better to ClearType on Windows…

Good luck!

(maybe an expert will be along with better assistance - at my age I'm just glad to still be able to read them!)
3 Likes
2 Likes

I don’t think that’s the issue here, because if you look carefully (with a magnifier), you’ll notice more colour fringing on the windoze example than on Linux.

I think the OP just wants the fonts to be bolder.

2 Likes

No i think it’s that, that’s quirks of font rendering when it comes to ClearType / LCD filter…
Sure there are differences between the two though, but they’re in a different plane :upside_down_face:

Also Windows is not magically doing auto-tuning as well for each possible configuration / monitor, hence DYEURS COLOURS!1111 :rofl:

We’ll see when @Josh25 will try it, since it’s pretty hard to capture on screenshots, unless you try it live on own device :slight_smile:

After 2 days of research, I learned a couple of things, one of them is that DPI is something that you usually want to be tailor-made, but I use 2 monitors with different sizes and I have no clue of how to set DPI individually (one of the suggestions that I saw is to artificially resize one of the screens to look the same, and as far as I know that’s a No Bueno because makes the fonts blurry). But after changing the DPI of one of the screens I noticed that some applications that I had problems with are now normal, however, the applications that I posted here (Vivaldi and discord) are still weird, but this time I noticed something very important: every time that I open the discord settings I can see the font changing from the usual font that I see on windows to the weird font that I’m seeing on endeavouros, here’s a video showing the problem
Another thing that I noticed is that when discord and Vivaldi are in light theme the font looks almost normal, but that’s probably because on the light mode the problem is less weird.

PS: The screen tearing is gone after I installed Xfce, it seems that KDE and Gnome act kinda weirdly with my machine.

1 Like

Oh, different DPI monitors is always a problem on Linux - it’s extremely complex topic.
The only DE i could advice which works good with per-monitor dpi out of the box is Deepin, but in a good conscious i will never advice to use it daily.

Generally you would want to achieve native resolution / dpi of each monitor + do that thing i’ve linked above to get best font tendering

It’s not that, all web / web based apps which are using css / js animations turn off font hinting & subpixel rendering stuff by default during animations to preserve performance, unfortunately.

Coz if they won’t - animation would be very choppy and laggy :woozy_face:

2 Likes

Makes sense, I think I have no questions about this, It seems that most DE’s lack on some aspect, what would be the shortcomings of Deepin?

Edit: One thing that I realized is that anything chromium based has this weird font problem even with the DPI matching your monitor, such a shame because my favorite browser (Vivaldi) is chromium based and looks atrocious (UI and websites very small)

It’s incredibly unstable and not truly community based, meaning all decisions are based on corporate Chinese clients first, instead of community / bug reports :pensive:

Other than that it’s very good and innovative :laughing:


Not sure on Vivaldi, there are some users of this browser around perhaps they’ll have some knowledge

2 Likes

Plasma since version 5.22 supports different DPI scaling per monitor.

2 Likes

For real this time, on X11 as well?

Where’s my DisplayPort cable… :yum:

1 Like

I think so, yes. I haven’t tested it, but I remember reading about it.

Can I use Plasma to set DPI per monitor in a separate WM (qtile)? If not can I do that with a script or command?

No idea. I use one monitor per PC, so I’m the worst person to ask about this.

1 Like

This should be fixable as a separate issue in a chromium based browser. In mine, I add a parameter to the startup –force-device-scale-factor=1.5 - either on the command line, or added to the end of the Exec= line in /usr/share/applications/browsername.desktop. Give that a try and see if it helps. The number is merely what I use, but 1,75 or 2 or whatever is fine too…

1 Like

That looks like a solution for 4k monitors but my monitor is a bland 1920x1080 HD so it’s kinda strange that the fonts on linux are not prepared for the most generic desktop lol

True - that’s whaat IU need it for - but you said it was too small, and that’s one way to make it larger. Maybe 1.25? Can’t see from here how bad it is :grin:

Good luck.

PS - there are a lot of internal adjustments in most chromium based setups - so maybe go trolling through them all?
1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.