LibEGL Warning: Dri2: Failed to Authenticate

I am trying to get the example from the docs working but I keep on getting this error

libEGL warning: DRI2: failed to authenticate

I installed the packages

sudo apt install libpango1.0-dev 
sudo apt-get install libgtk-4-dev
sudo apt-get install libglib2.0-dev

I also updated the system but nothing seems to fix this issue

2
Maya Lin-Takahashi

Maya Lin-Takahashi

Consumer Tech & Gadget Reviewer

Maya is a hardware enthusiast who tests and reviews smart home devices, smartphones, wearables, and audio gear. She focuses on practical consumer value and build quality.

Share this article