NetBSD Problem Report #55827

From  Fri Nov 27 06:35:07 2020
Return-Path: <>
Received: from ( [])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "", Issuer " CA" (not verified))
	by (Postfix) with ESMTPS id AACD41A9217
	for <>; Fri, 27 Nov 2020 06:35:07 +0000 (UTC)
Message-Id: <>
Date: Thu, 26 Nov 2020 14:14:21 -0500 (EST)
Subject: variety of Ironlake graphics boards: 3D and 2D acceleration performance problems/crashes on *UXA*
X-Send-Pr-Version: 3.95

>Number:         55827
>Category:       kern
>Synopsis:       Performance problems and non-working 3D on Ironlake
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Nov 27 06:40:00 +0000 2020
>Originator:     Jackson Bryn
>Release:        NetBSD 9.99.75
System: NetBSD 9.99.75 NetBSD 9.99.75 (GENERIC) #0: Mon Nov 16 14:12:46 UTC 2020 amd64
Architecture: x86_64
Machine: amd64
Best demonstrated with X11.

With the intel driver on native Xorg, problems with acceleration rely beyond SNA not working.
Even with UXA enabled instead, while dragging and other basic parts of 2D acceleration does work unlike SNA, complex canvases fail at acceleration and instead appear to fallback to software. 3D support through native MesaLib essentially locks up, and sometimes crashes and reports this message.
`i965: failed to submit batchbuffer`

An actual fix to the KMS code needs to be implemented at some point, instead of haughty workarounds. Note that none of these bugs happen with biosboot plus VESA drivers (disabling modesetting).

Tested with the Dell Latitude E5510 and the HP ProBook 8440p.
Build firefox on pkgsrc with native X/Mesa linkage, and watch as the canvas creating tearing and failing to get past 30 to 40fps. On biosboot/VESA, it can achieve a constant 60fps. WebGL context using hardware will also fail to be created, instead resorting to llvmpipe fallback.

Launch glxgears and see that it fails to render anything past the first two frames or so. Drag it around, and it should crash.
Unable to suggest a fix.

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.46 2020/01/03 16:35:01 leot Exp $
$NetBSD:,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2020 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.