-
Notifications
You must be signed in to change notification settings - Fork 2
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
Failed to create wgpu adapter #63
Comments
Hi!
|
tks for reply, and yeh im working in a relatively complex environment. I SSH into the Ubuntu 22.04 host with MobaXTerm (to simply enable X11 Forwarding & no further operations after connection ) and VSCode (to edit code, start/remove container ... etc) simultaneously. I think what MobaXTerm does is basically equivalent to the Here's the configuration of docker-compose.yml:
and also the complete Dockerfile:
|
Hi, I encountered an error message "failed to create wgpu" when attempting to open depthai-viewer within a Docker container on Ubuntu 20.04.
The operating environment is Windows locally connected to an Ubuntu 22.04 host via SSH. I can successfully open other GUI interfaces in this container (including ColorCamera/rgb_preview.py from luxonis/depthai-python.git), so the camera and display settings should be fine.
All prerequisites have been installed and python3 --version: Python 3.8.10.
Camera: Oak-D
Here is the specific error message:
root@ttennis:~# python3 -m depthai_viewer
[2024-06-09T20:48:54Z INFO winit::platform_impl::platform::x11::window] Guessed window scale factor: 1
[2024-06-09T20:48:55Z WARN wgpu_hal::vulkan::instance] create_instance: ERROR_INCOMPATIBLE_DRIVER
[2024-06-09T20:48:55Z ERROR eframe::native::run] Exiting because of error: Wgpu(NoSuitableAdapterFound) on event Resumed
Traceback (most recent call last):
File "/usr/lib/python3.8/runpy.py", line 194, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/usr/lib/python3.8/runpy.py", line 87, in _run_code
exec(code, run_globals)
File "/usr/local/lib/python3.8/dist-packages/depthai_viewer/main.py", line 31, in
main()
File "/usr/local/lib/python3.8/dist-packages/depthai_viewer/main.py", line 27, in main
sys.exit(bindings.main(sys.argv, python_exe, site_packages_directory))
RuntimeError: WGPU error: Failed to create wgpu adapter, no suitable adapter found. -> Failed to create wgpu adapter, no suitable adapter found.
The text was updated successfully, but these errors were encountered: