Dynamic max render time occasionally breaks on Intel laptop, halving frame rate
Occasionally my Laptop (Thinkpad T460p, Skylake) gets into a state where Mutter draws only at max ~30 FPS on the 60Hz screen - and doesn't recover automatically.
There are a couple of things that help in this situation:
- setting
DISABLE_DYNAMIC_MAX_RENDER_TIME
in looking glass (alt
+f2
->lg
->flags
) - changing tty / switching the user and back
- restarting Mutter
I haven't found out more yet but I imagine something like bogus presentation timestamps from the kernel could be the cause here - something @YaLTeR recently mentioned for different hardware as well.
System info:
System:
Host: thinkpad-t460p Kernel: 6.5.8-300.fc39.x86_64 arch: x86_64 bits: 64
compiler: gcc v: 2.40-13.fc39 Desktop: GNOME v: 45.0 tk: GTK v: 3.24.38
wm: gnome-shell dm: LXDM Distro: Fedora release 39 (Thirty Nine)
CPU:
Info: quad core model: Intel Core i5-6440HQ bits: 64 type: MCP
arch: Skylake-S rev: 3 cache: L1: 256 KiB L2: 1024 KiB L3: 6 MiB
Speed (MHz): avg: 900 min/max: 800/3500 cores: 1: 900 2: 900 3: 900 4: 900
bogomips: 20799
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
Device-1: Intel HD Graphics 530 vendor: Lenovo driver: i915 v: kernel
arch: Gen-9 ports: active: eDP-1 empty: DP-1, DP-2, DP-3, HDMI-A-1,
HDMI-A-2, HDMI-A-3 bus-ID: 00:02.0 chip-ID: 8086:191b
Device-2: Chicony Integrated Camera driver: uvcvideo type: USB rev: 2.0
speed: 480 Mb/s lanes: 1 bus-ID: 1-8:4 chip-ID: 04f2:b541
Display: wayland server: X.org v: 1.20.14 with: Xwayland v: 23.2.1
compositor: gnome-shell driver: X: loaded: modesetting unloaded: fbdev,vesa
dri: iris gpu: i915 display-ID: 0
Monitor-1: eDP-1 model: ChiMei InnoLux 0x14b1 res: 1920x1080 dpi: 158
diag: 353mm (13.9")
API: EGL v: 1.5 platforms: device: 0 drv: iris device: 1 drv: swrast
surfaceless: drv: iris wayland: drv: iris x11: drv: iris inactive: gbm
API: OpenGL v: 4.6 compat-v: 4.5 vendor: intel v: N/A glx-v: 1.4
direct-render: yes renderer: Mesa Intel HD Graphics 530 (SKL GT2)
device-ID: 8086:191b display-ID: :0.0
API: Vulkan v: 1.3.250 surfaces: xcb,xlib,wayland device: 0
type: integrated-gpu driver: mesa intel device-ID: 8086:191b device: 1
type: integrated-gpu driver: mesa intel device-ID: 8086:191b device: 2
type: cpu driver: mesa llvmpipe device-ID: 10005:0000 device: 3 type: cpu
driver: mesa llvmpipe device-ID: 10005:0000
Edited by Robert Mader