You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm doing a project using OSPRay for our Intel Center of Excellence program. The core idea is to create a rendering service/web API for visualizing biodiversity and energy efficiency data at a city scale.
We're at the phase of our project now where we have enough data (geometry, textures, etc) that we need to use the OSPRay GPU module/device.
During my testing, I noticed some weird rendering artifacts:
Initial symptom of the problem
Since then, I've tried to create a minimal reproducible example, and I've broken our problem down into a problem with textures. There are two symptoms:
First, on GPU, my texture maps are partly-to-mostly transparent. The amount and location of transparency is related to the texture size. In general, for a texture of size N, the first 1/N is only partially transparent and the remaining texture is varying degrees of mostly transparent.
Second, on GPU, copying the data for a 19x19 texture crashes OSPRay with a segfault inside a memcpy, inside ospray::Data::copy().
I did something kind of weird: my script to reproduce this problem is in Python using a ctypes-based wrapper around OSPRay. Everything works perfectly fine using the CPU device, so I don't believe the problem is related to my wrapper.
test.py has a small amount of documentation at the top, but the short form is:
I am using an Intel Dev Cloud machine, specifically:
Intel® Max Series GPU (PVC) on 4th Gen Intel® Xeon® processors – 1100 series (8x)
SYCL Devices
sdp@university-of-tennessee-seelab:~/src/OSPRay-GPU-Texture-Problem$ sycl-ls[opencl:acc:0] Intel(R) FPGA Emulation Platform for OpenCL(TM), Intel(R) FPGA Emulation Device OpenCL 1.2 [2023.16.12.0.12_195853.xmain-hotfix][opencl:cpu:1] Intel(R) OpenCL, Intel(R) Xeon(R) Platinum 8468V OpenCL 3.0 (Build 0) [2023.16.12.0.12_195853.xmain-hotfix][opencl:cpu:2] Intel(R) OpenCL, Intel(R) Xeon(R) Platinum 8468V OpenCL 3.0 (Build 0) [2023.16.10.0.17_160000][opencl:gpu:3] Intel(R) OpenCL Graphics, Intel(R) Data Center GPU Max 1100 OpenCL 3.0 NEO [23.35.27191.42][opencl:gpu:4] Intel(R) OpenCL Graphics, Intel(R) Data Center GPU Max 1100 OpenCL 3.0 NEO [23.35.27191.42][opencl:gpu:5] Intel(R) OpenCL Graphics, Intel(R) Data Center GPU Max 1100 OpenCL 3.0 NEO [23.35.27191.42][opencl:gpu:6] Intel(R) OpenCL Graphics, Intel(R) Data Center GPU Max 1100 OpenCL 3.0 NEO [23.35.27191.42][opencl:gpu:7] Intel(R) OpenCL Graphics, Intel(R) Data Center GPU Max 1100 OpenCL 3.0 NEO [23.35.27191.42][opencl:gpu:8] Intel(R) OpenCL Graphics, Intel(R) Data Center GPU Max 1100 OpenCL 3.0 NEO [23.35.27191.42][opencl:gpu:9] Intel(R) OpenCL Graphics, Intel(R) Data Center GPU Max 1100 OpenCL 3.0 NEO [23.35.27191.42][opencl:gpu:10] Intel(R) OpenCL Graphics, Intel(R) Data Center GPU Max 1100 OpenCL 3.0 NEO [23.35.27191.42][ext_oneapi_level_zero:gpu:0] Intel(R) Level-Zero, Intel(R) Data Center GPU Max 1100 1.3 [1.3.27191][ext_oneapi_level_zero:gpu:1] Intel(R) Level-Zero, Intel(R) Data Center GPU Max 1100 1.3 [1.3.27191][ext_oneapi_level_zero:gpu:2] Intel(R) Level-Zero, Intel(R) Data Center GPU Max 1100 1.3 [1.3.27191][ext_oneapi_level_zero:gpu:3] Intel(R) Level-Zero, Intel(R) Data Center GPU Max 1100 1.3 [1.3.27191][ext_oneapi_level_zero:gpu:4] Intel(R) Level-Zero, Intel(R) Data Center GPU Max 1100 1.3 [1.3.27191][ext_oneapi_level_zero:gpu:5] Intel(R) Level-Zero, Intel(R) Data Center GPU Max 1100 1.3 [1.3.27191][ext_oneapi_level_zero:gpu:6] Intel(R) Level-Zero, Intel(R) Data Center GPU Max 1100 1.3 [1.3.27191][ext_oneapi_level_zero:gpu:7] Intel(R) Level-Zero, Intel(R) Data Center GPU Max 1100 1.3 [1.3.27191]
Load the oneAPI environment
My oneAPI environment
sdp@university-of-tennessee-seelab:~/src/OSPRay-GPU-Texture-Problem$ ls -lah /opt/intel/oneapi/*//opt/intel/oneapi/2024.0/:total 128Kdrwxr-xr-x 12 root root 4.0K Mar 19 05:26 .drwxr-xr-x 45 root root 4.0K May 14 23:50 ..drwxr-xr-x 4 root root 12K Mar 19 05:26 bindrwxr-xr-x 20 root root 4.0K Mar 19 05:26 etcdrwxr-xr-x 24 root root 12K Mar 19 05:26 includedrwxr-xr-x 12 root root 32K Mar 19 05:26 libdrwxr-xr-x 3 root root 4.0K Mar 19 05:26 lib32lrwxrwxrwx 1 root root 17 Mar 19 05:17 libfabric -> opt/mpi/libfabricdrwxr-xr-x 3 root root 4.0K Mar 19 05:08 licensingdrwxr-xr-x 2 root root 4.0K Mar 19 05:17 linuxdrwxr-xr-x 2 root root 4.0K Mar 19 05:08 modulefiles-rw-r--r-- 2 root root 25K Oct 11 2023 oneapi-vars.shdrwxr-xr-x 10 root root 4.0K Mar 19 05:18 optlrwxrwxrwx 1 root root 56 Mar 19 05:26 readme-get-started-linux-base-kit.html -> ../basekit/2024.0/readme-get-started-linux-base-kit.htmllrwxrwxrwx 1 root root 54 Mar 19 05:26 readme-get-started-linux-hpc-kit.html -> ../hpckit/2024.0/readme-get-started-linux-hpc-kit.htmllrwxrwxrwx 1 root root 60 Mar 19 05:26 readme-get-started-linux-render-kit.html -> ../renderkit/2024.0/readme-get-started-linux-render-kit.htmldrwxr-xr-x 10 root root 4.0K Mar 19 05:17 share/opt/intel/oneapi/2024.1/:total 80Kdrwxr-xr-x 10 root root 4.0K May 14 23:50 .drwxr-xr-x 45 root root 4.0K May 14 23:50 ..drwxr-xr-x 4 root root 4.0K May 14 23:50 bindrwxr-xr-x 8 root root 4.0K May 14 23:50 etcdrwxr-xr-x 11 root root 4.0K May 14 23:50 includedrwxr-xr-x 6 root root 12K May 14 23:50 libdrwxr-xr-x 3 root root 4.0K May 14 23:50 lib32drwxr-xr-x 3 root root 4.0K May 14 23:50 licensing-rw-r--r-- 2 root root 25K Feb 6 16:13 oneapi-vars.shdrwxr-xr-x 4 root root 4.0K May 14 23:50 optlrwxrwxrwx 1 root root 60 May 14 23:50 readme-get-started-linux-render-kit.html -> ../renderkit/2024.1/readme-get-started-linux-render-kit.htmldrwxr-xr-x 6 root root 4.0K May 14 23:50 share/opt/intel/oneapi/advisor/:total 12Kdrwxr-xr-x 3 root root 4.0K Mar 19 05:08 .drwxr-xr-x 45 root root 4.0K May 14 23:50 ..drwxr-xr-x 23 root root 4.0K Mar 19 05:03 2024.0lrwxrwxrwx 1 root root 6 Mar 19 05:08 latest -> 2024.0/opt/intel/oneapi/basekit/:total 12Kdrwxr-xr-x 3 root root 4.0K Mar 19 05:08 .drwxr-xr-x 45 root root 4.0K May 14 23:50 ..drwxr-xr-x 3 root root 4.0K Mar 19 04:59 2024.0lrwxrwxrwx 1 root root 6 Mar 19 05:08 latest -> 2024.0/opt/intel/oneapi/ccl/:total 12Kdrwxr-xr-x 3 root root 4.0K Mar 19 05:22 .drwxr-xr-x 45 root root 4.0K May 14 23:50 ..drwxr-xr-x 8 root root 4.0K Mar 19 05:00 2021.11lrwxrwxrwx 1 root root 7 Mar 19 05:22 latest -> 2021.11/opt/intel/oneapi/common/:total 16Kdrwxr-xr-x 4 root root 4.0K May 14 23:50 .drwxr-xr-x 45 root root 4.0K May 14 23:50 ..drwxr-xr-x 3 root root 4.0K Mar 19 04:59 2024.0drwxr-xr-x 3 root root 4.0K May 14 23:49 2024.1lrwxrwxrwx 1 root root 6 May 14 23:50 latest -> 2024.1/opt/intel/oneapi/compiler/:total 16Kdrwxr-xr-x 4 root root 4.0K May 14 23:50 .drwxr-xr-x 45 root root 4.0K May 14 23:50 ..drwxr-xr-x 11 root root 4.0K Mar 19 05:01 2024.0drwxr-xr-x 9 root root 4.0K May 14 23:50 2024.1lrwxrwxrwx 1 root root 6 May 14 23:50 latest -> 2024.1/opt/intel/oneapi/conda_channel/:total 124Kdrwxr-xr-x 5 root root 4.0K Mar 19 05:22 .drwxr-xr-x 45 root root 4.0K May 14 23:50 ..drwxr-xr-x 3 root root 4.0K Mar 19 05:22 bin-rw-r--r-- 1 root root 96K Mar 19 05:16 channeldata.jsondrwxr-xr-x 3 root root 12K Mar 19 05:22 linux-64drwxr-xr-x 3 root root 4.0K Mar 19 05:22 noarch/opt/intel/oneapi/dal/:total 12Kdrwxr-xr-x 3 root root 4.0K Mar 19 05:26 .drwxr-xr-x 45 root root 4.0K May 14 23:50 ..drwxr-xr-x 8 root root 4.0K Mar 19 05:01 2024.0lrwxrwxrwx 1 root root 6 Mar 19 05:26 latest -> 2024.0/opt/intel/oneapi/debugger/:total 12Kdrwxr-xr-x 3 root root 4.0K Mar 19 05:17 .drwxr-xr-x 45 root root 4.0K May 14 23:50 ..drwxr-xr-x 8 root root 4.0K Mar 19 05:00 2024.0lrwxrwxrwx 1 root root 6 Mar 19 05:17 latest -> 2024.0/opt/intel/oneapi/dev-utilities/:total 12Kdrwxr-xr-x 3 root root 4.0K Mar 19 05:17 .drwxr-xr-x 45 root root 4.0K May 14 23:50 ..drwxr-xr-x 8 root root 4.0K Mar 19 04:59 2024.0lrwxrwxrwx 1 root root 6 Mar 19 05:17 latest -> 2024.0/opt/intel/oneapi/diagnostics/:total 12Kdrwxr-xr-x 3 root root 4.0K Mar 19 05:17 .drwxr-xr-x 45 root root 4.0K May 14 23:50 ..drwxr-xr-x 6 root root 4.0K Mar 19 04:59 2024.0lrwxrwxrwx 1 root root 6 Mar 19 05:17 latest -> 2024.0/opt/intel/oneapi/dnnl/:total 12Kdrwxr-xr-x 3 root root 4.0K Mar 19 05:26 .drwxr-xr-x 45 root root 4.0K May 14 23:50 ..drwxr-xr-x 8 root root 4.0K Mar 19 05:04 2024.0lrwxrwxrwx 1 root root 6 Mar 19 05:26 latest -> 2024.0/opt/intel/oneapi/dpcpp-ct/:total 12Kdrwxr-xr-x 3 root root 4.0K Mar 19 05:17 .drwxr-xr-x 45 root root 4.0K May 14 23:50 ..drwxr-xr-x 9 root root 4.0K Mar 19 04:59 2024.0lrwxrwxrwx 1 root root 6 Mar 19 05:17 latest -> 2024.0/opt/intel/oneapi/dpl/:total 12Kdrwxr-xr-x 3 root root 4.0K Mar 19 05:17 .drwxr-xr-x 45 root root 4.0K May 14 23:50 ..drwxr-xr-x 9 root root 4.0K Mar 19 04:59 2022.3lrwxrwxrwx 1 root root 6 Mar 19 05:17 latest -> 2022.3/opt/intel/oneapi/embree/:total 12Kdrwxr-xr-x 3 root root 4.0K Mar 19 05:26 .drwxr-xr-x 45 root root 4.0K May 14 23:50 ..drwxr-xr-x 9 root root 4.0K Mar 19 05:05 4.3lrwxrwxrwx 1 root root 3 Mar 19 05:26 latest -> 4.3/opt/intel/oneapi/hpckit/:total 12Kdrwxr-xr-x 3 root root 4.0K Mar 19 05:08 .drwxr-xr-x 45 root root 4.0K May 14 23:50 ..drwxr-xr-x 3 root root 4.0K Mar 19 05:04 2024.0lrwxrwxrwx 1 root root 6 Mar 19 05:08 latest -> 2024.0/opt/intel/oneapi/inspector/:total 12Kdrwxr-xr-x 3 root root 4.0K Mar 19 05:17 .drwxr-xr-x 45 root root 4.0K May 14 23:50 ..drwxr-xr-x 19 root root 4.0K Mar 19 05:04 2024.0lrwxrwxrwx 1 root root 6 Mar 19 05:17 latest -> 2024.0/opt/intel/oneapi/intelpython/:total 12Kdrwxr-xr-x 3 root root 4.0K Mar 19 05:08 .drwxr-xr-x 45 root root 4.0K May 14 23:50 ..lrwxrwxrwx 1 root root 9 Mar 19 05:08 latest -> python3.9drwxr-xr-x 21 root root 4.0K Mar 19 05:08 python3.9/opt/intel/oneapi/ipp/:total 12Kdrwxr-xr-x 3 root root 4.0K Mar 19 05:18 .drwxr-xr-x 45 root root 4.0K May 14 23:50 ..drwxr-xr-x 9 root root 4.0K Mar 19 05:02 2021.10lrwxrwxrwx 1 root root 7 Mar 19 05:18 latest -> 2021.10/opt/intel/oneapi/ippcp/:total 12Kdrwxr-xr-x 3 root root 4.0K Mar 19 05:17 .drwxr-xr-x 45 root root 4.0K May 14 23:50 ..drwxr-xr-x 9 root root 4.0K Mar 19 05:02 2021.9lrwxrwxrwx 1 root root 6 Mar 19 05:17 latest -> 2021.9/opt/intel/oneapi/ispc/:total 16Kdrwxr-xr-x 4 root root 4.0K May 14 23:50 .drwxr-xr-x 45 root root 4.0K May 14 23:50 ..drwxr-xr-x 9 root root 4.0K Mar 19 05:05 1.21drwxr-xr-x 9 root root 4.0K May 14 23:50 1.23lrwxrwxrwx 1 root root 4 May 14 23:50 latest -> 1.23/opt/intel/oneapi/itac/:total 12Kdrwxr-xr-x 3 root root 4.0K Mar 19 05:17 .drwxr-xr-x 45 root root 4.0K May 14 23:50 ..drwxr-xr-x 13 root root 4.0K Mar 19 05:04 2022.0lrwxrwxrwx 1 root root 6 Mar 19 05:17 latest -> 2022.0/opt/intel/oneapi/licensing/:total 20Kdrwxr-xr-x 5 root root 4.0K May 14 23:50 .drwxr-xr-x 45 root root 4.0K May 14 23:50 ..drwxr-xr-x 2 root root 4.0K Mar 19 05:05 2023.2.0drwxr-xr-x 4 root root 4.0K Mar 19 04:59 2024.0drwxr-xr-x 4 root root 4.0K May 14 23:49 2024.1lrwxrwxrwx 1 root root 6 May 14 23:50 latest -> 2024.1/opt/intel/oneapi/mkl/:total 12Kdrwxr-xr-x 3 root root 4.0K Mar 19 05:08 .drwxr-xr-x 45 root root 4.0K May 14 23:50 ..drwxr-xr-x 9 root root 4.0K Mar 19 05:03 2024.0lrwxrwxrwx 1 root root 6 Mar 19 05:08 latest -> 2024.0/opt/intel/oneapi/modelzoo/:total 12Kdrwxr-xr-x 3 root root 4.0K Mar 19 05:17 .drwxr-xr-x 45 root root 4.0K May 14 23:50 ..drwxr-xr-x 6 root root 4.0K Mar 19 05:05 2.12.0lrwxrwxrwx 1 root root 6 Mar 19 05:17 latest -> 2.12.0/opt/intel/oneapi/modin/:total 12Kdrwxr-xr-x 3 root root 4.0K Mar 19 05:17 .drwxr-xr-x 45 root root 4.0K May 14 23:50 ..drwxr-xr-x 3 root root 4.0K Mar 19 05:17 0.23.0.0lrwxrwxrwx 1 root root 8 Mar 19 05:17 latest -> 0.23.0.0/opt/intel/oneapi/mpi/:total 20Kdrwxr-xr-x 5 root root 4.0K May 14 23:50 .drwxr-xr-x 45 root root 4.0K May 14 23:50 ..drwxr-xr-x 14 root root 4.0K Mar 19 05:05 2021.10.0drwxr-xr-x 10 root root 4.0K Mar 19 05:00 2021.11drwxr-xr-x 9 root root 4.0K May 14 23:50 2021.12lrwxrwxrwx 1 root root 7 May 14 23:50 latest -> 2021.12/opt/intel/oneapi/neural-compressor/:total 12Kdrwxr-xr-x 3 root root 4.0K Mar 19 05:08 .drwxr-xr-x 45 root root 4.0K May 14 23:50 ..drwxr-xr-x 4 root root 4.0K Mar 19 05:05 2.2.0lrwxrwxrwx 1 root root 5 Mar 19 05:08 latest -> 2.2.0/opt/intel/oneapi/oidn/:total 16Kdrwxr-xr-x 4 root root 4.0K May 14 23:50 .drwxr-xr-x 45 root root 4.0K May 14 23:50 ..drwxr-xr-x 9 root root 4.0K Mar 19 05:06 2.1drwxr-xr-x 9 root root 4.0K May 14 23:50 2.2lrwxrwxrwx 1 root root 3 May 14 23:50 latest -> 2.2/opt/intel/oneapi/openpgl/:total 16Kdrwxr-xr-x 4 root root 4.0K May 14 23:50 .drwxr-xr-x 45 root root 4.0K May 14 23:50 ..drwxr-xr-x 9 root root 4.0K Mar 19 05:06 0.5drwxr-xr-x 9 root root 4.0K May 14 23:50 0.6lrwxrwxrwx 1 root root 3 May 14 23:50 latest -> 0.6/opt/intel/oneapi/openvkl/:total 12Kdrwxr-xr-x 3 root root 4.0K Mar 19 05:26 .drwxr-xr-x 45 root root 4.0K May 14 23:50 ..drwxr-xr-x 9 root root 4.0K Mar 19 05:06 2.0lrwxrwxrwx 1 root root 3 Mar 19 05:26 latest -> 2.0/opt/intel/oneapi/ospray/:total 16Kdrwxr-xr-x 4 root root 4.0K May 14 23:50 .drwxr-xr-x 45 root root 4.0K May 14 23:50 ..drwxr-xr-x 9 root root 4.0K Mar 19 05:06 3.0drwxr-xr-x 9 root root 4.0K May 14 23:50 3.1lrwxrwxrwx 1 root root 3 May 14 23:50 latest -> 3.1/opt/intel/oneapi/ospray_studio/:total 16Kdrwxr-xr-x 4 root root 4.0K May 14 23:50 .drwxr-xr-x 45 root root 4.0K May 14 23:50 ..drwxr-xr-x 8 root root 4.0K Mar 19 05:06 0.13drwxr-xr-x 8 root root 4.0K May 14 23:50 1.0lrwxrwxrwx 1 root root 3 May 14 23:50 latest -> 1.0/opt/intel/oneapi/pytorch/:total 12Kdrwxr-xr-x 3 root root 4.0K Mar 19 05:18 .drwxr-xr-x 45 root root 4.0K May 14 23:50 ..drwxr-xr-x 14 root root 4.0K Mar 19 05:21 2.0.1.0lrwxrwxrwx 1 root root 7 Mar 19 05:18 latest -> 2.0.1.0/opt/intel/oneapi/renderkit/:total 16Kdrwxr-xr-x 4 root root 4.0K May 14 23:50 .drwxr-xr-x 45 root root 4.0K May 14 23:50 ..drwxr-xr-x 3 root root 4.0K Mar 19 05:06 2024.0drwxr-xr-x 3 root root 4.0K May 14 23:50 2024.1lrwxrwxrwx 1 root root 6 May 14 23:50 latest -> 2024.1/opt/intel/oneapi/rkcommon/:total 16Kdrwxr-xr-x 4 root root 4.0K May 14 23:50 .drwxr-xr-x 45 root root 4.0K May 14 23:50 ..drwxr-xr-x 8 root root 4.0K Mar 19 05:05 1.12drwxr-xr-x 8 root root 4.0K May 14 23:50 1.13lrwxrwxrwx 1 root root 4 May 14 23:50 latest -> 1.13/opt/intel/oneapi/rkutil/:total 16Kdrwxr-xr-x 4 root root 4.0K May 14 23:50 .drwxr-xr-x 45 root root 4.0K May 14 23:50 ..drwxr-xr-x 6 root root 4.0K May 14 23:50 1.10drwxr-xr-x 6 root root 4.0K Mar 19 05:06 1.9lrwxrwxrwx 1 root root 4 May 14 23:50 latest -> 1.10/opt/intel/oneapi/tbb/:total 16Kdrwxr-xr-x 4 root root 4.0K May 14 23:50 .drwxr-xr-x 45 root root 4.0K May 14 23:50 ..drwxr-xr-x 9 root root 4.0K Mar 19 04:59 2021.11drwxr-xr-x 9 root root 4.0K May 14 23:50 2021.12lrwxrwxrwx 1 root root 7 May 14 23:50 latest -> 2021.12/opt/intel/oneapi/tcm/:total 12Kdrwxr-xr-x 3 root root 4.0K Mar 19 05:08 .drwxr-xr-x 45 root root 4.0K May 14 23:50 ..drwxr-xr-x 6 root root 4.0K Mar 19 04:59 1.0lrwxrwxrwx 1 root root 3 Mar 19 05:08 latest -> 1.0/opt/intel/oneapi/tensorflow/:total 12Kdrwxr-xr-x 3 root root 4.0K Mar 19 05:22 .drwxr-xr-x 45 root root 4.0K May 14 23:50 ..drwxr-xr-x 16 root root 4.0K Mar 19 05:25 2.13.0lrwxrwxrwx 1 root root 6 Mar 19 05:22 latest -> 2.13.0/opt/intel/oneapi/vtune/:total 12Kdrwxr-xr-x 3 root root 4.0K Mar 19 05:16 .drwxr-xr-x 45 root root 4.0K May 14 23:50 ..drwxr-xr-x 25 root root 4.0K Mar 19 05:04 2024.0lrwxrwxrwx 1 root root 6 Mar 19 05:16 latest -> 2024.0
2a) Inside the script is a config variable, you can change it to change which test case to run.
2b) If the script is successful, it will create an image.png at the root of the repository.
cpu1
gpu1
cpu2
gpu2
cpu16
gpu16
cpu19
gpu19
Thread 1 "python" received signal SIGSEGV, Segmentation fault.0x00007fff54a1f550 in __intel_avx_rep_memcpy () from /opt/intel/oneapi/rkcommon/1.13/lib/librkcommon.so.1(gdb) bt#0 0x00007fff54a1f550 in __intel_avx_rep_memcpy () from /opt/intel/oneapi/rkcommon/1.13/lib/librkcommon.so.1#1 0x00007fff43328ec3 in ospray::Data::copy(ospray::Data const&, rkcommon::math::vec_t<unsigned long, 3, false, void> const&) () from /opt/intel/oneapi/ospray/3.1/lib/libospray_module_gpu.so.3.1.0#2 0x00007fff54e138ac in ospCopyData () from /opt/intel/oneapi/ospray/3.1/lib/libospray.so
The text was updated successfully, but these errors were encountered:
The initial image looks familiar. We fixed several issues related to textures on PVC in devel (soon v3.2), see e.g. 3692dd5 or 26de734.
I could not reproduce the crash with config=gpu19, but I was using the DPCPP-compiled v3.1 (not oneAPI). I also tried devel, which gives yet another result (see below), so this needs further investigation. The crash looks like access beyond the src array, could it be related to how the python wrappers use ospCopyData?
I'm happy to hear that several texture problems have been fixed! Hopefully that bodes well for the issue that I'm facing.
I'll have access to that Intel DevCloud machine again in a couple of weeks, so I'll be able to do some more testing then.
Once I get access again, what's the best way for me to test the newest versions? Should I plan to build OSPRay and friends myself, or is there a nightly-built artifact that you can share with me?
Hi again RenderKit team 👋
I'm doing a project using OSPRay for our Intel Center of Excellence program. The core idea is to create a rendering service/web API for visualizing biodiversity and energy efficiency data at a city scale.
We're at the phase of our project now where we have enough data (geometry, textures, etc) that we need to use the OSPRay GPU module/device.
During my testing, I noticed some weird rendering artifacts:
Initial symptom of the problem
Since then, I've tried to create a minimal reproducible example, and I've broken our problem down into a problem with textures. There are two symptoms:
First, on GPU, my texture maps are partly-to-mostly transparent. The amount and location of transparency is related to the texture size. In general, for a texture of size N, the first 1/N is only partially transparent and the remaining texture is varying degrees of mostly transparent.
Second, on GPU, copying the data for a 19x19 texture crashes OSPRay with a segfault inside a memcpy, inside
ospray::Data::copy()
.I did something kind of weird: my script to reproduce this problem is in Python using a ctypes-based wrapper around OSPRay. Everything works perfectly fine using the CPU device, so I don't believe the problem is related to my wrapper.
The source code for the script is in https://github.com/player1537-playground/OSPRay-GPU-Texture-Problem in the
test.py
file.test.py
has a small amount of documentation at the top, but the short form is:SYCL Devices
My oneAPI environment
My shell environment
2a) Inside the script is a
config
variable, you can change it to change which test case to run.2b) If the script is successful, it will create an
image.png
at the root of the repository.cpu1
gpu1
cpu2
gpu2
cpu16
gpu16
cpu19
gpu19
The text was updated successfully, but these errors were encountered: