I still need to start GL programs with FD_MESA_DEBUG=perfcntrs for it to work, but otherwise seems OK.
FD_MESA_DEBUG=perfcntrs