From wefa@tnd37.tnd.arcor.net  Wed Jun 15 21:27:30 2005
Return-Path: <wefa@tnd37.tnd.arcor.net>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 0051216A41C
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 15 Jun 2005 21:27:29 +0000 (GMT)
	(envelope-from wefa@tnd37.tnd.arcor.net)
Received: from mail.arcor.net (mail.arcor.net [145.253.32.2])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 8031943D1F
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 15 Jun 2005 21:27:26 +0000 (GMT)
	(envelope-from wefa@tnd37.tnd.arcor.net)
Received: from mail-gw-1.arcor.net (sunp01-2.arcor.net [10.128.5.248])
	by mail.arcor.net (8.13.1/8.13.1) with ESMTP id j5FLRODq003852
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 15 Jun 2005 23:27:24 +0200 (MEST)
Received: from tnd11.tnd.arcor.net (esbanl-1ug-1-p2.arcor.net [10.128.5.69])
	by mail-gw-1.arcor.net (8.13.1/8.13.1) with ESMTP id j5FLROhp010975
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 15 Jun 2005 23:27:24 +0200 (MEST)
Received: from tnd37.tnd.arcor.net (tnd37.tnd.arcor.net [10.128.4.177])
	by tnd11.tnd.arcor.net (8.12.11/8.12.11) with ESMTP id j5FLRN0p008093
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 15 Jun 2005 23:27:24 +0200 (MET DST)
Received: from tnd37.tnd.arcor.net (localhost [127.0.0.1])
	by tnd37.tnd.arcor.net (8.13.3/8.13.1) with ESMTP id j5FLRL5T071589
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 15 Jun 2005 23:27:21 +0200 (CEST)
	(envelope-from wefa@tnd37.tnd.arcor.net)
Received: (from root@localhost)
	by tnd37.tnd.arcor.net (8.13.3/8.13.1/Submit) id j5FLRKii071572;
	Wed, 15 Jun 2005 23:27:20 +0200 (CEST)
	(envelope-from wefa)
Message-Id: <200506152127.j5FLRKii071572@tnd37.tnd.arcor.net>
Date: Wed, 15 Jun 2005 23:27:20 +0200 (CEST)
From: Christoph Weber-Fahr <wefa@tnd37.tnd.arcor.net>
Reply-To: Christoph Weber-Fahr <cwf-ml@arcor.de>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: i915 support is broken
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         82295
>Category:       kern
>Synopsis:       i915 support is broken
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jun 15 21:30:16 GMT 2005
>Closed-Date:    Sat Jul 23 03:27:42 GMT 2005
>Last-Modified:  Sat Jul 23 03:27:42 GMT 2005
>Originator:     Christoph Weber-Fahr
>Release:        FreeBSD 5.4-PRERELEASE i386
>Organization:
Arcor AG
>Environment:
System: FreeBSD tnd37.tnd.arcor.net 5.4-PRERELEASE FreeBSD 5.4-PRERELEASE #0: Wed Apr 27 19:44:28 CEST 2005 wefa@tnd37.tnd.arcor.net:/usr/obj/usr/src/sys/HPDC7100 i386

HP Compaq dc7100. It has an Intel i915 Chip set based embedded
Graphics controller.

the kernel file contains the line

device          agp

>Description:

X cant correctly support the i915 embedded graphics
controller because lacking/broken kernel facilities.

Symptom (from the X output):

  (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 available
  for allocation.  Using pre-allocated memory only.
  (WW) I810(0): VideoRAM reduced to 7932 kByte (limited to available sysmem)

I reported this bug to the X.org folks (see [1]) and got the following 
answer:

"Although it's PCI express, there's still a GART system. Basically 
FreeBSD needs to port the Linux kernel changes for AGPGART to it's kernel."

[1] https://bugs.freedesktop.org/show_bug.cgi?id=2741

>How-To-Repeat:
	use X
>Fix:
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: linimon 
State-Changed-When: Sat Jul 23 03:26:38 GMT 2005 
State-Changed-Why:  
This is essentially the same as kern/80396 which has a great deal more 
followup, sample configs, and especially, patches.  I have migrated the 
content of this PR to that one.  Thanks for the submission. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=82295 
>Unformatted:
