Open pushfoo opened 2 years ago
@LinUwUxCat could you also please provide information about which Pop!_OS version you upgraded from?
Hello, I updated from 21.10, which was updated from 21.04 a few months before that.
I can also say that the lags stopped when i switched to Hybrid graphics yesterday, and everything was fine until right now, where i started getting lags again. I don't think this is a kernel issue and i have no idea where this could come from.
Wasn't upgrading to 510 drivers part of the fix, or did I misunderstand the discord discussion?
The problem was indeed fixed by upgrading the nvidia drivers from 470 to 510.
I'm going to leave this open for now. My understanding is that each NVidia driver release drops support for some cards, which means that some users with older GPUs may be stuck on driver versions that recreate the problem.
Quick update, the lag spikes are still present while on NVIDIA-only mode, but not on hybrid mode (for now)
Moving this to the NVIDIA repository since it's NVIDIA driver related.
Hey guess what's happening again with exactly the same settings as before? Thank you, nvidia.
friendly reminder that this is still a thing, even on linux 5.19 and with 515.48.07 drivers. I would really like my problem to be solved, but i guess it won't be.
@LinUwUxCat are you sure you aren't experiencing https://github.com/pop-os/nvidia-graphics-drivers/issues/61 instead? If you are, switching to Nvidia mode should fix it.
@LinUwUxCat are you sure you aren't experiencing #61 instead? If you are, switching to Nvidia mode should fix it.
In the messages above:
Quick update, the lag spikes are still present while on NVIDIA-only mode, but not on hybrid mode (for now)
However, i have since then found the issue, but not how to fix it. When lag spikes happen, i observed that the gpu switches to PCIe 1.1, as if it did not detect something to work on anymore. When the lag is over, it's back to PCIe 4. If anyone has any idea on how to enforce PCIe 4, i'll welcome it. This seem to be an issue on windows as well by the way. As such, the issue probably comes from either drivers or a faulty GPU, which i'm not sure how i can test.
EDIT : here's the proof, a picture of nvtop
during a lag spike. It's hard to show because the whole computer is laggy but here it is
@LinUwUxCat are you sure you aren't experiencing #61 instead? If you are, switching to Nvidia mode should fix it.
In the messages above:
Quick update, the lag spikes are still present while on NVIDIA-only mode, but not on hybrid mode (for now)
However, i have since then found the issue, but not how to fix it. When lag spikes happen, i observed that the gpu switches to PCIe 1.1, as if it did not detect something to work on anymore. When the lag is over, it's back to PCIe 4. If anyone has any idea on how to enforce PCIe 4, i'll welcome it. This seem to be an issue on windows as well by the way. As such, the issue probably comes from either drivers or a faulty GPU, which i'm not sure how i can test.
EDIT : here's the proof, a picture of
nvtop
during a lag spike. It's hard to show because the whole computer is laggy but here it is
Seem to be getting the same issue here in 2024, which makes me think this is a hardware problem. Were you able to find out what was causing this? (whether its drivers, software, or hardware related?)
Cheers!
Distribution (run
cat /etc/os-release
):Related Application and/or Package Version (run
apt policy $PACKAGE NAME
): The affected user did not provide detailed information on this. I'm reporting it for them as I was considering purchasing a refurbished version of similar hardware.Applications that seem to be mentioned in discord and elsewhere include:
See next section for a quote with additional information.
Issue/Bug Description: Updating to Pop!_OS 22.04 appears to have created short sporadic lag spikes when playing games:
The following temporary fix staves off the problem for an indeterminate amount of time through the power menu in the top bar:
This is a chart of GPU usage from the affected user, with red underline indicating periods of dropped frame rate:![image](https://user-images.githubusercontent.com/36696816/167525159-d46ddd23-31af-4ec3-9571-3c2d213f23f1.png)
Steps to reproduce (if you know):
Expected behavior: No lag spikes, as with previous Pop!_OS versions.
Other Notes:
Brock directed me to post this message here after I attempted to help the original user, @LinUwUxCat. I'm still not completely sure if it's a kernel issue or something to do with this repo.
The user tried changing kernel versions through bkw777/mainline, but it didn't seem fix things:
So far, kernel versions tried appear to include 5.15 and 5.10.114.
This issue has also been discussed in the following locations: