Skip to content

Window shadow disappears after resuming from suspend/sleep #924

Open
@OriginCode

Description

@OriginCode

Platform

AOSC OS 9.1.4 amd64

GPU, drivers, and screen setup

NVIDIA GeForce RTX 2060 Mobile, nvidia driver 515.65.01.

name of display: :0
display: :0  screen: 0
direct rendering: Yes
Memory info (GL_NVX_gpu_memory_info):
    Dedicated video memory: 6144 MB
    Total available memory: 6144 MB
    Currently available dedicated video memory: 5309 MB
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: NVIDIA GeForce RTX 2060/PCIe/SSE2
OpenGL core profile version string: 4.6.0 NVIDIA 515.65.01
OpenGL core profile shading language version string: 4.60 NVIDIA
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile

OpenGL version string: 4.6.0 NVIDIA 515.65.01
OpenGL shading language version string: 4.60 NVIDIA
OpenGL context flags: (none)
OpenGL profile mask: (none)

OpenGL ES profile version string: OpenGL ES 3.2 NVIDIA 515.65.01
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20

Environment

i3-gaps

picom version

v10

Diagnostics

Version: v10

Extensions:

  • Shape: Yes
  • XRandR: Yes
  • Present: Present

Misc:

  • Use Overlay: No
    (Another compositor is already running)
  • Config file used: /home/origincode/.config/picom.conf

Drivers (inaccurate):

NVIDIA

Backend: glx

  • Driver vendors:
  • GLX: NVIDIA Corporation
  • GL: NVIDIA Corporation
  • GL renderer: NVIDIA GeForce RTX 2060/PCIe/SSE2

Backend: egl

  • Driver vendors:
  • EGL: NVIDIA
  • GL: NVIDIA Corporation
  • GL renderer: NVIDIA GeForce RTX 2060/PCIe/SSE2

Configuration:

Configuration file
backend = "glx";
use-damage = true;
glx-no-stencil = true;
glx-no-rebind-pixmap = true;
unredir-if-possible = true;
xrender-sync-fence = true;

fading = true;
fade-delta = 2;
#inactive-opacity = 0.75;

shadow = true                  # Enabled client-side shadows on windows
shadow-radius = 10;                # The blur radius for shadows (default 12)
shadow-offset-x = -10;               # The left offset for shadows (default -15)
shadow-offset-y = -10;               # The top offset for shadows (default -15)

corner-radius = 10;

#blur:
#{
#    method = "gaussian";
#    size = 50;
#    deviation = 15.0;
#};

blur-background-exclude = [
    "window_type = 'desktop'",
    "window_type = 'popup_menu'",
    "_GTK_FRAME_EXTENTS@:c"
];

shadow-exclude = [
#    "!I3_FLOATING_WINDOW@:c",
#    "class_g ?= 'polybar'",
#    "class_g ?= 'rofi'",
]

rounded-corners-exclude = [
    "!I3_FLOATING_WINDOW@:c",
#    "class_g ?= 'polybar'",
]

opacity-rule = [
	"90:class_g = 'i3bar'",
];
    
wintypes:
{
    notify = { full-shadow = true };
#    dock = { shadow = false };
    dnd = { shadow = true };
    menu = { shadow = true };
	dropdown_menu = { shadow = false };
	popup_menu = { shadow = false };
	utility = { shadow = false };
};

Steps of reproduction

  1. Enable window shadow
  2. systemctl suspend and resume from suspension.

Expected behavior

The window border has a shadow around it.

Current Behavior

The shadow disappears

Stack trace

OpenGL trace

Other details

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions