libEGL warning DRI2 failed to authenticate

Hey guys,

I am trying to install ROS melodic on Ubuntu 18.04 in Pi 4.
All steps were good without any errors.
When I tried to test “$ roscore” then open new terminal and run “$ rosrun turtlesim turtlesim_node” I got the message “libEGL warning DRI2 failed to authenticate”
Anyone can help me in this case please.
Thanks so much.

This warning indicates that the Direct Rendering Infrastructure (DRI) is not available or accessible on your platform. This infrastructure reduces the overhead to send commands to the graphics hardware. Missing DRI support can either be caused by incorrect or not properly installed graphics drivers or drivers that are lacking DRI support.

Please note that the software you are running was released before the RPi4, so it is not surprising that it doesn’t have the hardware accelerated graphics drivers.

You may have better luck with Ubuntu 20 and ROS Noetic, but this may be exactly the same.

Thanks! When you mentioned about the graphics drivers, I remember that I got a message

[FAILED: Failed to start Load Kernel Modules

when starting system. I also got the same question at https://askubuntu.com/questions/779251/what-to-do-after-failed-to-start-load-kernel-modules
but I could not solve issue although following their advice.

Would you please help me more on this problem. Thanks so much.