dougsm / mvp_grasp

Multi-Viewpoint Picking (ICRA 2019)
BSD 3-Clause "New" or "Revised" License
200 stars 46 forks source link

no CUDA-capable device is detected, kernel driver does not appear to be running on this host (roy-Alienware): /proc/driver/nvidia/version does not exist #23

Open JhuaDuan opened 3 years ago

JhuaDuan commented 3 years ago

when I ran : roslaunch mvp_grasping grasp_entropy_service.launch, the errors occurred as follows:

ROS_MASTER_URI=http://localhost:11311 process[grasp_entropy_node-1]: started with pid [6072] WARNING:tensorflow:From /home/robot/panda_ws/src/mvp_grasp-master/ggcnn/src/ggcnn/ggcnn.py:9: The name tf.keras.backend.set_session is deprecated. Please use tf.compat.v1.keras.backend.set_session instead.

WARNING:tensorflow:From /home/robot/panda_ws/src/mvp_grasp-master/ggcnn/src/ggcnn/ggcnn.py:14: The name tf.Session is deprecated. Please use tf.compat.v1.Session instead.

2020-09-22 21:31:20.376343: I tensorflow/stream_executor/platform/default/dso_loader.cc:42] Successfully opened dynamic library libcuda.so.1

2020-09-22 21:31:20.401235: E tensorflow/stream_executor/cuda/cuda_driver.cc:318] failed call to cuInit: CUDA_ERROR_NO_DEVICE: no CUDA-capable device is detected

2020-09-22 21:31:20.401413: I tensorflow/stream_executor/cuda/cuda_diagnostics.cc:156] kernel driver does not appear to be running on this host (roy-Alienware): /proc/driver/nvidia/version does not exist

2020-09-22 21:31:20.402241: I tensorflow/core/platform/cpu_feature_guard.cc:142] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA

2020-09-22 21:31:20.419186: I tensorflow/core/platform/profile_utils/cpu_utils.cc:94] CPU Frequency: 2400000000 Hz

2020-09-22 21:31:20.421161: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x56188f2fa270 executing computations on platform Host. Devices:

2020-09-22 21:31:20.421217: I tensorflow/compiler/xla/service/service.cc:175] StreamExecutor device (0): ,

2020-09-22 21:31:20.796216: W tensorflow/compiler/jit/mark_for_compilation_pass.cc:1412] (One-time warning): Not using XLA:CPU for cluster because envvar TF_XLA_FLAGS=--tf_xla_cpu_global_jit was not set. If you want XLA:CPU, either set that envvar, or use experimental_jit_scope to enable XLA:CPU. To confirm that XLA is active, pass --vmodule=xla_compilation_cache=1 (as a proper command-line flag, not via TF_XLA_FLAGS) or set the envvar XLA_FLAGS=--xla_hlo_profile.

I tried to install Nvidia-driver-450-server, $ ubuntu-drivers devices

== /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0 ==

modalias : pci:v000010DEd00001F91sv00001028sd00000963bc03sc00i00

vendor : NVIDIA Corporation

driver : nvidia-driver-435 - distro non-free

driver : nvidia-driver-450-server - distro non-free recommended

driver : nvidia-driver-418-server - distro non-free

driver : nvidia-driver-440-server - distro non-free

driver : nvidia-driver-450 - distro non-free

driver : xserver-xorg-video-nouveau - distro free builtin

== /sys/devices/pci0000:00/0000:00:1d.7/0000:3f:00.0 ==

modalias : pci:v00008086d000024FDsv00008086sd00008050bc02sc80i00

vendor : Intel Corporation

model : Wireless 8265 / 8275

manual_install: True

driver : backport-iwlwifi-dkms - distro free

But error display driver does not support 4.16.18-rt12.

My PC system is: Ubuntu 18.04, 4.16.18-rt12, Ros-Melodic, Python 3.6.

My robot is Franka panda and the camera is Realsense D435.