On Sun, 2 Jun 2019 at 23:13, Jan Vesely <jan.ves...@rutgers.edu> wrote: > > On Sun, 2019-06-02 at 07:17 -0400, James Harvey wrote: > > On Sun, Jun 2, 2019 at 7:01 AM Bas Nieuwenhuizen > > <b...@basnieuwenhuizen.nl> wrote: > > > On Sun, Jun 2, 2019 at 12:41 PM James Harvey <jamespharve...@gmail.com> > > > wrote: > > > > So, for people running amdgpu and wanting to run ImageMagick convert > > > > who get this error... Does this mean there is something ImageMagick > > > > could change to prevent the error? Or, in the meantime, is the only > > > > option to install the amdgpu-pro opencl userspace driver with > > > > ImageMagick? (The pro opencl driver can be extracted from amdgpu-pro > > > > as a whole, and ran on top of the free amdgpu driver., without the > > > > rest of amdgpu-pro installed - see Arch Linux AUR package opencl-amd.) > > > > > > So, does imagemagick actually need OpenCL? If not, you can probably > > > also uninstall you mesa opencl distro package? > > > > The mesa opencl package works fine on other programs for me and > > others, so uninstalling isn't an option. Not sure actually without > > any OpenCL if it does it a different way or not. ImageMagick must be > > all that's trying to call something problematic. > > It's basically any function call that was not inlined. It might even > be in a different kernel in the same module. > > Recent mesa requires some kind of ICD loader to provide opencl. if > your distro uses ocl-icd package to provide ICD loader, you can use > OCL_ICD_VENDORS env var to select ICD drivers. > > something like 'OCD_ICD_VENDORS=/var/empty' (any directory other than > /etc/OpenCL/vendors will do) effectively disables OpenCL by reporting > 0 available platforms.
It looks like an llvm8 not inlining everything properly bug. with llvm9 I just get a gpu hang when it does inline everything, but with 8 it fails to inline applyResizeFilter. llvm8 or some command line option passed to it might need a fix. Dave. _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev