It has always seemed strange to me that when installing X on a minimal Debian installation that it wants to pull in drivers for ALL the video cards that have ever existed. Perhaps that was an exaggeration but it would be nice to be able to just install xserver-xorg-video-intel (and perhaps …-vesa as backup) for my Intel-based Eee 1000. Trying various combinations didn’t work, even with
As I don’t use aptitude (use apt-get instead), the command I used was very slightly different:
apt-get install --no-install-recommends xinit xserver-xorg-video-intel xserver-xorg-input-synaptics xserver-xorg-input-kbd xserver-xorg-input-mouse xfonts-base xterm
I also added xterm, but apart from that it’s the same. That installs my video driver, a base X server and some input devices. And all without twenty unneeded video drivers.
Apologies if this was a really obvious thing to post, but it has had me confused for a long time.
- – – – -
EDIT: After the above, Xorg functions but a number of errors are displayed on the tty after startx.
(EE) AIGLX error: dlopen of /usr/lib/dri/i915_dri.so failed (/usr/lib/dri/i915_dri.so: cannot open shared object file: No such file or directory) (EE) AIGLX: reverting to software rendering (EE) AIGLX error: dlopen of /usr/lib/dri/swrast_dri.so failed (/usr/lib/dri/swrast_dri.so: cannot open shared object file: No such file or directory) (EE) GLX: could not load software renderer
This is fixed by installing one more package, namely
libgl1-mesa-dri. Install that and the error goes away.
apt-get install libgl1-mesa-dri
The package was found using apt-file after reading this mailing list post:
apt-file search /usr/lib/dri/swrast_dri.so apt-file search /usr/lib/dri/i915_dri.so
It turned out that both files were owned by the aforementioned package.