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:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Feb 11 22:00:01 +0000 2011
>Closed-Date:    Sun Nov 25 18:00:27 +0000 2018
>Last-Modified:  Sun Nov 25 18:00:27 +0000 2018
>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:

>Release-Note:

>Audit-Trail:

State-Changed-From-To: open->closed
State-Changed-By: maya@NetBSD.org
State-Changed-When: Sun, 25 Nov 2018 18:00:27 +0000
State-Changed-Why:
fixed by now.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.43 2018/01/16 07:36:43 maya Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2017 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.