Skip to main content
Question

GStreamer + OpenCL Issues in SDK 1.5.1

  • December 3, 2025
  • 8 replies
  • 119 views

Hi, Spanner-san.

 

I was able to get the camera demo working by applying the fix suggested by FUKU55-san in another thread (--disable-opencl).

 

(x) # ./inference.py resnet50-imagenet-onnx usb:0 --show-stats 
(o) # ./inference.py resnet50-imagenet-onnx usb:0 --show-stats --disable-opencl

 

It seems that the integration between GStreamer and OpenCL is unstable in SDK 1.5.1.

8 replies

Hi,

I'm experiencing the same issue as here
The movie demo works but the camera demo fails.

 

 


Hi, Spanner-san.

In my case, I downloaded and recompiled the model zoo(see my log  ↑).


Spanner
Axelera Team
Forum|alt.badge.img+3
  • Axelera Team
  • December 4, 2025

Hi ​@Hiroyuki Kojima-san!

Thanks for sharing your findings. Your workaround with --disable-opencl is really interesting. A couple of Axelera guys are looking into this and have asked if you could help us with a bit more info:

  1. Could you try running the pipeline again with the -vv option? This will give us full GStreamer debug logs.

  2. If possible, could you also try running the same pipeline using a video file or a fakesrc input, to help rule out USB camera quirks?

  3. Lastly, could you share the output of clinfo? It’s possible OpenCL might not be available on the system, and this will help confirm.

Really appreciate your help as we dig into it!


Hi, Spanner-san.

 

I will send you the demo operation command confirmation log you requested.

This time, a warning message appeared, but the camera demo worked even without adding --disable-opencl. Why is that?


Spanner
Axelera Team
Forum|alt.badge.img+3
  • Axelera Team
  • December 5, 2025

Thanks very much for sharing this! After a quick look, it does seem like OpenCL isn’t available. Although it does look like the camera is being detected nicely at the OS level, which is good news.

Probably this time it was able to fall back to using the CPU a little more gracefully, which is why it didn’t crash on this occassion?

To fully confirm, would you be able to provide:

  • The output of clinfo

  • A run with -vv for full GStreamer logs

👍

 


Hi, Spanner-san.

 

Please find the attached file, which includes the demo output (with the -vv flag) and the clinfo logs.


Spanner
Axelera Team
Forum|alt.badge.img+3
  • Axelera Team
  • December 8, 2025

Thanks for the logs ​@Hiroyuki Kojima! That’s really useful. Based on that, it doesn’t look like OpenCL is the issue. Using --disable-opencl probably just suppressed the warning, but the pipeline looks like it ran fine in both circumstances. 👍

 


Hi, Spanner-san.

 

Thank you for the reply.
Although I haven't been able to reproduce the error since my first log,
I suspect it is related to the camera device's connection status.