https://bugs.kde.org/show_bug.cgi?id=512434

--- Comment #3 from [email protected] ---
I tested this again but using Arch Linux as the host machine.
I found that no freezes occur there, and systemd-resolved is disabled by
default. Once I enable it, the freezes come back.

CachyOS has systemd-resolved enabled, so my current workaround to get rid of
these freezes is either to:
- Add the Docker container hostname to the host machine’s /etc/hosts
- Disable/stop systemd-resolved with `sudo systemctl stop systemd-resolved`,
then stop these two sockets `systemd-resolved-monitor.socket,
systemd-resolved-varlink.socket`

I also noticed that the timing of the DNS query is roughly the same as the
duration of the freezes.

# systemd-resolved disabled (instant output):
[arch ~]$ resolvectl query xwayland
xwayland: resolve call failed: Could not activate remote peer
'org.freedesktop.resolve1': activation request failed: unknown unit

# systemd-resolved enabled (~3-4s):
[arch ~]$ resolvectl query xwayland
xwayland: 'xwayland' not found

Similar problems:
https://discuss.linuxcontainers.org/t/running-xwayland-gui-application-on-top-of-host-desktop-environment-causes-kwin-wayland-drm-to-freeze-computer/24211/8

https://discuss.linuxcontainers.org/t/x11-freezes-for-a-few-seconds-in-lxd-container/10095/8

https://bugs.kde.org/show_bug.cgi?id=510290

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to