Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Dec 2005 21:29:55 +0100 (CET)
From:      Oliver Fromme <olli@lurza.secnetix.de>
To:        freebsd-stable@FreeBSD.ORG
Subject:   Re: i915drm
Message-ID:  <200512192029.jBJKTtDx055502@lurza.secnetix.de>
In-Reply-To: <20051218002458.M77556@giovannelli.it>

next in thread | previous in thread | raw e-mail | index | archive | help
Gianmarco <gmarco@giovannelli.it> wrote:
 > I am running FreeBSD 6.0-STABLE (of today) on a HP Pavillon (centrino based
 > notebook with i915 graphic chipset).

Same here (Centrino, i915, not HP though).

 > I am trying to use the latest drm hook for i915, but I get this error:
 > 
 > drmsub0: <Intel i915GM> port 0x1800-0x1807 mem
 > 0xb0080000-0xb00fffff,0xc0000000-0xcfffffff,0xb0000000-0xb003ffff irq 16 at
 > device 2.0 on pci0
 > error: [drm:pid0:drm_load] *ERROR* Card isn't AGP, or couldn't initialize AGP.
 > device_attach: drmsub0 attach returned 12
 > pci0: <display> at device 2.1 (no driver attached)

Is there any mentioning of an AGP device (agp0) in your
dmesg?  If not, then that's probably the problem.  It
is interesting that your drmsub0 comes directly as a
child of pci0.  On my machine, it's a child of agp0.

I get this in dmesg:

agp0: <Intel 82915GM (915GM GMCH) SVGA controller> port 0x1800-0x1807
      mem 0xb0080000-0xb00fffff,0xc0000000-0xcfffffff,0xb0000000-0xb003ffff
      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)

That's with RELENG_6 from yesterday (Dec. 18, 12:00 GMT).
(By the way, it's normal that no driver is reported to be
attached to device 2.1.)

I'm using the latest Xorg development snapshot, which runs
fine, including 2D acceleration, hardware cursor and XVideo
extension with hardware acceleration (i.e. hardware scaler
and color space conversion).  No problems whatsoever.

 > device          agp             # support several AGP chipsets
 > device          drm             # DRM core module required by DRM drivers
 > device          i915drm         # Intel i830 through i915

I have the same entries in my kernel config.

 > and my pciconf -vl shows:
 > 
 > drmsub0@pci0:2:0:       class=0x030000 card=0x3080103c chip=0x25928086 rev=0x03 hdr=0x00
 >     vendor   = 'Intel Corporation'
 >     device   = '82915GM/GMS, 82910GML Integrated Graphics Device'
 >     class    = display
 >     subclass = VGA
 > none0@pci0:2:1: class=0x038000 card=0x3080103c chip=0x27928086 rev=0x03 hdr=0x00
 >     vendor   = 'Intel Corporation'
 >     device   = '82915GM/GMS,82910GML Mobile Express Family Graphics Controller (??)'
 >     class    = display

Just for comparison, this is mine:

agp0@pci0:2:0:  class=0x030000 card=0xc01a144d chip=0x25928086 rev=0x03 hdr=0x00
    vendor   = 'Intel Corporation'
    device   = '82915GM/GMS, 82910GML Integrated Graphics Device'
    class    = display
    subclass = VGA
none0@pci0:2:1: class=0x038000 card=0xc01a144d chip=0x27928086 rev=0x03 hdr=0x00
    vendor   = 'Intel Corporation'
    device   = '82915GM/GMS,82910GML Mobile Express Family Graphics Controller (??)'
    class    = display

Looks pretty much the same.

Best regards
   Oliver


-- 
Oliver Fromme,  secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing
Dienstleistungen mit Schwerpunkt FreeBSD: http://www.secnetix.de/bsd
Any opinions expressed in this message may be personal to the author
and may not necessarily reflect the opinions of secnetix in any way.

"I learned Java 3 years before Python.  It was my language of
choice.  It took me two weekends with Python before I was more
productive with it than with Java." -- Anthony Roberts



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