[X2Go-Commits] [[X2Go Wiki]] page changed: wiki:development:glx-xlib-workaround
wiki-admin at x2go.org
wiki-admin at x2go.org
Tue Jun 2 21:12:56 CEST 2020
A page in your DokuWiki was added or changed. Here are the details:
Date : 2020/06/02 19:12
Browser : Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0
IP-Address : 87.147.75.160
Hostname : p57934ba0.dip0.t-ipconnect.de
Old Revision: https://wiki.x2go.org/doku.php/wiki:development:glx-xlib-workaround?rev=1591125104
New Revision: https://wiki.x2go.org/doku.php/wiki:development:glx-xlib-workaround
Edit Summary:
User : uli42
@@ -95,14 +95,14 @@
===== Matlab 2019b =====
Compile like this:
- ```
+ <code>
meson -D glx=gallium-xlib -D gallium-drivers=swrast -D platforms=x11 -D dri3=false -D dri-drivers="" -D vulkan-drivers="" -D buildtype=release -D optimization=3 -Dprefix=/usr/local/mesa-20.1.0/
- ```
+ </code>
To make Matlab load the new driver modify Matlab's lib search path:
cp $MATLAB_DIRECTORY/bin/.matlab7rc.sh ~
- Edit the file ~/.matlab7rc.sh, find the glnxa* section and add the path to you mesa library, e.g.
/usr/local/mesa-20.1.0/lib/x86_64-linux-gnu, to LDPATH_PREFIX
+ Edit the file ~/.matlab7rc.sh, find the glnxa* section and add `/usr/local/mesa-20.1.0/lib/x86_64-linux-gnu` to LDPATH_PREFIX
Add to your .profile: export MESA_GL_VERSION_OVERRIDE=3.0
--
This mail was generated by DokuWiki at
https://wiki.x2go.org/
More information about the x2go-commits
mailing list