i was run yolov5 with docker in my jetson tx2, the following is my command:
sudo docker run
-id
–name=camera_test
–network host
–device=/dev/video0
–runtime nvidia
-w /home/yolo
-v ~/Desktop/yolov5_5.0:/home/yolo
-v /tmp/.X11-unix:/tmp/.X11-unix
-e DISPLAY=:0.0
-e GDK_SCALE
-e GDK_DPI_SCALE
nvcr.io/nvidia/l4t-ml:r32.6.1-py3
and then i install cheese , and run cheese, but is show
the error message is:
(cheese:2126): GLib-GIO-CRITICAL **: 10:30:20.855: g_dbus_proxy_new_sync: assertion ‘G_IS_DBUS_CONNECTION (connection)’ failed
(cheese:2126): Gtk-WARNING **: 10:30:21.425: Theme parsing error: cheese.css:7:35: The style property GtkScrollbar:min-slider-length is deprecated and shouldn’t be used anymore. It will be removed in a future version
** Message: 10:30:22.127: cheese-application.vala:211: Error during camera setup: No device found
(cheese:2126): cheese-CRITICAL **: 10:30:22.275: cheese_camera_device_get_name: assertion ‘CHEESE_IS_CAMERA_DEVICE (device)’ failed
(cheese:2126): GLib-CRITICAL **: 10:30:22.275: g_variant_new_string: assertion ‘string != NULL’ failed
(cheese:2126): GLib-CRITICAL **: 10:30:22.276: g_variant_ref_sink: assertion ‘value != NULL’ failed
(cheese:2126): GLib-GIO-CRITICAL **: 10:30:22.276: g_settings_schema_key_type_check: assertion ‘value != NULL’ failed
(cheese:2126): GLib-CRITICAL **: 10:30:22.276: g_variant_get_type_string: assertion ‘value != NULL’ failed
(cheese:2126): GLib-GIO-CRITICAL **: 10:30:22.276: g_settings_set_value: key ‘camera’ in ‘org.gnome.Cheese’ expects type ‘s’, but a GVariant of type ‘(null)’ was given
(cheese:2126): GLib-CRITICAL **: 10:30:22.276: g_variant_unref: assertion ‘value != NULL’ failed
** (cheese:2126): CRITICAL **: 10:30:22.276: cheese_preferences_dialog_setup_resolutions_for_device: assertion ‘device != NULL’ failed
(cheese:2126): dconf-WARNING **: 10:30:22.279: failed to commit changes to dconf: Failed to execute child process ?dbus-launch? (No such file or directory)
how to solve thie problem?