ChatGPT is impressive but for this kind of operating system problems it,
- lacks access to the tools such as
eglinfo - lacks access to comparable environments (Kicksecure, virtualizers such as VirtualBox, graphic cards),
hence ChatGPT can only talk from theory and not test any code in all environments end-to-end.
Are you using a hardware or a VM?
Because if using hardware, source file vm-config-dist/etc/profile.d/20_software_rendering_in_vms.sh at master · Kicksecure/vm-config-dist · GitHub isn’t installed by default as package vm-config-dist is installed by default inside VMs only.
If you are using a VM, then related documentation chapters are:
Related forum thread:
GBM fails with EGL on AMD Kaveri - Fedora Discussion shows eglinfo output with both.
OpenGL core profile renderer: llvmpipe
OpenGL core profile renderer: AMD
So greping for AMD (and others) is a good idea. Will implement.