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

Demo app running, no camera view #1199

Open
Jai-GAY opened this issue Aug 28, 2024 · 9 comments
Open

Demo app running, no camera view #1199

Jai-GAY opened this issue Aug 28, 2024 · 9 comments
Labels
bug Something isn't working

Comments

@Jai-GAY
Copy link

Jai-GAY commented Aug 28, 2024

is there any restriction in running? direct monitor connection?, no VNC?
Is there another way to verify the camera device connection? Luxonis OAK-D Pro Fixed Focus.

Distributor ID: Ubuntu
Description:    Ubuntu 22.04.4 LTS
Release:        22.04
Codename:       jammy

sudo wget -qO- https://docs.luxonis.com/install_depthai.sh | bash

Press ENTER KEY to finish and run the demo app...
STARTING DEMO APP.
On branch main
Your branch is up to date with 'origin/main'.

Screenshot 2024-08-28 113318

@Jai-GAY Jai-GAY added the bug Something isn't working label Aug 28, 2024
@brmarkus
Copy link

Do you see any log messages in the console, is there anything reported under "dmesg" (you could run sudo dmesg -w in another terminal in parallel to see if messages get logged while starting the demo).

Is your used in the video group?
Do you see a normal USB web cam working? (not sure if the OAK-D-Pro supports a v4l2 interface and would work in a normal Linux camera-video-chat application?)

@Jai-GAY
Copy link
Author

Jai-GAY commented Aug 28, 2024

(you could run sudo dmesg -w in another terminal in parallel to see if messages get logged while starting the demo).

[    2.631653] usb 1-1.1: new high-speed USB device number 3 using xhci_hcd
[    2.732661] usb 1-1.1: New USB device found, idVendor=03e7, idProduct=2485, bcdDevice= 0.01
[    2.732684] usb 1-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    2.732701] usb 1-1.1: Product: Movidius MyriadX
[    2.732715] usb 1-1.1: Manufacturer: Movidius Ltd.
[    2.732728] usb 1-1.1: SerialNumber: 03e72485
[    2.815682] usb 1-1.2: new low-speed USB device number 4 using xhci_hcd
[    2.923731] usb 1-1.2: New USB device found, idVendor=046d, idProduct=c018, bcdDevice=43.01
[    2.923754] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    2.923769] usb 1-1.2: Product: USB Optical Mouse
[    2.923783] usb 1-1.2: Manufacturer: Logitech

[   37.453481] uart-pl011 fe201800.serial: no DMA platform data
[   43.385519] rfkill: input handler disabled
[  561.734554] usb 1-1.1: USB disconnect, device number 3
[  562.591920] usb 2-1: new SuperSpeed USB device number 2 using xhci_hcd
[  562.613141] usb 2-1: New USB device found, idVendor=03e7, idProduct=f63b, bcdDevice= 1.00
[  562.613163] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[  562.613170] usb 2-1: Product: Luxonis Device
[  562.613176] usb 2-1: Manufacturer: Intel Corporation
[  562.613181] usb 2-1: SerialNumber: 184430109115B00E00
[  565.287635] usb 1-1.1: new high-speed USB device number 5 using xhci_hcd
[  565.388502] usb 1-1.1: New USB device found, idVendor=03e7, idProduct=2485, bcdDevice= 0.01
[  565.388532] usb 1-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[  565.388544] usb 1-1.1: Product: Movidius MyriadX
[  565.388553] usb 1-1.1: Manufacturer: Movidius Ltd.
[  565.388562] usb 1-1.1: SerialNumber: 03e72485
[  565.423822] usb 2-1: USB disconnect, device number 2
[  566.855259] usb 1-1.1: USB disconnect, device number 5
[  567.595909] usb 2-1: new SuperSpeed USB device number 3 using xhci_hcd
[  567.617045] usb 2-1: New USB device found, idVendor=03e7, idProduct=f63b, bcdDevice= 1.00
[  567.617065] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[  567.617072] usb 2-1: Product: Luxonis Device
[  567.617078] usb 2-1: Manufacturer: Intel Corporation
[  567.617083] usb 2-1: SerialNumber: 184430109115B00E00
[  570.915597] usb 1-1.1: new high-speed USB device number 6 using xhci_hcd
[  571.024260] usb 1-1.1: New USB device found, idVendor=03e7, idProduct=2485, bcdDevice= 0.01
[  571.024285] usb 1-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[  571.024306] usb 1-1.1: Product: Movidius MyriadX
[  571.024312] usb 1-1.1: Manufacturer: Movidius Ltd.
[  571.024318] usb 1-1.1: SerialNumber: 03e72485
[  571.155774] usb 2-1: USB disconnect, device number 3
[  573.768184] usb 1-1.1: USB disconnect, device number 6
[  574.551927] usb 2-1: new SuperSpeed USB device number 4 using xhci_hcd
[  574.573123] usb 2-1: New USB device found, idVendor=03e7, idProduct=f63b, bcdDevice= 1.00
[  574.573144] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[  574.573151] usb 2-1: Product: Luxonis Device
[  574.573157] usb 2-1: Manufacturer: Intel Corporation
[  574.573162] usb 2-1: SerialNumber: 184430109115B00E00

Is your used in the video group?

$ groups
pi adm dialout cdrom sudo dip video plugdev lpadmin lxd sambashare

Do you see a normal USB web cam working?

this works, after missing libraries installed.

python depthai-python/examples/MobileNet/rgb_mobilenet.py

@brmarkus
Copy link

From the dmesg logs it looks ok, the USB-devices changes between "Luxonis Device" and "Movidius MyriadX" (when starting the demo).
Is there something written on the console when you start the demo?

Have you tried using an actively powered USB-hub between the RPI and the camera?

Do you hear click sounds from the camera when starting the demo?
The sample "rgb_mobilenet.py" is easy, the demo is more complicated, involves all sensors, maybe the camera needs more energy?

Not sure about how to get more detailed, more verbose log messages from the demo, I haven't used the OAK devices some time ago...

@github-staff github-staff deleted a comment Aug 28, 2024
@Jai-GAY
Copy link
Author

Jai-GAY commented Aug 29, 2024

maybe the camera needs more energy?
Is there something written on the console when you start the demo?

on separate power sources. today, repeat the same step, no GUI window launched.

:::::::::::::::: INSTALATION COMPLETE ::::::::::::::::


To run demo app write <depthai_launcher> in terminal.
Press ENTER KEY to finish and run the demo app...
STARTING DEMO APP.
Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
On branch main
Your branch is up to date with 'origin/main'.

nothing to commit, working tree clean
========= Starting: Launcher (2024-08-29 10:29:46.668936) =========
System information:
 - sys.prefix = /home/pi/Luxonis/venv
 - sys.base_prefix = /usr
 - Env 'PYTHONPATH': /home/pi/ros2_ws/install/turtlesim/local/lib/python3.10/dist-packages:/home/pi/ros2_ws/install/ardupilot_dds_tests/lib/python3.10/site-packages:/home/pi/ros2_ws/install/ardupilot_sitl/local/lib/python3.10/dist-packages:/home/pi/ros2_ws/install/ardupilot_msgs/local/lib/python3.10/dist-packages:/opt/ros/humble/lib/python3.10/site-packages:/opt/ros/humble/local/lib/python3.10/dist-packages
 - Executable: /home/pi/Luxonis/venv/bin/python

Current commit: 6901f74579d2afe5b2dec31b32213a1af9bd38da
Current tag: None
Available DepthAI versions: ['v0.3.0.0', 'v0.4.0.0', 'v0.4.1.1', 'v1.0.0', 'v1.0.0.0', 'v2.0.0', 'v2.10.0.0', 'v2.7.2.0', 'v2.8.0.0', 'v2.9.0.0', 'v3.0.0', 'v3.0.1', 'v3.0.10', 'v3.0.11', 'v3.0.12', 'v3.0.12', 'v3.0.2', 'v3.0.3', 'v3.0.4', 'v3.0.5', 'v3.0.6', 'v3.0.7', 'v3.0.7', 'v3.0.8', 'v3.0.9', 'v3.1.0', 'v3.1.0', 'v3.1.1', 'v3.1.1', 'v3.1.2', 'v3.1.2', 'v3.1.3', 'v3.1.3', 'v3.2.0', 'v3.2.1', 'v3.3.0', 'v3.3.0', 'v3.3.1', 'v3.3.1', 'v3.4.0', 'v3.5.0', 'v3.5.0', 'v3.6.0', 'v3.6.0', 'v3.6.1']
Message Box (Update Available): Version 3.6.1 is available.
Current version is Unknown
Update?
Should update? True
Updated, running new launcher - command: ['/home/pi/Luxonis/venv/bin/python', '/home/pi/Luxonis/depthai/launcher/launcher.py', '-r', '/home/pi/Luxonis/depthai']
Unknown error occured (Shutting down and starting updated launcher), exiting...
Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
HEAD detached at v3.6.1
nothing to commit, working tree clean
[2024-08-29T02:30:16Z WARN  wgpu_core::instance] Missing downlevel flags: DownlevelFlags(FULL_DRAW_INDEX_UINT32)
    The underlying API or device in use does not support enough features to be a fully compliant implementation of WebGPU. A subset of the features can still be used. If you are running this program on native and not in a browser and wish to limit the features you use to the supported subset, call Adapter::downlevel_properties or Device::downlevel_properties to get a listing of the features the current platform supports.

thread 'ThreadId(1)' panicked at 'The given device doesn't support the required downlevel capabilities for the given hardware tier FullWebGpuSupport.
            Required:
            DownlevelCapabilities { flags: DownlevelFlags(COMPUTE_SHADERS | FRAGMENT_WRITABLE_STORAGE | INDIRECT_EXECUTION | BASE_VERTEX | READ_ONLY_DEPTH_STENCIL | NON_POWER_OF_TWO_MIPMAPPED_TEXTURES | CUBE_ARRAY_TEXTURES | COMPARISON_SAMPLERS | INDEPENDENT_BLEND | VERTEX_STORAGE | ANISOTROPIC_FILTERING | FRAGMENT_STORAGE | MULTISAMPLED_SHADING | DEPTH_TEXTURE_AND_BUFFER_COPIES | WEBGPU_TEXTURE_FORMAT_SUPPORT | BUFFER_BINDINGS_NOT_16_BYTE_ALIGNED | UNRESTRICTED_INDEX_BUFFER | FULL_DRAW_INDEX_UINT32 | DEPTH_BIAS_CLAMP | VIEW_FORMATS | UNRESTRICTED_EXTERNAL_TEXTURE_COPIES | SURFACE_VIEW_FORMATS), limits: DownlevelLimits, shader_model: Sm4 }
            Actual:
            DownlevelCapabilities { flags: DownlevelFlags(COMPUTE_SHADERS | FRAGMENT_WRITABLE_STORAGE | INDIRECT_EXECUTION | BASE_VERTEX | READ_ONLY_DEPTH_STENCIL | NON_POWER_OF_TWO_MIPMAPPED_TEXTURES | CUBE_ARRAY_TEXTURES | COMPARISON_SAMPLERS | INDEPENDENT_BLEND | VERTEX_STORAGE | ANISOTROPIC_FILTERING | FRAGMENT_STORAGE | MULTISAMPLED_SHADING | DEPTH_TEXTURE_AND_BUFFER_COPIES | WEBGPU_TEXTURE_FORMAT_SUPPORT | BUFFER_BINDINGS_NOT_16_BYTE_ALIGNED | UNRESTRICTED_INDEX_BUFFER | DEPTH_BIAS_CLAMP | VIEW_FORMATS | UNRESTRICTED_EXTERNAL_TEXTURE_COPIES | SURFACE_VIEW_FORMATS), limits: DownlevelLimits, shader_model: Sm5 }', re_renderer/src/context.rs:142

   6: core::panicking::panic_fmt
             at core/src/panicking.rs:72:14
   7: re_renderer::context::RenderContext::new
   8: core::ops::function::FnOnce::call_once{{vtable.shim}}
   9: <eframe::native::run::wgpu_integration::WgpuWinitApp as eframe::native::run::WinitApp>::on_event
  10: eframe::native::run::run_and_return::{{closure}}
  11: winit::platform_impl::platform::wayland::event_loop::EventLoop<T>::run_return
  12: eframe::native::run::with_event_loop
  13: eframe::run_native

Troubleshooting Rerun: https://www.rerun.io/docs/getting-started/troubleshooting
========= Starting: Launcher (2024-08-29 10:30:03.410383) =========
System information:
 - sys.prefix = /home/pi/Luxonis/venv
 - sys.base_prefix = /usr
 - Env 'PYTHONPATH': /home/pi/ros2_ws/install/turtlesim/local/lib/python3.10/dist-packages:/home/pi/ros2_ws/install/ardupilot_dds_tests/lib/python3.10/site-packages:/home/pi/ros2_ws/install/ardupilot_sitl/local/lib/python3.10/dist-packages:/home/pi/ros2_ws/install/ardupilot_msgs/local/lib/python3.10/dist-packages:/opt/ros/humble/lib/python3.10/site-packages:/opt/ros/humble/local/lib/python3.10/dist-packages
 - Executable: /home/pi/Luxonis/venv/bin/python

Current commit: e85690d9738c8998c1f22e2ab31537497839dd36
Current tag: v3.6.1
Available DepthAI versions: ['v0.3.0.0', 'v0.4.0.0', 'v0.4.1.1', 'v1.0.0', 'v1.0.0.0', 'v2.0.0', 'v2.10.0.0', 'v2.7.2.0', 'v2.8.0.0', 'v2.9.0.0', 'v3.0.0', 'v3.0.1', 'v3.0.10', 'v3.0.11', 'v3.0.12', 'v3.0.12', 'v3.0.2', 'v3.0.3', 'v3.0.4', 'v3.0.5', 'v3.0.6', 'v3.0.7', 'v3.0.7', 'v3.0.8', 'v3.0.9', 'v3.1.0', 'v3.1.0', 'v3.1.1', 'v3.1.1', 'v3.1.2', 'v3.1.2', 'v3.1.3', 'v3.1.3', 'v3.2.0', 'v3.2.1', 'v3.3.0', 'v3.3.0', 'v3.3.1', 'v3.3.1', 'v3.4.0', 'v3.5.0', 'v3.5.0', 'v3.6.0', 'v3.6.0', 'v3.6.1']
Current tag: v3.6.1, ver: 3.6.1
Launching DepthAI Viewer.
Installed DepthAI Viewer version: 0.2.4
Latest DepthAI Viewer version: 0.2.4

@brmarkus
Copy link

brmarkus commented Aug 29, 2024

There are a couple of GUI/graphics related log messages to look closer at, like

Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.

or

[2024-08-29T02:30:16Z WARN  wgpu_core::instance] Missing downlevel flags: DownlevelFlags(FULL_DRAW_INDEX_UINT32)
    The underlying API or device in use does not support enough features to be a fully compliant implementation of WebGPU. A subset of the features can still be used. If you are running this program on native and not in a browser and wish to limit the features you use to the supported subset, call Adapter::downlevel_properties or Device::downlevel_properties to get a listing of the features the current platform supports.

