X Strike Force X.Org X11 SVN commit: r106 - trunk/debian
Author: dnusinow
Date: 2005-05-16 21:50:13 -0500 (Mon, 16 May 2005)
New Revision: 106
Added:
trunk/debian/xlibmesa-dri.bug.script
Log:
Adding xlibmesa-dri.bug.script from xfree tree. This was not in the Ubuntu packaging.
Added: trunk/debian/xlibmesa-dri.bug.script
===================================================================
--- trunk/debian/xlibmesa-dri.bug.script 2005-05-17 02:48:06 UTC (rev 105)
+++ trunk/debian/xlibmesa-dri.bug.script 2005-05-17 02:50:13 UTC (rev 106)
@@ -0,0 +1,49 @@
+#!/bin/sh
+
+# $Id: xlibmesa-dri.bug.script 2182 2005-02-10 06:39:04Z branden $
+
+PATH="/sbin:/usr/bin/X11:$PATH"
+
+if which lspci >/dev/null 2>&1; then
+ printf "VGA-compatible devices on PCI bus:\n" >&3
+ LC_ALL=C lspci | grep 'VGA compatible controller:' >&3
+ LC_ALL=C lspci -n | grep 'Class 0300:' >&3
+else
+ printf "The lspci command was not found; not including PCI data.\n" >&3
+fi
+
+printf "\n" >&3
+
+XFREE86_LOGS=$(ls -dt /var/log/XFree86.*.log 2>/dev/null)
+
+if [ -n "$XFREE86_LOGS" ]; then
+ printf "XFree86 X server log files on system:\n" >&3
+ ls -dlrt /var/log/XFree86.*.log >&3 2>/dev/null
+ printf "\n" >&3
+ for LOG in $XFREE86_LOGS; do
+ if [ -f "$LOG" ]; then
+ printf "Contents of most recent XFree86 X server log file\n" >&3
+ printf "%s:\n" "$LOG" >&3
+ cat "$LOG" >&3
+ # the log files are large; only show the most recent
+ break
+ fi
+ done
+else
+ printf "No XFree86 X server log files found.\n" >&3
+fi
+
+printf "\n" >&3
+
+if which glxinfo >/dev/null 2>&1; then
+ printf "GL-library linkage of glxinfo executable:\n" >&3
+ ldd $(which glxinfo) | grep libGL >&3 2>/dev/null
+ printf "\n" >&3
+ printf "glxinfo reports:\n" >&3
+ LIBGL_DEBUG=verbose glxinfo >&3 2>&1
+else
+ printf "The glxinfo command was not found; " >&3
+ printf "not including GLX extension information.\n" >&3
+fi
+
+# vim:set ai et sts=4 sw=4 tw=80:
Reply to: