From nobody@FreeBSD.org  Wed Mar 22 07:38:08 2006
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 0421116A401
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 22 Mar 2006 07:38:08 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id CC03843D46
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 22 Mar 2006 07:38:07 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id k2M7c7Ii036883
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 22 Mar 2006 07:38:07 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id k2M7c7W2036881;
	Wed, 22 Mar 2006 07:38:07 GMT
	(envelope-from nobody)
Message-Id: <200603220738.k2M7c7W2036881@www.freebsd.org>
Date: Wed, 22 Mar 2006 07:38:07 GMT
From: Lucas <morgothdbma@o2.pl>
To: freebsd-gnats-submit@FreeBSD.org
Subject: DRM doesnt't work with i915.ko
X-Send-Pr-Version: www-2.3

>Number:         94823
>Category:       kern
>Synopsis:       [drm] DRM doesnt't work with i915.ko
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Mar 22 07:40:13 GMT 2006
>Closed-Date:    Fri Oct 30 12:51:00 UTC 2009
>Last-Modified:  Fri Oct 30 12:51:00 UTC 2009
>Originator:     Lucas
>Release:        6.1-BETA4 i386
>Organization:
Innsoft Sp. z.o.o Warszawa
>Environment:
FreeBSD 6.1-BETA4 CENTURION /usr/src/sys/i386/compile/CENTURION i386
>Description:
I have agpart compiled into kernel (tried compiling in or use as module)
kldloading i915.ko displays that everything is OK, 
"initialized drm0" etc.
device node /dev/drm/card0 appears
but X (xorg-6.8.2) says (EE) Cannot allocate HW cursor or something like that
ang glxinfo gives
Direct rendering: No
>How-To-Repeat:
happens every time I start X
>Fix:
??

Please give me some fast method to fix this up, I really need HWaccelerated 
OGL on my FreeBSD box...
>Release-Note:
>Audit-Trail:

From: Oliver Fromme <olli@lurza.secnetix.de>
To: bug-followup@FreeBSD.ORG, morgothdbma@o2.pl
Cc:  
Subject: Re: kern/94823: DRM doesnt't work with i915.ko
Date: Wed, 22 Mar 2006 13:45:59 +0100 (CET)

 Lucas <morgothdbma@o2.pl> wrote:
  > > Environment:
  > FreeBSD 6.1-BETA4 CENTURION /usr/src/sys/i386/compile/CENTURION i386
 
 Nice.  My Centrino notebook is named CENTAUR.  :-)
 
  > > Description:
  > I have agpart compiled into kernel (tried compiling in or use as module)
  > kldloading i915.ko displays that everything is OK, 
  > "initialized drm0" etc.
  > device node /dev/drm/card0 appears
  > but X (xorg-6.8.2) says [...]
 
 I had the same problem.  To solve it, you need to use the
 latest Xorg 6.9.  Deinstall all of your Xorg packages,
 update your ports collection, and then install the latest
 Xorg 6.9 stuff and DRI port.  Then it will work.
 
 If you're interested, here's the dmesg, Xorg.log and output
 from glxinfo and various other things from my i915 notenook:
 http://www.secnetix.de/~olli/dmesg/centaur/
 
 These are some of the packages required ("pkg_info" output):
 
 dri-6.4.1,2
 libdrm-2.0
 libglut-6.4.1
 xorg-clients-6.9.0_1
 xorg-libraries-6.9.0
 xorg-server-6.8.99.903
 
 Any later versions should work, too.
 
 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.
 
 "And believe me, as a C++ programmer, I don't hesitate to question
 the decisions of language designers.  After a decent amount of C++
 exposure, Python's flaws seem ridiculously small." -- Ville Vainio
State-Changed-From-To: open->closed 
State-Changed-By: rnoland 
State-Changed-When: Fri Oct 30 12:50:59 UTC 2009 
State-Changed-Why:  
This should have been fixed long ago, if not please file a new but with 
current details and more info. 

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