kodi, crash at start- FAILED TO GET SIZE OF GAMMA FOR OUTPUT

any help with a seg fault at start up? ubuntu 16.04
kodi 16.1 radeon x300

ERROR: FAILED TO GET SIZE OF GAMMA FOR OUTPUT DEFAULT (in my terminal)

from the error log:
14:10:21.823 T:140640245524800 NOTICE: Checking resolution 16
14:10:21.825 T:140640245524800 ERROR: Failed to find matching visual

libGL error: unable to load driver: swrast_dri.so
libGL error: failed to load driver: swrast
OpenGL vendor string: Mesa project: http://www.mesa3d.org
OpenGL renderer string: Mesa GLX Indirect
OpenGL version string: 1.3 Mesa 4.0.4
OpenGL extensions:

Any help?