NetBSD Problem Report #44551

From www@NetBSD.org  Fri Feb 11 21:56:27 2011
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by www.NetBSD.org (Postfix) with ESMTP id 748C263B8BA
	for <gnats-bugs@gnats.NetBSD.org>; Fri, 11 Feb 2011 21:56:27 +0000 (UTC)
Message-Id: <20110211215626.A126563B842@www.NetBSD.org>
Date: Fri, 11 Feb 2011 21:56:26 +0000 (UTC)
From: jmcneill@invisible.ca
Reply-To: jmcneill@invisible.ca
To: gnats-bugs@NetBSD.org
Subject: i915 and i965 DRI doesn't work with latest MesaLib
X-Send-Pr-Version: www-1.0

>Number:         44551
>Category:       xsrc
>Synopsis:       i915 and i965 DRI doesn't work with latest MesaLib
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    xsrc-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Feb 11 22:00:01 +0000 2011
>Originator:     Jared McNeill
>Release:        5.99.45
>Organization:
>Environment:
NetBSD black 5.99.45 NetBSD 5.99.45 (GENERIC) #124: Thu Feb 10 19:22:38 EST 2011  jmcneill@black:/home/jmcneill/branches/HEAD/src/sys/arch/i386/compile/obj/GENERIC i386
>Description:
From Xorg.0.log:

[   413.249] (EE) AIGLX error: i965 does not export required DRI extension
[   413.269] (EE) AIGLX: reverting to software rendering  
[   413.360] (II) AIGLX: Loaded and initialized /usr/X11R7/lib/modules/dri/swrast_dri.so
[   413.360] (II) GLX: Initialized DRISWRAST GL provider for screen 0


MesaLib src/mesa/drivers/dri/intel/intel_screen.c has:

/* This is the table of extensions that the loader will dlsym() for. */
PUBLIC const __DRIextension *__driDriverExtensions[] = {
    &driCoreExtension.base, 
    &driDRI2Extension.base,
    NULL
}; 

Note the missing '&driLegacyExtension.base,' line. Turns out DRI1 support was dropped upstream:

http://cgit.freedesktop.org/mesa/mesa/commit/?id=48c0ff14240044935049a1114edfc69bc6682b95

DRI2 does not work either:

[   411.883] (WW) intel(0): DRI2 requires UXA

and the xf86-video-intel driver on NetBSD is built without UXA support.
>How-To-Repeat:

>Fix:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2014 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.