I'm running archlinux with a custom 18.104.22.168 kernel, and am trying to install the i915 drivers for my graphics card, but have run into some difficulty.
unfortunately I can't simply install them from the repositories, since I am not using the stock kernel.
first of all I'm not really sure what to specify as the Xorg main directory - it seems to be spread across a few folders in different places, so I went with /usr/share/X11 when the install script asked me. I suppose that could be the root of my problem, but I'm unsure.
in any case, the install script attempts to compile the drivers and fails, then points me to dri.log, which is as follows:
make DRM_MODULES=i915.o modules make: Entering directory `/usr/src/i915-20060403-linux.i386/drm/linux-core' make -C /lib/modules/22.214.171.124/source SUBDIRS=`pwd` DRMSRCDIR=`pwd` modules make: Entering directory `/usr/src/linux-126.96.36.199' CC [M] /usr/src/i915-20060403-linux.i386/drm/linux-core/drm_auth.o In file included from /usr/src/i915-20060403-linux.i386/drm/linux-core/drm_auth.c:36: /usr/src/i915-20060403-linux.i386/drm/linux-core/drmP.h:44:26: error: linux/config.h: No such file or directory make: *** [/usr/src/i915-20060403-linux.i386/drm/linux-core/drm_auth.o] Error 1 make: *** [_module_/usr/src/i915-20060403-linux.i386/drm/linux-core] Error 2 make: Leaving directory `/usr/src/linux-188.8.131.52' make: *** [modules] Error 2 make: Leaving directory `/usr/src/i915-20060403-linux.i386/drm/linux-core' make: *** [i915.o] Error 2
right now I'm using the vesa drivers, which only allow me to go up to 1024x768, and since the monitor has a native resolution of 1280x800, it is somewhat distorted.
I would appreciate any help anyone could offer.
i915 is supported by the xf86-video-i810 driver and the DRI module included in kernel26 184.108.40.206. You don't need to recompile weird modules.