Bug 113791
Summary: | lspci takes a long time to access config file of nvidia device | ||
---|---|---|---|
Product: | Drivers | Reporter: | clime |
Component: | Video(Other) | Assignee: | drivers_video-other |
Status: | NEW --- | ||
Severity: | normal | CC: | aselker319+bugzilla |
Priority: | P1 | ||
Hardware: | x86-64 | ||
OS: | Linux | ||
Kernel Version: | 4.3.5 | Subsystem: | |
Regression: | No | Bisected commit-id: |
Description
clime
2016-03-05 22:02:35 UTC
I'm having a similar issue. It started after I switched to a computer with an Nvidia GPU. (I switched to an ThinkPad X1 Extreme gen 2, with an Nvidia GTX 1650 Max-Q, from an otherwise-identical X1 Extreme gen 2 without discrete graphics). lspci takes variable time. Sometimes up to 5 seconds or so, or down to a few hundred milliseconds if I've run it recently. Many programs are also slow to start. I've noticed this specifically with alacritty, kitty, and gnome-system-monitor. With all of these, when I use strace to see what's taking the time, the slow step is reading from /sys/bus/pci/devices/0000:05:02.0/config, which corresponds to the Nvidia GPU. The problem is intermittent; sometimes it goes away for a few hours, then comes back. This happens regardless of whether nouveau is loaded, or the Nvidia proprietary driver, or neither. When I use "envycontrol -s integrated" to disable the Nvidia GPU completely, the GPU no longer shows up in lspci, but the problem is still there; the slow step is reading from a different device instead. |