{"action":"created","issue":{"url":"https://api.github.com/repos/code-iai/iai_kinect2/issues/123","labels_url":"https://api.github.com/repos/code-iai/iai_kinect2/issues/123/labels{/name}","comments_url":"https://api.github.com/repos/code-iai/iai_kinect2/issues/123/comments","events_url":"https://api.github.com/repos/code-iai/iai_kinect2/issues/123/events","html_url":"https://github.com/code-iai/iai_kinect2/issues/123","id":95162762,"number":123,"title":"Error running kinect2_bridge","user":{"login":"renxinhe","id":8283781,"avatar_url":"https://avatars.githubusercontent.com/u/8283781?v=3","gravatar_id":"","url":"https://api.github.com/users/renxinhe","html_url":"https://github.com/renxinhe","followers_url":"https://api.github.com/users/renxinhe/followers","following_url":"https://api.github.com/users/renxinhe/following{/other_user}","gists_url":"https://api.github.com/users/renxinhe/gists{/gist_id}","starred_url":"https://api.github.com/users/renxinhe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/renxinhe/subscriptions","organizations_url":"https://api.github.com/users/renxinhe/orgs","repos_url":"https://api.github.com/users/renxinhe/repos","events_url":"https://api.github.com/users/renxinhe/events{/privacy}","received_events_url":"https://api.github.com/users/renxinhe/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-07-15T10:49:59Z","updated_at":"2015-07-16T08:10:56Z","closed_at":null,"body":"After first running `roscore`, I tried`rosrun kinect2_bridge kinect2_bridge`. I got the following error message:\r\n>parameter:\r\n        base_name: kinect2\r\n           sensor: \r\n        fps_limit: -1\r\n       calib_path: /home/jim/catkin_ws/src/iai_kinect2/kinect2_bridge/data/\r\n          use_png: false\r\n     jpeg_quality: 90\r\n        png_level: 1\r\n     depth_method: opencl\r\n     depth_device: -1\r\n       reg_method: opencl\r\n       reg_devive: -1\r\n        max_depth: 12\r\n        min_depth: 0.1\r\n       queue_size: 2\r\n bilateral_filter: true\r\nedge_aware_filter: true\r\n       publish_tf: false\r\n     base_name_tf: kinect2\r\n>   worker_threads: 4\r\n\r\n>[OpenCLDepthPacketProcessor::init] ERROR: clGetPlatformIDs(-1001)\r\nterminate called after throwing an instance of 'cl::Error'\r\n  what():  clGetPlatformIDs\r\n>Aborted (core dumped)\r\n\r\nIs it an issue with my OpenCL setup? I have Ubuntu 14.04, and I don't think I've tried to manually install OpenCL. I assumed whatever default the system has."},"comment":{"url":"https://api.github.com/repos/code-iai/iai_kinect2/issues/comments/121872411","html_url":"https://github.com/code-iai/iai_kinect2/issues/123#issuecomment-121872411","issue_url":"https://api.github.com/repos/code-iai/iai_kinect2/issues/123","id":121872411,"user":{"login":"renxinhe","id":8283781,"avatar_url":"https://avatars.githubusercontent.com/u/8283781?v=3","gravatar_id":"","url":"https://api.github.com/users/renxinhe","html_url":"https://github.com/renxinhe","followers_url":"https://api.github.com/users/renxinhe/followers","following_url":"https://api.github.com/users/renxinhe/following{/other_user}","gists_url":"https://api.github.com/users/renxinhe/gists{/gist_id}","starred_url":"https://api.github.com/users/renxinhe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/renxinhe/subscriptions","organizations_url":"https://api.github.com/users/renxinhe/orgs","repos_url":"https://api.github.com/users/renxinhe/repos","events_url":"https://api.github.com/users/renxinhe/events{/privacy}","received_events_url":"https://api.github.com/users/renxinhe/received_events","type":"User","site_admin":false},"created_at":"2015-07-16T08:10:55Z","updated_at":"2015-07-16T08:10:55Z","body":"I tried lakehanne's solution. I ran the beignet commands and installed `beignet-dev`. I switched to root with `sudo su` and ran `rosrun kinect2_bridge kinect2_bridge`. This is what I got.\r\n\r\n>parameter:\r\n        base_name: kinect2\r\n           sensor: \r\n        fps_limit: -1\r\n       calib_path: /home/jim/catkin_ws/src/iai_kinect2/kinect2_bridge/data/\r\n          use_png: false\r\n     jpeg_quality: 90\r\n        png_level: 1\r\n     depth_method: opencl\r\n     depth_device: -1\r\n       reg_method: opencl\r\n       reg_devive: -1\r\n        max_depth: 12\r\n        min_depth: 0.1\r\n       queue_size: 2\r\n bilateral_filter: true\r\nedge_aware_filter: true\r\n       publish_tf: false\r\n     base_name_tf: kinect2\r\n>   worker_threads: 4\r\n\r\n>X server found. dri2 connection failed! \r\n>Trying to open directly...Device open failed\r\n\r\nI tried to disable register whitelist, but I don't have an i915 folder under `/sys/module`.\r\n\r\nI also tried mu-777's solution by installing the NVidia driver. (I have a NVidia GForce 970). It doesn't seem to fix it."}}