Thinkpad P17 gen 2 kernel 6.4 and 6.6 lack of support for nvidia GA104GLM [RTX A5000 Mobile] and missing module firmware

Marc MERLIN marc_nouveau at merlins.org
Sat Dec 2 17:13:26 UTC 2023


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/  


More information about the dri-devel mailing list