this post was submitted on 05 May 2024
-1 points (0.0% liked)

Linux

66074 readers
373 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 7 years ago
MODERATORS
 

I tried different font settings in the font settings and it didn't improve much (font hinting, anti aliasing, custom DPI settings, different font size)

The font is the default one which is Ubuntu Regular with font size set to 10

Sub pixel order is set properly to RGB Linux Mint xfce

Even when running windows in a virtual machine, the font rendering in it is miles ahead of what I got on my Linux setup!!!

top 38 comments
sorted by: hot top controversial new old
[–] possiblylinux127@lemmy.zip 0 points 2 years ago (1 children)
[–] Im28xwa@lemdro.id -1 points 2 years ago

Idk but I forgot to mention that now the laptop actually wakes up from sleep after I switched to the OS drivers, those proprietary drivers are really bad, god I shouldn't have switched to them at all.

[–] geoma@lemmy.ml 0 points 2 years ago* (last edited 2 years ago) (1 children)

Are your video card and monitor working properly on linux? You getting the resolution you should?

[–] Im28xwa@lemdro.id 0 points 2 years ago (2 children)

Very old Toshiba laptop with a very old Nvidia gpu GT 525M running proprietary drivers connected to a 1080p monitor and yes it is running at 1080p

[–] geoma@lemmy.ml 0 points 2 years ago (1 children)

I don't know. This sounds like some strange thing, never happened to me and I deal a lot with old computers... Maybe try another distro?

[–] Im28xwa@lemdro.id -1 points 2 years ago (1 children)

I have always wanted to try opensuse so we will see

[–] geoma@lemmy.ml 0 points 2 years ago (1 children)

Fedora atomic versions are great IMHO. Or mx linux or debian if you are looking for something more normal

[–] Im28xwa@lemdro.id -1 points 2 years ago

TBH I'm just following https://distrochooser.de/ #1 recommendation, I want something that works best for me, not willing to spend any more time in testing new things that might be good, if it is good then I will let the community try them 1st, I will be the last to jump in

[–] toastal@lemmy.ml 0 points 2 years ago (1 children)

If your next machine has a higher pixel density than 1080p, the need for aggressive hinting diminishes as pixels are smaller & needing to extrapolate subpixels accurately is less important (and less taxing to compute). That wouldn’t help you now, but in the future you may want to consider something like 2.8k which isn’t overkill like 4k on a small laptop display at arm’s length.

[–] Im28xwa@lemdro.id -1 points 2 years ago

Thanks for the valuable information! I'm still not sure if I'm gonna get a laptop or build a desktop as an upgrade for the future but one thing is sure is that 1440p is the absolute minimum for me, no way in hell I'm getting anything lower than that

[–] lemmyvore@feddit.nl 0 points 2 years ago (2 children)

Can we see some screenshots? It's hard to work just with someone's idea of "better". Not to mention that font rendering can be tweaked on both Windows and Linux and we don't know what settings you've changed so far. Oh and I hope you're comparing the same font otherwise there isn't much point you the comparison.

[–] bizdelnick@lemmy.ml 0 points 2 years ago (1 children)

And also show ls -l /etc/fonts/conf.d

[–] Im28xwa@lemdro.id -1 points 2 years ago (1 children)

I tried to upload a screenshot when creating this post, but it seems there is an issue with the instance I'm on, so I just tried uploading it to Imgur instead so here you go, and oh scaling is set to 1x (there is only 1x which is the default and 2x which I tried today, but it made all the UI elements and text too big and yep I'm not using the same fonts for comparison and I don't think it is as simple to install and use the font used by win 10 and/or 11, and honestly I do not know if using Microsoft font going to fix this issue or not

screenshot these all are the default settings except maybe for Hinting

[–] bizdelnick@lemmy.ml 0 points 2 years ago (1 children)

The biggest problem that I see on this screenshot is that it is a compressed JPEG.

[–] Im28xwa@lemdro.id -1 points 2 years ago

Lol blame linux mint, or is it imgur?

[–] john89@lemmy.ca 0 points 2 years ago (1 children)
[–] Im28xwa@lemdro.id -1 points 2 years ago (1 children)
[–] john89@lemmy.ca 0 points 2 years ago (1 children)
[–] Im28xwa@lemdro.id -1 points 2 years ago

It's okay this is life after all.

[–] TCB13@lemmy.world 0 points 2 years ago (1 children)

You will never get the same font rendering on Linux as on Windows as Windows font rendering (ClearType) is very strange, complicated and covered by patents.

Font rendering is also kind of a subjective thing. To anyone who is used macOS, windows font rendering looks wrong as well. Apple's font rendering renders fonts much closer to how they would look printed out. Windows tries to increase readability by reducing blurriness and aligning everything perfectly with pixels, but it does this at the expense of accuracy.

Linux's font rendering tends to be a bit behind, but is likely to be more similar to macOS than to Windows rendering as time goes forward. The fonts themselves are often made available by Microsoft for using on different systems, it's just the rendering that is different.

For me, on my screens just by installing Segoe UI and tweaking the hinting / antialiasing under GNOME settings makes it really close to what Windows delivers. The default Ubuntu font, Cantarell and Sans don't seem to be very good fonts for a great rendering experience.

The following links may be of interest to you:

[–] Im28xwa@lemdro.id -1 points 2 years ago

Thanks a lot for the info! I just went and installed segoe Ui font, and it looked even worse than Ubuntu Regular and I tried all the hinting options and made sure to restart after each change!!!

[–] words_number@programming.dev 0 points 2 years ago (1 children)

For a fair comparison you should at least use the same font and font size. Did you try that? It will still look different on windows, maybe better, but I think you can get pretty close. I use the "inter" font on debian xfce and it looks very clean (the font is probably in your repos as well).

[–] Im28xwa@lemdro.id -1 points 2 years ago

the font is probably in your repos as well

Unfortunately it's not:(

[–] just_another_person@lemmy.world 0 points 2 years ago (1 children)

This is almost always a compositor issue, and unless something is terribly wrong, only affects certain applications that don't properly use the composite rendering method. First, find out which compositor you're in (probably Wayland if a modern distro), then find out which apps seem blurry. Last step: force those apps to use your specific compositor (start searching for runtime options for the app).

Should fix it.

[–] Im28xwa@lemdro.id -1 points 2 years ago (1 children)

I'm running linux mint xfce which after checking it seems that it uses xfwm 4.18.0 and everything is blury, there isn't a single thing that isn't blury well except for the windows 10 vm lol

[–] Para_lyzed@lemmy.world 0 points 2 years ago (1 children)

Sounds like a fractional scaling issue. Keep the scaling at 100% to avoid those kinds of issues

[–] Im28xwa@lemdro.id -1 points 2 years ago

Scaling has always been set to 1x (100%) and I have never changed it or played with it until today!

[–] supangle@lemmy.wtf 0 points 2 years ago (1 children)

i use mint on my nvidia gpu with latest drivers and i have no problem

[–] Im28xwa@lemdro.id 0 points 2 years ago* (last edited 2 years ago) (1 children)

Maybe because of the old Nvidia gpu, hmm will try the OS drivers hope it helps,

Update: didn't help but it did fix an issue with the flatpak version of telegram (openGL) and wine is no longer complaining about something that's broken with the proprietary driver + the boot and shutdown animation now actually runs (which is Linux mint logo)

[–] Rustmilian@lemmy.world 0 points 2 years ago (1 children)

What's the WINE error message you get with the proprietary driver?

[–] Im28xwa@lemdro.id -1 points 2 years ago (1 children)

0024:err:winediag:is_broken_driver Broken NVIDIA RandR detected, falling back to RandR 1.0. Please consider using the Nouveau driver instead.

[–] Rustmilian@lemmy.world 0 points 2 years ago* (last edited 2 years ago) (1 children)

This error is caused by a compatibility issue between Wine's RandR (X11 display extension) implementation and the NVIDIA proprietary drivers.

a. Install winetricks and run winetricks orm=backbuffer glsl=disable This will configure Wine to use a different rendering method that is compatible with the NVIDIA drivers.

&/Or

b. Use a tool like Q4Wine to configure the Wine prefix and set the "UseRandR" option to "N" This will disable Wine's use of the RandR extension and use a fallback method instead.

That should fix it.

[–] Im28xwa@lemdro.id -1 points 2 years ago

Thanks! But I think I will stick with the open source drivers as LibreOffice now runs much faster! Opening and scrolling through the fonts list used to get the GPU utilization to go all the way to 80 to 100% and it was so slow it took the system to register my keyboard Inputs a few seconds but now the issue disappeared!

[–] MoLoPoLY@discuss.tchncs.de 0 points 2 years ago (1 children)

I have a similar issue but in my case between KDE and Gnome. KDE is much cleaner by display the fonts as Gnome. But I prefer using Gnome, because of the cluttered interface of most KDE applications.

[–] Im28xwa@lemdro.id -1 points 2 years ago (1 children)

I just tried a live Lubunto install, and it too looks blurry running the OS GPU drivers

[–] Rustmilian@lemmy.world 0 points 2 years ago* (last edited 2 years ago) (1 children)

On KDE plasma the fractional scaling also plays a role in text rendering. Then there's also the "Legacy Application Scaling" for X11 apps on the Wayland session.

[–] Im28xwa@lemdro.id -1 points 2 years ago

I have decided to switch to OpenSUSE which uses KDE by default so let's see and if this old laptop can't handle it then will switch to Lbuntu as LXQt is its main and only variant available unlike mint