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

            Bug ID: 512846
           Summary: Plasma freezes several seconds when opening menus in a
                    containerized GIMP
    Classification: Plasma
           Product: plasmashell
      Version First 6.5.3
       Reported In:
          Platform: Fedora RPMs
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: generic-performance
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: 1.0

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

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

Reply via email to