Skip to content

corrupted desktop background when root background is a pixmap with RetainTemporary #1081

@gijsbers

Description

@gijsbers

Environment

icewm window manager version 3.something on Linux.

picom version

vgit-dd85c

Diagnostics **Version:** vgit-dd85c

Extensions:

  • Shape: Yes
  • RandR: Yes
  • Present: Present

Misc:

  • Use Overlay: No
    (Another compositor is already running)
  • Config file used: None

Drivers (inaccurate):

modesetting

Backend: glx

  • Driver vendors:
  • GLX: Mesa Project and SGI
  • GL: Intel Open Source Technology Center
  • GL renderer: Mesa DRI Intel(R) HD Graphics 4000 (IVB GT2)
  • Accelerated: 1

Backend: egl

[ 06/19/23 10:59:29.155 egl_init ERROR ] EGL version too old, need at least 1.5.
Cannot initialize this backend

Configuration:

picom -f -I 0.09 -O 0.09

Steps of reproduction

  1. ~/.icewm/prefoverride contains:
    DesktopBackgroundImage="/path/to/same/background.jpg"
  2. ~/.icewm/preferences contains:
    Alpha=1
  3. Have several workspaces with application windows, like terminals, browsers, etc.
  4. start icewm and picom
  5. restart icewm
  6. go to other workspaces and restart icewm again.

Expected behavior

The desktop background should be identical to the background.jpg image.

Current Behavior

The desktop background is corrupted with partial areas of application windows. They disappear by moving a window over the corrupted areas.

When picom is not running this problem doesn't occur.

By setting a single background image, the icewmbg process install a root pixmap with the background image using XSetCloseDownMode(display(), RetainTemporary); and exits.

Metadata

Metadata

Assignees

No one assigned

    Labels

    artifactsVisual artifacts, screen flickering, etc.bug

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions