Draft: Add some performance patches for Nvidia and mouse cursor movement
-
Nvidia-secondary-GPU-copy-acceleration.patch allows the GPU to be used for secondary monitors plugged into secondary GPUs in Wayland sessions. Without this, slower CPU buffer copies are used. (LP: #1970291)
-
kms-crtc-Increase-default-deadline-evasion-to-1000-micros.patch fixes some more of the mouse cursor stutter introduced in Mutter 45 by the KMS thread optimization. (LP: #2040977)
Merge request reports
Activity
- Resolved by Daniel van Vugt
Can you please split each patch to different commit that is formatted including the related
LP: #XXXXbug at the end of the commit message? So that we can get nicely generated changelog viagbp dchat upload time.
130 * 131 * This program is free software; you can redistribute it and/or 132 * modify it under the terms of the GNU General Public License as 133 @@ -43,6 +44,127 @@ 134 #error "Somehow included OpenGL headers when we shouldn't have" 135 #endif 136 137 +static GQuark 138 +get_quark_for_egl_context (EGLContext egl_context) 139 +{ 140 + char key[128]; 141 + 142 + g_snprintf (key, sizeof key, "EGLContext %p", egl_context); 143 + 144 + return g_quark_from_string (key); 145 +} I'm not comfortable assuming
GQuarkis just a unique pointer and that giving arbitrary other unique pointers to quark functions is safe. I don't think it would be accepted but you might want to suggest it at https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3304Edited by Daniel van Vugt
Pushed fresh versions of the patches to https://salsa.debian.org/gnome-team/mutter/-/commits/ubuntu/latest