Peppermint | Linux OS Community Forum
https://peppermintos.net/

VinDSL Peppermint Debug Script
https://peppermintos.net/viewtopic.php?f=41&t=6465
Page 1 of 1

Author:  VinDSL [ Sun Jan 26, 2014 3:17 pm ]
Post subject:  VinDSL Peppermint Debug Script

Thought someone might find this useful. 'Performance How-Tos' is as good a place as any to post it... ;)

I'm always wringing the most performance out of my machines -- can't stand it when things_just_work, albeit slowly.

For me, this involves installing and testing the most recent alpha, beta, rc versions of packages; using downloads from outside the normal channel -- 'proposed' PPAs, trusted and untrusted 3rd party PPAs, blah, blah, blah.

The problem is, when I'm testing a variety of packages on different platforms, I lose track of which package is installed on which machine. Thus, I came up with a quick n' dirty hack, to spur my memory.

I add to this script from time_to_time, and it just keeps growing. LoL! :D

Code:
echo && echo "~ VinDSL Peppermint Debug Script 14.01.26 (peppermintos.net) ~" && echo " *Requires the following packages: 'nux-tools' & 'mesa-utils'" && echo && echo -n "Current Date/Time: " && TZ='UTC' date && echo -n "Distro Release: " && lsb_release -sd && echo -n "Kernel Release: " || cat /etc/*release && uname -s -r && echo && /usr/lib/nux/unity_support_test -p -f | sed 's/Unity 3D supported/Peppermint support/g' && echo || echo && dpkg -s mesa-utils && echo || echo && echo "Package: mesa-common-dev" && dpkg -s mesa-common-dev | sed 's/^/  /' | grep Version && echo || echo && echo "Package: xserver-xorg-core" && apt-cache policy xserver-xorg-core | grep Installed && echo || echo && echo "Package: xserver-common" && apt-cache policy xserver-common | grep Installed && echo || echo && echo "Package: xserver-xephyr" && apt-cache policy xserver-xephyr | grep Installed && echo || echo && echo "Tree Map of PCI Devices:" && lspci -tv && echo || echo && echo "Display Properties:" && xdpyinfo | grep -E '(resolution|dimensions)' | sed 's/\b\(.\)/\u\1/g' && echo

Here's the output on this machine -- nothing earth-shattering -- just the facts ma'am...

Code:
vindsl@Necksa ~ $ echo && echo "~ VinDSL Peppermint Debug Script 14.01.26 (peppermintos.net) ~" && echo " *Requires the following packages: 'nux-tools' & 'mesa-utils'" && echo && echo -n "Current Date/Time: " && TZ='UTC' date && echo -n "Distro Release: " && lsb_release -sd && echo -n "Kernel Release: " || cat /etc/*release && uname -s -r && echo && /usr/lib/nux/unity_support_test -p -f | sed 's/Unity 3D supported/Peppermint support/g' && echo || echo && dpkg -s mesa-utils && echo || echo && echo "Package: mesa-common-dev" && dpkg -s mesa-common-dev | sed 's/^/  /' | grep Version && echo || echo && echo "Package: xserver-xorg-core" && apt-cache policy xserver-xorg-core | grep Installed && echo || echo && echo "Package: xserver-common" && apt-cache policy xserver-common | grep Installed && echo || echo && echo "Package: xserver-xephyr" && apt-cache policy xserver-xephyr | grep Installed && echo || echo && echo "Tree Map of PCI Devices:" && lspci -tv && echo || echo && echo "Display Properties:" && xdpyinfo | grep -E '(resolution|dimensions)' | sed 's/\b\(.\)/\u\1/g' && echo

~ VinDSL Peppermint Debug Script 14.01.26 (peppermintos.net) ~
*Requires the following packages: 'nux-tools' & 'mesa-utils'

Current Date/Time: Sun Jan 26 19:04:49 UTC 2014
Distro Release: Peppermint Four
Kernel Release: Linux 3.13.0-031300rc7-generic

OpenGL vendor string:   Intel Open Source Technology Center
OpenGL renderer string: Mesa DRI Intel(R) 965GM
OpenGL version string:  2.1 Mesa 9.1.7

Not software rendered:    yes
Not blacklisted:          yes
GLX fbconfig:             yes
GLX texture from pixmap:  yes
GL npot or rect textures: yes
GL vertex program:        yes
GL fragment program:      yes
GL vertex buffer object:  yes
GL framebuffer object:    yes
GL version is 1.4+:       yes

Peppermint support:       yes

Package: mesa-utils
Status: install ok installed
Priority: optional
Section: x11
Installed-Size: 148
Maintainer: Ubuntu X-SWAT <ubuntu-x@lists.ubuntu.com>
Architecture: amd64
Source: mesa-demos
Version: 8.0.1+git20110129+d8f7d6b-0ubuntu2
Replaces: xbase-clients (<< 6.8.2-38)
Depends: libc6 (>= 2.4), libgl1-mesa-glx | libgl1, libx11-6
Description: Miscellaneous Mesa GL utilities
This package provides several basic GL utilities built by Mesa, including
glxinfo and glxgears.
Homepage: http://mesa3d.sourceforge.net/

Package: mesa-common-dev
  Version: 9.1.7-1ubuntu2

Package: xserver-xorg-core
  Installed: 2:1.13.3-0ubuntu6.2

Package: xserver-common
  Installed: 2:1.13.3-0ubuntu6.2

Package: xserver-xephyr
  Installed: (none)

Tree Map of PCI Devices:
-[0000:00]-+-00.0  Intel Corporation Mobile PM965/GM965/GL960 Memory Controller Hub
           +-02.0  Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (primary)
           +-02.1  Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (secondary)
           +-1a.0  Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #4
           +-1a.1  Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #5
           +-1a.7  Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #2
           +-1b.0  Intel Corporation 82801H (ICH8 Family) HD Audio Controller
           +-1c.0-[0b]--
           +-1c.1-[0c]----00.0  Broadcom Corporation BCM4311 802.11b/g WLAN
           +-1c.5-[09]----00.0  Broadcom Corporation NetXtreme BCM5755M Gigabit Ethernet PCI Express
           +-1d.0  Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #1
           +-1d.1  Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #2
           +-1d.2  Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #3
           +-1d.7  Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #1
           +-1e.0-[03-07]--+-01.0  O2 Micro, Inc. Cardbus bridge
           |               \-01.4  O2 Micro, Inc. Firewire (IEEE 1394)
           +-1f.0  Intel Corporation 82801HM (ICH8M) LPC Interface Controller
           +-1f.1  Intel Corporation 82801HM/HEM (ICH8M/ICH8M-E) IDE Controller
           +-1f.2  Intel Corporation 82801HM/HEM (ICH8M/ICH8M-E) SATA Controller [AHCI mode]
           \-1f.3  Intel Corporation 82801H (ICH8 Family) SMBus Controller

Display Properties:
  Dimensions:    1280x800 Pixels (338x211 Millimeters)
  Resolution:    96x96 Dots Per Inch

vindsl@Necksa ~ $

If you want to play with this script on Peppermint, you'll need to install the following:

Code:
sudo apt-get install nux-tools

And...

Code:
sudo apt-get install mesa-utils

Have fun!

Page 1 of 1 All times are UTC - 5 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/