thread 'ThreadId(1)' panicked at 'The given device doesn't support the required downlevel capabilities for the given hardware tier FullWebGpuSupport.
            Required:
            DownlevelCapabilities { flags: DownlevelFlags(COMPUTE_SHADERS | FRAGMENT_WRITABLE_STORAGE | INDIRECT_EXECUTION | BASE_VERTEX | READ_ONLY_DEPTH_STENCIL | NON_POWER_OF_TWO_MIPMAPPED_TEXTURES | CUBE_ARRAY_TEXTURES | COMPARISON_SAMPLERS | INDEPENDENT_BLEND | VERTEX_STORAGE | ANISOTROPIC_FILTERING | FRAGMENT_STORAGE | MULTISAMPLED_SHADING | DEPTH_TEXTURE_AND_BUFFER_COPIES | WEBGPU_TEXTURE_FORMAT_SUPPORT | BUFFER_BINDINGS_NOT_16_BYTE_ALIGNED | UNRESTRICTED_INDEX_BUFFER | FULL_DRAW_INDEX_UINT32 | DEPTH_BIAS_CLAMP | VIEW_FORMATS | UNRESTRICTED_EXTERNAL_TEXTURE_COPIES | SURFACE_VIEW_FORMATS), limits: DownlevelLimits, shader_model: Sm4 }
            Actual:
            DownlevelCapabilities { flags: DownlevelFlags(COMPUTE_SHADERS | FRAGMENT_WRITABLE_STORAGE | INDIRECT_EXECUTION | BASE_VERTEX | READ_ONLY_DEPTH_STENCIL | NON_POWER_OF_TWO_MIPMAPPED_TEXTURES | CUBE_ARRAY_TEXTURES | COMPARISON_SAMPLERS | INDEPENDENT_BLEND | VERTEX_STORAGE | ANISOTROPIC_FILTERING | FRAGMENT_STORAGE | MULTISAMPLED_SHADING | DEPTH_TEXTURE_AND_BUFFER_COPIES | WEBGPU_TEXTURE_FORMAT_SUPPORT | BUFFER_BINDINGS_NOT_16_BYTE_ALIGNED | UNRESTRICTED_INDEX_BUFFER | DEPTH_BIAS_CLAMP | VIEW_FORMATS | UNRESTRICTED_EXTERNAL_TEXTURE_COPIES | SURFACE_VIEW_FORMATS), limits: DownlevelLimits, shader_model: Sm5 }', re_renderer/src/context.rs:142

   6: core::panicking::panic_fmt
             at core/src/panicking.rs:72:14
   7: re_renderer::context::RenderContext::new
   8: core::ops::function::FnOnce::call_once{{vtable.shim}}
   9: <eframe::native::run::wgpu_integration::WgpuWinitApp as eframe::native::run::WinitApp>::on_event
  10: eframe::native::run::run_and_return::{{closure}}
  11: winit::platform_impl::platform::wayland::event_loop::EventLoop<T>::run_return
  12: eframe::native::run::with_event_loop
  13: eframe::run_native

Can you describe your system with more details, please?
Initially you asked "is there any restriction in running? direct monitor connection?, no VNC?", does your used machine has a GPU (internal, embedded, discrete)? Do you have a monitor connected? Do you use screen forwarding, do you use VNC?
Which window-manager do you use (log message mentions GNOME and Wayland)?

For Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway..
Have you tried setting the ENV variable like export QT_QPA_PLATFORM=wayland before starting the demo?

Do you specifically want or have to use wgpu?

@Jai-GAY
Copy link
Author

Jai-GAY commented Aug 29, 2024

I am running Ubuntu 22.04 on RPi 4B, RealVNC headless setup.
This was okay running the above setup.

python depthai-python/examples/MobileNet/rgb_mobilenet.py

head or headless + external power, I got the same result today.

:::::::::::::::: INSTALATION COMPLETE ::::::::::::::::


To run demo app write <depthai_launcher> in terminal.
Press ENTER KEY to finish and run the demo app...
STARTING DEMO APP.
Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
On branch main
Your branch is up to date with 'origin/main'.

nothing to commit, working tree clean
========= Starting: Launcher (2024-08-29 16:07:06.454783) =========
System information:
 - sys.prefix = /home/pi/Luxonis/venv
 - sys.base_prefix = /usr
 - Env 'PYTHONPATH': /home/pi/ros2_ws/install/turtlesim/local/lib/python3.10/dist-packages:/home/pi/ros2_ws/install/ardupilot_dds_tests/lib/python3.10/site-packages:/home/pi/ros2_ws/install/ardupilot_sitl/local/lib/python3.10/dist-packages:/home/pi/ros2_ws/install/ardupilot_msgs/local/lib/python3.10/dist-packages:/opt/ros/humble/lib/python3.10/site-packages:/opt/ros/humble/local/lib/python3.10/dist-packages
 - Executable: /home/pi/Luxonis/venv/bin/python

Current commit: 6901f74579d2afe5b2dec31b32213a1af9bd38da
Current tag: None
Available DepthAI versions: ['v0.3.0.0', 'v0.4.0.0', 'v0.4.1.1', 'v1.0.0', 'v1.0.0.0', 'v2.0.0', 'v2.10.0.0', 'v2.7.2.0', 'v2.8.0.0', 'v2.9.0.0', 'v3.0.0', 'v3.0.1', 'v3.0.10', 'v3.0.11', 'v3.0.12', 'v3.0.12', 'v3.0.2', 'v3.0.3', 'v3.0.4', 'v3.0.5', 'v3.0.6', 'v3.0.7', 'v3.0.7', 'v3.0.8', 'v3.0.9', 'v3.1.0', 'v3.1.0', 'v3.1.1', 'v3.1.1', 'v3.1.2', 'v3.1.2', 'v3.1.3', 'v3.1.3', 'v3.2.0', 'v3.2.1', 'v3.3.0', 'v3.3.0', 'v3.3.1', 'v3.3.1', 'v3.4.0', 'v3.5.0', 'v3.5.0', 'v3.6.0', 'v3.6.0', 'v3.6.1']
Message Box (Update Available): Version 3.6.1 is available.
Current version is Unknown
Update?
Should update? True
Updated, running new launcher - command: ['/home/pi/Luxonis/venv/bin/python', '/home/pi/Luxonis/depthai/launcher/launcher.py', '-r', '/home/pi/Luxonis/depthai']
Unknown error occured (Shutting down and starting updated launcher), exiting...
Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
HEAD detached at v3.6.1
nothing to commit, working tree clean
[2024-08-29T08:07:30Z WARN  wgpu_core::instance] Missing downlevel flags: DownlevelFlags(FULL_DRAW_INDEX_UINT32)
    The underlying API or device in use does not support enough features to be a fully compliant implementation of WebGPU. A subset of the features can still be used. If you are running this program on native and not in a browser and wish to limit the features you use to the supported subset, call Adapter::downlevel_properties or Device::downlevel_properties to get a listing of the features the current platform supports.

thread 'ThreadId(1)' panicked at 'The given device doesn't support the required downlevel capabilities for the given hardware tier FullWebGpuSupport.
            Required:
            DownlevelCapabilities { flags: DownlevelFlags(COMPUTE_SHADERS | FRAGMENT_WRITABLE_STORAGE | INDIRECT_EXECUTION | BASE_VERTEX | READ_ONLY_DEPTH_STENCIL | NON_POWER_OF_TWO_MIPMAPPED_TEXTURES | CUBE_ARRAY_TEXTURES | COMPARISON_SAMPLERS | INDEPENDENT_BLEND | VERTEX_STORAGE | ANISOTROPIC_FILTERING | FRAGMENT_STORAGE | MULTISAMPLED_SHADING | DEPTH_TEXTURE_AND_BUFFER_COPIES | WEBGPU_TEXTURE_FORMAT_SUPPORT | BUFFER_BINDINGS_NOT_16_BYTE_ALIGNED | UNRESTRICTED_INDEX_BUFFER | FULL_DRAW_INDEX_UINT32 | DEPTH_BIAS_CLAMP | VIEW_FORMATS | UNRESTRICTED_EXTERNAL_TEXTURE_COPIES | SURFACE_VIEW_FORMATS), limits: DownlevelLimits, shader_model: Sm4 }
            Actual:
            DownlevelCapabilities { flags: DownlevelFlags(COMPUTE_SHADERS | FRAGMENT_WRITABLE_STORAGE | INDIRECT_EXECUTION | BASE_VERTEX | READ_ONLY_DEPTH_STENCIL | NON_POWER_OF_TWO_MIPMAPPED_TEXTURES | CUBE_ARRAY_TEXTURES | COMPARISON_SAMPLERS | INDEPENDENT_BLEND | VERTEX_STORAGE | ANISOTROPIC_FILTERING | FRAGMENT_STORAGE | MULTISAMPLED_SHADING | DEPTH_TEXTURE_AND_BUFFER_COPIES | WEBGPU_TEXTURE_FORMAT_SUPPORT | BUFFER_BINDINGS_NOT_16_BYTE_ALIGNED | UNRESTRICTED_INDEX_BUFFER | DEPTH_BIAS_CLAMP | VIEW_FORMATS | UNRESTRICTED_EXTERNAL_TEXTURE_COPIES | SURFACE_VIEW_FORMATS), limits: DownlevelLimits, shader_model: Sm5 }', re_renderer/src/context.rs:142

   6: core::panicking::panic_fmt
             at core/src/panicking.rs:72:14
   7: re_renderer::context::RenderContext::new
   8: core::ops::function::FnOnce::call_once{{vtable.shim}}
   9: <eframe::native::run::wgpu_integration::WgpuWinitApp as eframe::native::run::WinitApp>::on_event
  10: eframe::native::run::run_and_return::{{closure}}
  11: winit::platform_impl::platform::wayland::event_loop::EventLoop<T>::run_return
  12: eframe::native::run::with_event_loop
  13: eframe::run_native

Troubleshooting Rerun: https://www.rerun.io/docs/getting-started/troubleshooting
========= Starting: Launcher (2024-08-29 16:07:18.229745) =========
System information:
 - sys.prefix = /home/pi/Luxonis/venv
 - sys.base_prefix = /usr
 - Env 'PYTHONPATH': /home/pi/ros2_ws/install/turtlesim/local/lib/python3.10/dist-packages:/home/pi/ros2_ws/install/ardupilot_dds_tests/lib/python3.10/site-packages:/home/pi/ros2_ws/install/ardupilot_sitl/local/lib/python3.10/dist-packages:/home/pi/ros2_ws/install/ardupilot_msgs/local/lib/python3.10/dist-packages:/opt/ros/humble/lib/python3.10/site-packages:/opt/ros/humble/local/lib/python3.10/dist-packages
 - Executable: /home/pi/Luxonis/venv/bin/python

Current commit: e85690d9738c8998c1f22e2ab31537497839dd36
Current tag: v3.6.1
Available DepthAI versions: ['v0.3.0.0', 'v0.4.0.0', 'v0.4.1.1', 'v1.0.0', 'v1.0.0.0', 'v2.0.0', 'v2.10.0.0', 'v2.7.2.0', 'v2.8.0.0', 'v2.9.0.0', 'v3.0.0', 'v3.0.1', 'v3.0.10', 'v3.0.11', 'v3.0.12', 'v3.0.12', 'v3.0.2', 'v3.0.3', 'v3.0.4', 'v3.0.5', 'v3.0.6', 'v3.0.7', 'v3.0.7', 'v3.0.8', 'v3.0.9', 'v3.1.0', 'v3.1.0', 'v3.1.1', 'v3.1.1', 'v3.1.2', 'v3.1.2', 'v3.1.3', 'v3.1.3', 'v3.2.0', 'v3.2.1', 'v3.3.0', 'v3.3.0', 'v3.3.1', 'v3.3.1', 'v3.4.0', 'v3.5.0', 'v3.5.0', 'v3.6.0', 'v3.6.0', 'v3.6.1']
Current tag: v3.6.1, ver: 3.6.1
Launching DepthAI Viewer.
Installed DepthAI Viewer version: 0.2.4
Latest DepthAI Viewer version: 0.2.4

yesterday, result

:::::::::::::::: INSTALATION COMPLETE ::::::::::::::::


To run demo app write <depthai_launcher> in terminal.
Press ENTER KEY to finish and run the demo app...
STARTING DEMO APP.
On branch main
Your branch is up to date with 'origin/main'.

nothing to commit, working tree clean
========= Starting: Launcher (2024-08-28 16:41:47.497522) =========
System information:
 - sys.prefix = /home/pi/Luxonis/venv
 - sys.base_prefix = /usr
 - Env 'PYTHONPATH': /home/pi/ros2_ws/install/turtlesim/local/lib/python3.10/dist-packages:/home/pi/ros2_ws/install/ardupilot_dds_tests/lib/python3.10/site-packages:/home/pi/ros2_ws/install/ardupilot_sitl/local/lib/python3.10/dist-packages:/home/pi/ros2_ws/install/ardupilot_msgs/local/lib/python3.10/dist-packages:/opt/ros/humble/lib/python3.10/site-packages:/opt/ros/humble/local/lib/python3.10/dist-packages
 - Executable: /home/pi/Luxonis/venv/bin/python

Current commit: 6901f74579d2afe5b2dec31b32213a1af9bd38da
Current tag: None
Available DepthAI versions: ['v0.3.0.0', 'v0.4.0.0', 'v0.4.1.1', 'v1.0.0', 'v1.0.0.0', 'v2.0.0', 'v2.10.0.0', 'v2.7.2.0', 'v2.8.0.0', 'v2.9.0.0', 'v3.0.0', 'v3.0.1', 'v3.0.10', 'v3.0.11', 'v3.0.12', 'v3.0.12', 'v3.0.2', 'v3.0.3', 'v3.0.4', 'v3.0.5', 'v3.0.6', 'v3.0.7', 'v3.0.7', 'v3.0.8', 'v3.0.9', 'v3.1.0', 'v3.1.0', 'v3.1.1', 'v3.1.1', 'v3.1.2', 'v3.1.2', 'v3.1.3', 'v3.1.3', 'v3.2.0', 'v3.2.1', 'v3.3.0', 'v3.3.0', 'v3.3.1', 'v3.3.1', 'v3.4.0', 'v3.5.0', 'v3.5.0', 'v3.6.0', 'v3.6.0', 'v3.6.1']
Message Box (Update Available): Version 3.6.1 is available.
Current version is Unknown
Update?
Should update? True
Updated, running new launcher - command: ['/home/pi/Luxonis/venv/bin/python', '/home/pi/Luxonis/depthai/launcher/launcher.py', '-r', '/home/pi/Luxonis/depthai']
Unknown error occured (Shutting down and starting updated launcher), exiting...
HEAD detached at v3.6.1
nothing to commit, working tree clean
[2024-08-28T08:42:06Z INFO  winit::platform_impl::platform::x11::window] Guessed window scale factor: 1
vulkan: No DRI3 support detected - required for presentation
Note: you can probably enable DRI3 in your Xorg config
Backend started successfully.
[2024-08-28T08:42:15Z INFO  ewebsock::native_tungstenite] WebSocket handshake has been successfully completed
[2024-08-28T08:42:15Z INFO  re_viewer::depthai::ws] Websocket opened
[184430109115B00E00] [1.1.1] [3.343] [DetectionNetwork(9)] [warning] Network compiled for 6 shaves, maximum available 10, compiling for 5 shaves likely will yield in better performance
[184430109115B00E00] [1.1.1] [3.038] [DetectionNetwork(9)] [warning] Network compiled for 6 shaves, maximum available 10, compiling for 5 shaves likely will yield in better performance
Selecting device:  184430109115B00E00
Connecting to viewer at 127.0.0.1:9876
Oak cam:  <depthai_sdk.oak_camera.OakCamera object at 0xffff63e19300>
Default stereo pair:  (<CameraBoardSocket.CAM_B: 1>, <CameraBoardSocket.CAM_C: 2>)
Selecting device:  184430109115B00E00
Resetting...
Closing device...
Done
Connecting to viewer at 127.0.0.1:9876
Oak cam:  <depthai_sdk.oak_camera.OakCamera object at 0xffff63e1ab90>
Default stereo pair:  (<CameraBoardSocket.CAM_B: 1>, <CameraBoardSocket.CAM_C: 2>)
Pipeline config:  auto=True cameras=[CameraConfiguration(fps=30, resolution=<CameraSensorResolution.THE_1080_P: 'THE_1080_P'>, kind=<CameraSensorType.COLOR: 0>, board_socket=<CameraBoardSocket.CAM_A: 0>, stream_enabled=True, name='Color', tof_align=None), CameraConfiguration(fps=30, resolution=<CameraSensorResolution.THE_400_P: 'THE_400_P'>, kind=<CameraSensorType.MONO: 1>, board_socket=<CameraBoardSocket.CAM_B: 1>, stream_enabled=False, name='Left', tof_align=None), CameraConfiguration(fps=30, resolution=<CameraSensorResolution.THE_400_P: 'THE_400_P'>, kind=<CameraSensorType.MONO: 1>, board_socket=<CameraBoardSocket.CAM_C: 2>, stream_enabled=False, name='Right', tof_align=None)] stereo=StereoDepthConfiguration(median=<MedianFilter.KERNEL_7x7: 7>, lr_check=True, lrc_threshold=5, extended_disparity=False, subpixel_disparity=True, align=<CameraBoardSocket.CAM_A: 0>, sigma=0, confidence=230, stereo_pair=(<CameraBoardSocket.CAM_B: 1>, <CameraBoardSocket.CAM_C: 2>)) ai_model=AiModelConfiguration(display_name='Yolo V6', path='yolov6nr3_coco_640x352', camera=<CameraBoardSocket.CAM_A: 0>) imu=ImuConfiguration(report_rate=100, batch_report_threshold=5)
Updating pipeline...
Usb speed:  UsbSpeed.SUPER
Creating camera:  fps=15 resolution=<CameraSensorResolution.THE_1080_P: 'THE_1080_P'> kind=<CameraSensorType.COLOR: 0> board_socket=<CameraBoardSocket.CAM_A: 0> stream_enabled=True name='Color' tof_align=None
Creating camera:  fps=15 resolution=<CameraSensorResolution.THE_480_P: 'THE_480_P'> kind=<CameraSensorType.COLOR: 0> board_socket=<CameraBoardSocket.CAM_B: 1> stream_enabled=True name='Left' tof_align=None
Creating camera:  fps=15 resolution=<CameraSensorResolution.THE_480_P: 'THE_480_P'> kind=<CameraSensorType.COLOR: 0> board_socket=<CameraBoardSocket.CAM_C: 2> stream_enabled=True name='Right' tof_align=None
Creating depth
Getting cam by socket:  CameraBoardSocket.CAM_A  Cameras:  [CameraConfiguration(fps=15, resolution=<CameraSensorResolution.THE_1080_P: 'THE_1080_P'>, kind=<CameraSensorType.COLOR: 0>, board_socket=<CameraBoardSocket.CAM_A: 0>, stream_enabled=True, name='Color', tof_align=None), CameraConfiguration(fps=15, resolution=<CameraSensorResolution.THE_480_P: 'THE_480_P'>, kind=<CameraSensorType.COLOR: 0>, board_socket=<CameraBoardSocket.CAM_B: 1>, stream_enabled=True, name='Left', tof_align=None), CameraConfiguration(fps=15, resolution=<CameraSensorResolution.THE_480_P: 'THE_480_P'>, kind=<CameraSensorType.COLOR: 0>, board_socket=<CameraBoardSocket.CAM_C: 2>, stream_enabled=True, name='Right', tof_align=None)]
Creating IMU, connected IMU:  BNO086
Starting pipeline
----------------------------------------
[0s] System information
----------------------------------------
Ddr used / total - 104.15 / 333.28 MiB
Cmx used / total - 2.47 / 2.50 MiB
LeonCss heap used / total - 29.90 / 82.20 MiB
LeonMss heap used / total - 5.12 / 40.35 MiB
Chip temperature - average: 30.62, css: 31.53, mss: 29.59, upa: 30.80, dss: 30.56
Cpu usage - Leon CSS: 0.26 %, Leon MSS: 0.05 %
Pipeline config:  auto=True cameras=[CameraConfiguration(fps=30, resolution=<CameraSensorResolution.THE_1080_P: 'THE_1080_P'>, kind=<CameraSensorType.COLOR: 0>, board_socket=<CameraBoardSocket.CAM_A: 0>, stream_enabled=True, name='Color', tof_align=None), CameraConfiguration(fps=30, resolution=<CameraSensorResolution.THE_400_P: 'THE_400_P'>, kind=<CameraSensorType.MONO: 1>, board_socket=<CameraBoardSocket.CAM_B: 1>, stream_enabled=False, name='Left', tof_align=None), CameraConfiguration(fps=30, resolution=<CameraSensorResolution.THE_400_P: 'THE_400_P'>, kind=<CameraSensorType.MONO: 1>, board_socket=<CameraBoardSocket.CAM_C: 2>, stream_enabled=False, name='Right', tof_align=None)] stereo=StereoDepthConfiguration(median=<MedianFilter.KERNEL_7x7: 7>, lr_check=True, lrc_threshold=5, extended_disparity=False, subpixel_disparity=True, align=<CameraBoardSocket.CAM_A: 0>, sigma=0, confidence=230, stereo_pair=(<CameraBoardSocket.CAM_B: 1>, <CameraBoardSocket.CAM_C: 2>)) ai_model=AiModelConfiguration(display_name='Yolo V6', path='yolov6nr3_coco_640x352', camera=<CameraBoardSocket.CAM_A: 0>) imu=ImuConfiguration(report_rate=100, batch_report_threshold=5)
Updating pipeline...
Cam running, closing...
Usb speed:  UsbSpeed.SUPER
Creating camera:  fps=15 resolution=<CameraSensorResolution.THE_1080_P: 'THE_1080_P'> kind=<CameraSensorType.COLOR: 0> board_socket=<CameraBoardSocket.CAM_A: 0> stream_enabled=True name='Color' tof_align=None
Creating camera:  fps=15 resolution=<CameraSensorResolution.THE_480_P: 'THE_480_P'> kind=<CameraSensorType.COLOR: 0> board_socket=<CameraBoardSocket.CAM_B: 1> stream_enabled=True name='Left' tof_align=None
Creating camera:  fps=15 resolution=<CameraSensorResolution.THE_480_P: 'THE_480_P'> kind=<CameraSensorType.COLOR: 0> board_socket=<CameraBoardSocket.CAM_C: 2> stream_enabled=True name='Right' tof_align=None
Creating depth
Getting cam by socket:  CameraBoardSocket.CAM_A  Cameras:  [CameraConfiguration(fps=15, resolution=<CameraSensorResolution.THE_1080_P: 'THE_1080_P'>, kind=<CameraSensorType.COLOR: 0>, board_socket=<CameraBoardSocket.CAM_A: 0>, stream_enabled=True, name='Color', tof_align=None), CameraConfiguration(fps=15, resolution=<CameraSensorResolution.THE_480_P: 'THE_480_P'>, kind=<CameraSensorType.COLOR: 0>, board_socket=<CameraBoardSocket.CAM_B: 1>, stream_enabled=True, name='Left', tof_align=None), CameraConfiguration(fps=15, resolution=<CameraSensorResolution.THE_480_P: 'THE_480_P'>, kind=<CameraSensorType.COLOR: 0>, board_socket=<CameraBoardSocket.CAM_C: 2>, stream_enabled=True, name='Right', tof_align=None)]
Creating IMU, connected IMU:  BNO086
Starting pipeline
----------------------------------------
[0s] System information
----------------------------------------
Ddr used / total - 104.15 / 333.28 MiB
Cmx used / total - 2.47 / 2.50 MiB
LeonCss heap used / total - 29.85 / 82.20 MiB
LeonMss heap used / total - 5.12 / 40.35 MiB
Chip temperature - average: 30.32, css: 31.29, mss: 29.35, upa: 30.56, dss: 30.08
Cpu usage - Leon CSS: 7.52 %, Leon MSS: 2.63 %
----------------------------------------
[10s] System information
----------------------------------------
Ddr used / total - 135.35 / 333.28 MiB
Cmx used / total - 2.48 / 2.50 MiB
LeonCss heap used / total - 53.14 / 82.20 MiB
LeonMss heap used / total - 5.96 / 40.35 MiB
Chip temperature - average: 34.70, css: 35.35, mss: 34.40, upa: 35.59, dss: 33.45
Cpu usage - Leon CSS: 33.51 %, Leon MSS: 11.84 %

@brmarkus
Copy link

For Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway..
Have you tried setting the ENV variable like export QT_QPA_PLATFORM=wayland before starting the demo?

@Jai-GAY
Copy link
Author

Jai-GAY commented Aug 29, 2024

Have you tried setting the ENV variable like export QT_QPA_PLATFORM=wayland before starting the demo?

I will try next week, thank you for all the replies.

@Jai-GAY
Copy link
Author

Jai-GAY commented Sep 2, 2024

Have you tried setting the ENV variable like export QT_QPA_PLATFORM=wayland before starting the demo?

I tried to export, but when checking with the printenv command or export | grep QT_QPA_PLATFORM, shows nothing.
The demo run after the export, the result is the same.

export QT_QPA_PLATFORM=wayland
QT_QPA_PLATFORM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants