<div dir="ltr"><div><div><div>Hi,<br><br></div>I'm investigating a graphics problem that happens when the Intel graphics driver is running.<br><br></div>I'm going to gather data about what is installed and have written a shell script to automate this (and intend to do a rewrite quite soon).<br><br></div>So... I'd like to ask this list - which files are used to provide graphics on Linux? I'd like to note them and try and work out where the bugs are. The Kernel version is an obvious thing to note and perhaps the contents of /lib/firmware/i915 directory<br clear="all"><div><div><div><div><br></div><div>Here is the script...<br>#!/bin/bash<br># script to gather system information for an upstream debug info request<br># Ian Bruntlett 29th November 2015<br># 7th December listed Contents of /lib/firmware/i915 to $INFOFILE<br><br>function log_file_contents()<br>{<br>echo $1 >> $INFOFILE<br>cat $1 >> $INFOFILE<br>echo >> $INFOFILE<br>}<br><br>INFOFILE="debug_info_"$HOSTNAME`date "+_%d_%B_%Y.txt"`<br>echo INFOFILE is $INFOFILE<br>if [ -f $INFOFILE ]<br>then<br>rm $INFOFILE<br>fi;<br><br>log_file_contents "/proc/version"<br><br>echo "Output of lsb_release" >> $INFOFILE<br>lsb_release -rd >> $INFOFILE<br>echo >> $INFOFILE<br><br>echo<br>echo add the output of the ver_linux script here<br>echo While booted into the newest upstream mainline kernel only,<br>echo this is found in the directory: /usr/src/linux-headers-VERSION/scripts<br>echo<br><br>log_file_contents "/proc/cpuinfo"<br>log_file_contents "/proc/modules"<br>log_file_contents "/proc/ioports"<br>log_file_contents "/proc/iomem"<br><br>echo <br>echo get PCI information<br>echo While booted into the newest upstream mainline kernel only, execute<br>echo sudo lspci -vvv<br>echo<br><br>log_file_contents "/proc/scsi/scsi"<br><br>echo "Contents of /proc" >> $INFOFILE<br>ls -l /proc >> $INFOFILE<br>echo >> $INFOFILE<br><br>echo "Contents of /lib/firmware/i915" >> $INFOFILE<br>ls -l /lib/firmware/i915 >> $INFOFILE<br>echo >> $INFOFILE<br><br></div><div>BW,<br><br><br></div><div>Ian<br><br></div><div>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div>-- ACCU - Professionalism in programming - <a href="http://www.accu.org" target="_blank">http://www.accu.org</a><br></div>-- My writing - <a href="https://sites.google.com/site/ianbruntlett/" target="_blank">https://sites.google.com/site/ianbruntlett/</a><br><div>-- Free Software page - <a href="https://sites.google.com/site/ianbruntlett/home/free-software" target="_blank">https://sites.google.com/site/ianbruntlett/home/free-software</a><br></div><br> </div></div></div></div></div></div></div>
</div></div></div></div></div>