Kodi Community Forum
Linux LibGL error: failed to load driver: swrast via Gotham@debian [Solved] - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: Linux (https://forum.kodi.tv/forumdisplay.php?fid=52)
+---- Thread: Linux LibGL error: failed to load driver: swrast via Gotham@debian [Solved] (/showthread.php?tid=194874)



LibGL error: failed to load driver: swrast via Gotham@debian [Solved] - doomred - 2014-05-12

Latest Gotham via git, compile (again) from source
./configure with pulse, hal disabled; ffmpeg_libvorbis, gtest enabled
fresh nvidia driver works smoothly(no error from Xorg log)

when I use `xbmc` it's complain about the hardware support,
Code:
XBMC needs hardware accelerated OpenGL rendering.
and failed to load driver,
Code:
LibGL error: failed to load driver: swrast
exiting with code 1, and no crash log exist.

then I use `.../lib/xbmc/xbmc.bin` instead
The XBMC lives but without the texts(missing text on screen anywhere!!)
I have tried changing fonts(blindly;P)
ERROR within .../xbmc.log
Code:
ERROR: CSettingsManager: unable to load setting for special://masterprofile/guisettings.xml, creating new default settings
ERROR: GLX: Same window as before, refreshing  context
ERROR PVR - Create Tables -failed to get add-ons from the add-on manage

Thank you,
red


RE: Problems from latest Gotham on debian-testing - wsnipex - 2014-05-12

LibGL error: failed to load driver: swrast
says it all, you are running OpenGL on software emulation. Double check your nvidia driver.


RE: Problems from latest Gotham on debian-testing - doomred - 2014-05-13

(2014-05-12, 07:18)wsnipex Wrote: Double check your nvidia driver.

wow wsnipex, you are brilliant!!

It seems something modified my /usr/lib/libGL.so*,
and after uninstall && install NV driver, Gotham lives happily again!!!
EDIT: The text has been coming back, too Wink

by the way is the ./configure --enable-gl do the modification? I just can't remind any other thing will touch my libGL


RE: LibGL error: failed to load driver: swrast via Gotham@debian [Solved] - wsnipex - 2014-05-13

no, xbmc will never ever change your system libs.