Indirect rendering causes segfaults, has broken refresh.
On xorg-server 21.1.6 running on Arch Linux on amdgpu using the modesetting ddx (and also using the amdgpu ddx) xorg will hang, exit with a segfault, or fail to draw frames if any indirect glx clients are active.
to repoduce:
- run xorg with the +iglx option
- export LIBGL_ALWAYS_INDIRECT=1
- run a glx client
- glxgears will run, but will fail to refesh more than the 1s maximum timer between refreshes
- linuxcnc axis will reliably cause a segfault (see apitrace)
- several other clients will simply cause xorg to hang
intdirect glx worked at least as of xorg 1.20