The fonts are blurry in chromium, edge, bluegriffon, and some other apps. What’s the problem?
Do you have us a bit more details about your configuration/system ?
I’m using a notebook of Huawei matebook x pro with a 3000x2000 screen. The system is Fedora 33, gnome and wayland.
Is it actually running at 3000×2000?
No, I use a scaling of 200%.
Aren’t your fonts bitmaps ? With this resolution there should be no blur I think.
I mean, is it actually recognized as a 3000×2000 panel? That’s somewhat rare — and the OS getting that wrong would certainly cause blurriness.
I don’t know whether my fonts are bitmaps.
I believe it is actually recognized as 3000x2000 panel. With a scaling of 200%, the windows and fonts have a reasonable actual size.
Let’s try this: if you put it to 100% rather than scaled, are the fonts still blurry? Obviously UI elements will be ridiculously small so this isn’t a solution, just wondering as a diagnostic.
When I put it to 100%, the fonts are too small to be decided blurry or not.
What if you use a larger font size in Chromium? Again, just to test.
Actually I had nice fonts with gnome-tweak-tool (need to install) set bigger fonts. For short time I have 4k monitor 31,5 inches. If you set up fonts in this tool you have nice fonts, however layouts are not perfect. Currently playing with scaling in Gnome with fractional scaling Old askbot-based Ask Fedora archives are gone — look for new answers here instead! - Ask Fedora and fonts then are in fact blurry. I’m not sure why.
In recent versions of Chrome or Brave you should be able to open chrome://flags and set ozone-platform-hint
to auto
. Then restart the browser.
This enables native Wayland mode for recent Chromium based browsers. I believe 97 and newer should work, older ones needed more complex flags.
The chrome cannot even be opened after set ozone-platform as ‘Auto’ or ‘Wayland’. The chrome version is 101.0.4951.64. My linux is F36, Gnome, and wayland.
After set as Wayland and run chrome in terminal, the errors are
$ google-chrome
[7030:7030:0514/153518.635389:ERROR:gpu_init.cc(481)] Passthrough is not supported, GL is egl, ANGLE is
[6976:6976:0514/153518.650166:ERROR:cursor_loader.cc(116)] Failed to load a platform cursor of type kNull
[7030:7030:0514/153518.772124:ERROR:gl_surface_egl.cc(837)] EGL Driver message (Error) eglCreateImageKHR: dri2_create_image_khr_texture
[7030:7030:0514/153518.772300:ERROR:gl_image_egl.cc(38)] Error creating EGLImage: EGL_BAD_MATCH
[6976:6976:0514/153518.772519:ERROR:wayland_event_watcher.cc(25)] libwayland: [destroyed object]: error 7: failed to import supplied dmabufs: Arguments are inconsistent (for example, a valid context requires buffers not supplied by a
[7030:7030:0514/153518.772464:ERROR:gpu_memory_buffer_factory_native_pixmap.cc(205)] Failed to create GLImage 2560x2304, RGBA_8888, usage SCANOUT
[7030:7030:0514/153518.772638:ERROR:gl_surface_egl.cc(837)] EGL Driver message (Error) eglCreateImageKHR: dri2_create_image_khr_texture
[7030:7030:0514/153518.772711:ERROR:gl_image_egl.cc(38)] Error creating EGLImage: EGL_BAD_MATCH
[7030:7030:0514/153518.772825:ERROR:gpu_memory_buffer_factory_native_pixmap.cc(205)] Failed to create GLImage 2560x2304, RGBA_8888, usage GPU_READ
[7030:7030:0514/153518.772882:ERROR:shared_image_backing_factory_gl_image.cc(359)] CreateSharedImage: Failed to create bindable image
[7030:7030:0514/153518.772960:ERROR:shared_image_factory.cc(608)] CreateSharedImage: could not create backing.
[7030:7030:0514/153518.773236:ERROR:shared_context_state.cc(537)] Failed to make current since context is marked as lost
[7030:7030:0514/153518.773303:ERROR:skia_output_surface_impl_on_gpu.cc(1757)] Failed to make current.
[7030:7030:0514/153518.773410:ERROR:shared_context_state.cc(537)] Failed to make current since context is marked as lost
[7030:7030:0514/153518.773474:ERROR:skia_output_surface_impl_on_gpu.cc(1757)] Failed to make current.
[0514/153518.779514:ERROR:elf_dynamic_array_reader.h(64)] tag not found
Trace/breakpoint trap (core dumped)
$