LQ Newbie
Registered: May 2006
Posts: 29
Rep:
|
No DRI with an i865G graphics adaptor and the i915 kernel module
I would like to get DRI support on my i865G. To that effect, I download the i915 driver from freedesktop, and after installing it everything seems to be OK, according to my Xorg.log traces, but still no DRI. Here are the relevant portions of my Xorg.log file:
(II) Module dbe: vendor="X.Org Foundation"
compiled for 6.8.1, 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: "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
(**) I810(0): Depth 24, (--) framebuffer bpp 32
(==) I810(0): RGB weight 888
(==) I810(0): Default visual is TrueColor
(**) I810(0): Option "DRI" "true"
(**) I810(0): Option "XVideo" "true"
(II) Loading sub module "int10"
(II) LoadModule: "int10"
(II) Reloading /usr/X11R6/lib/modules/linux/libint10.a
(II) I810(0): initializing int10
(WW) I810(0): Bad V_BIOS checksum
(II) I810(0): Primary V_BIOS segment is: 0xc000
(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 "int10"
(II) LoadModule: "int10"
(II) Reloading /usr/X11R6/lib/modules/linux/libint10.a
(II) I810(0): initializing int10
(WW) I810(0): Bad V_BIOS checksum
(II) I810(0): Primary V_BIOS segment is: 0xc000
(II) I810(0): VESA BIOS detected
(II) I810(0): VESA VBE Version 3.0
(II) I810(0): VESA VBE Total Mem: 12288 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): BIOS now sees 12288 kB VideoRAM
(--) I810(0): Pre-allocated VideoRAM: 8060 kByte
(**) I810(0): VideoRAM: 65536 kByte
(==) I810(0): video overlay key set to 0x101fe
(**) I810(0): page flipping disabled
(==) I810(0): Using gamma correction (1.0, 1.0, 1.0)
(II) I810(0): BIOS Build: 3202
(==) I810(0): Device Presence: disabled.
(==) I810(0): Display Info: enabled.
(II) I810(0): Broken BIOSes cause the system to hang here.
If you encounter this problem please add
Option "DisplayInfo" "FALSE"
to the Device section of your XF86Config file.
(II) I810(0): Display Info: CRT: attached: FALSE, present: FALSE, size: (0,0)
(II) I810(0): Display Info: TV: attached: FALSE, present: FALSE, size: (0,0)
(II) I810(0): Display Info: DFP (digital flat panel): attached: FALSE, present:
FALSE, size: (0,0)
(II) I810(0): Display Info: LFP (local flat panel): attached: FALSE, present: FALSE, size: (0,0)
(II) I810(0): Display Info: CRT2 (second CRT): attached: FALSE, present: FALSE,
size: (0,0)
(II) I810(0): Display Info: TV2 (second TV): attached: FALSE, present: FALSE, size: (0,0)
(II) I810(0): Currently active displays on Pipe A:
(II) I810(0): CRT
(==) I810(0): Display is using Pipe A
(--) I810(0): Maximum frambuffer space: 65368 kByte
(==) I810(0): VBE Restore workaround: enabled.
(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)
(II) I810(0): initializing int10
(WW) I810(0): Bad V_BIOS checksum
(II) I810(0): Primary V_BIOS segment is: 0xc000
(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
(==) I810(0): Default visual is TrueColor
(II) I810(0): Allocated 128 kB for the ring buffer at 0x0
(II) I810(0): Allocating at least 256 scanlines for pixmap cache
(II) I810(0): Initial framebuffer allocation size: 13568 kByte
(II) I810(0): Allocated 4 kB for HW cursor at 0x7fff000
(II) I810(0): Allocated 16 kB for HW (ARGB) cursor at 0x7ffb000
(II) I810(0): Allocated 4 kB for Overlay registers at 0x7ffa000 (0x29587000).
(II) I810(0): Allocated 64 kB for the scratch buffer at 0x7fea000
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 7, (OK)
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 7, (OK)
drmOpenByBusid: Searching for BusID pci:0000:00:02.0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 7, (OK)
drmOpenByBusid: drmOpenMinor returns 7
drmOpenByBusid: drmGetBusid reports pci:0000:00:02.0
(II) I810(0): [drm] DRM interface version 1.2
(II) I810(0): [drm] created "i915" driver at busid "pci:0000:00:02.0"
(II) I810(0): [drm] added 8192 byte SAREA at 0xf898a000
(II) I810(0): [drm] mapped SAREA 0xf898a000 to 0xb7cea000
(II) I810(0): [drm] framebuffer handle = 0xf0020000
(II) I810(0): [drm] added 1 reserved context for kernel
(II) I810(0): Allocated 11520 kB for the back buffer at 0x6000000.
(II) I810(0): Allocated 11520 kB for the depth buffer at 0x5000000.
(II) I810(0): Allocated 32 kB for the logical context at 0x4ff8000.
(II) I810(0): Allocated 28672 kB for textures at 0x33f8000
(II) I810(0): Updated framebuffer allocation size from 13568 to 13576 kByte
(II) I810(0): Updated pixmap cache from 256 scanlines to 257 scanlines
(II) I810(0): 0x8414ad0: Memory at offset 0x00020000, size 13576 kBytes
(II) I810(0): 0x85bb238: Memory at offset 0x07fff000, size 4 kBytes
(II) I810(0): 0x8640fe0: Memory at offset 0x07ffb000, size 16 kBytes
(II) I810(0): 0x832f8ec: Memory at offset 0x00000000, size 128 kBytes
(II) I810(0): 0x8414b10: Memory at offset 0x07fea000, size 64 kBytes
(II) I810(0): 0x8641008: Memory at offset 0x07ffa000, size 4 kBytes
(II) I810(0): 0x8414b60: Memory at offset 0x06000000, size 11520 kBytes
(II) I810(0): 0x8414b80: Memory at offset 0x05000000, size 11520 kBytes
(II) I810(0): 0x8414bc0: Memory at offset 0x04ff8000, size 32 kBytes
(II) I810(0): 0x8414ba0: Memory at offset 0x033f8000, size 28672 kBytes
(II) I810(0): Activating tiled memory for the back buffer.
(II) I810(0): Activating tiled memory for the depth buffer.
(II) I810(0): [drm] Registers = 0xfe780000
(II) I810(0): [drm] Back Buffer = 0xf6000000
(II) I810(0): [drm] Depth Buffer = 0xf5000000
(II) I810(0): [drm] ring buffer = 0xf0000000
(II) I810(0): [drm] textures = 0xf33f8000
(II) I810(0): [drm] dma control initialized, using IRQ 16
(II) I810(0): [drm] Initialized kernel agp heap manager, 29360128
(II) I810(0): [dri] visual configs initialized
(==) 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 8 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)
(II) I810(0): xf86BindGARTMemory: bind key 4 at 0x06000000 (pgoffset 24576)
(II) I810(0): xf86BindGARTMemory: bind key 5 at 0x05000000 (pgoffset 20480)
(II) I810(0): xf86BindGARTMemory: bind key 6 at 0x04ff8000 (pgoffset 20472)
(II) I810(0): xf86BindGARTMemory: bind key 7 at 0x033f8000 (pgoffset 13304)
(WW) I810(0): PGTBL_ER is 0x0000002a
(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:
23 128x128 slots
5 256x256 slots
(==) I810(0): Backing store disabled
(==) I810(0): Silken mouse enabled
(II) I810(0): Initializing HW Cursor
(II) I810(0): X context handle = 0x00000001
(II) I810(0): [drm] installed DRM signal handler
(II) I810(0): [DRI] installation complete
(II) I810(0): direct rendering: Enabled
The (EE) line on i810 is the only thing fishy I can see but, at the end, the traces tell us explicitly that direct rendering is enabled. However, when invoking glxinfo the output tells me that direct rendering is not enabled - and the performance of 3S-intensive apps sucks.
The relevant portions of the output from dmesg read
agpgart: Detected an Intel 865 Chipset.
agpgart: Maximum main memory to use for agp memory: 816M
agpgart: Detected 32636K stolen memory.
agpgart: AGP aperture is 128M @ 0xf0000000
and
[drm] Initialized drm 1.0.1 20051102
ACPI: PCI interrupt 0000:00:02.0[A] -> GSI 16 (level, low) -> IRQ 16
PCI: Setting latency timer of device 0000:00:02.0 to 64
[drm] Initialized i915 1.4.0 20060119 on minor 0: Intel Corp. 82865G Integrated Graphics Device
whereas the modules I have loaded are
Module Size Used by
i915 19328 1
drm 69016 2 i915
vmnet 27812 12
vmmon 105132 0
autofs 13568 1
snd_pcm_oss 49312 0
snd_mixer_oss 18176 1 snd_pcm_oss
nfsd 91336 8
exportfs 5120 1 nfsd
nfs 96044 3
lockd 61992 3 nfsd,nfs
sunrpc 130372 7 nfsd,nfs,lockd
ohci_hcd 19592 0
8250_pnp 8448 0
8250 24036 1 8250_pnp
serial_core 19456 1 8250
parport_pc 25540 0
parport 32840 1 parport_pc
pcspkr 3536 0
rtc 10704 0
usblp 11648 0
intel_mch_agp 8592 0
intel_agp 20380 1
uhci_hcd 30480 0
ehci_hcd 29576 0
usbcore 107384 5 ohci_hcd,usblp,uhci_hcd,ehci_hcd
i2c_i801 7948 0
i2c_core 18816 1 i2c_i801
snd_intel8x0 29376 1
snd_ac97_codec 75640 1 snd_intel8x0
snd_pcm 84228 3 snd_pcm_oss,snd_intel8x0,snd_ac97_codec
snd_timer 21892 1 snd_pcm
snd 48356 8 snd_pcm_oss,snd_mixer_oss,snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer
soundcore 7776 1 snd
snd_page_alloc 7940 2 snd_intel8x0,snd_pcm
r8169 22412 0
8139too 22144 0
tun 9216 2
crc32 4224 3 r8169,8139too,tun
sd_mod 13568 0
ide_cd 38276 0
cdrom 38944 1 ide_cd
agpgart 29360 4 drm,intel_mch_agp,intel_agp
psmouse 27656 0
Anybody know why I am not getting direct rendering?
|