This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
wiki:development:glx-xlib-workaround [2020/01/23 18:31] uli42 [Debian Buster and Mesa 19.3.2] |
wiki:development:glx-xlib-workaround [2020/06/02 19:11] uli42 [Matlab 2019b] |
||
---|---|---|---|
Line 32: | Line 32: | ||
</ | </ | ||
+ | If you want you can copy the libgl-xlib directory to some location of your likes and write a small wrapper " | ||
+ | < | ||
+ | #!/bin/sh | ||
+ | LD_LIBRARY_PATH=< | ||
+ | </ | ||
+ | |||
+ | < | ||
+ | $ chmod u+rx x2goglx | ||
+ | $ x2goglx glxinfo | ||
+ | </ | ||
==== Ubuntu 14.04 ==== | ==== Ubuntu 14.04 ==== | ||
Line 83: | Line 93: | ||
ebuild "/ | ebuild "/ | ||
</ | </ | ||
+ | |||
+ | ===== Matlab 2019b ===== | ||
+ | |||
+ | Compile like this: | ||
+ | ``` | ||
+ | meson -D glx=gallium-xlib -D gallium-drivers=swrast -D platforms=x11 -D dri3=false -D dri-drivers="" | ||
+ | ``` | ||
+ | |||
+ | To make Matlab load the new driver modify Matlab' | ||
+ | cp $MATLAB_DIRECTORY/ | ||
+ | |||
+ | Edit the file ~/ | ||
+ | |||
+ | Add to your .profile: export MESA_GL_VERSION_OVERRIDE=3.0 |