nan0s7 / nfancurve

A small and lightweight POSIX script for using a custom fan curve in Linux for those with an Nvidia GPU.
GNU General Public License v3.0
314 stars 57 forks source link

Harmless but constant error warning #32

Closed ss32 closed 4 years ago

ss32 commented 4 years ago

Ubuntu 18 Cinnamon Desktop NVIDIA 440.59

When I run in the normal mode I see this printed more often than the main loop runs, still trying to track down the source

libEGL warning: DRI2: failed to authenticate
nan0s7 commented 4 years ago

Yeah this isn't a problem with the script itself, but I have seen that happen before on Ubuntu. I'll let you know if I find anything

EDIT: Found this http://www.chaosreigns.com/wayland/hardware/

ss32 commented 4 years ago

It's an issue with the mesa EGL library sticking around after NVIDIA installs its own version. Easy fix, just rename the mesa library so it can't be found.

$ cd /usr/lib/x86_64-linux-gnu/
$ ll `ls | grep EGL`
lrwxrwxrwx 1 root root      20 Feb 18 23:09 libEGL_mesa.so.0 -> libEGL_mesa.so.0.0.0
-rw-r--r-- 1 root root  259480 Feb 18 23:09 libEGL_mesa.so.0.0.0
lrwxrwxrwx 1 root root      23 Feb  7 09:56 libEGL_nvidia.so.0 -> libEGL_nvidia.so.440.59
-rw-r--r-- 1 root root 1285296 Jan 29 19:09 libEGL_nvidia.so.440.59
lrwxrwxrwx 1 root root      15 May 10  2019 libEGL.so -> libEGL.so.1.0.0
lrwxrwxrwx 1 root root      15 May 20 19:04 libEGL.so.1 -> libEGL.so.1.0.0
-rw-r--r-- 1 root root   80448 May 10  2019 libEGL.so.1.0.0
$ sudo mv libEGL_mesa.so.0.0.0 libEGL_mesa.so.0.0.0.bk