Getting "libEGL warning: DRI2: failed to authenticate" on all qt gui projects

On the Stretch LXQT Debian 9.4 image I am getting:

“libEGL warning: DRI2: failed to authenticate” not just on my own simple widget qt apps but also on the included apps with lxqt.

So after some searching it appears that mesa “updated” the and
However the instructions in the old post about how to fix this don’t work on the new images or are not complete instructions as the BBB is missing the other copies of these files.

What is this correct way to fix this warning now?


For the am335x devices we don't even have a dri2 based driver... it's
all fbdev, thus anything that tries to use libEGL will get that..