Received: by 2002:a05:7412:b10a:b0:f3:1519:9f41 with SMTP id az10csp1790142rdb; Sat, 2 Dec 2023 09:16:57 -0800 (PST) X-Google-Smtp-Source: AGHT+IEg3h310OybNLU8u186nmsY07CoVnKDGSBYKrVDeVfISQ4gA3hZOApHBn9P0WnhuE6DKvOp X-Received: by 2002:a05:6a00:1ace:b0:6cb:4bd5:a4c5 with SMTP id f14-20020a056a001ace00b006cb4bd5a4c5mr2080444pfv.9.1701537416900; Sat, 02 Dec 2023 09:16:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701537416; cv=none; d=google.com; s=arc-20160816; b=IUS1LlnbvwKaCLyfhK3OmryuWxd5AmBlAcS3PVo1FRISkFqyIe3kftUduAs1QRdvFU ILWcxBtTGGmAJKmTsZUsfsIhWIgwgvx0UNOPVLJ1tMR3j1wknH3wck2oF6FqJUnLesMd Ve1xGOkAuE+Aq/pEWiaBCIcZKIGkEBtcCp+7GA4fckJbRhDGNN1grNhc9RIxmeZZzxqU Ply4Nc77IusJ9tby+lgGLnWZiz3Y5VfFrBKqfw97LLfQDSrJYn6/mxrtV3Z+Zdqo2nER N5uZjBpjM9rbnTMmMovyBtUgfYbCZt+jyZK5hwfe4kgHQolXtYKlPYg44Zroyw9cz9Hd 33Ng== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:content-disposition:mime-version :message-id:subject:cc:to:from:date; bh=rObGdYPWQJPs7O3u6gVdbLSEbHikWoOYTpw3W8/7dok=; fh=d5WoDt1cu9iRtNQTQSafIwn7HbzCEouXyqKF4ITyqi4=; b=VCq4Ebfe/Otp/qRBuacgtUv9jV7OHMyauBI6ceJlty4gKE6eEeYKAPE9hpGQjJytLN V6RVe1Zf4xd+HKgpC2+ZcUMBsjzBGMMhOVO2FNNI9Hzk5WIeBoD2PWXYdDQA9lMMNJM7 lAvdyicufiwbgY2ywP5x9fTmPdbW5HWQgUQHPczDwNrX+WIghIOQsvug/PGP1sdXbuLE y1jgBGLWhxnvaSvD0CoyON5gL2Zq+Rl5mty6Z1WSw9VH1OCuV8JAb4vsVp6838gmwmDl vJvnLwV7NL95K3x+b5QR9DdI8OJK8/Lf9m/kDv4XdHb0i8qC5XDVNG9Gyf9fcShRIggS Ix3g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from morse.vger.email (morse.vger.email. [23.128.96.31]) by mx.google.com with ESMTPS id u22-20020a63d356000000b005c5e24c7e8csi5409568pgi.414.2023.12.02.09.16.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 02 Dec 2023 09:16:56 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) client-ip=23.128.96.31; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id B505F80A9E0F; Sat, 2 Dec 2023 09:16:45 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231719AbjLBRNX (ORCPT + 99 others); Sat, 2 Dec 2023 12:13:23 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36516 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230239AbjLBRNW (ORCPT ); Sat, 2 Dec 2023 12:13:22 -0500 Received: from mail1.merlins.org (magic.merlins.org [209.81.13.136]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C96B7129 for ; Sat, 2 Dec 2023 09:13:27 -0800 (PST) Received: from merlin by mail1.merlins.org with local (Exim 4.94.2 #2) id 1r9TYU-0007ZD-K8 by authid ; Sat, 02 Dec 2023 09:13:26 -0800 Date: Sat, 2 Dec 2023 09:13:26 -0800 From: Marc MERLIN To: Linux Kernel Mailing List , Linux DRI Development , Linux Nouveau Cc: "Paul E. McKenney" Subject: Thinkpad P17 gen 2 kernel 6.4 and 6.6 lack of support for nvidia GA104GLM [RTX A5000 Mobile] and missing module firmware Message-ID: <20231202171326.GB24486@merlins.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Sysadmin: BOFH X-URL: http://marc.merlins.org/ User-Agent: Mutt/1.10.1 (2018-07-13) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: marc@merlins.org X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (morse.vger.email [0.0.0.0]); Sat, 02 Dec 2023 09:16:46 -0800 (PST) Howdy, I'm trying a Thnkpad P17 gen2, the last thinkpad that still comes in 17" 4K (newer ones are 16" only, so I'm looking for other worthwhile linux laptops with 17" or bigger LCD that also does 4K, the alienware I saw was 18" but not 4K) Unfortunately I seem to need the nouveau driver to turn off the nvidia chip I don't plan on using (intel graphics is fine for me), and bios only allows 'bybrid' or nvidia only) On my P73, nouveau never really worked in the 3 years I've had it, but it could at least turn off the nvidia chip. On P17gen2 it does not seem to be able to do so. Firmware is missing even from the latest firmware-linux-nonfree or from upstream git https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git sauron:~# update-initramfs -v -c -k `uname -r` 2>&1 |grep W: W: Possible missing firmware /lib/firmware/nvidia/ga107/acr/ucode_ahesasc.bin for module nouveau W: Possible missing firmware /lib/firmware/nvidia/ga106/acr/ucode_ahesasc.bin for module nouveau W: Possible missing firmware /lib/firmware/nvidia/ga104/acr/ucode_ahesasc.bin for module nouveau W: Possible missing firmware /lib/firmware/nvidia/ga103/acr/ucode_ahesasc.bin for module nouveau W: Possible missing firmware /lib/firmware/nvidia/ga107/acr/ucode_asb.bin for module nouveau W: Possible missing firmware /lib/firmware/nvidia/ga106/acr/ucode_asb.bin for module nouveau W: Possible missing firmware /lib/firmware/nvidia/ga104/acr/ucode_asb.bin for module nouveau W: Possible missing firmware /lib/firmware/nvidia/ga103/acr/ucode_asb.bin for module nouveau W: Possible missing firmware /lib/firmware/nvidia/ga107/acr/ucode_unload.bin for module nouveau W: Possible missing firmware /lib/firmware/nvidia/ga106/acr/ucode_unload.bin for module nouveau W: Possible missing firmware /lib/firmware/nvidia/ga104/acr/ucode_unload.bin for module nouveau W: Possible missing firmware /lib/firmware/nvidia/ga103/acr/ucode_unload.bin for module nouveau W: Possible missing firmware /lib/firmware/nvidia/ga107/nvdec/scrubber.bin for module nouveau W: Possible missing firmware /lib/firmware/nvidia/ga106/nvdec/scrubber.bin for module nouveau W: Possible missing firmware /lib/firmware/nvidia/ga104/nvdec/scrubber.bin for module nouveau W: Possible missing firmware /lib/firmware/nvidia/ga103/nvdec/scrubber.bin for module nouveau W: Possible missing firmware /lib/firmware/nvidia/ga107/sec2/hs_bl_sig.bin for module nouveau W: Possible missing firmware /lib/firmware/nvidia/ga107/sec2/sig.bin for module nouveau W: Possible missing firmware /lib/firmware/nvidia/ga107/sec2/image.bin for module nouveau W: Possible missing firmware /lib/firmware/nvidia/ga107/sec2/desc.bin for module nouveau W: Possible missing firmware /lib/firmware/nvidia/ga106/sec2/hs_bl_sig.bin for module nouveau W: Possible missing firmware /lib/firmware/nvidia/ga106/sec2/sig.bin for module nouveau W: Possible missing firmware /lib/firmware/nvidia/ga106/sec2/image.bin for module nouveau W: Possible missing firmware /lib/firmware/nvidia/ga106/sec2/desc.bin for module nouveau W: Possible missing firmware /lib/firmware/nvidia/ga104/sec2/hs_bl_sig.bin for module nouveau W: Possible missing firmware /lib/firmware/nvidia/ga104/sec2/sig.bin for module nouveau W: Possible missing firmware /lib/firmware/nvidia/ga104/sec2/image.bin for module nouveau W: Possible missing firmware /lib/firmware/nvidia/ga104/sec2/desc.bin for module nouveau W: Possible missing firmware /lib/firmware/nvidia/ga103/sec2/hs_bl_sig.bin for module nouveau W: Possible missing firmware /lib/firmware/nvidia/ga103/sec2/sig.bin for module nouveau W: Possible missing firmware /lib/firmware/nvidia/ga103/sec2/image.bin for module nouveau W: Possible missing firmware /lib/firmware/nvidia/ga103/sec2/desc.bin for module nouveau During boot, the nvidia module hangs for 2mn and fails to do any work, including being able to turn off the nvidia chip (which it could do on P73 without otherwise ever being able to use that chip for proper display). I want to turn off the nvidia chip so that I can get multi hour runtime on batteries without some useless chip that is using power for no reason. sauron:~# lspci | grep VGA 00:02.0 VGA compatible controller: Intel Corporation Tiger Lake-H GT1 [UHD Graphics] (rev 01) 01:00.0 VGA compatible controller: NVIDIA Corporation GA104GLM [RTX A5000 Mobile] (rev a1) Boot looks like this: [ 0.210932] Kernel command line: BOOT_IMAGE=/vmlinuz-6.6.3-amd64-preempt-sysrq-20220227 root=/dev/mapper/cryptroot ro rootflags=subvol=root cryptopts=source=/dev/nvme0n1p7,keyscript=/sbin/cryptgetpw usbcore.autosuspend=1 pcie_aspm=force resume=/dev/dm-1 thinkpad-acpi.brightness_enable=1 acpi_backlight=native nouveau.modset=0 systemd.unified_cgroup_hierarchy=0 [ 3.184525] nouveau: unknown parameter 'modset' ignored [ 3.184800] nouveau: detected PR support, will not use DSM [ 3.184813] nouveau 0000:01:00.0: vgaarb: pci_notify [ 3.184816] nouveau 0000:01:00.0: runtime IRQ mapping not provided by arch [ 3.184821] nouveau 0000:01:00.0: enabling device (0000 -> 0003) [ 3.184959] nouveau 0000:01:00.0: NVIDIA GA104 (b74000a1) [ 3.295682] nouveau 0000:01:00.0: bios: version 94.04.51.00.34 [ 64.941381] nouveau 0000:01:00.0: acr: firmware unavailable [ 126.381361] nouveau 0000:01:00.0: sec2: firmware unavailable [ 126.381484] nouveau 0000:01:00.0: enabling bus mastering [ 126.382073] nouveau 0000:01:00.0: fb: 16384 MiB GDDR6 [ 183.695282] nouveau 0000:01:00.0: fb: VPR locked, but no scrubber binary! [ 183.702321] nouveau 0000:01:00.0: DRM: error initialising bo driver, -12 [ 183.709419] nouveau: probe of 0000:01:00.0 failed with error -12 [ 183.711498] nouveau 0000:01:00.0: vgaarb: pci_notify What is the next recommended step? Thanks, Marc -- "A mouse is a device used to point at the xterm you want to type in" - A.S.R. Home page: http://marc.merlins.org/