Firefox: empty charts on Proxmox / Zabbix with hardware acceleration
With hardware acceleration enabled in Firefox, charts on Proxmox and Zabbix pages are empty. Changing the time range forces a redraw and the charts then appear.
default-esrAccelerated canvas (GPU-rendered 2D canvas) in Firefox does not repaint the chart canvases until something forces a redraw. The other graphics settings (WebRender compositor, partial present) were tested and are not involved.
In about:config set:
gfx.canvas.accelerated = false
The setting is saved in the profile (prefs.js) and survives restarts. Only 2D canvas drawing moves to the CPU. Page compositing and video stay GPU-accelerated.
Both were reset to their defaults and the charts kept working:
gfx.webrender.max-partial-present-rects = 0gfx.webrender.compositor = falsewebgl.force-enabled = true in the profile is a leftover and unrelated.gfx.canvas.accelerated to its default. The bug may be fixed upstream.nvidia-drm.modeset=1 (kernel parameter or /etc/modprobe.d) is not set on this machine. It enables the dmabuf path for Firefox on NVIDIA.