diff options
author | Batuhan Başerdem | 2020-09-25 15:43:53 -0400 |
---|---|---|
committer | Batuhan Başerdem | 2020-09-25 15:43:53 -0400 |
commit | b4a092852d00679b1afc833329ae8b89e1a07e3a (patch) | |
tree | 515187d71884af6a707532f27d51a93cd69f4ac2 | |
parent | 1d4947197b9bb6c04695f7280e7b969ee7c12d72 (diff) | |
download | aur-b4a092852d00679b1afc833329ae8b89e1a07e3a.tar.gz |
Added mesa fix
-rw-r--r-- | PKGBUILD | 3 | ||||
-rw-r--r-- | README.md | 2 |
2 files changed, 3 insertions, 2 deletions
@@ -142,8 +142,7 @@ prepare() { --pkgdesc "${pkgdesc}" \ --categories "Development;Education;Science;Mathematics;IDE" \ --mimetypes "application/x-matlab-data;text/x-matlab" \ - --exec 'matlab -desktop' - #--exec 'sh -c '\''if [ "${MATLAB_INTEL_OVERRIDE}" = "yes" ] ; then exec env MESA_LOADER_DRIVER_OVERRIDE=i965 matlab -desktop ; else exec matlab -desktop ; fi'\' + --exec 'sh -c '\''if [ "${MATLAB_INTEL_OVERRIDE}" = "yes" ] ; then exec env MESA_LOADER_DRIVER_OVERRIDE=i965 matlab -desktop ; else exec matlab -desktop ; fi'\' } build() { diff --git a/README.md b/README.md index b914afa0520f..a3dd357eb66f 100644 --- a/README.md +++ b/README.md @@ -13,6 +13,8 @@ exclude this package from your workflow. (Partial install is around 8 GB; and full install about 16 GB) * Turn off compression if this package will only be installed on the build machine; this cuts a fair amount of time from the build and compression is unneccessary on local machines. +* Set `MATLAB_INTEL_OVERRIDE='yes'` in your environment if hardware acceleration +does not work on your Intel GPU. # Requirements |