OpenPTrack / open_ptrack

Original open source people tracking library (now deprecated with the release of OPT v2 "Gnocchi").
http://openptrack.org/
BSD 3-Clause "New" or "Revised" License
319 stars 109 forks source link

run ‘roslaunch kinect2_bridge kinect2_bridge.launch’ X server found. dri2 connection failed! #108

Open muwangchuzhong opened 8 years ago

muwangchuzhong commented 8 years ago

Follow this procedure(# https://github.com/OpenPTrack/open_ptrack/wiki/Installation-Guide) to configure the program,when I run ‘roslaunch kinect2_bridge kinect2_bridge.launch’,Appearing the following error:

lyz@lyz-All-Series:~$ roslaunch kinect2_bridge kinect2_bridge.launch ... logging to /home/lyz/.ros/log/398bfd78-4989-11e6-87a9-14dda955f5d5/roslaunch-lyz-All-Series-8752.log Checking log directory for disk usage. This may take awhile. Press Ctrl-C to interrupt Done checking log file disk usage. Usage is <1GB.

started roslaunch server http://lyz-All-Series:58541/

SUMMARY

PARAMETERS

NODES / kinect2_head_kinect2_bridge (kinect2_bridge/kinect2_bridge) kinect2_head_points_xyzrgb_highres (nodelet/nodelet) kinect2_head_points_xyzrgb_lowres (nodelet/nodelet)

auto-starting new master process[master]: started with pid [8764] ROS_MASTER_URI=http://localhost:11311

setting /run_id to 398bfd78-4989-11e6-87a9-14dda955f5d5 process[rosout-1]: started with pid [8777] started core service [/rosout] process[kinect2_head_kinect2_bridge-2]: started with pid [8780] process[kinect2_head_points_xyzrgb_lowres-3]: started with pid [8791] process[kinect2_head_points_xyzrgb_highres-4]: started with pid [8796] [DepthRegistration::New] Using OpenCL registration method! [DepthRegistration::New] Using OpenCL registration method! X server found. dri2 connection failed! /dev/dri/card0 not authenticated X server found. dri2 connection failed! /dev/dri/card0 not authenticated beignet-opencl-icd: no supported GPU found, this is probably the wrong opencl-icd package for this hardware (If you have multiple ICDs installed and OpenCL works, you can ignore this message) [OpenCLDepthPacketProcessor::init] ERROR: clGetDeviceIDs(-1) terminate called after throwing an instance of 'cl::Error' what(): clGetDeviceIDs [kinect2_head_kinect2_bridge-2] process has died [pid 8780, exit code -6, cmd /home/lyz/workspace/ros/catkin/devel/lib/kinect2_bridge/kinect2_bridge __name:=kinect2_head_kinect2_bridge __log:=/home/lyz/.ros/log/398bfd78-4989-11e6-87a9-14dda955f5d5/kinect2_head_kinect2_bridge-2.log]. log file: /home/lyz/.ros/log/398bfd78-4989-11e6-87a9-14dda955f5d5/kinect2_head_kinect2_bridge-2*.log [kinect2_head_kinect2_bridge-2] restarting process process[kinect2_head_kinect2_bridge-2]: started with pid [8868] [DepthRegistration::New] Using OpenCL registration method! [DepthRegistration::New] Using OpenCL registration method! X server found. dri2 connection failed! /dev/dri/card0 not authenticated X server found. dri2 connection failed! /dev/dri/card0 not authenticated beignet-opencl-icd: no supported GPU found, this is probably the wrong opencl-icd package for this hardware (If you have multiple ICDs installed and OpenCL works, you can ignore this message) [OpenCLDepthPacketProcessor::init] ERROR: clGetDeviceIDs(-1) terminate called after throwing an instance of 'cl::Error' what(): clGetDeviceIDs

This continues to repeat until I stop the program.

marketto89 commented 8 years ago

@muwangchuzhong,

Have you tried to follow point 6.4 of https://github.com/OpenPTrack/open_ptrack/wiki/Installation-Guide#6-kinect-v2-installation ? Which GPU do you have?

brtwist commented 7 years ago

Hi, did this get solved? I have the exact same problem. (I have done 6.4 as suggested in the installation guide. We have a GeForce GTX 970 )

angelbeibei commented 6 years ago

@brtwist @muwangchuzhong Did this get solved? I got the same problems