Hi. I build a very simple opengl program. When I link it against the system provided libGL, I get direct rendering. However, when doing the same with my own, built from scratch, libGL from Mesa, I receive no direct rendering.
What does I have to do to get direct rendering/hardware accelerate rendering with my own libGL?
You need to look through the FAQ (https://docs.mesa3d.org/faq.html) — it’ll give you pointers on what is necessary to get DRI working, complete with a link to follow if you need help.