diff --git a/x/installing/xorg-config.xml b/x/installing/xorg-config.xml index c9ef06f600..37d25cdb0a 100644 --- a/x/installing/xorg-config.xml +++ b/x/installing/xorg-config.xml @@ -217,6 +217,82 @@ OpenGL version string: 3.0 Mesa 10.4.5 + + Debugging Xorg + + + When starting xorg, there are a couple of ways to check what any + issues you may have. If the system comes up, you can see what driver + is being used by running xdriinfo. If there are + issues or you just want to check, look at Xorg.0.log. + + + + The location of Xorg.0.log depends on how Xorg is + installed. If the instructions in the book are followed closely and + Xorg is started from the comand line, it wil be located in the + $HOME/.local/share/xorg/ directory. + If Xorg is started by a display manager (e.g. , + , or ) or if + $$XORG/PREFIX/libexec/Xorg has the suid bit set, + it will be located in the /var/log/ + directory. + + + Xorg.0.log Issues + + + When you look at Xorg.0.log, check for entries like (EE) or (WW). + Below are some common entries: + + + (WW) Open ACPI failed (/var/run/acpid.socket) + + + This warning is becasue is not installed. If you + are not on a laptop, it can be safely ignored. On a laptop, install + to enable actions like recognizing when the lid is + closed. + + + (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support + + + This warning is displayed when a regular user starts Xorg. The library + libpciaccess.so issues this warning when it + tries to open /dev/vga_arbiter. If there is only + one video card in the system, it can safely be ignored. If desired, the + permissions of this device can be changed by adding a udev rule and + adding the local user to the video group. As the &root; user: + + +cat > /etc/udev/rules.d/99-vga-arbiter.rules << EOF +# /etc/udev/rules.d/99-vga-arbiter.rules: Set vga_arbiter group/mode + +ACTION=="add", KERNEL=="vga_arbiter", GROUP="video" MODE="0660" +EOF + +usermmod -G video <user running xorg> + + (EE) AIGLX error: dlopen of /opt/xorg/lib/dri/i965_dri.so failed + + + This error, accompanied by (EE) AIGLX error: unable to load driver i965, occurs + in some systems with Intel based graphics devices. It is caused by a mismatch + between the current and . Xorg + no longer uses the i965 driver and uses the crocus or isis mesa drivers as + indicated by the xdpiinfo command. It can safely be ignored. + + + + If desired, this warning can be removed by commenting out lines + 330-331 and 337-338 (LogMessage) of + glx/glxdricommon.c in the + package. + + + + Hybrid Graphics