Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp8553447pxu; Sun, 27 Dec 2020 10:30:57 -0800 (PST) X-Google-Smtp-Source: ABdhPJxOLwfTUI1Bcw8d/lk3zlJGyxwBiDOwFfvwTt7fcCUCzAIrO9NBiORKEI66cnGK5WE6HSrx X-Received: by 2002:a17:906:934c:: with SMTP id p12mr39794457ejw.361.1609093857792; Sun, 27 Dec 2020 10:30:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609093857; cv=none; d=google.com; s=arc-20160816; b=kQGcizJHaVKc6nfQx4HCQQm6rJXUNDlhTulMPoYpWgGpvSB0otzNSa0vAYM4Gw695h B2HyPJ82tMbJ6vCmo2NcW5zzhoeGAWzKVlDMUsjp/e5wmt5iKVENh+n1ed0ijpdXF5oK LViFBP6KONPOmkLS2KoS8GdV13eh99V+U4UgwzPCoRoX4dT/rAsHXcjm/1fWseccRJft Jm7x6onkY3DPqXhMunFjOGxzWi6Nob09KUVqBxRnWTeLpiRHaHARhy1uqLYfwwFk0zOd YAALaPrFnmPV/4isjTmcwMl3CYLdEW/pZYt+HB7t9FCvGrWrjvjxqs5DYr0gDUnW04oZ aVuw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version; bh=CHXagY3A/DK4pEpN7boYvTeZV4qY/yf7WrSua4i2PV8=; b=THk3TDhVY8TUJFJvSWMWsnsch2FmwuTWkxlwUeZM67MZ1HvCHvRhV1NFRWsjXErGKw LOVWtPv8s+8jfPZg/RSDh3VxEMajLlvZW1oipS+4oMHEisyuHO/WW3uftFG49TF4iAmi llnQzeOPiuBp8gtX339MALY21ju7u6lsm3Q45fN50l7g3ep9SQ+vIHOaeOKkWy0TWeQC N9dD0r+6rNqs4mVFUX7bLTOCtJ83MEJWNvjP84mqf+rPYnfuw0mmFrYZ9Vfho3DeUHHV wRn/N9h8PDFaJkJH7KUitBWO1eNBSC3M8BbK5jHdxzK2aWyXj4075LseSQhBktgs6lsM NRfA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id bf17si18772333edb.344.2020.12.27.10.30.30; Sun, 27 Dec 2020 10:30:57 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726116AbgL0S2z (ORCPT + 99 others); Sun, 27 Dec 2020 13:28:55 -0500 Received: from mail-ua1-f53.google.com ([209.85.222.53]:38890 "EHLO mail-ua1-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725975AbgL0S2y (ORCPT ); Sun, 27 Dec 2020 13:28:54 -0500 Received: by mail-ua1-f53.google.com with SMTP id j59so2732653uad.5; Sun, 27 Dec 2020 10:28:38 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=CHXagY3A/DK4pEpN7boYvTeZV4qY/yf7WrSua4i2PV8=; b=qzkBdntEP/1gH7TEIYZg6UdGx88ClwehGinPsHa7ulQjE72CPtlvxPiMp/3lgjcYHu 1tDO6EeZp9pOKVOMDxHn5xMeBlxUcgqxC3tU5+Yv5TaM9xKyzXy51nwpcY8MvTyjFXnl 6ZhFYSJLct33BAwkoOjfJhGmUyb9kN2cBb5leM/pnxDJWYipzhy6D3fg67ZecHFaKLK8 dLk/XEnucEO0qJ5qWSLZ7uDIGUcZJF8bho9wyyA0xBmDI4iKbWObK6lh1GeaiDyWNuzN syvzgR1OIrYNMC+Xh/cDRcRuzYFmXwVpKXmsY9SHUmZaM6FP0959VyU92IM/MhpURyfN M3fg== X-Gm-Message-State: AOAM531OuuiRoSJKmdilSGm4AQqFqPSEnyNCnz+Z18Q+bk6/kHmh7B68 9K3JUSDKkqrBZVUm59I6ZAq05jxPJETZsZL7Dcc= X-Received: by 2002:ab0:3806:: with SMTP id x6mr26004284uav.58.1609093693309; Sun, 27 Dec 2020 10:28:13 -0800 (PST) MIME-Version: 1.0 References: <20200908002935.GD20064@merlins.org> <20200529180315.GA18804@merlins.org> <20201226111209.GA2498@merlins.org> In-Reply-To: <20201226111209.GA2498@merlins.org> From: Ilia Mirkin Date: Sun, 27 Dec 2020 13:28:02 -0500 Message-ID: Subject: Re: [Nouveau] 5.9.11 still hanging 2mn at each boot and looping on nvidia-gpu 0000:01:00.3: PME# enabled (Quadro RTX 4000 Mobile) To: Marc MERLIN Cc: nouveau , Linux PCI , Mika Westerberg , LKML Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Dec 27, 2020 at 12:03 PM Marc MERLIN wrote: > > This started with 5.5 and hasn't gotten better since then, despite some reports > I tried to send. > > As per my previous message: > I have a Thinkpad P70 with hybrid graphics. > 01:00.0 VGA compatible controller: NVIDIA Corporation GM107GLM [Quadro M600M] (rev a2) > that one works fine, I can use i915 for the main screen, and nouveau to > display on the external ports (external ports are only wired to nvidia > chip, so it's impossible to use them without turning the nvidia chip > on). > > I now got a newer P73 also with the same hybrid graphics (setup as such > in the bios). It runs fine with i915, and I don't need to use external > display with nouveau for now (it almost works, but I only see the mouse > cursor on the external screen, no window or anything else can get > displayed, very weird). > 01:00.0 VGA compatible controller: NVIDIA Corporation TU104GLM [Quadro RTX 4000 Mobile / Max-Q] (rev a1) Display offload usually requires acceleration -- the copies are done using the DMA engine. Please make sure that you have firmware available (and a new enough mesa). The errors suggest that you don't have firmware available at the time that nouveau loads. Depending on your setup, that might mean the firmware has to be built into the kernel, or available in initramfs. (Or just regular filesystem if you don't use a complicated boot sequence. But many people go with distro defaults, which do have this complexity.) > > > after boot, when it gets the right trigger (not sure which ones), it > loops on this evern 2 seconds, mostly forever. The gpu suspends with runtime pm. And then gets woken up for some reason (could be something quite silly, like lspci, or could be something explicitly checking connectors, etc). Repeat. Cheers, -ilia