Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Dec 2005 09:37:50 +0100
From:      Gianmarco Giovannelli <freebsd@gimbo.org>
To:        Alexey Popov <llp@iteranet.com>
Cc:        stable@freebsd.org
Subject:   Re: i915drm
Message-ID:  <7.0.0.16.2.20051220090629.04ba99e8@gimbo.org>
In-Reply-To: <43A7ACEC.50605@iteranet.com>
References:  <200512192029.jBJKTtDx055502@lurza.secnetix.de> <43A74DBA.3000609@tvnetwork.hu> <43A7ACEC.50605@iteranet.com>

next in thread | previous in thread | raw e-mail | index | archive | help
At 08.04 20/12/2005, you wrote:
>Hi.
>
>L=E1szl=F3 K=E1roly wrote:
>>> > drmsub0: <Intel i915GM> port 0x1800-0x1807 mem
>>> >=20
>>> 0xb0080000-0xb00fffff,0xc0000000-0xcfffffff,0xb0000000-0xb003ffff irq 16=
 at
>>> > device 2.0 on pci0
>>> > error: [drm:pid0:drm_load] *ERROR* Card=20
>>> isn't AGP, or couldn't initialize AGP.
>>> > device_attach: drmsub0 attach returned 12
>>> > pci0: <display> at device 2.1 (no driver attached)
>i915 DRM is not fully supported in -stable. You=20
>may try 7-current or this hack: ftp://213.85.11.250/pub/drm3.patch .

Thanks for the input.

I have applied the patch et voila' :-)

pci0: <ACPI PCI bus> on pcib0
agp0: <Intel 82915GM (915GM GMCH) SVGA=20
controller> port 0x1800-0x1807 mem=20
0xb0080000-0xb00fffff,0xc0000000-0xcfffffff,0xb0000000-0xb003ffff=20
irq 16 at device 2.0 on pci0
agp0: detected 7932k stolen memory
agp0: aperture size is 256M
drmsub0: <Intel i915GM>: (child of agp_i810.c) on agp0
info: [drm] AGP at 0xb0080000 0MB
info: [drm] Initialized i915 1.2.0 20041217
pci0: <display> at device 2.1 (no driver attached)

Uhm... we are a very big step ahead :-)

But ...

hp:/home/gmarco> glxgears
ERROR: line 125, Function intelInitDriver, File intel_screen.c
libGL warning: 3D driver returned no fbconfigs.
libGL error: InitDriver failed
libGL error: reverting to (slow) indirect rendering
1024 frames in 5.0 seconds =3D 204.800 FPS
1260 frames in 5.0 seconds =3D 252.000 FPS
1267 frames in 5.0 seconds =3D 253.400 FPS

(before patch it used to be about 600)

and glxinfo:
name of display: :0.0
display: :0  screen: 0
direct rendering: No
server glx vendor string: SGI
server glx version string: 1.2
server glx extensions:
[...]

