| Summary: | Screens freezes several seconds when opening menus in a containerized GIMP | ||
|---|---|---|---|
| Product: | [Plasma] kwin | Reporter: | fgodme |
| Component: | performance | Assignee: | KWin default assignee <kwin-bugs-null> |
| Status: | REPORTED --- | ||
| Severity: | normal | CC: | nate |
| Priority: | NOR | ||
| Version First Reported In: | 6.5.3 | ||
| Target Milestone: | --- | ||
| Platform: | Fedora RPMs | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: | journalctl screenshot | ||
What's freezing: GIMP or Plasma? The title says Plasma but the description says GIMP. Is the session itself using Wayland or X11? It is a Wayland session on two screens. Both screens froze at the same time so it is probably Plasma. GIMP in a container was on one screen and a video was playing on the other screen inside Chromium. The video paused, sound was still playing, GIMP was not responding for few seconds like Chromium. GIMP in the same container started with the same script does not freeze in a Gnome classic Wayland session and is always responsive. # You may need the following command to tell SE-Linux on Fedora to authorize containers to access devices : $ sudo setsebool -P container_use_devices on # To see the authorization status $ getsebool container_use_devices container_use_devices --> on Thanks, François Thanks for the info. You seen highly technically competent. Are you able to do even more debugging to see if you can figure out where the bug lies? I frankly don't know if I am able to help you. It is probably out of my field of expertise. I am doing this on my free time which may vary a lot. We will see. Created attachment 187563 [details]
journalctl screenshot
kwin_wayland_drm says that the main thread was hanging temporarily.
|
Hi, When I run GIMP under the KDE desktop in a container receiving the X11 socket, GIMP freezes for several seconds upon opening menus and dialog windows. It does not freeze when I run GIMP under gnome classic wayland. I use Fedora 42 and the latest RPM packages. I noticed these freezes since last month. Here is the script to run GIMP in a container and reproduce the bug: '''bash #!/usr/bin/bash current_dir=$(realpath .) cd $(dirname ${0}) podman rm -if gimp xhost +local:podman podman run -d \ --name gimp \ --hostname gimp \ --tz=local \ -e GDK_BACKEND=x11 \ -e LANG \ -e HOME \ -v ${HOME}:${HOME} \ --workdir ${current_dir} \ -e XDG_RUNTIME_DIR \ -v ${XDG_RUNTIME_DIR}:${XDG_RUNTIME_DIR} \ -e DISPLAY \ -v /tmp/.X11-unix:/tmp/.X11-unix \ --device /dev/kfd \ --device /dev/dri \ --security-opt label=disable \ --userns keep-id \ docker.io/jess/gimp:latest ''' /dev/kfd and /dev/dri are the devices to pass for AMD GPUs. inxi -G Graphics: Device-1: Advanced Micro Devices [AMD/ATI] Navi 32 [Radeon RX 7700 XT / 7800 XT] driver: amdgpu v: kernel Device-2: Advanced Micro Devices [AMD/ATI] Raphael driver: amdgpu v: kernel Display: unspecified server: X.Org v: 24.1.9 with: Xwayland v: 24.1.9 driver: X: loaded: amdgpu unloaded: modesetting,radeon dri: radeonsi gpu: amdgpu resolution: 1: 1680x1050~60Hz 2: 2560x1440~60Hz API: EGL v: 1.5 drivers: radeonsi,swrast platforms: gbm,x11,surfaceless,device API: OpenGL v: 4.6 compat-v: 4.5 vendor: amd mesa v: 25.1.9 renderer: AMD Ryzen 9 7900 12-Core Processor (radeonsi raphael_mendocino LLVM 20.1.8 DRM 3.64 6.17.8-200.fc42.x86_64) API: Vulkan v: 1.4.313 drivers: radv,llvmpipe surfaces: N/A Info: Tools: api: clinfo, eglinfo, glxinfo, vulkaninfo de: kscreen-console,kscreen-doctor gpu: amd-smi, lact, radeontop wl: wayland-info x11: xdriinfo, xdpyinfo, xprop, xrandr Thanks for your help, François