Mutter mistimes every ~17 frames / 280 ms
Affected version
Arch Linux
Mutter 40.2.1
XOrg
System: Host: knaagbeest Kernel: 5.12.13-arch1-2 x86_64 bits: 64 compiler: gcc v: 11.1.0 Desktop: GNOME 40.2
Distro: Arch Linux
Machine: Type: Desktop Mobo: Micro-Star model: X399 GAMING PRO CARBON AC (MS-7B09) v: 1.0 serial: <superuser required>
UEFI: American Megatrends v: 1.D6 date: 02/05/2021
CPU: Info: 12-Core model: AMD Ryzen Threadripper 1920X bits: 64 type: MT MCP arch: Zen rev: 1 cache: L2: 6 MiB
flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm bogomips: 168043
Speed: 4140 MHz min/max: 2200/3500 MHz boost: enabled Core speeds (MHz): 1: 4140 2: 2086 3: 1890 4: 1891 5: 3907
6: 2086 7: 1855 8: 2103 9: 1891 10: 1890 11: 1890 12: 1890 13: 1948 14: 1892 15: 1891 16: 1890 17: 2050 18: 1976
19: 1895 20: 1895 21: 1893 22: 1892 23: 1894 24: 1891
Graphics: Device-1: Blackmagic Design DeckLink Quad 2 driver: blackmagic-io v: 12.1a9 bus-ID: 0e:00.0
Device-2: Blackmagic Design DeckLink Quad 2 driver: blackmagic-io v: 12.1a9 bus-ID: 0f:00.0
Device-3: Conexant Systems CX23880/1/2/3 PCI Video and Audio Decoder driver: cx8800 v: 1.0.0 bus-ID: 11:00.0
Device-4: NVIDIA TU104 [GeForce RTX 2060] driver: nvidia v: 470.42.01 bus-ID: 42:00.0
Display: x11 server: X.Org 1.20.11 driver: loaded: nvidia resolution: 1: 1920x1200 2: 1920x1200
OpenGL: renderer: NVIDIA GeForce RTX 2060/PCIe/SSE2 v: 4.6.0 NVIDIA 470.42.01 direct render: Yes
Network: Device-1: Intel I211 Gigabit Network vendor: Micro-Star MSI driver: igb v: kernel port: 1000 bus-ID: 09:00.0
IF: enp9s0 state: up speed: 100 Mbps duplex: full mac: 30:9c:23:89:e7:f3
IF-ID-1: docker0 state: down mac: 02:42:2f:9b:a5:f8
Drives: Local Storage: total: 3.46 TiB used: 1.89 TiB (54.5%)
Info: Processes: 449 Uptime: 10m Memory: 31.28 GiB used: 1.85 GiB (5.9%) Init: systemd Compilers: gcc: 11.1.0
clang: 12.0.0 Packages: 1339 Shell: Bash v: 5.1.8 inxi: 3.3.04
Bug summary
The output of glxgears, vsynctester.com, or anything else is jerky.
Steps to reproduce
Run glxgears, observe jerky output.
mangohud glxgears -geometry 1280x720
What happened
Mutter does not succeed in drawing 60 unique frames every second.
What did you expect to happen
I expect Mutter to draw 60 unique frames every second.
Relevant logs, screenshots, screencasts etc.
Screen capture of the issue: mutterglxgears
The issue does not appear on other compositors.