I have a MotionComputing M1400 pen tablet. It runs Debian Squeeze, and today I noticed it was using software rendering for OpenGL, so I decided to try to use the intel driver. My chipset is the Intel 855GM. When I initially installed Debian, I had to modify xorg.conf so it would pick up my pen. That /etc/X11/xorg.conf is here. To install the driver, I added the ppa ppa:glasen/intel-driver and ran sudo apt-get install xserver-xorg-video-intel. Upon reboot, my cursor is visible, but I'm sitting at a black screen. My cursor changes to a text selection cursor when I move it over certain parts of the screen, which seem to be the login prompt. I went into tty6 and stopped gdm3 with /etc/init.d/gdm3 stop and then tried Xorg -configure, which failed. Here is the log file it produced. I tried to combine the xorg.conf.new it created with my original xorg.conf into a new xorg.conf, which is here, but that didn't work either. What should I do to get a graphical interface back?

1. Backport

2. Using unstable repositories

3. Build from Debian source

You can get the most recent driver from the Debian package page and build it yourself (you can search the source using http://packages.debian.org/src:package_name). Just download the .dsc, orig.tar.gz, and diff.gz (the package can not include last one) in a single directory and execute dpkg-source -x package_version-revision.dsc. It will build a nice .deb file that you can install using dpkg -i. Be sure that you have all the build dependencies using apt-get build-dep package_name and your source repositories activated in the sources.list file.

4. Building from Debian-git

Using the same package list as above, look for the "Debian Package Source Repository" section, and clone the repository (you must know how to use git). Enter in the just created directory and run dpkg-buildpackage -us -uc -nc, you can also modify the source and apply patchs. In the parent directory there will be your recently created .deb packages.

5. Building from the upstream

This is more complex to archive since each piece of software has it's own way of building/installing but in most cases involve:

./configure --prefix=/opt/something ## The prefix indicates where to install so you can delete it later and it won't mess with your systems' installed packages.
make
make install