[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

X Strike Force XFree86 SVN commit: r1517 - trunk/debian



Author: branden
Date: 2004-06-06 12:18:03 -0500 (Sun, 06 Jun 2004)
New Revision: 1517

Added:
   trunk/debian/xlibmesa-dri.bug
Modified:
   trunk/debian/CHANGESETS
   trunk/debian/TODO
   trunk/debian/changelog
   trunk/debian/rules
Log:
Add "bug" script for xlibmesa-dri package to attempt to automatically
gather useful information when people report problems with DRI/3D
acceleration.  Ship this script in the xlibmesa-dri package where
reportbug will find it.  Thanks to Michel D?\195?\164nzer for his suggestions.


Modified: trunk/debian/CHANGESETS
===================================================================
--- trunk/debian/CHANGESETS	2004-06-06 16:03:07 UTC (rev 1516)
+++ trunk/debian/CHANGESETS	2004-06-06 17:18:03 UTC (rev 1517)
@@ -117,4 +117,10 @@
 (Closes: #251808)
     1516
 
+Add "bug" script for xlibmesa-dri package to attempt to automatically
+gather useful information when people report problems with DRI/3D
+acceleration.  Ship this script in the xlibmesa-dri package where
+reportbug will find it.  Thanks to Michel Dänzer for his suggestions.
+    1517
+
 vim:set ai et sts=4 sw=4 tw=80:

Modified: trunk/debian/TODO
===================================================================
--- trunk/debian/TODO	2004-06-06 16:03:07 UTC (rev 1516)
+++ trunk/debian/TODO	2004-06-06 17:18:03 UTC (rev 1517)
@@ -20,8 +20,6 @@
 * #245246: Apply hot pokers to Ben Collins until we extract a working patch for
   XAA and Render support for the sunffb driver.  Mmmm, burning manflesh...
   (Ben Collins pinged for status on 2004-06-03.)
-* Make an xlibmesa-dri.bug script to gather some info --- video card vendor and
-  model, if nothing else.  See #248453 for Michel Dänzer's recommendations.
 * #229785: xutils: [sessreg] thinks all hostnames with '.' in them are the same
 * #247387: xlibs: Can't type numbers with AltGr with /etc/X11/xkb/symbols/pc/lt
   key map

Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog	2004-06-06 16:03:07 UTC (rev 1516)
+++ trunk/debian/changelog	2004-06-06 17:18:03 UTC (rev 1517)
@@ -116,8 +116,13 @@
     XFree86 (ISA, PCI, SBUS).  Update template descriptions accordingly.
     (Closes: #251808)
 
- -- Branden Robinson <branden@debian.org>  Sun,  6 Jun 2004 11:01:21 -0500
+  * Add "bug" script for xlibmesa-dri package to attempt to automatically
+    gather useful information when people report problems with DRI/3D
+    acceleration.  Ship this script in the xlibmesa-dri package where
+    reportbug will find it.  Thanks to Michel Dänzer for his suggestions.
 
+ -- Branden Robinson <branden@debian.org>  Sun,  6 Jun 2004 12:15:23 -0500
+
 xfree86 (4.3.0.dfsg.1-4) unstable; urgency=medium
 
   * The "thanks for the 'testing'" release.

Modified: trunk/debian/rules
===================================================================
--- trunk/debian/rules	2004-06-06 16:03:07 UTC (rev 1516)
+++ trunk/debian/rules	2004-06-06 17:18:03 UTC (rev 1517)
@@ -400,6 +400,11 @@
 	install -m 755 -d debian/xserver-xfree86-dbg/usr/share/bug
 	install -m 755 debian/xserver-xfree86.bug debian/xserver-xfree86-dbg/usr/share/bug/xserver-xfree86-dbg
 endif
+# (Crudely) test to see if we're shipping xlibmesa-dri for the architecture being built.
+ifeq (,$(findstring xlibmesa-dri,$(XLIBMESA_GL_SPECIAL_DEPENDS)))
+	install -m 755 -d debian/xlibmesa-dri/usr/share/bug
+	install -m 755 debian/xlibmesa-dri.bug debian/xlibmesa-dri/usr/share/bug/xlibmesa-dri
+endif
 	install -m 755 -d debian/xlibs/usr/share/bug
 	install -m 755 debian/xlibs.bug debian/xlibs/usr/share/bug/xlibs
 	dh_installexamples

Added: trunk/debian/xlibmesa-dri.bug
===================================================================
--- trunk/debian/xlibmesa-dri.bug	2004-06-06 16:03:07 UTC (rev 1516)
+++ trunk/debian/xlibmesa-dri.bug	2004-06-06 17:18:03 UTC (rev 1517)
@@ -0,0 +1,49 @@
+#!/bin/sh
+
+# $Id$
+
+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=0:


Property changes on: trunk/debian/xlibmesa-dri.bug
___________________________________________________________________
Name: svn:keywords
   + Id



Reply to: