You are not logged in.

#1 2007-02-25 18:34:55

Zerathidune
Member
Registered: 2007-02-25
Posts: 102

i915 on custom kernel

Hi,

I'm running archlinux with a custom 2.6.20.1 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[1]: Entering directory `/usr/src/i915-20060403-linux.i386/drm/linux-core'
make -C /lib/modules/2.6.20.1/source  SUBDIRS=`pwd` DRMSRCDIR=`pwd` modules
make[2]: Entering directory `/usr/src/linux-2.6.20.1'
  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[3]: *** [/usr/src/i915-20060403-linux.i386/drm/linux-core/drm_auth.o] Error 1
make[2]: *** [_module_/usr/src/i915-20060403-linux.i386/drm/linux-core] Error 2
make[2]: Leaving directory `/usr/src/linux-2.6.20.1'
make[1]: *** [modules] Error 2
make[1]: 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.

Thank you,
-Zerathidune

Offline

#2 2007-02-25 18:48:44

JGC
Developer
Registered: 2003-12-03
Posts: 1,664

Re: i915 on custom kernel

i915 is supported by the xf86-video-i810 driver and the DRI module included in kernel26 2.6.20.1. You don't need to recompile weird modules.

Offline

Board footer

Powered by FluxBB