Hacker News new | ask | show | jobs
by groovylick 4137 days ago
I returned to Firefox from Chrome about 1 year ago due to nagging rendering bugs with linux. Running out of video memory triggered a bug where Chrome would leave a stale buffer of the window on screen. My inputs still got to browser, I could change tabs, scroll, go full-screen it just won't repaint the window. I would have to restart my window manager to get it to repaint. The only solution was to disable GPU rendering but then scrolling was terrible. I know I was pushing the limits of my 7 year old Thinkpad, but I liked my keyboard and 3 real mouse buttons. I moved to Firefox and even with GPU rendering enabled never had that problem.

Months later that Thinkpad's battery died and I moved to working on a modern dual monitor desktop machine. Thinking my problems with Chrome would be gone with plenty of horsepower I discovered a new bug. My monitors are (unfortunately) BGR pixel order not much much more common RGB. It's pretty easy to setup in Cinnamon/Gnome just change 1 dconf key and font rendering is great. Chrome completely ignores this setting and renders fuzzy haloed fonts, plus it not just for Linux, Chrome does the same under Windows. The best workaround is to enable grayscale sub-pixel rendering in chrome://flags but fonts are still fuzzy. From what I found while debugging the problem Chrome used to support different pixel orders but broke it recently.

Once again Firefox renders fonts just fine by reading the pixel order set by the OS. Chrome isn't alone in the pixel order problems, Sublime Text and Atom both suffer from the same problem.

2 comments

I have a similar experience, and also switched back to Firefox on Linux. There must be something in my setup [1] that screws with Chrome's expectations, because its performance and stability are horrendous on this computer.

It runs fine and dandy on my Windows machine though.

[1] Ubuntu 12.04, dual-monitor, AwesomeWM, Nvidia Quadro FX 580, 8-core and 8GB RAM,

I also have the same problem for the repaint window on Chrome, it's a really annoying bug and I have to close it and re-open it every time I lock my computer, Chrome simply cannot work properly when I unlock the computer again.