even if the xorg.log:
(II) Loading sub module "int10"
(II) LoadModule: "int10"
(II) Reloading /usr/X11R6/lib/modules/libint10.so
(II) I810(0): initializing int10
(=3D=3D) I810(0): Write-combining range (0xa0000,0x20000) was already clear
(WW) I810(0): Bad V_BIOS checksum
(II) I810(0): Primary V_BIOS segment is: 0xc000
(=3D=3D) I810(0): Write-combining range (0x0,0x1000) was already clear
(II) I810(0): VESA BIOS detected
(II) I810(0): VESA VBE Version 3.0
(II) I810(0): VESA VBE Total Mem: 7872 kB
(II) I810(0): VESA VBE OEM:=20
Intel(r)915GM/910ML/915MS 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:=20
Intel(r)915GM/910ML/915MS Graphics Controller
(II) I810(0): VESA VBE OEM Product Rev: Hardware Version 0.0
(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: 8192 kByte
(II) I810(0): Allocated 4 kB for HW cursor at 0xffff000 (0x2e3c0000)
(WW) I810(0): xf86AllocateGARTMemory: allocation of 4 pages failed
         (Cannot allocate memory)
(EE) I810(0): Failed to allocate HW (ARGB) cursor space.
(II) I810(0): Allocated 4 kB for Overlay registers at 0xfffe000=
 (0x2e9a1000).
(II) I810(0): Allocated 64 kB for the scratch buffer at 0xffee000
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 0xc4d80000
(II) I810(0): [drm] mapped SAREA 0xc4d80000 to 0x286c9000
(II) I810(0): [drm] framebuffer handle =3D 0xc0020000
(II) I810(0): [drm] added 1 reserved context for kernel
(II) I810(0): Allocated 6144 kB for the back buffer at 0xf000000.
(II) I810(0): Allocated 6144 kB for the depth buffer at 0xe800000.
(II) I810(0): Allocated 32 kB for the logical context at 0xe7f8000.
(II) I810(0): Allocated 44800 kB for textures at 0x820000
(II) I810(0): Updated framebuffer allocation size from 8192 to 8216 kByte
(II) I810(0): Updated pixmap cache from 256 scanlines to 259 scanlines
(II) I810(0): 0x81e592c: Memory at offset 0x00020000, size 8216 kBytes
(II) I810(0): 0x81e3320: Memory at offset 0x0ffff000, size 4 kBytes
(II) I810(0): 0x81e3340: Memory at offset 0x00000000, size 0 kBytes
(II) I810(0): 0x81e0f84: Memory at offset 0x00000000, size 128 kBytes
(II) I810(0): 0x81e596c: Memory at offset 0x0ffee000, size 64 kBytes
(II) I810(0): 0x81e3360: Memory at offset 0x0fffe000, size 4 kBytes
(II) I810(0): 0x81e59bc: Memory at offset 0x0f000000, size 6144 kBytes
(II) I810(0): 0x81e59dc: Memory at offset 0x0e800000, size 6144 kBytes
(II) I810(0): 0x81e5a1c: Memory at offset 0x0e7f8000, size 32 kBytes
(II) I810(0): 0x81e59fc: Memory at offset 0x00820000, size 44800 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 =3D 0xb0080000
(II) I810(0): [drm] Back Buffer =3D 0xcf000000
(II) I810(0): [drm] Depth Buffer =3D 0xce800000
(II) I810(0): [drm] ring buffer =3D 0xc0000000
(II) I810(0): [drm] textures =3D 0xc0820000
(II) I810(0): [drm] dma control initialized, using IRQ 16
(II) I810(0): [drm] Initialized kernel agp heap manager, 45875200
(II) I810(0): [dri] visual configs initialized
(=3D=3D) I810(0): Removed Write-combining range (0xb0080000,0x80000)
(=3D=3D) I810(0): Write-combining range (0xc0000000,0x10000000)
(II) I810(0): vgaHWGetIOBase: hwp->IOBase is 0x03d0, hwp->PIOOffset is=
 0x0000
(=3D=3D) I810(0): Write-combining range (0xa0000,0x10000) was already clear
(WW) I810(0): Extended BIOS function 0x5f05 failed.
(II) I810(0): xf86BindGARTMemory: bind key 7 at 0x007bf000 (pgoffset 1983)
(II) I810(0): xf86BindGARTMemory: bind key 1 at 0x0ffff000 (pgoffset 65535)
(II) I810(0): xf86BindGARTMemory: bind key 3 at 0x0ffee000 (pgoffset 65518)
(II) I810(0): xf86BindGARTMemory: bind key 2 at 0x0fffe000 (pgoffset 65534)
(II) I810(0): xf86BindGARTMemory: bind key 4 at 0x0f000000 (pgoffset 61440)
(II) I810(0): xf86BindGARTMemory: bind key 5 at 0x0e800000 (pgoffset 59392)
(II) I810(0): xf86BindGARTMemory: bind key 6 at 0x0e7f8000 (pgoffset 59384)
(II) I810(0): Display plane A is disabled and connected to Pipe A.
(II) I810(0): Display plane B is enabled and connected to Pipe B.
(II) I810(0): Enabling plane B.
(II) I810(0): Display plane A is now disabled and connected to Pipe A.
(II) I810(0): Display plane B is now enabled and connected to Pipe B.
(II) I810(0): PIPEACONF is 0x00000000
(II) I810(0): PIPEBCONF is 0x80000000
(II) I810(0): Mode bandwidth is 58 Mpixel/s
(II) I810(0): maxBandwidth is 1088 Mbyte/s, pipe=20
bandwidths are 264 Mbyte/s, 0 Mbyte/s
(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
                 9 256x256 slots
(=3D=3D) I810(0): Backing store disabled
(=3D=3D) I810(0): Silken mouse enabled
(II) I810(0): Initializing HW Cursor
(**) Option "dpms" "true"
(**) I810(0): DPMS enabled
(II) I810(0): X context handle =3D 0x1
(II) I810(0): [drm] installed DRM signal handler
(II) I810(0): [DRI] installation complete
(II) I810(0): direct rendering: Enabled


Any idea ??? Thanks anyway for the patch I'll continue to test it ...





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7.0.0.16.2.20051220090629.04ba99e8>