@hangoverNero I used hotspot [1], a frontend for perf
.
[1] GitHub - KDAB/hotspot: The Linux perf GUI for performance analysis.
@hangoverNero I used hotspot [1], a frontend for perf
.
[1] GitHub - KDAB/hotspot: The Linux perf GUI for performance analysis.
I’m also having issues with my external monitor:
Host: Lenovo Legion Pro 5 16ARX8
Kernel: Linux 6.11.0-13-generic
Resolution: 2560 x1600 240 hz
Resolution external monitor (HDMI): 1920 x1080, 60 hz
SO: Ubuntu 24.10
DE: GNOME 47
WM: Wayland
CPU: AMD Ryzen 9 7945HX with Radeon Graphics × 32
GPU: AMD Radeon 610M
GPU: NVIDIA GeForce RTX 4070 Laptop GPU
Memory: 32,0 GiB
Driver version: 560.35.03
If I try to play any video (through Firefox or MPV), the system feels slow on my laptop screen. Games feel laggy, as well as when moving windows around and scrolling. Minimizing the windows playing the video on the external screen makes everything work fine. Also, playing the video on the main screen instead of the external one presents no problems. I’ve tried everything: deactivating the integrated GPU, using a different desktop environment, adjusting the resolution and refresh rates, and changing versions of Nvidia and Mesa drivers…
This doesn’t happen on X, but there are also some bugs that make the experience of using a secondary monitor even worse.
This is a workaround for Plasma: Display rendering is slow on Plasma 6 on an external monitor - #19 by locklann - Fedora Discussion
Yes, this only forces the discrete GPU to process KWIN and other apps and doesn’t fix the underlying issue. Also, it spikes up the CPU when handling processes.
Yes, its definitely not a solution. It also uses a lot more battery.
But it’s better than having an unusable slow desktop.
It also sheds some light in where the problem is: transferring surfaces from Nvidia to Intel.
Is there any update on this? I have a Legion 5 Pro and external monitors on the video ports connected directly to my dGPU make any external monitor I connect it to very sluggish and noticeable lag (inconsistent framerate). This happens in Wayland only, Xorg is fine but i can’t use that because my laptop screen is 1600p and I need clear 1.5x fractional scaling to see anything.
The USB-C 4.0 /Thunderbolt port worked fine but its connected to my integrated AMD GPU, and it broke somehow.
I have tried all close and open drivers (535, 550, 555, 560), enableGpuFirmware, all the kernel settings, prime-select nvidia. Disabling the amd gpu in UEFI (this laptop has a MUX switch) seems to work, but causes most of my apps to not launch, vscode, brave, file explorer, i get light theme instead of dark theme etc etc, more bugs… This is all in Ubuntu 24.10. I have been having this issue since Ubuntu 22.04, and it’s persistent across distros. No issues on Windows 11.
Switch to KDE, not GNOME. On KDE it’s quite usable, I barely have any issues (RTX 3060 laptop). GNOME is the worst in this regard.
I will try it sometime, but I’m too used to GNOME workflow… I will probably end up selling this laptop and buying something without a dGPU, or with an AMD dGPU, this is too much hassle :/
NVIDIA: Please update us on this issue.
Even on KDE, at high refresh rates, frame pacing is still terrible as of the latest closed and open source NVIDIA driver release. I would also like to know what the status of this issue is, GPU copies are clearly still broken in some way.
IIRC, last time I tried they were both noticeably bad. But perhaps KDE was a little better.
Do you guys confirm that KDE is doing better these days with this issue?
KDE does better with nvidia-open. Gnome matches KDE usability with closed drivers and nvidia.NVreg_EnableGpuFirmware=0
also 570.86.16
seems to ‘mostly’ fix this issue for me. (performance at par with 565 + nvidia.NVreg_EnableGpuFirmware=0
)
thanks.
placebo then.
Can confirm that the issue is not fixed on drivers 570.86.16. No change whatsoever
I can also still confirm the presence of the problem on 570.
Os: Bluefin / Fedora SilveBlue 41 (I tried each fedora 41 gnome version, all of them have the problem)
GPU: GTX 1650 ti laptop
Driver: 570.86.16
I have nothing to say except the problem is the same as always on Wayland. I still have to try all the options given in this thread, but my own solution is to disable completely the iGPU and lose the laptop screen (using scripts found on the internet like all-ways-egpu)
So I’ve tried the same method as @albertvaka and got similar results trying both on the integrated display and the external attached to the nvidia GPU. The results are attached. Can’t interpret the results though
perf.kwin.zip (29.5 MB)
Update from the open kernel modules side on the issue:
Quick update here: We now think we fully understand the issue. The short version is that when the GPU is in a low power state (e.g. idle desktop) then there’s an extra bit of latency between the various components when a per-frame notification is delivered from the display hardware all the way up to the compositor. This causes us to just miss the vblank interval and drop a frame, which is why the framerate gets cut exactly in half. These delays are bigger with GSP in the picture than when it is disabled, so the issue does not reproduce on the legacy driver mode*.
We’re still looking into what a proper fix will be, but the two short term workarounds we found are to either run the GPU at a slightly higher pstate (P4-P5 seems sufficient, depending on the HW) or to deliver the events to kwin on a fixed timer instead.
I am getting -20 fps on games which I need to hit 60 fps for fighting games. I am already using DLSS performance mode for 4K screen size example, when loading Moral Kombat 1. I have spent a whole day running any know fix or tweaks.
I am not going to get in to all the stuff I tried.
I have tested CachyOS GNOME wayland on a fresh install. I do get the correct FPS on MK1 but it will randomly crash and only get 5 FPS when playing on the external Samsung - 55 Class QN90D QLED 4K Mini LED TV in game mode at 120hz.
I am trying to switch over to KDE. On a fresh install of CashyOS KDE wayland.
When I was loading the game I heard a sound and I thought it was a notification but I killed everything and went DnD mode. The sound remind me of like the usb getting connect or disconnected via windows.
If I load MK1 and run the benchmark before I hear a disconnected sound I get the correct FPS for the game. But after loading the game it takes about 1 min or less to disconnect once the game is loaded.
I can still see everything as the benchmark runs but once the disconnect sound happens the benchmark for the fps goes from 60 fps down to 38-42 fps.
Same issue happens if running BIOS with dedicated graphics ONLY for NVIDIA or using the Intel GPU and Nvidia setup.
This fixed doesn’t work for me.
I removed all usb connections after the game was loaded. It will still make the sound of disconnect and reconnect about every 30 sec for the first few then reconnect after 1 min.
I retest again removed the HDMI cable and only using the laptop screen. Same issue makes the sound of disconnect and reconnect. Low fps unplayable on non external monitor just using the laptop screen only.
I tested Garuda KDE linux same issue.
I tested Bazzite KDE currently working not doing the disconnect sound. I was able to play a match online. Only did a short test unknown if it will do the random crash like CashyOS GNOME going to 5 fps.
Below are the TV specs, nvidia driver version and laptop specs.
Let me know if there is a test you would like me to run to help troubleshoot. This is the last thing that is keeping me away from Linux. Linux gaming has come a long way. I remember testing KDE 2 years I think with wayland and was getting crashes into just black screen. Now it running great minus the video games :)
External Monitor: Samsung - 55" Class QN90D Series Neo QLED 4K Mini LED Smart Tizen TV (2024)
**Model:QN55QN90DAFXZASKU:**6576429
NVIDIA-SMI version : 570.133.07
NVML version : 570.133
DRIVER version : 570.133.07
CUDA Version : 12.8
Operating System: CachyOS Linux
KDE Plasma Version: 6.3.4
KDE Frameworks Version: 6.12.0
Qt Version: 6.9.0
Kernel Version: 6.14.0-4-cachyos (64-bit)
Graphics Platform: Wayland
Processors: 24 × 12th Gen Intel® Core™ i9-12900HX
Memory: 31.1 GiB of RAM
Graphics Processor 1: NVIDIA GeForce RTX 3080 Ti Laptop GPU/PCIe/SSE2
Manufacturer: LENOVO
Product Name: 82TD
System Version: Legion 7 16IAX7
Short online game test with MK1 working via Bazzite 41
Operating System: Bazzite 41
KDE Plasma Version: 6.3.3
KDE Frameworks Version: 6.12.0
Qt Version: 6.8.2
Kernel Version: 6.13.7-108.bazzite.fc41.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 24 × 12th Gen Intel® Core™ i9-12900HX
Memory: 31.1 GiB of RAM
Graphics Processor: NVIDIA GeForce RTX 3080 Ti Laptop GPU
Manufacturer: LENOVO
Product Name: 82TD
System Version: Legion 7 16IAX7
CPU usage is still high when connecting an Nvidia laptop to an external monitor… One year later, nothing changed.
I just installed Fedora 42 with Gnome 48, and it solved my problem of having low fps on my external monitor connected by a HDMI connection, I went from 60 fps to 150 fps on my external monitor at 165 Hz. This is good news for me.
Unfortunately in the KDE version of fedora 42, the problem persists so far.
Fedora Linux 42 (Workstation Edition)
HP Victus by HP Gaming Laptop
AMD Ryzen™ 5 7535HS with Radeon™ Graphics × 12
Nvidia 570.133.07