Color bug with some web browsers


Since a few days, with firefox and other web browsers like Epiphany, thin white text is not properly displayed: It is rendered with colors depending on the scale. Here are some screenshots:

However, I don’t have the problem with Opera for example.

Do you know if it is linked to my graphic card or if it is a bug of a rendering engine ?


System:    Host: vicd-manjaro Kernel: 4.9.15-1-MANJARO x86_64 (64 bit gcc: 6.3.1)
           Desktop: Gnome 3.22.3 (Gtk 3.22.10) Distro: Manjaro Linux
Machine:   Device: portable System: Dell product: Inspiron 7548 v: A07
           Mobo: Dell model: 0AM6R0 v: A00 UEFI: Dell v: A07 date: 03/17/2016
Battery    BAT0: charge: 31.6 Wh 100.0% condition: 31.6/39.0 Wh (81%)
           model: SDI Dell status: Full
CPU:       Dual core Intel Core i7-5500U (-HT-MCP-) cache: 4096 KB
           flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 9580
           clock speeds: max: 3000 MHz 1: 2399 MHz 2: 1125 MHz 3: 1209 MHz
           4: 2358 MHz
Graphics:  Card-1: Intel HD Graphics 5500 bus-ID: 00:02.0
           Card-2: Advanced Micro Devices [AMD/ATI] Opal XT [Radeon R7 M265]
           bus-ID: 08:00.0
           Display Server: X.Org 1.19.2 driver: N/A
           Resolution: 1920x1080@60.02hz
           GLX Renderer: Mesa DRI Intel HD Graphics 5500 (Broadwell GT2)
           GLX Version: 3.0 Mesa 17.0.1 Direct Rendering: Yes
Audio:     Card-1 Intel Wildcat Point-LP High Definition Audio Controller
           driver: snd_hda_intel bus-ID: 00:1b.0
           Card-2 Intel Broadwell-U Audio Controller
           driver: snd_hda_intel bus-ID: 00:03.0
           Sound: Advanced Linux Sound Architecture v: k4.9.15-1-MANJARO
Network:   Card: Intel Wireless 3160 driver: iwlwifi bus-ID: 07:00.0
           IF: wlp7s0 state: up mac: d0:7e:35:51:f2:e3
Drives:    HDD Total Size: 1000.2GB (24.4% used)
           ID-1: /dev/sda model: WDC_WD10SPCX size: 1000.2GB
Partition: ID-1: / size: 39G used: 6.4G (18%) fs: ext4 dev: /dev/sda12
           ID-2: /home size: 649G used: 202G (33%) fs: ext4 dev: /dev/sda13
           ID-3: swap-1 size: 20.97GB used: 0.00GB (0%) fs: swap dev: /dev/sda11
Sensors:   System Temperatures: cpu: 49.0C mobo: 27.8C gpu: N/A
           Fan Speeds (in rpm): cpu: N/A
Info:      Processes: 192 Uptime: 1:42 Memory: 2760.7/15932.2MB
           Init: systemd Gcc sys: 6.3.1
           Client: Shell (bash 4.4.121) inxi: 2.3.8


Go to this site and tune your monitor. Pay special attention to White Saturation, Clock Phase, and Sub-pixel Rendering.

Then create the file ~/.Xresources and set font rendering parameters.
These are the default values:

Xft.antialias: true
Xft.rgba: rgb
Xft.autohint: false
Xft.hinting: true
Xft.hintstyle: hintslight
Xft.lcdfilter: lcddefault

You can get Xft.rgba from the section “Sub-pixel rendering” in the tuning site I mentioned. You can also add Xft.dpi: [dpi] where [dpi] is a double value. You can get it from here, for example.

If that’s not enough, try getting your monitor’s EDID into your xorg configuration file (probably located at /etc/X11/xorg.conf.d/. You can use read-edid for that. Install it with sudo pacman -S read-edid then get the EDID info into a file and add it to your xorg configuration file.

There are several topics on this in the forum (in ex.: link1, link2, link3, link4).



I went to this website but all the tests were quite good. Creating the .Xresources with the default values solved the problem.
Thanks !

1 Like

Forum kindly sponsored by Bytemark