Open arpu opened 4 years ago
@arpu can you attach the loom shell script and test case images for this bug?
data from sample-1
loom_shell 0.9.9 [loomsl 0.9.9]
... processing commands from loomStitch-sample1.txt
..ls_context context[1] created
..lsCreateContext: created context context[0]
..lsSetOutputConfig: successful for context[0]
..lsSetCameraConfig: successful for context[0]
OK: OpenVX using GPU device#0 (gfx803) [OpenCL 1.2 ] [SvmCaps 0 1]
ERROR: clBuildProgram(0xdc5c00,-cl-std=CL1.2) failed(-11) for com.amd.loomsl.expcomp_compute_gainmatrix
ERROR: OpenVX call failed with status = (-1) at /home/arpu/Work/githubsources/MIVisionX/amd_openvx_extensions/amd_loomsl/live_stitch_api.cpp#2758
ERROR: lsInitialize(context[0]) failed (-1) @loomStitch-sample1.txt#24
... exit from loomStitch-sample1.txt
anything i can provide?
@arpu can you check why you are using OpenCL 1.2
OK: OpenVX using GPU device#0 (gfx803) [OpenCL 1.2 ] [SvmCaps 0 1]
ROCm installs OpenCL 2.0+
tested with opencl 2 same
arpu@hokuspokus ~/Work/githubsources/vreenproducer_test/sample /usr/local/bin/loom_shell loomStitch-sample1.txt ✔ 10014 03:02:06
loom_shell 0.9.9 [loomsl 0.9.9]
... processing commands from loomStitch-sample1.txt
..ls_context context[1] created
..lsCreateContext: created context context[0]
..lsSetOutputConfig: successful for context[0]
..lsSetCameraConfig: successful for context[0]
OK: CL_VERSION_2_0 OpenVX using GPU device#0 (gfx803) [OpenCL C 2.0 ] [SvmCaps 0 0]
ERROR: clBuildProgram(0xfc1cd0,-cl-std=CL2.0) failed(-11) for com.amd.loomsl.expcomp_compute_gainmatrix
ERROR: OpenVX call failed with status = (-1) at /home/arpu/Work/githubsources/MIVisionX/amd_openvx_extensions/amd_loomsl/live_stitch_api.cpp#2758
ERROR: lsInitialize(context[0]) failed (-1) @loomStitch-sample1.txt#24
... exit from loomStitch-sample1.txt
arpu@hokuspokus ~/Work/githubsources/vreenproducer_test/sample ldd /usr/local/bin/loom_shell loomStitch-sample1.txt SIG(127) ↵ 10015 03:02:18
/usr/local/bin/loom_shell:
linux-vdso.so.1 (0x00007ffcea98f000)
libvx_loomsl.so => /usr/local/lib/libvx_loomsl.so (0x00007f373e655000)
libopenvx.so => /usr/local/lib/libopenvx.so (0x00007f373e433000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f373e3f4000)
libOpenCL.so.1 => /opt/rocm-3.9.1/opencl/lib/libOpenCL.so.1 (0x00007f373e1ec000)
libstdc++.so.6 => /lib64/libstdc++.so.6 (0x00007f373e004000)
libm.so.6 => /lib64/libm.so.6 (0x00007f373debe000)
libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007f373dea1000)
libc.so.6 => /lib64/libc.so.6 (0x00007f373dcd6000)
libdl.so.2 => /lib64/libdl.so.2 (0x00007f373dccf000)
/lib64/ld-linux-x86-64.so.2 (0x00007f373e733000)
loomStitch-sample1.txt:
@paveltc can you check if this issue is still present on TOT ?
tested with latest master version still the same error
loom_shell test.txt
loom_shell 0.9.9 [loomsl 0.9.9]
... processing commands from test.txt
..ls_context context[1] created
..lsCreateContext: created context context[0]
..lsSetOutputConfig: successful for context[0]
..lsSetCameraConfig: successful for context[0]
OK: OpenVX using GPU device#0 (gfx803) [OpenCL 1.2 ] [SvmCaps 0 1]
ERROR: clBuildProgram(0x7fc65fcb9e80,-cl-std=CL1.2) failed(-11) for com.amd.loomsl.expcomp_compute_gainmatrix
ERROR: OpenVX call failed with status = (-1) at /home/arpu/Work/githubsources/MIVisionX_2021/amd_openvx_extensions/amd_loomsl/live_stitch_api.cpp#2758
ERROR: lsInitialize(context[0]) failed (-1) @test.txt#24
... exit from test.txt
@kiritigowda I see the same error. You need to set the ExpoComp variable to ON in the loomShell script to see this problem. With ExpoComp off, this doesn't happen.
@rrawther can you take a look at this?
@arpu Apologies for the delayed response. Can you please test with the latest ROCm 6.1.2? If issue is resolved, please close the ticket. Thanks!
Hey
with config
shader build fails on start
LOG:[status=-1] ERROR: clBuildProgram(0x7fd1ed536c30,-cl-std=CL1.2) failed(-11) for com.amd.loomsl.expcomp_compute_gainmatrix ERROR: OpenVX call failed with status = (-1) at /home/arpu/Work/githubsources/MIVisionX/amd_openvx_extensions/amd_loomsl/live_stitch_api.cpp#2758
rocminfo: