Created
June 6, 2013 19:22
-
-
Save NullVoxPopuli/5724159 to your computer and use it in GitHub Desktop.
Information needed to help people debug graphics problems on your linux machine
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
echo -e "\e[01;33mGraphics Card(s): \e[00m"; | |
lspci | grep VGA; | |
echo -e "\e[01;33mConnected Monitors: \e[00m"; | |
egrep -i " connected|card detect|primary dev" /var/log/Xorg.0.log; | |
echo -e "\e[01;33mCurrent Video Driver: \e[00m"; | |
lsmod | grep "kms\|drm"; | |
echo -e "\e[01;33mVideo Output Locations: \e[00m"; | |
find /dev -group video; | |
echo -e "\e[01;33mGrub boot command: \e[00m"; | |
cat /proc/cmdline; | |
echo -e "\e[01;33mmodprobe.d drivers: \e[00m"; | |
find /etc/modprobe.d/; | |
echo -e "\e[01;33mDo we have a xorg.conf file?\e[00m"; | |
ls /etc/X11/xorg.conf; | |
echo -e "\e[01;33mglxinfo: \e[00m"; | |
glxinfo | grep -i "vendor\|rendering"; | |
echo -e "\e[01;33mDrivers loaded by Xorg: \e[00m"; | |
grep LoadModule /var/log/Xorg.0.log; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment