Intel 865G and X.Org 6.8.1

JCA 1.41421 at gmail.com
Sun Mar 26 13:38:35 PST 2006


        I am using X.Org 6.8.1 as shipped with Slackware 10.1. My
graphics adaptor is identified by lspci as follows:

        00:00.0 Host bridge: Intel Corp. 82865G/PE/P DRAM
Controller/Host-Hub Interface (rev 02)

        My xorg.conf file uses the i810 driver.

        The problem is that, although I can use X all right, according
to glxinfo direct rendering is not supported. Since I understand that
the 865G chipset supports direct rendering, I guess that I must be
doing something wrong.

        Here is some more info:

        1) The relevant modules that my 2.6.11 kernel loads are
intel_mch_agp, intel_agp, agpgart. In my kernel/drivers/char/drm
directory I also have drm.ko, i810.ko and i830.ko, but those get never
loaded. I tried loading them by hand (in several combinations) and
restarting X, but still no direct rendering.

         2) In /usr/X11R6/lib/drivers I have i810_drv.o, which indeed
is the module loaded by X. I can't see any other modules that have to
do with Intel graphics chipsets though.

         4) In /usr/X11R6/lib/dri I have i810_dri.so and i915_dri.so.
I think that my X server attempts to load them both, but fails; here
are (what I reckon to be) the relevant lines in my Xorg.log file:

(II) LoadModule: "dri"
(II) Loading /usr/X11R6/lib/modules/extensions/libdri.a
(II) Module dri: vendor="X.Org Foundation"
        compiled for 6.8.1, 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/X11R6/lib/modules/linux/libdrm.a
(II) Module drm: vendor="X.Org Foundation"
        compiled for 6.8.1, module version = 1.0.0
        ABI class: X.Org Server Extension, version 0.2
(II) Loading extension XFree86-DRI
(II) LoadModule: "glx"
(II) Loading /usr/X11R6/lib/modules/extensions/libglx.a
(II) Module glx: vendor="X.Org Foundation"
        compiled for 6.8.1, 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/X11R6/lib/modules/extensions/libGLcore.a
(II) Module GLcore: vendor="X.Org Foundation"
        compiled for 6.8.1, module version = 1.0.0
        ABI class: X.Org Server Extension, version 0.2
(II) Loading extension GLX
........
(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
(--) Chipset 865G found
.......
(II) I810(0): VESA BIOS detected
(II) I810(0): VESA VBE Version 3.0
(II) I810(0): VESA VBE Total Mem: 8000 kB
(II) I810(0): VESA VBE OEM: Intel(r)865G Graphics Chip Accelerated VGA BIOS
(II) I810(0): VESA VBE OEM Software Rev: 1.0
(II) I810(0): VESA VBE OEM Vendor: Intel Corporation
(II) I810(0): VESA VBE OEM Product: Intel(r)865G Graphics Controller
(II) I810(0): VESA VBE OEM Product Rev: Hardware Version 0.0
(II) I810(0): Integrated Graphics Chipset: Intel(R) 865G
(--) I810(0): Chipset: "865G"
(--) I810(0): Linear framebuffer at 0xF0000000
(--) I810(0): IO registers at addr 0xFE780000
(II) I810(0): 1 display pipe available.
(II) I810(0): detected 8060 kB stolen memory.
(II) I810(0): I830CheckAvailableMemory: 835580 kB available
(II) I810(0): Will attempt to tell the BIOS that there is 12288 kB VideoRAM
........
(II) Loading sub module "dri"
(II) LoadModule: "dri"
(II) Reloading /usr/X11R6/lib/modules/extensions/libdri.a
(II) UnloadModule: "dri"
(EE) I810: Failed to load module "dri" (once-only module, 0)
........
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is -1, (Unknown error 999)
drmOpenDevice: open result is -1, (Unknown error 999)
drmOpenDevice: Open failed
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is -1, (Unknown error 999)
drmOpenDevice: open result is -1, (Unknown error 999)
drmOpenDevice: Open failed
[drm] failed to load kernel module "i915"
(II) I810(0): [drm] drmOpen failed
(EE) I810(0): [dri] DRIScreenInit failed. Disabling DRI.
(II) I810(0): Updated framebuffer allocation size from 13568 to 16384 kByte
(II) I810(0): Updated pixmap cache from 256 scanlines to 608 scanlines
(II) I810(0): 0x8354808: Memory at offset 0x00020000, size 16384 kBytes
(II) I810(0): 0x8381190: Memory at offset 0x07fff000, size 4 kBytes
(II) I810(0): 0x8366e88: Memory at offset 0x07ffb000, size 16 kBytes
(II) I810(0): 0x82e069c: Memory at offset 0x00000000, size 128 kBytes
(II) I810(0): 0x8354848: Memory at offset 0x07fea000, size 64 kBytes
(II) I810(0): 0x8366eb0: Memory at offset 0x07ffa000, size 4 kBytes
(==) I810(0): Write-combining range (0xf0000000,0x8000000)
(II) I810(0): vgaHWGetIOBase: hwp->IOBase is 0x03d0, hwp->PIOOffset is 0x0000
(II) I810(0): xf86BindGARTMemory: bind key 4 at 0x007df000 (pgoffset 2015)
(II) I810(0): xf86BindGARTMemory: bind key 0 at 0x07fff000 (pgoffset 32767)
(II) I810(0): xf86BindGARTMemory: bind key 1 at 0x07ffb000 (pgoffset 32763)
(II) I810(0): xf86BindGARTMemory: bind key 3 at 0x07fea000 (pgoffset 32746)
(II) I810(0): xf86BindGARTMemory: bind key 2 at 0x07ffa000 (pgoffset 32762)
(WW) I810(0): Extended BIOS function 0x5f05 not supported.
(II) I810(0): BIOS call 0x5f05 not supported, setting refresh with VBE
3 method.(WW) I810(0): Set VBE Mode rejected this modeline.
        Trying standard mode instead!
(II) I810(0): Display plane A is enabled and connected to Pipe A.
(II) I810(0): Enabling plane A.
(II) I810(0): Display plane A is now enabled and connected to Pipe A.
(II) I810(0): PIPEACONF is 0x80000000
(II) I810(0): Mode bandwidth is 165 Mpixel/s
(WW) I810(0): Extended BIOS function 0x5f28 not supported.
(WW) I810(0): Extended BIOS function 0x5f61 not supported.
(II) I810(0): Using XFree86 Acceleration Architecture (XAA)
        Screen to screen bit blits
        Solid filled rectangles
        8x8 mono pattern filled rectangles
        Indirect CPU to Screen color expansion
        Solid Horizontal and Vertical Lines
        Offscreen Pixmaps
        Setting up tile and stipple cache:
                32 128x128 slots
                10 256x256 slots
(==) I810(0): Backing store disabled
(==) I810(0): Silken mouse enabled
(II) I810(0): Initializing HW Cursor
(II) I810(0): direct rendering: Failed


           I am kind of lost on how to proceed. My immediate questions are:

          1) Is it indeed possible to have direct rendering support
with the hardware/software I am describing?

          2) What combination of kernel modules and X modules should I use?

          Here is, for completeness, the xorg.conf file that I am using:

Section "ServerLayout"
Identifier     "X.org Configured"
Screen      0  "Screen0" 0 0
InputDevice    "Mouse0" "CorePointer"
InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
RgbPath      "/usr/X11R6/lib/X11/rgb"
ModulePath   "/usr/X11R6/lib/modules"
FontPath     "/usr/X11R6/lib/X11/fonts/misc/"
FontPath     "/usr/X11R6/lib/X11/fonts/TTF/"
FontPath     "/usr/X11R6/lib/X11/fonts/Type1/"
FontPath     "/usr/X11R6/lib/X11/fonts/CID/"
FontPath     "/usr/X11R6/lib/X11/fonts/75dpi/"
FontPath     "/usr/X11R6/lib/X11/fonts/100dpi/"
EndSection

Section "Module"
Load  "record"
Load  "extmod"
Load  "dbe"
Load  "dri"
Load  "glx"
Load  "xtrap"
Load  "freetype"
Load  "type1"
EndSection

Section "InputDevice"
Identifier  "Keyboard0"
Driver      "kbd"
EndSection

Section "InputDevice"
Identifier  "Mouse0"
Driver      "mouse"
Option      "Protocol" "IMPS/2"
Option      "Device" "/dev/mouse"
Option      "ZAxisMapping"  "4 5"
EndSection

Section "Monitor"
Identifier   "Monitor0"
VendorName   "HWP"
ModelName    "HP D8912"
EndSection

Section "Device"
### Available Driver options are:-
### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
### [arg]: arg optional
#Option     "NoAccel"                   # [<bool>]
#Option     "SWcursor"                  # [<bool>]
#Option     "ColorKey"                  # <i>
#Option     "CacheLines"                # <i>
#Option     "Dac6Bit"                   # [<bool>]
#Option     "DRI"                       # [<bool>]
#Option     "NoDDC"                     # [<bool>]
#Option     "ShowCache"                 # [<bool>]
#Option     "XvMCSurfaces"              # <i>
#Option     "PageFlip"                  # [<bool>]
Identifier  "Card0"
Driver      "i810"
VendorName  "Intel Corp."
BoardName   "82865G Integrated Graphics Device"
VideoRam    65536
Option      "DRI"                       "true"
Option      "XVideo"                    "true"
BusID       "PCI:0:2:0"
EndSection

Section "Screen"
Identifier "Screen0"
Device     "Card0"
Monitor    "Monitor0"
DefaultDepth 24
SubSection "Display"
Viewport   0 0
Depth     1
EndSubSection
SubSection "Display"
Viewport   0 0
Depth     4
EndSubSection
SubSection "Display"
Viewport   0 0
Depth     8
EndSubSection
SubSection "Display"
Viewport   0 0
Depth     15
EndSubSection
SubSection "Display"
Viewport   0 0
Depth     16
EndSubSection
SubSection "Display"
Viewport   0 0
Depth     24
EndSubSection
EndSection

Section "DRI"
   Mode 0666
EndSection



More information about the xorg mailing list