This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
wiki:development:glx-xlib-workaround [2020/06/02 19:11] uli42 [Matlab 2019b] |
wiki:development:glx-xlib-workaround [2020/06/02 19:12] uli42 |
||
---|---|---|---|
Line 97: | Line 97: | ||
Compile like this: | Compile like this: | ||
- | ``` | + | < |
meson -D glx=gallium-xlib -D gallium-drivers=swrast -D platforms=x11 -D dri3=false -D dri-drivers="" | 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 |