Note: This patch has been tweaked by VinzC to be applied using portage Source: http://www.gentoo-wiki.com/HARDWARE_Samsung_X20#DRI.2C_Xvideo_and_co. --- xc/programs/Xserver/hw/xfree86/os-support/linux/lnx_agp.c 2005-07-03 09:01:32.000000000 +0200 +++ xc/programs/Xserver/hw/xfree86/os-support/linux/lnx_agp.c~ 2005-07-28 13:26:41.000000000 +0200 @@ -139,6 +139,12 @@ return NULL; } + /* + * Workaround to get DRI working with i915 + * (http://www.gentoo-wiki.com/HARDWARE_Samsung_X20#DRI.2C_Xvideo_and_co.) + */ + memset((char*)&agpinf, 0, sizeof(agpinf)); + if (ioctl(gartFd, AGPIOC_INFO, &agpinf) != 0) { xf86DrvMsg(screenNum, X_ERROR, "xf86GetAGPInfo: AGPIOC_INFO failed (%s)\n",