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/06/02 19:08] uli42 |
wiki:development:glx-xlib-workaround [2020/08/20 13:59] uli42 [Mesa 19 and newer] |
||
---|---|---|---|
Line 13: | Line 13: | ||
==== Mesa 19 and newer ==== | ==== Mesa 19 and newer ==== | ||
- | Please note: the instructions below are valid for olter Mesa releases. In Mesa 19 //meson// is recommended for building. Please consult https:// | + | Please note: the instructions below are valid for older Mesa releases. In Mesa 19 //meson// is recommended for building. Please consult https:// |
with any dri driver" | with any dri driver" | ||
< | < | ||
Line 95: | Line 95: | ||
===== Matlab 2019b ===== | ===== 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' | To make Matlab load the new driver modify Matlab' | ||
cp $MATLAB_DIRECTORY/ | cp $MATLAB_DIRECTORY/ | ||
- | Edit the file ~/ | + | Edit the file ~/ |
Add to your .profile: export MESA_GL_VERSION_OVERRIDE=3.0 | Add to your .profile: export MESA_GL_VERSION_OVERRIDE=3.0 |