====== no charts on nvidia ====== Firefox: empty charts on Proxmox / Zabbix with hardware acceleration ===== Symptom ===== 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. ===== Environment ===== * Firefox 160.0.1 (Mozilla apt repository), profile ''default-esr'' * Debian 13, XFCE on X11 * NVIDIA GeForce GTX 1660 SUPER, proprietary driver 550.163.01 ===== Cause ===== Accelerated 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. ===== Fix ===== 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. ===== Tested and not needed ===== Both were reset to their defaults and the charts kept working: * ''gfx.webrender.max-partial-present-rects = 0'' * ''gfx.webrender.compositor = false'' ===== Notes ===== * ''webgl.force-enabled = true'' in the profile is a leftover and unrelated. * After a Firefox update, retest by resetting ''gfx.canvas.accelerated'' to its default. The bug may be fixed upstream. * Optional, not tried: ''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.