Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp1397157ybb; Sat, 4 Apr 2020 03:14:07 -0700 (PDT) X-Google-Smtp-Source: APiQypJ1JKfMTp+lal8zHNmYbCu3jUBemm2gLrFgiXe7JzyLtsGFvOR/2YvNw5rJIL9KjS41eIJz X-Received: by 2002:aca:ecd7:: with SMTP id k206mr6166726oih.113.1585995246938; Sat, 04 Apr 2020 03:14:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585995246; cv=none; d=google.com; s=arc-20160816; b=w1T5yI3tCGIHR1kYm2MSPqtb4+DpjdQPZGThr5VK7aTaRgKIjwwWqwWVt0kP0mRqpc zCdZV+folBr1DZoEmmzjfhxhSvGC65pHbQwPs7FRlA3FLtrEGDs4zNKYhDfU+o1XEa7+ M11UpcTQ5Xb52A2r7+DGkg3a0dP738N7ji2mfpuL9dmFk/9GsWjcqO3uc22KU+MT7+S3 /Hszt8W2qxb/OdlCrFhfwQkAWLbbV+P4eN4BiInZDz4tldqAkB8+qNZjEaIZ047ZcLdM ZGWivzzlbp7tPPGNZZ9r3S5cc42t98x5jxI/jHxJDkXJ/oKUkud12HZ3hB6PCSm9GsOG UOXg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=GeMTzbF7LlzouObWVay/AAQeo7tCBHQVlLGpcudAPw4=; b=IA1yTf2nUD4qwvd9TTei3SOXbaL63Nxuq/qM+jCAod+Iza66U0DOqUafKi3fp6TWWg MFNViEwu2wvi332HxUQeH8VExHwkQ6ntaD24InBQy5t6DS3MYwFpC4U/h+GQpYx0T7IZ VeyZ0Ca3vTd3aDoIIDjpVNJZzEZIbbHNgehvlLF8Cz4Im4BskA6aaiZSLoDmZVNCu7T7 bqvS9VPDMbwsoFsJIbhlQunx8eyHEnZmemav0v2Hk3oijwRwiNeAq1sxEYNFmrM22942 b+kMBlxicWsaeSWvGwbxQ6IiQqiB01gECqQUozeI5akkt8/xSA9xzzvveFDOj8BP+/Zt iqrw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=W7gzhoNa; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r18si4874962otq.124.2020.04.04.03.13.54; Sat, 04 Apr 2020 03:14:06 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=W7gzhoNa; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726121AbgDDKNC (ORCPT + 99 others); Sat, 4 Apr 2020 06:13:02 -0400 Received: from mail-il1-f194.google.com ([209.85.166.194]:43261 "EHLO mail-il1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725943AbgDDKNB (ORCPT ); Sat, 4 Apr 2020 06:13:01 -0400 Received: by mail-il1-f194.google.com with SMTP id g15so9898255ilj.10 for ; Sat, 04 Apr 2020 03:13:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=GeMTzbF7LlzouObWVay/AAQeo7tCBHQVlLGpcudAPw4=; b=W7gzhoNa6lSOkNbi2S8HbpSz1C5WigOTOVJ/BvtvJYOEFBeWuBavlY0k+exQp5lz0s yrsyeypoL6tsIeYs80/dCGIax4jJLd0mCInB20dh2xEgunwMyHJoTS7y7+zLNlzQWTXE PZwhh4Z28bJon0G/ntEy6KS8nWzLVi3lwGrqnqxJd8MpYpalrRjUUEQTHE9NBg40C6Mf /tHAHZW/64PFrUYI9WRk1tMMEPaZarxOIYyd+Oe21NwijsMGClLtWUs1BmK2LnM+VpF+ gaa9odvKLo+aUUd6T2F/YBAtxzx26kcW51YHbvQaXBGK8r9DWOjhh7mY7kjop0N3BC1y n/Hw== 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:content-transfer-encoding; bh=GeMTzbF7LlzouObWVay/AAQeo7tCBHQVlLGpcudAPw4=; b=dBthGTpj5GkHnkc8bEaSo0tm5+MSzKTHcUcuX8So/+FXDkvC0djIn7VWnY6IpGaTIY Tp0sASmJCSeyQ40JNdPCTIbvv7zgWraA4dWOy2NUdDQep/ey3bHuM1x5TsXxRm0gJ0WY ZqC4sUIWJhVvGv3C5rBYKQlczv1s5av+J3oO5TPRMmtXU2bJnUaZ+IMqbWarfeJyY4gK ZvMda7WrqLW0m5g/rtmrJw9mfp6+yypAGrWDyouZX2BjUpzimPuZm0fP6Rx8xKTIwy2k OyStiDS81WbLI/2XpfqSi0ZS5+HFPRiHMZtBChzaLzehdgUPtQELJwpOvHguKgONI7RT UM+g== X-Gm-Message-State: AGi0Pub+d2MALYVJiXBc1Y0KE423/dIzD5HKSWG0aOywSIbzcZaKcf+1 Z3jamzws2IrvdnOXXbSdVRR+5zbzzLEVVhYyamc= X-Received: by 2002:a92:ba01:: with SMTP id o1mr12361820ili.217.1585995180647; Sat, 04 Apr 2020 03:13:00 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Zeno Davatz Date: Sat, 4 Apr 2020 12:12:49 +0200 Message-ID: Subject: Re: acr: failed to load firmware with Kernel 5.6. Kernel 5.5 works just fine. To: Ilia Mirkin Cc: Ben Skeggs , "linux-kernel@vger.kernel.org" , nouveau Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Dear Ilia FYI: On Fri, Apr 3, 2020 at 8:31 PM Ilia Mirkin wrote: > Depends on distro specifics. Also the firmware has to be available at > the time that nouveau loads. The corollary to this is: > > If it's built into the kernel, then the firmware must also be included > in the kernel (since this happens before any FS stuff) > If it's loaded as a module from initrd, then initrd must contain the firm= ware > > If you need help including firmware in the right place, a distro > support channel is probably your best shot. https://forums.developer.nvidia.com/t/nvidia-driver-does-not-work-for-kerne= l-5-6-nvidia-gp107/118413/6 /usr/src/linux> dmesg | grep nvidia [ 3.203080] nvidia: loading out-of-tree module taints kernel. [ 3.203088] nvidia: module license 'NVIDIA' taints kernel. [ 3.218324] nvidia-nvlink: Nvlink Core is being initialized, major device number 248 [ 3.218640] nvidia 0000:05:00.0: vgaarb: changed VGA decodes: olddecodes=3Dio+mem,decodes=3Dnone:owns=3Dio+mem [ 3.431032] nvidia-modeset: Loading NVIDIA Kernel Mode Setting Driver for UNIX platforms 440.64 Fri Feb 21 00:43:19 UTC 2020 [ 3.451954] [drm] [nvidia-drm] [GPU ID 0x00000500] Loading driver [ 3.451956] [drm] Initialized nvidia-drm 0.0.0 20160202 for 0000:05:00.0 on minor 1 Best Zeno On Fri, Apr 3, 2020 at 8:31 PM Ilia Mirkin wrote: > > On Fri, Apr 3, 2020 at 1:59 PM Zeno Davatz wrote: > > > > On Fri, Apr 3, 2020 at 7:23 PM Ilia Mirkin wrote= : > > > > > > On Fri, Apr 3, 2020 at 1:21 PM Zeno Davatz wrote: > > > > > > > > On Fri, Apr 3, 2020 at 6:59 PM Ilia Mirkin w= rote: > > > > > > > > > > Ben -- probably the ACR changes in 5.6 don't fall back nicely any= more > > > > > when there's no firmware? The load shouldn't be failed, just GR > > > > > disabled... > > > > > > > > > > Zeno -- if you grab linux-firmware, it should be all better. Not = sure > > > > > if you're missing it on purpose or by accident. > > > > > > > > Thank you, Ilia > > > > > > > > I will try that on my Gentoo/Funtoo machine now. So far linux-firmw= are > > > > was not needed with Kernel 5.5, so it was not installed on my machi= ne. > > > > > > It was needed on 5.5 as well. It's just that it fell back gracefully > > > without firmware, and you didn't get any acceleration features. > > > > Do I need any of these enabled for linux-firmware to load properly in > > Kernel 5.6? > > > > -*- Firmware loading facility > > =E2=94=82 =E2=94=82 () Build = named firmware > > blobs into the kernel binary > > =E2=94=82 =E2=94=82 [ ] Enable= the firmware > > sysfs fallback mechanism > > =E2=94=82 =E2=94=82 [ ] Enable= compressed > > firmware support > > Depends on distro specifics. Also the firmware has to be available at > the time that nouveau loads. The corollary to this is: > > If it's built into the kernel, then the firmware must also be included > in the kernel (since this happens before any FS stuff) > If it's loaded as a module from initrd, then initrd must contain the firm= ware > > If you need help including firmware in the right place, a distro > support channel is probably your best shot. > > Cheers, > > -ilia