-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Animations after idling are noticeably choppy until GPU ramps up with GSP firmware enabled #693
Comments
You maybe want to retest it with the 560 Driver, since there has been a bunch of fixes for this issue. Also, check if there is any program in the background, which is calling "nvidia-smi".
|
Thanks for the response. I tested the 560 beta driver and it's noticeably better, so already nice to hear that these improvements are coming soon! I also noticed now that the problem seems to be exacerbated when GNOME's power saving mode is active - I have it active often because I have a Lenovo Legion and power saving mode equates to 'quiet mode' where the fans don't make as much noise - the GPU power limit is still set to 80 Watt in both cases, though. I've been observing the output of
I understand power saving mode may imply making sacrifices to save power, but since it's a 4090 I kind of still expected to have enough 'juice' to cover at least a smooth desktop. It's also a bit strange that the GPU is not allowed to go below 7 Watt in normal mode, since it's apparently completely possible in power saving mode, so it feels as normal mode tapes over the problem a bit in the sense that it's just keeping the GPU at higher power levels permanently to circumvent the ramp-up issue. (FWIW, I also have no other applications running in the background during these tests. I use |
Hey there, thanks for the report! This seems to be a mix of problems, but a big part of it is likely the known issue of power transitions being a bit slower, per the driver readme:
The bad news is that there is no silver bullet here, you either need to keep things awake (consume more power) or live with the latency. But the good news (I guess?) is that this is still being actively worked on and you will probably see incremental improvements from every major release. That said, going by the description alone, it does sound like you hit a particularly egregious case here, so we'll try to repro it and see if there's anything that makes it worse than it needs to be. My guess is that the 144Hz monitor is throwing a wrench into it. |
I have the same problem on 565.57.01 on CachyOS When using OPEN drivers with GSP I have constantly glitchy animations when moving windows, especially when moving windows between the edges of 2 monitors Briefly Nvidia-proriertary nvidia-open I think the problem is exactly in p-state and its implementation in open drivers UPD: But it's still a bad solution because it forces the video card to work at high power, especially when it's idle Info
KDE 6.2.2 I have no programs that request data through nvidia-smi
|
Hi @erars123123 , thanks for that info. Could I ask you to please double-check this claim:
There's effectively three modes of the driver:
Above you've claimed that setting You can check whether GSP is active or not with -- I tried reproducing this on a RTX 3080ti like yours, and I don't see it. I see the pstate go from P8 to P5 occasionally during extremely heavy scrolling in firefox, but I'm not seeing any stutter. Could be just my bad eyes, I'll see if we can devise an objective test somehow. |
@mtijanic , sorry, I may have used the wrong settings, will do the testing again With GSP enabled
commands
commands
Now testing with GSP disabled
commands
commands
Now testing with open drivers
commands
commands
Also would like to clarify - if I have p-state=5, will the performance of games and CUDA be degraded? |
Thanks for this, it is very useful info. When we come up with a more objective test (something that gives out an actual number) we might ask you to try and see what the actual values you see are.
Yes, forcing pstate to 5 will prevent it from going to any other, so while you're getting more power than idle, you won't be able to run at full power. Note that the You could use something like this program to boost the pstate: https://gist.github.com/mtijanic/9c129900bfba774b39914ad11b0041f6 |
I can confirm all the findings from #693 (comment) on a 4080 Super using 560.35.03 on EndeavourOS (Arch Linux) with KDE Plasma Wayland. Currently using the proprietary driver package with I will retest with 565.57.01 once it hits the stable repo. System info:
|
@HBRJZ 565 is in the extra-testing repository, you can manually fetch these packages together with the nvidia-dkms. Which kind of desktop resolution you are using and also refresh rate? |
Yeah I know, but I will wait until it hits stable. I have done enough testing, switching packages and changing settings this week because of this for now.
Resolution is 2560x1440 @ 75Hz connected via DisplayPort. I also have TV connected via HDMI (4k @ 120Hz) for gaming. But that is usally turned off (physically and in the system settings) until I use it. I have not noticed the same issues while playing games (with |
I tested again since 565.57.01 was pushed to stable yesterday. Things improved quite a bit. Using the open source kernel module (GSP enabled, no p-state forced):
Using the closed source kernel module (GSP disabled, no p-state forced):
I also tested with nvidia-persistenced enabled but couldn't notice any difference. Forcing a lower p-state (e.g. Also tried with dynamic triple buffering enabled for KDE Plasma. But that made everything even worse (I guess that is why it's disabled by default for Nvidia). I just recently switched from an AMD GPU to Nvidia and with the AMD GPU all the problems reported in this issue were not present (albeit other problems, hence why I switched). Electron based applications also seem to generally perform worse on Nvidia than they did on AMD. Please don't take the last part as a rant (it is not), just an observation. I knew to expect some problems when switching. All the things I specifically wanted to improve by switching were improved, so I don't regret the switch (yet). |
Running https://www.vsynctester.com/ (with nothing else running) the graph is all over the place with massive spikes, a lot of vsync failures and fluctuating FPS. Eventually the FPS drops from ~74 to 60 to 50 or to 40 leading to the lag / stutter / choppyness until it recovers. Setting The results also differ with the browser used (e.g. Firefox or a Chromium based browser), with Chromium based browsers generally having better results (but the core issues remain). What seemed to help in my case is changing the refresh rate of my monitor from 75Hz to 60Hz (without also forcing a p-state) With this the graph is still showing some spikes and vsync failures, but a lot less frequentlly and I have not noticed any big drops in FPS after several hours of desktop usage at 60Hz so far. So changing the refresh rate of my monitor to 60Hz is a better workaround in my case until this gets fixed properly. Forcing a p-state leads to other issues. For example if I force any p-state I can't set the refresh rate of my TV to anything higher than 60Hz (normally it goes up to 120Hz). Removing that paramater makes that work again. For comparison:
So this is definitely a Wayland issue which is made even worse when combined with the open source kernel module and the GSP. There are also already several reports about this over on the Nvidia forum:
|
Not true for me. As far as I remember some versions of Nvidia Windows drivers keep P-state bumped when multiple high-refresh panels connected. Eventually, users complaining on high power draw, that gets fixed, but then reappears again. |
3080ti on 565.57, I observe the same thing with firefox scrolling - It's choppy/slugish with the open kernel module. While scrolling, the P state sits at 8 at all time. If I run a game or something that will make the P state go up, then firefox scrolling becomes much better. Switching to the closed driver and GSP Off, makes the scrolling smoother. Probably because the P-state gets bumped to 5 when you scroll, something that wasn't happening with the open driver. |
Still happens on Nvidia 4060 mobile with Ubuntu 24.10. |
I believe I am experiencing the same bug with an up to date Arch KDE and the 565.57.01 open drivers. If you simply start dragging a Dolphin window around for 10 seconds or so with nothing else running, you'll see the window movement stutter and jolt as if it's skipping frames. Even bringing up the application launcher feels stuttery, almost like it is running at 30fps. Unlike @Gert-dev I wasn't able to trigger a ramp up on my GPU simply be swapping desktops. I had to keep a game running in the background and then moving Dolphin around was smooth. This does not happen with the proprietary module with GSP off. Operating System: Arch Linux |
565 seems to improve things a bit on RTX 3060 but there are still framerate drops while proprietary module is smooth most of the time. |
I am experience the same issue with 3060 Ti on wayland with the open driver. Switching to the proprietary mostly solved the issue (~60% time I'm not noticing FPS drops?). Finally, forcing the P-state to be 0 solves the issue; the only boot parameter I added is NVIDIA-SMI 565.77 Driver Version: 565.77 CUDA Version: 12.7 Operating System: NixOS 25.05 Strangely, I have another 4070 Ti Super desktop with the same open kernel driver but I didn't experience the same issue. I will update if I get the chance to investigate. |
NVIDIA Open GPU Kernel Modules Version
555.58.02
Please confirm this issue does not happen with the proprietary driver (of the same version). This issue tracker is only for bugs specific to the open kernel driver.
Operating System and Version
Arch Linux
Kernel Release
6.10.5
Please confirm you are running a stable release kernel (e.g. not a -rc). We do not accept bug reports for unreleased kernels.
Hardware: GPU
NVIDIA GeForce RTX 4090 Laptop GPU
Describe the bug
In mutter 46.4 on Wayland on a single-GPU NVIDIA system, there is always a 'jank' when idling for a few seconds and then switching virtual desktops. If you then start frantically switching desktops (i.e. triggering animations), after a second or two it becomes buttery smooth (feels like 144 FPS on a 144 Hz monitor), which is likely due to the GPU ramping up.
This doesn't happen on a high-refresh-rate display (240 Hz) being driven by an AMD iGPU in my case. On an Intel GPU it also happens but is fixed by applying triple buffering.
On the single-GPU NVIDIA system using triple buffering doesn't seem to resolve the issue despite the problems being similar to what it attempts to fix for Intel.
This was originally reported to mutter, but it turns out this is related to the GSP firmware used by the open kernel modules since the closed driver without GSP enabled doesn't experience this issue.
To Reproduce
Bug Incidence
Always
nvidia-bug-report.log.gz
nvidia-bug-report.log.gz
More Info
No response
The text was updated successfully, but these errors were encountered: