27 мар. 2016 г.

gentoo Xlib: extension "GLX" missing on display ":0.0".

Утомило в последние месяцы чинить после каждого апдейта поломанные иксы.

~ ❯❯❯ xbmc
WARNING: Running kodi as xbmc is deprecated and will be removed in later versions, please switch to using the kodi binary
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".

/usr/bin/xbmc: line 165: 19401 Ошибка сегментирования "$LIBDIR/${bin_name}/${bin_name}.bin" $SAVED_ARGS
Crash report available at /home/tuxr/kodi_crashlog-20160327_214647.log
~ ❯❯❯ ⏎

Диагностика

/e/X/xorg.conf.d ❯❯❯ grep EE /var/log/Xorg.0.log
 (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    12.879] (EE) Failed to load /usr/lib32/xorg/modules/extensions/libglx.so:
 /usr/lib32/xorg/modules/extensions/libglx.so: cannot open shared object file: No such file or directory
[    12.879] (EE) Failed to load module "glx" (loader failed, 7)
[    12.913] (EE) NVIDIA(0): Failed to initialize the GLX module; please check in your X
[    12.913] (EE) NVIDIA(0):     log file that the GLX module has been loaded in your X
[    12.913] (EE) NVIDIA(0):     server, and that the module is the NVIDIA GLX module.  If
[    12.913] (EE) NVIDIA(0):     you continue to encounter problems, Please try
[    12.913] (EE) NVIDIA(0):     reinstalling the NVIDIA driver.

=> не смог загрузиться модуль.

Файл с директориями поиска

/etc/X11/xorg.conf.d ❯❯❯ cat 20opengl.conf
Section "Files"
 ModulePath "/usr/lib32/xorg/modules"
 ModulePath "/usr/lib64/opengl/nvidia"
 ModulePath "/usr/lib64/xorg/modules"
EndSection

Удалить или закомментировать строку с lib32

sudo vim /etc/X11/xorg.conf.d/20opengl.conf