First of all thanks vinz for this great HOWTO! I have followed all described steps, patching and compiling xorg worked without any problems, unfortunately I cannot start the X-Server after compiling xorg with the patch applied.
Here is what I did:
Installed gentoo-sources-2.6.14-r2 with the following options:
Code: Select all
#
# Ftape, the floppy tape device driver
#
# CONFIG_FTAPE is not set
CONFIG_AGP=y
# CONFIG_AGP_ALI is not set
# CONFIG_AGP_ATI is not set
# CONFIG_AGP_AMD is not set
# CONFIG_AGP_AMD64 is not set
CONFIG_AGP_INTEL=y
# CONFIG_AGP_NVIDIA is not set
# CONFIG_AGP_SIS is not set
# CONFIG_AGP_SWORKS is not set
# CONFIG_AGP_VIA is not set
# CONFIG_AGP_EFFICEON is not set
CONFIG_DRM=y
# CONFIG_DRM_TDFX is not set
# CONFIG_DRM_R128 is not set
# CONFIG_DRM_RADEON is not set
# CONFIG_DRM_I810 is not set
# CONFIG_DRM_I830 is not set
CONFIG_DRM_I915=y
# CONFIG_DRM_MGA is not set
# CONFIG_DRM_SIS is not set
# CONFIG_DRM_VIA is not set
# CONFIG_DRM_SAVAGE is not set
# CONFIG_MWAVE is not set
# CONFIG_RAW_DRIVER is not set
CONFIG_HPET=y
# CONFIG_HPET_RTC_IRQ is not set
CONFIG_HPET_MMAP=y
# CONFIG_HANGCHECK_TIMER is not setCode: Select all
X Window System Version 6.8.2
Release Date: 9 February 2005
X Protocol Version 11, Revision 0, Release 6.8.2
Build Operating System: Linux 2.6.14-gentoo-r2 i686 [ELF]
Current Operating System: Linux spock.nemata.lan 2.6.14-gentoo-r2 #19 PREEMPT Thu Dec 1 14:37:56 CET 2005 i686
Build Date: 01 December 2005
Before reporting problems, check http://wiki.X.Org
to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Fri Dec 2 14:15:34 2005
(==) Using config file: "/etc/X11/xorg.conf"
(==) ServerLayout "SingleHeadLayout"
(**) |-->Screen "LaptopScreen" (0)
(**) | |-->Monitor "LaptopTFT"
(**) | |-->Device "i915Chipset"
(**) |-->Input Device "LogitechClickPlus"
(**) |-->Input Device "LaptopKeyboard"
(**) FontPath set to "/usr/share/fonts/misc/,/usr/share/fonts/TTF/,/usr/share/fonts/Type1/,/usr/share/fonts/75dpi/,/usr/share/fonts/100dpi/"
(**) RgbPath set to "/usr/lib/X11/rgb"
(**) ModulePath set to "/usr/lib/modules"
(WW) Open APM failed (/dev/apm_bios) (No such file or directory)
(II) Module ABI versions:
X.Org ANSI C Emulation: 0.2
X.Org Video Driver: 0.7
X.Org XInput driver : 0.4
X.Org Server Extension : 0.2
X.Org Font Renderer : 0.4
(II) Loader running on linux
(II) LoadModule: "bitmap"
(II) Loading /usr/lib/modules/fonts/libbitmap.a
(II) Module bitmap: vendor="X.Org Foundation"
compiled for 6.8.2, module version = 1.0.0
Module class: X.Org Font Renderer
ABI class: X.Org Font Renderer, version 0.4
(II) Loading font Bitmap
(II) LoadModule: "pcidata"
(II) Loading /usr/lib/modules/libpcidata.a
(II) Module pcidata: vendor="X.Org Foundation"
compiled for 6.8.2, module version = 1.0.0
ABI class: X.Org Video Driver, version 0.7
Using vt 7
(--) using VT number 7
(II) PCI: PCI scan (all values are in hex)
(II) PCI: 00:00:0: chip 8086,2590 card 144d,c01a rev 03 class 06,00,00 hdr 00
(II) PCI: 00:02:0: chip 8086,2592 card 144d,c01a rev 03 class 03,00,00 hdr 80
(II) PCI: 00:02:1: chip 8086,2792 card 144d,c01a rev 03 class 03,80,00 hdr 80
(II) PCI: 00:1c:0: chip 8086,2660 card 0000,0000 rev 03 class 06,04,00 hdr 81
(II) PCI: 00:1d:0: chip 8086,2658 card 144d,c01a rev 03 class 0c,03,00 hdr 80
(II) PCI: 00:1d:1: chip 8086,2659 card 144d,c01a rev 03 class 0c,03,00 hdr 00
(II) PCI: 00:1d:2: chip 8086,265a card 144d,c01a rev 03 class 0c,03,00 hdr 00
(II) PCI: 00:1d:3: chip 8086,265b card 144d,c01a rev 03 class 0c,03,00 hdr 00
(II) PCI: 00:1d:7: chip 8086,265c card 144d,c01a rev 03 class 0c,03,20 hdr 00
(II) PCI: 00:1e:0: chip 8086,2448 card 0000,0000 rev d3 class 06,04,01 hdr 81
(II) PCI: 00:1e:2: chip 8086,266e card 144d,c01a rev 03 class 04,01,00 hdr 00
(II) PCI: 00:1e:3: chip 8086,266d card 144d,2115 rev 03 class 07,03,00 hdr 00
(II) PCI: 00:1f:0: chip 8086,2641 card 144d,c01a rev 03 class 06,01,00 hdr 80
(II) PCI: 00:1f:1: chip 8086,266f card 144d,c01a rev 03 class 01,01,8a hdr 00
(II) PCI: 00:1f:3: chip 8086,266a card 144d,c01a rev 03 class 0c,05,00 hdr 00
(II) PCI: 06:05:0: chip 14e4,170c card 144d,c01a rev 02 class 02,00,00 hdr 00
(II) PCI: 06:07:0: chip 8086,4220 card 8086,2731 rev 05 class 02,80,00 hdr 00
(II) PCI: 06:09:0: chip 1180,0476 card 4000,0000 rev b3 class 06,07,00 hdr 82
(II) PCI: 06:09:1: chip 1180,0552 card 144d,c01a rev 08 class 0c,00,10 hdr 80
(II) PCI: 06:09:2: chip 1180,0822 card 144d,c01a rev 17 class 08,05,00 hdr 80
(II) PCI: 06:09:3: chip 1180,0592 card 144d,c01a rev 08 class 08,80,00 hdr 80
(II) PCI: End of PCI scan
(II) Host-to-PCI bridge:
(II) Bus 0: bridge is at (0:0:0), (0,0,7), BCTRL: 0x0008 (VGA_EN is set)
(II) Bus 0 I/O range:
[0] -1 0 0x00000000 - 0x0000ffff (0x10000) IX[B]
(II) Bus 0 non-prefetchable memory range:
[0] -1 0 0x00000000 - 0xffffffff (0x0) MX[B]
(II) Bus 0 prefetchable memory range:
[0] -1 0 0x00000000 - 0xffffffff (0x0) MX[B]
(II) PCI-to-PCI bridge:
(II) Bus 2: bridge is at (0:28:0), (0,2,2), BCTRL: 0x0004 (VGA_EN is cleared)
(II) Bus 2 I/O range:
[0] -1 0 0x00003000 - 0x000030ff (0x100) IX[B]
[1] -1 0 0x00003400 - 0x000034ff (0x100) IX[B]
[2] -1 0 0x00003800 - 0x000038ff (0x100) IX[B]
[3] -1 0 0x00003c00 - 0x00003cff (0x100) IX[B]
(II) Bus 2 non-prefetchable memory range:
[0] -1 0 0xb4000000 - 0xb7ffffff (0x4000000) MX[B]
(II) Bus 2 prefetchable memory range:
[0] -1 0 0xd0000000 - 0xd3ffffff (0x4000000) MX[B]
(II) Subtractive PCI-to-PCI bridge:
(II) Bus 6: bridge is at (0:30:0), (0,6,6), BCTRL: 0x0004 (VGA_EN is cleared)
(II) Bus 6 I/O range:
[0] -1 0 0x00004000 - 0x000040ff (0x100) IX[B]
[1] -1 0 0x00004400 - 0x000044ff (0x100) IX[B]
[2] -1 0 0x00004800 - 0x000048ff (0x100) IX[B]
[3] -1 0 0x00004c00 - 0x00004cff (0x100) IX[B]
(II) Bus 6 non-prefetchable memory range:
[0] -1 0 0xb8000000 - 0xb80fffff (0x100000) MX[B]
(II) Bus 6 prefetchable memory range:
[0] -1 0 0x50000000 - 0x52ffffff (0x3000000) MX[B]
(II) PCI-to-ISA bridge:
(II) Bus -1: bridge is at (0:31:0), (0,-1,-1), BCTRL: 0x0008 (VGA_EN is set)
(II) PCI-to-CardBus bridge:
(II) Bus 7: bridge is at (6:9:0), (6,7,10), BCTRL: 0x0700 (VGA_EN is cleared)
(II) Bus 7 I/O range:
[0] -1 0 0x00004000 - 0x000040ff (0x100) IX[B]
[1] -1 0 0x00004400 - 0x000044ff (0x100) IX[B]
(II) Bus 7 prefetchable memory range:
[0] -1 0 0x50000000 - 0x51ffffff (0x2000000) MX[B]
(--) PCI:*(0:2:0) Intel Corp. unknown chipset (0x2592) rev 3, Mem @ 0xb0080000/19, 0xc0000000/28, 0xb0000000/18, I/O @ 0x1800/3
(--) PCI: (0:2:1) Intel Corp. unknown chipset (0x2792) rev 3, Mem @ 0x53000000/19
(II) Addressable bus resource ranges are
[0] -1 0 0x00000000 - 0xffffffff (0x0) MX[B]
[1] -1 0 0x00000000 - 0x0000ffff (0x10000) IX[B]
(II) OS-reported resource ranges:
[0] -1 0 0xffe00000 - 0xffffffff (0x200000) MX[B](B)
[1] -1 0 0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
[2] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[B]
[3] -1 0 0x000c0000 - 0x000effff (0x30000) MX[B]
[4] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[B]
[5] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B]
[6] -1 0 0x00000000 - 0x000000ff (0x100) IX[B]
(II) Active PCI resource ranges:
[0] -1 0 0xb8003c00 - 0xb8003cff (0x100) MX[B]
[1] -1 0 0xb8003800 - 0xb80038ff (0x100) MX[B]
[2] -1 0 0xb8003000 - 0xb80037ff (0x800) MX[B]
[3] -1 0 0xb8002000 - 0xb8002fff (0x1000) MX[B]
[4] -1 0 0xb8000000 - 0xb8001fff (0x2000) MX[B]
[5] -1 0 0xb0040400 - 0xb00404ff (0x100) MX[B]
[6] -1 0 0xb0040800 - 0xb00409ff (0x200) MX[B]
[7] -1 0 0xb0040000 - 0xb00403ff (0x400) MX[B]
[8] -1 0 0xb0000000 - 0xb003ffff (0x40000) MX[B](B)
[9] -1 0 0xc0000000 - 0xcfffffff (0x10000000) MX[B](B)
[10] -1 0 0xb0080000 - 0xb00fffff (0x80000) MX[B](B)
[11] -1 0 0x000018a0 - 0x000018bf (0x20) IX[B]
[12] -1 0 0x00001810 - 0x0000181f (0x10) IX[B]
[13] -1 0 0x00002000 - 0x0000207f (0x80) IX[B]
[14] -1 0 0x00002400 - 0x000024ff (0x100) IX[B]
[15] -1 0 0x000018c0 - 0x000018ff (0x40) IX[B]
[16] -1 0 0x00001c00 - 0x00001cff (0x100) IX[B]
[17] -1 0 0x00001880 - 0x0000189f (0x20) IX[B]
[18] -1 0 0x00001860 - 0x0000187f (0x20) IX[B]
[19] -1 0 0x00001840 - 0x0000185f (0x20) IX[B]
[20] -1 0 0x00001820 - 0x0000183f (0x20) IX[B]
[21] -1 0 0x00001800 - 0x00001807 (0x8) IX[B](B)
(II) Inactive PCI resource ranges:
[0] -1 0 0x53000000 - 0x5307ffff (0x80000) MX[B](B)
(II) Active PCI resource ranges after removing overlaps:
[0] -1 0 0xb8003c00 - 0xb8003cff (0x100) MX[B]
[1] -1 0 0xb8003800 - 0xb80038ff (0x100) MX[B]
[2] -1 0 0xb8003000 - 0xb80037ff (0x800) MX[B]
[3] -1 0 0xb8002000 - 0xb8002fff (0x1000) MX[B]
[4] -1 0 0xb8000000 - 0xb8001fff (0x2000) MX[B]
[5] -1 0 0xb0040400 - 0xb00404ff (0x100) MX[B]
[6] -1 0 0xb0040800 - 0xb00409ff (0x200) MX[B]
[7] -1 0 0xb0040000 - 0xb00403ff (0x400) MX[B]
[8] -1 0 0xb0000000 - 0xb003ffff (0x40000) MX[B](B)
[9] -1 0 0xc0000000 - 0xcfffffff (0x10000000) MX[B](B)
[10] -1 0 0xb0080000 - 0xb00fffff (0x80000) MX[B](B)
[11] -1 0 0x000018a0 - 0x000018bf (0x20) IX[B]
[12] -1 0 0x00001810 - 0x0000181f (0x10) IX[B]
[13] -1 0 0x00002000 - 0x0000207f (0x80) IX[B]
[14] -1 0 0x00002400 - 0x000024ff (0x100) IX[B]
[15] -1 0 0x000018c0 - 0x000018ff (0x40) IX[B]
[16] -1 0 0x00001c00 - 0x00001cff (0x100) IX[B]
[17] -1 0 0x00001880 - 0x0000189f (0x20) IX[B]
[18] -1 0 0x00001860 - 0x0000187f (0x20) IX[B]
[19] -1 0 0x00001840 - 0x0000185f (0x20) IX[B]
[20] -1 0 0x00001820 - 0x0000183f (0x20) IX[B]
[21] -1 0 0x00001800 - 0x00001807 (0x8) IX[B](B)
(II) Inactive PCI resource ranges after removing overlaps:
[0] -1 0 0x53000000 - 0x5307ffff (0x80000) MX[B](B)
(II) OS-reported resource ranges after removing overlaps with PCI:
[0] -1 0 0xffe00000 - 0xffffffff (0x200000) MX[B](B)
[1] -1 0 0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
[2] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[B]
[3] -1 0 0x000c0000 - 0x000effff (0x30000) MX[B]
[4] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[B]
[5] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B]
[6] -1 0 0x00000000 - 0x000000ff (0x100) IX[B]
(II) All system resource ranges:
[0] -1 0 0xffe00000 - 0xffffffff (0x200000) MX[B](B)
[1] -1 0 0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
[2] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[B]
[3] -1 0 0x000c0000 - 0x000effff (0x30000) MX[B]
[4] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[B]
[5] -1 0 0xb8003c00 - 0xb8003cff (0x100) MX[B]
[6] -1 0 0xb8003800 - 0xb80038ff (0x100) MX[B]
[7] -1 0 0xb8003000 - 0xb80037ff (0x800) MX[B]
[8] -1 0 0xb8002000 - 0xb8002fff (0x1000) MX[B]
[9] -1 0 0xb8000000 - 0xb8001fff (0x2000) MX[B]
[10] -1 0 0xb0040400 - 0xb00404ff (0x100) MX[B]
[11] -1 0 0xb0040800 - 0xb00409ff (0x200) MX[B]
[12] -1 0 0xb0040000 - 0xb00403ff (0x400) MX[B]
[13] -1 0 0xb0000000 - 0xb003ffff (0x40000) MX[B](B)
[14] -1 0 0xc0000000 - 0xcfffffff (0x10000000) MX[B](B)
[15] -1 0 0xb0080000 - 0xb00fffff (0x80000) MX[B](B)
[16] -1 0 0x53000000 - 0x5307ffff (0x80000) MX[B](B)
[17] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B]
[18] -1 0 0x00000000 - 0x000000ff (0x100) IX[B]
[19] -1 0 0x000018a0 - 0x000018bf (0x20) IX[B]
[20] -1 0 0x00001810 - 0x0000181f (0x10) IX[B]
[21] -1 0 0x00002000 - 0x0000207f (0x80) IX[B]
[22] -1 0 0x00002400 - 0x000024ff (0x100) IX[B]
[23] -1 0 0x000018c0 - 0x000018ff (0x40) IX[B]
[24] -1 0 0x00001c00 - 0x00001cff (0x100) IX[B]
[25] -1 0 0x00001880 - 0x0000189f (0x20) IX[B]
[26] -1 0 0x00001860 - 0x0000187f (0x20) IX[B]
[27] -1 0 0x00001840 - 0x0000185f (0x20) IX[B]
[28] -1 0 0x00001820 - 0x0000183f (0x20) IX[B]
[29] -1 0 0x00001800 - 0x00001807 (0x8) IX[B](B)
(II) LoadModule: "glx"
(II) Loading /usr/lib/modules/extensions/libglx.a
(II) Module glx: vendor="X.Org Foundation"
compiled for 6.8.2, module version = 1.0.0
ABI class: X.Org Server Extension, version 0.2
(II) Loading sub module "GLcore"
(II) LoadModule: "GLcore"
(II) Loading /usr/lib/modules/extensions/libGLcore.a
(II) Module GLcore: vendor="X.Org Foundation"
compiled for 6.8.2, module version = 1.0.0
ABI class: X.Org Server Extension, version 0.2
(II) Loading extension GLX
(II) LoadModule: "extmod"
(II) Loading /usr/lib/modules/extensions/libextmod.a
(II) Module extmod: vendor="X.Org Foundation"
compiled for 6.8.2, module version = 1.0.0
Module class: X.Org Server Extension
ABI class: X.Org Server Extension, version 0.2
(II) Loading extension SHAPE
(II) Loading extension MIT-SUNDRY-NONSTANDARD
(II) Loading extension BIG-REQUESTS
(II) Loading extension SYNC
(II) Loading extension MIT-SCREEN-SAVER
(II) Loading extension XC-MISC
(II) Loading extension XFree86-VidModeExtension
(II) Loading extension XFree86-Misc
(II) Loading extension XFree86-DGA
(II) Loading extension DPMS
(II) Loading extension TOG-CUP
(II) Loading extension Extended-Visual-Information
(II) Loading extension XVideo
(II) Loading extension XVideo-MotionCompensation
(II) Loading extension X-Resource
(II) LoadModule: "xtrap"
(II) Loading /usr/lib/modules/extensions/libxtrap.a
(II) Module xtrap: vendor="X.Org Foundation"
compiled for 6.8.2, module version = 1.0.0
Module class: X.Org Server Extension
ABI class: X.Org Server Extension, version 0.2
(II) Loading extension DEC-XTRAP
(II) LoadModule: "record"
(II) Loading /usr/lib/modules/extensions/librecord.a
(II) Module record: vendor="X.Org Foundation"
compiled for 6.8.2, module version = 1.13.0
Module class: X.Org Server Extension
ABI class: X.Org Server Extension, version 0.2
(II) Loading extension RECORD
(II) LoadModule: "dri"
(II) Loading /usr/lib/modules/extensions/libdri.a
(II) Module dri: vendor="X.Org Foundation"
compiled for 6.8.2, module version = 1.0.0
ABI class: X.Org Server Extension, version 0.2
(II) Loading sub module "drm"
(II) LoadModule: "drm"
(II) Loading /usr/lib/modules/linux/libdrm.a
(II) Module drm: vendor="X.Org Foundation"
compiled for 6.8.2, module version = 1.0.0
ABI class: X.Org Server Extension, version 0.2
(II) Loading extension XFree86-DRI
(II) LoadModule: "dbe"
(II) Loading /usr/lib/modules/extensions/libdbe.a
(II) Module dbe: vendor="X.Org Foundation"
compiled for 6.8.2, module version = 1.0.0
Module class: X.Org Server Extension
ABI class: X.Org Server Extension, version 0.2
(II) Loading extension DOUBLE-BUFFER
(II) LoadModule: "freetype"
(II) Loading /usr/lib/modules/fonts/libfreetype.so
(II) Module freetype: vendor="X.Org Foundation & the After X-TT Project"
compiled for 6.8.2, module version = 2.1.0
Module class: X.Org Font Renderer
ABI class: X.Org Font Renderer, version 0.4
(II) Loading font FreeType
(II) LoadModule: "type1"
(II) Loading /usr/lib/modules/fonts/libtype1.a
(II) Module type1: vendor="X.Org Foundation"
compiled for 6.8.2, module version = 1.0.2
Module class: X.Org Font Renderer
ABI class: X.Org Font Renderer, version 0.4
(II) Loading font Type1
(II) Loading font CID
(II) LoadModule: "i810"
(II) Loading /usr/lib/modules/drivers/i810_drv.o
(II) Module i810: vendor="X.Org Foundation"
compiled for 6.8.2, module version = 1.3.0
Module class: X.Org Video Driver
ABI class: X.Org Video Driver, version 0.7
(II) LoadModule: "mouse"
(II) Loading /usr/lib/modules/input/mouse_drv.o
(II) Module mouse: vendor="X.Org Foundation"
compiled for 6.8.2, module version = 1.0.0
Module class: X.Org XInput Driver
ABI class: X.Org XInput driver, version 0.4
(II) LoadModule: "kbd"
(II) Loading /usr/lib/modules/input/kbd_drv.o
(II) Module kbd: vendor="X.Org Foundation"
compiled for 6.8.2, module version = 1.0.0
Module class: X.Org XInput Driver
ABI class: X.Org XInput driver, version 0.4
(II) I810: Driver for Intel Integrated Graphics Chipsets: i810, i810-dc100,
i810e, i815, i830M, 845G, 852GM/855GM, 865G, 915G
(II) Primary Device is: PCI 00:02:0
(--) Assigning device section with no busID to primary device
(WW) I810: No matching Device section for instance (BusID PCI:0:2:1) found
(EE) No devices detected.
Fatal server error:
no screens found
Please consult the The X.Org Foundation support
at http://wiki.X.Org
for help.
Please also check the log file at "/var/log/Xorg.0.log" for additional information.Now here is the strange part: When I simply replace /usr/X11R6/lib/modules/drivers/i810_drv.o with the binary provided by Alan Hourihane you can download at http://www.fairlite.demon.co.uk/intel.html the X-Server starts properly (without DRI though, glxgears gives around 300fps).
Do you have any suggestions what I should try to do? Do you think this is a kernel-side or an x-org-side problem? Has anyone gotten DRI to work an a Samsung X20? Which steps did exactly take and which versions are you using?
Thanks in advance, Christoph
Edit 1:
This could be interesting, too:
Code: Select all
ct@spock ~ $ dmesg | grep -i agp
Linux agpgart interface v0.101 (c) Dave Jones
agpgart: Detected an Intel 915GM Chipset.
agpgart: Detected 7932K stolen memory.
agpgart: AGP aperture is 256M @ 0xc0000000


