[beignet] 02/02: Add reportbug script

Rebecca Palmer rnpalmer-guest at moszumanska.debian.org
Mon Apr 27 21:37:39 UTC 2015


This is an automated email from the git hooks/post-receive script.

rnpalmer-guest pushed a commit to branch master
in repository beignet.

commit 70edcb3f617aa6eaae0e6115053a7fdc93d2ce25
Author: Rebecca N. Palmer <rebecca_palmer at zoho.com>
Date:   Mon Apr 27 22:35:02 2015 +0100

    Add reportbug script
---
 debian/beignet-opencl-icd.bug-script | 15 +++++++++++++++
 debian/changelog                     |  1 +
 2 files changed, 16 insertions(+)

diff --git a/debian/beignet-opencl-icd.bug-script b/debian/beignet-opencl-icd.bug-script
new file mode 100644
index 0000000..9fc8b21
--- /dev/null
+++ b/debian/beignet-opencl-icd.bug-script
@@ -0,0 +1,15 @@
+#!/bin/bash
+#this deliberately _isn't_ set -e: if not all these commands are installed, we still want to get what we can
+echo "Graphics hardware:" >&3
+xrandr --listproviders >&3
+glxinfo | grep " vendor\| renderer" >&3
+echo >&3
+echo "Processor:" >&3
+#this gives more detailed information than the above, but can't tell whether the GPU is enabled
+lscpu >&3
+echo >&3
+echo "OpenCL library:" >&3
+#libopencl1: could use a reportbug control file for this, but this way avoids needing to update it with new packages
+dpkg -l *libopencl* >&3
+#ICDs: also catch any installed outside the package system, e.g. Intel SDK for CPUs
+head /etc/OpenCL/vendors/* >&3
diff --git a/debian/changelog b/debian/changelog
index 8d55407..989e48f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -7,6 +7,7 @@ beignet (1.0.3-1) UNRELEASED; urgency=medium
   * Update d/copyright.
   * Build with Python 3.
   * Drop Enhance-debug-output.patch.
+  * Add reportbug script.
 
  -- Rebecca N. Palmer <rebecca_palmer at zoho.com>  Fri, 24 Apr 2015 21:16:12 +0100
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-opencl/beignet.git



More information about the Pkg-opencl-commits mailing list