Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Orbbec cameras randomly fail to start. It needs a system reboot to work again #71

Open
shannonwarren opened this issue May 6, 2024 · 1 comment

Comments

@shannonwarren
Copy link

shannonwarren commented May 6, 2024

I recently upgraded by sdk to v1.9.3 and noticed a random issue when the orbbec cameras launch. Any guidance would be appreciated. I have two femto bolt cameras connected.

Describe the bug

[orbbec_camera_controller-1] libEGL warning: egl: failed to create dri2 screen
[orbbec_camera_controller-1] libEGL warning: egl: failed to create dri2 screen
[orbbec_camera_controller-1] GlContext::Initialize eglInitialize error code = 0x3001
[orbbec_camera_controller-1] [2024-05-04 18:21:35.012] [error] [t=145] /home/daiyin/Desktop/OrbbecSDK-K4A-Wrapper/src/tewrapper/tewrapper.c (61): transform_engine_start_helper(). Transform engine create and initialize failed with error code: 204.
[orbbec_camera_controller-1] [2024-05-04 18:21:35.012] [error] [t=145] /home/daiyin/Desktop/OrbbecSDK-K4A-Wrapper/src/tewrapper/tewrapper.c (68): teresult == K4A_DEPTH_ENGINE_RESULT_SUCCEEDED returned failure in transform_engine_start_helper()
[orbbec_camera_controller-1] [2024-05-04 18:21:35.012] [error] [t=145] /home/daiyin/Desktop/OrbbecSDK-K4A-Wrapper/src/tewrapper/tewrapper.c (86): transform_engine_start_helper(tewrapper) returned failure in transform_engine_thread()
[orbbec_camera_controller-1] [2024-05-04 18:21:35.012] [error] [t=144] /home/daiyin/Desktop/OrbbecSDK-K4A-Wrapper/src/tewrapper/tewrapper.c (313): tewrapper_create(). Transform Engine thread failed to start
[orbbec_camera_controller-1] [2024-05-04 18:21:35.012] [error] [t=144] /home/daiyin/Desktop/OrbbecSDK-K4A-Wrapper/src/transformation/transformation.c (637): transformation_context->tewrapper != NULL returned failure in transformation_create()

OrbbecSDK.log

[02/28 16:12:22.832879][info][331600][Context.cpp:77] - SDK version: 1.9.4
[02/28 16:12:22.832883][info][331600][Context.cpp:78] - SDK stage version: main
[02/28 16:12:22.832888][info][331600][Context.cpp:82] get config EnumerateNetDevice:false
[02/28 16:12:22.832892][debug][331600][DeviceManager.cpp:30] DeviceManager init ...
[02/28 16:12:22.832894][info][331600][LinuxPal.cpp:38] createObPal: create LinuxPal!
[02/28 16:12:22.833371][debug][331600][DeviceManager.cpp:34] Enable USB Device Enumerator ...
[02/28 16:12:22.834838][debug][331600][EnumeratorLibusb.cpp:323] queryDevicesInfo done!
[02/28 16:12:22.834866][debug][331600][ObV4lDevice.cpp:346] Found video4linux: video3
[02/28 16:12:22.834979][debug][331600][ObV4lDevice.cpp:346] Found video4linux: video1
[02/28 16:12:22.835057][debug][331600][ObV4lDevice.cpp:346] Found video4linux: video2
[02/28 16:12:22.953942][debug][331600][ObV4lDevice.cpp:346] Found video4linux: video0
[02/28 16:12:22.954651][debug][331600][UsbDeviceEnumerator.cpp:161] Current usb device port list:
[02/28 16:12:22.954708][debug][331600][UsbDeviceEnumerator.cpp:164] - 2-1.4-24.0 | Orbbec Femto Bolt RGB Camera
[02/28 16:12:22.954715][debug][331600][UsbDeviceEnumerator.cpp:164] - 2-1.4-24.2 | Orbbec Femto Bolt Depth Camera
[02/28 16:12:22.954720][debug][331600][UsbDeviceEnumerator.cpp:164] - 2-1.4-24.4 | HID Interface
[02/28 16:12:22.954920][info][331600][LinuxPal.cpp:112] Create PollingDeviceWatcher!
[02/28 16:12:22.954947][debug][331600][UsbDeviceEnumerator.cpp:69] Found 1 device(s):
[02/28 16:12:22.954955][debug][331600][UsbDeviceEnumerator.cpp:72] - Name: Femto Bolt, PID: 0x066B, SN/ID: CL8MB3300Y1, connection: USB3.1
[02/28 16:12:22.954985][info][331600][DeviceManager.cpp:15] Current found device(s): (1)
[02/28 16:12:22.954997][info][331600][DeviceManager.cpp:24] - Name: Femto Bolt, PID: 0x066b, SN/ID: CL8MB3300Y1, Connection: USB3.1
[02/28 16:12:22.955008][debug][331600][DeviceManager.cpp:55] DeviceManager construct done!
[02/28 16:12:22.955212][debug][331600][DeviceManager.cpp:112] DeviceManager createDevice...
[02/28 16:12:22.955219][debug][331600][UsbDeviceEnumerator.cpp:289] UsbDeviceEnumerator createDevice...
[02/28 16:12:22.955261][info][331600][FemtoBoltUvcDevice.cpp:22] FemtoBoltUvcDevice init ...
[02/28 16:12:22.955360][info][331600][FemtoBoltUvcDevice.cpp:116] Create command start!
[02/28 16:12:22.956720][debug][331600][ObUvcDevice.cpp:57] uvc_open success
[02/28 16:12:22.957775][info][331600][MSDEConverterDevice.cpp:721] Succeed to load depth engine plugin
[02/28 16:12:22.957815][debug][331600][ObUvcDevice.cpp:80] ObUvcDevice::startStream()...
[02/28 16:12:22.957834][debug][331600][ObUvcDevice.cpp:383] playProfile: infIndex=2, selected_format.width=1024, height=512, format=OB_FORMAT_Y16
[02/28 16:12:22.961953][debug][331600][ObUvcDevice.cpp:85] ObUvcDevice::startStream() done
[02/28 16:12:22.962136][debug][331600][VendorCommand.cpp:198] VendorCommand constructor 55ae2c3ea8e0
[02/28 16:12:23.163883][debug][331600][PropertyAccessor.cpp:50] get firmware data success! propertyId: 1000, dataLen: 164
[02/28 16:12:23.164556][debug][331600][HostProtocol.cpp:450] get property value success! propertyId=98, cur={intValue: 0, floatValue: 0}, max={intValue: 1, floatValue: 1.4013e-45}, min={intValue: 0, floatValue: 0},def={intValue: 0, floatValue: 0},step={intValue: 1, floatValue: 1.4013e-45}
[02/28 16:12:23.164597][debug][331600][PropertyAccessor.cpp:28] get property value success! propertyId: 98, value: {intValue: 0, floatValue: 0}
[02/28 16:12:23.164635][info][331600][FemtoBoltUvcDevice.cpp:267] Create command done!
[02/28 16:12:23.164704][info][331600][FemtoBoltUvcDevice.cpp:420] init sensor map start!
[02/28 16:12:23.164737][info][331600][FemtoBoltUvcDevice.cpp:447] init sensor map done!
[02/28 16:12:23.165625][debug][331600][PropertyAccessor.cpp:50] get firmware data success! propertyId: 1000, dataLen: 164
[02/28 16:12:23.165642][info][331600][AbstractDevice.cpp:124] - Firmware version: 1.0.9

To Reproduce

Expected behavior

Logs

Screenshots

Desktop (please complete the following information):

  • OS with Version: Ubuntu 22.04
  • SDK Version: v1.9.3
  • Firmware version: 1.0.9

Additional context

@ChuckM90
Copy link

There's some conflicting information. In the log I see that you are using SDK 1.9.4 while in the information it says 1.9.3
In any case I advise you to update both the SDK and the firmware to the latest versions and try again

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants