NetBSD Problem Report #56852

From www@netbsd.org  Mon May 23 13:14:25 2022
Return-Path: <www@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 2FFB21A921F
	for <gnats-bugs@gnats.NetBSD.org>; Mon, 23 May 2022 13:14:25 +0000 (UTC)
Message-Id: <20220523131353.B682B1A923A@mollari.NetBSD.org>
Date: Mon, 23 May 2022 13:13:53 +0000 (UTC)
From: jmcneill@invisible.ca
Reply-To: jmcneill@invisible.ca
To: gnats-bugs@NetBSD.org
Subject: nouveau: display fails to init with "wndw-0: timeout" (RTX 2060 SUPER)
X-Send-Pr-Version: www-1.0

>Number:         56852
>Category:       kern
>Synopsis:       nouveau: display fails to init with "wndw-0: timeout" (RTX 2060 SUPER)
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon May 23 13:15:00 +0000 2022
>Originator:     Jared McNeill
>Release:        9.99.96
>Organization:
>Environment:
NetBSD samus.invisible.ca 9.99.96 NetBSD 9.99.96 (GENERIC) #5: Sun May 22 18:30:06 ADT 2022  jmcneill@mirage.local:/Users/jmcneill/netbsd/cvs-src/obj.amd64/sys/arch/amd64/compile/GENERIC amd64

>Description:
Attempting to boot a -current kernel with an NVIDIA RTX 2060 SUPER video card fails to initialize the display. The last message printed on screen is:

[     3.690908] nouveau0: info: NVIDIA TU106 (166000a1)
[     3.800907] nouveau0: info: bios: version 90.06.4c.00.56
[     3.800907] nouveau0: interrupting at msi11 vec 0 (nouveau0)
[     3.800907] nouveau0: info: fb: 8192 MiB GDDR6

The system does otherwise boot, and I can ssh to it, where we can see the full dmesg and an error message from nouveau:

[     3.690908] nouveau0: info: NVIDIA TU106 (166000a1)
[     3.800907] nouveau0: info: bios: version 90.06.4c.00.56
[     3.800907] allocated pic msi11 type edge pin 0 level 6 to cpu1 slot 4 idt entry 99
[     3.800907] nouveau0: interrupting at msi11 vec 0 (nouveau0)
[     3.800907] nouveau0: info: fb: 8192 MiB GDDR6
[     3.830907] Zone  kernel: Available graphics memory: 22667194 KiB
[     3.830907] Zone   dma32: Available graphics memory: 2097152 KiB
[     3.830907] nouveau0: info: DRM: VRAM: 8192 MiB
[     3.830907] nouveau0: info: DRM: GART: 536870912 MiB
[     3.830907] nouveau0: info: DRM: BIT table 'A' not found
[     3.830907] nouveau0: info: DRM: BIT table 'L' not found
[     3.830907] nouveau0: info: DRM: TMDS table version 2.0
[     3.830907] nouveau0: info: DRM: DCB version 4.1
[     3.840976] nouveau0: info: DRM: DCB outp 00: 02800f66 04600020
[     3.840976] nouveau0: info: DRM: DCB outp 01: 02000f62 04620020
[     3.840976] nouveau0: info: DRM: DCB outp 02: 04022f72 00020010
[     3.840976] nouveau0: info: DRM: DCB outp 03: 02011f52 00020010
[     3.840976] nouveau0: info: DRM: DCB outp 07: 01044f32 04620030
[     3.840976] nouveau0: info: DRM: DCB conn 00: 00020046
[     3.840976] nouveau0: info: DRM: DCB conn 01: 00010161
[     3.840976] nouveau0: info: DRM: DCB conn 02: 01000261
[     3.840976] nouveau0: info: DRM: DCB conn 04: 00001431
[     3.851260] nouveau0: info: DRM: MM: using COPY for buffer copies
[     3.860906] kern info: [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[     3.860906] kern info: [drm] Driver supports precise vblank timestamp query.
[     3.890907] nouveaufb0 at nouveau0
[     3.901543] kern info: [drm] Initialized nouveau 1.3.1 20120801 for nouveau0 on minor 0
[     3.901543] nouveaufb0: framebuffer at 0x7fe0400000, size 3840x2160, depth 32, stride 15360
[     5.910898] nouveau0: autoconfiguration error: error: DRM: wndw-0: timeout

>How-To-Repeat:
Boot NetBSD -current with an RTX 2060 SUPER
>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: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2020 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.