A page in your DokuWiki was added or changed. Here are the details: Date : 2020/06/02 19:11 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=1591... New Revision: https://wiki.x2go.org/doku.php/wiki:development:glx-xlib-workaround Edit Summary: [Matlab 2019b] User : uli42 @@ -93,11 +93,16 @@ ebuild "/usr/portage/media-libs/mesa/mesa-${mesa_version}.ebuild" clean </code> ===== Matlab 2019b ===== + + Compile like this: + ``` + 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/ + ``` 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 Add to your .profile: export MESA_GL_VERSION_OVERRIDE=3.0 -- This mail was generated by DokuWiki at https://wiki.x2go.org/