Re: Linux warns `sched: DL replenish lagged too much`
From: Juri Lelli
Date: Mon Feb 24 2025 - 04:51:55 EST
On 21/02/25 23:13, Paul Menzel wrote:
> Dear Juri,
>
> Am 20.02.25 um 21:18 schrieb Paul Menzel:
...
> I was able to reproduce this today. The same behavior after resuming from
> ACPI S3.
>
> Feb 21 17:20:19 abreu gnome-shell[1775]:
> meta_wayland_buffer_process_damage: assertion 'buffer->resource' failed
> Feb 21 17:20:19 abreu gnome-shell[1775]:
> (../src/wayland/meta-wayland-buffer.c:709):meta_wayland_buffer_inc_use_count:
> runtime check failed: (buffer->resource)
> Feb 21 17:20:21 abreu rtkit-daemon[1017]: Supervising 7 threads of 5
> processes of 1 users.
> Feb 21 17:20:21 abreu rtkit-daemon[1017]: Supervising 7 threads of 5
> processes of 1 users.
> Feb 21 17:20:59 abreu kernel: sched: DL replenish lagged too much
> Feb 21 17:21:01 abreu systemd[1588]: Started
> app-gnome-ptyxis-26577.scope - Application launched by gsd-media-keys.
> […]
> Feb 21 17:23:43 abreu gnome-shell[1775]: libinput error: event11 -
> DLL075B:01 06CB:76AF Touchpad: client bug: event processing lagging behind
> by 31ms, your system is too slow
>
> Move lags sometimes, and also switching GNOME virtual desktops, or just
> opening a new window takes several seconds.
>
> Can I set an option so more stuff is logged, once the scheduler warning is
> logged?
Could you please first try to reproduce after having disabled the fair
deadline server with something like the following?
# for ((i=0; i<$(nproc); i++)); do echo 0 > /sys/kernel/debug/sched/fair_server/cpu$i/runtime; done