Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Feb 2005 14:04:57 -0600
From:      Jonathan Fosburgh <jonathan@fosburgh.org>
To:        xorg@lists.freedesktop.org
Cc:        freebsd-x11@freebsd.org
Subject:   Intel i915 integrated graphics card.
Message-ID:  <200502111405.10159.jonathan@fosburgh.org>

next in thread | raw e-mail | index | archive | help
--nextPart1306025.UzUflkBS0T
Content-Type: text/plain;
  charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

My computer at work has been upgraded to a system with an integrated i915=20
graphics card.  Although I can make Xorg work with the i810 driver, I am=20
having some issues.  First off, the system is an HP  dc7100, which has no=20
AGP, just PCI express, but Xorg wants to treat it like it is AGP.  Apparent=
ly=20
this is causing video memory to be limited to 8MB.  This causes a variety o=
f=20
other things to fail, such as DRI.  I am running 6.8.1 on FreeBSD 6-CURRENT=
=2E =20
Here is the relevent section from my xorg.conf file:

Section "Device"

        #ChipSet     "RV280"
        Identifier  "Intel POS"
        Driver      "i810"
        #Card        "vga generic"
        VendorName "Intel"
        BoardName "Intel POS"
        #ChipId 0x514D
        #Option "EnablePageFlip" "on"
        #Option "AGPMode" "4"
        #Option "AGPFastWrite" "yes"
        #BusID       "PCI:1:0:0"
        VideoRam        131072
        Option "BusType" "PCIE"
EndSection

It contains some cruft from my old ATI AGP card, but that has largely been=
=20
commented out.  The "BusType" Option was a test, which doesn't work, of=20
course.  Here is what my log file shows:

(II) I810(0): detected 7932 kB stolen memory.
(EE) GARTInit: Unable to open /dev/agpgart (No such file or directory)
(WW) I810(0): /dev/agpgart is either not available, or no memory is availab=
le
for allocation.  Using pre-allocated memory only.
(WW) I810(0): VideoRAM reduced to 7932 kByte (limited to available sysmem)
(--) I810(0): Pre-allocated VideoRAM: 7932 kByte
(--) I810(0): VideoRAM: 7932 kByte
(=3D=3D) I810(0): video overlay key set to 0x101fe
(**) I810(0): page flipping disabled
(=3D=3D) I810(0): Using gamma correction (1.0, 1.0, 1.0)
(II) I810(0): BIOS Build: 3329
(II) I810(0): Using new Pipe switch code
(=3D=3D) I810(0): Device Presence: disabled.
(=3D=3D) 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.
(WW) I810(0): Extended BIOS function 0x5f64 not supported.
(WW) I810(0): Extended BIOS function 0x5f64 not supported.
(WW) I810(0): Extended BIOS function 0x5f64 not supported.
(WW) I810(0): Extended BIOS function 0x5f64 not supported.
(WW) I810(0): Extended BIOS function 0x5f64 not supported.
(WW) I810(0): Extended BIOS function 0x5f64 not supported.
(II) I810(0): Currently active displays on Pipe A:
(II) I810(0):   CRT
(II) I810(0): No active displays on Pipe B.
(=3D=3D) I810(0): Display is using Pipe A
(--) I810(0): HW Cursor disabled because it needs agpgart memory.
(--) I810(0): Maximum frambuffer space: 7784 kByte
(II) Loading sub module "ddc"
(II) LoadModule: "ddc"
(II) Loading /usr/X11R6/lib/modules/libddc.a
(II) Module ddc: vendor=3D"X.Org Foundation"
        compiled for 6.8.1, module version =3D 1.0.0
        ABI class: X.Org Video Driver, version 0.7
(II) I810(0): VESA VBE DDC supported
(II) I810(0): VESA VBE DDC Level 2
(II) I810(0): VESA VBE DDC transfer in appr. 1 sec.
(II) I810(0): VESA VBE DDC read successfully
(II) I810(0): Manufacturer: NEC  Model: 65ed  Serial#: 16843009
(II) I810(0): Year: 2003  Week: 9
=2E.....
(=3D=3D) I810(0): Default visual is TrueColor
(--) I810(0): Xv is disabled because it needs 2D accel and AGPGART.
(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: 6400 kByte
(II) I810(0): Allocated 64 kB for the scratch buffer at 0xffff0000
=2E.....
(II) I810(0): Not using built-in mode "1600x1200" (width too large for virt=
ual=20
size)
(II) I810(0): 24296 kBytes additional video memory is required to
        enable tiling mode for DRI.
(II) I810(0): 9960 kBytes additional video memory is required to enable DRI.
(II) I810(0): Disabling DRI.
(--) I810(0): Virtual size is 1280x1024 (pitch 1280)


If the full config file and log are necessary I can attach those to another=
=20
email. Note, I am assuming this is a Xorg issue and not a FreeBSD issue, bu=
t=20
I have no real, but I am copying the FreeBSD X11 list on this email because=
=20
of how pciconf reports the onboard card:

none0@pci0:2:0: class=3D0x030000 card=3D0x3005103c chip=3D0x25828086 rev=3D=
0x04=20
hdr=3D0x00
    vendor   =3D 'Intel Corporation'
    device   =3D '82915G Graphics device'
    class    =3D display
    subclass =3D VGA

I'm not sure why it would report the device as none0@, nor do I have any cl=
ue=20
as to whether this is why X is trying to probe the device as AGP, since the=
re=20
is no agp device in the system.  However, I do still have agp support in my=
=20
kernel.  Is there anything I can do to prevent X from trying to attach to a=
=20
nonexistant agp device?

I apologize for the cross-post, I do it only because of my uncertainty as t=
o=20
where the problem lies.  Thank you for any help you can give.

PS:  If there is a way to search the xorg list, I can't find it, can anyone=
=20
enlighten me on that one?
=2D-=20
Jonathan Fosburgh
AIX and Storage Administrator
UT MD Anderson Cancer Center
Houston, TX

--nextPart1306025.UzUflkBS0T
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (FreeBSD)

iD8DBQBCDQ/2qUvQmqp7omYRAqUsAKCzIB+v0mpJcqQB0eGhImOL3kJDSACfQJqE
seszRMZ/ErxvPKmaPToVIB8=
=efOn
-----END PGP SIGNATURE-----

--nextPart1306025.UzUflkBS0T--



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