Found this in the kitty tracker: Raspberry Pi [Debian 12] – blank window · Issue #6916. A completely different problem with similar debug output. Suggested solution (no feedback to find if it helped):
this will be a driver issue. You can try software rendering via the MESA
env var the exact name of which escapes me at the moment.
Web search to figure out what was he talking about led me here: Environment Variables — The Mesa 3D Graphics Library latest documentation.
Eventually I find that if I launch kitty
this way there is no issue:
env LIBGL_ALWAYS_SOFTWARE=true kitty
So I will mark as solved since that is technically the case. It seems as though there is something else amiss though. I don’t really understand the meaning of it.