This update appears to have introduced an issue regarding pci ports on my laptop.
Kernel 5.14, intel+nvidia hybrid, running optimus-manager + bbswitch switching. Nvidia module is unloaded, running only on intel graphics.
Anytime anything which requires hardware acceleration (mpv for example) is called, dmesg is spammed with
[ 504.252426] pcieport 0000:00:1c.0: Data Link Layer Link Active not set in 1000 msec
[ 504.252637] pci 0000:01:00.0: can't change power state from D3cold to D0 (config space inaccessible)
[ 504.276581] pci 0000:01:00.0: can't change power state from D3cold to D0 (config space inaccessible)
[ 504.295276] pci 0000:01:00.0: can't change power state from D3cold to D0 (config space inaccessible)
for a few seconds until system appears to “give up”. A hard-crash due to this has already occured during the playback of a long list of files.
PCI device 0000:00:1c.0 is, according to lspci, the Intel PCI bridge
00:1c.0 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #1 (rev f1)
This problem appears to go even further down, as any attempt to load the nvidia driver fails. Modprobe claims
modprobe: ERROR: could not insert 'nvidia': No such device
while journalctl logs
kernel: nvidia-nvlink: Nvlink Core is being initialized, major device number 509
kernel: NVRM: This is a 64-bit BAR mapped above 4GB by the system
NVRM: BIOS or the Linux kernel, but the PCI bridge
NVRM: immediately upstream of this GPU does not define
NVRM: a matching prefetchable memory window.
kernel: NVRM: This may be due to a known Linux kernel bug. Please
NVRM: see the README section on 64-bit BARs for additional
kernel: nvidia: probe of 0000:01:00.0 failed with error -1
kernel: NVRM: The NVIDIA probe routine failed for 1 device(s).
kernel: NVRM: None of the NVIDIA devices were initialized.
kernel: nvidia-nvlink: Unregistered the Nvlink Core, major device number 509
Any attempt to load the nvidia driver, either via optimus-manager or directly fails. Critical failure in optimus-manager appears to be due to the same issue, with logs outputting
Command 'modprobe nvidia NVreg_UsePageAttributeTable=1' returned non-zero exit status 1.
again a modprobe nvidia related issue.
Despite modprobing nvidia always failing with the specific error
modprobe: INFO: Failed to insert module '/lib/modules/5.14.11-1-MANJARO/extramodules/nvidia.ko.gz': No such device
modinfo returns the expected information