yshui / picom

A lightweight compositor for X11
Other
3.92k stars 576 forks source link

The screen displayed is abnormal #1229

Closed llc0930 closed 2 months ago

llc0930 commented 2 months ago

Platform

Debian sid amd64

GPU, drivers, and screen setup

Intel(R) UHD Graphics 770, KMS, one monitor The output of glxinfo -B :

name of display: :0
display: :0  screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
    Vendor: Intel (0x8086)
    Device: Mesa Intel(R) UHD Graphics 770 (ADL-S GT1) (0x4690)
    Version: 24.0.4
    Accelerated: yes
    Video memory: 31874MB
    Unified memory: yes
    Preferred profile: core (0x1)
    Max core profile version: 4.6
    Max compat profile version: 4.6
    Max GLES1 profile version: 1.1
    Max GLES[23] profile version: 3.2
OpenGL vendor string: Intel
OpenGL renderer string: Mesa Intel(R) UHD Graphics 770 (ADL-S GT1)
OpenGL core profile version string: 4.6 (Core Profile) Mesa 24.0.4-1
OpenGL core profile shading language version string: 4.60
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile

OpenGL version string: 4.6 (Compatibility Profile) Mesa 24.0.4-1
OpenGL shading language version string: 4.60
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile

OpenGL ES profile version string: OpenGL ES 3.2 Mesa 24.0.4-1
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20

Environment

WM: bspwm

picom version

vgit-a5e3d

Diagnostics ``` [ 04/01/24 12:56:40.494 c2_parse_target WARN ] Type specifier is deprecated. Type "c" specified on target "_GTK_FRAME_EXTENTS" will be ignored, you can remove it. [ 04/01/24 12:56:40.494 c2_parse_target WARN ] Type specifier is deprecated. Type "c" specified on target "_GTK_FRAME_EXTENTS" will be ignored, you can remove it. **Version:** vgit-a5e3d ### Extensions: * Shape: Yes * RandR: Yes * Present: Present ### Misc: * Use Overlay: Yes * Config file used: /home/user/.config/picom.conf ### Drivers (inaccurate): modesetting ### Backend: glx [ 04/01/24 12:56:40.555 glxext_init INFO ] Extension GLX_SGI_video_sync - present [ 04/01/24 12:56:40.555 glxext_init INFO ] Extension GLX_SGI_swap_control - present [ 04/01/24 12:56:40.555 glxext_init INFO ] Extension GLX_OML_sync_control - present [ 04/01/24 12:56:40.555 glxext_init INFO ] Extension GLX_MESA_swap_control - present [ 04/01/24 12:56:40.555 glxext_init INFO ] Extension GLX_EXT_swap_control - present [ 04/01/24 12:56:40.555 glxext_init INFO ] Extension GLX_EXT_texture_from_pixmap - present [ 04/01/24 12:56:40.555 glxext_init INFO ] Extension GLX_ARB_create_context - present [ 04/01/24 12:56:40.555 glxext_init INFO ] Extension GLX_EXT_buffer_age - present [ 04/01/24 12:56:40.555 glxext_init INFO ] Extension GLX_ARB_create_context_robustness - present [ 04/01/24 12:56:40.555 glxext_init INFO ] Extension GLX_MESA_query_renderer - present [ 04/01/24 12:56:40.565 glGetUniformLocationChecked INFO ] Failed to get location of uniform 'time'. This is normal when using custom shaders. [ 04/01/24 12:56:40.567 gl_init INFO ] Using back buffer format 0x8051 * Driver vendors: * GLX: Mesa Project and SGI * GL: Intel * GL renderer: Mesa Intel(R) UHD Graphics 770 (ADL-S GT1) * Accelerated: 1 ### Backend: egl [ 04/01/24 12:56:40.600 eglext_init INFO ] Extension EGL_EXT_buffer_age - present [ 04/01/24 12:56:40.600 eglext_init INFO ] Extension EGL_EXT_create_context_robustness - present [ 04/01/24 12:56:40.600 eglext_init INFO ] Extension EGL_KHR_image_pixmap - present [ 04/01/24 12:56:40.600 eglext_init INFO ] Extension EGL_MESA_query_driver - present [ 04/01/24 12:56:40.606 glGetUniformLocationChecked INFO ] Failed to get location of uniform 'time'. This is normal when using custom shaders. [ 04/01/24 12:56:40.606 gl_init INFO ] Using back buffer format 0x8051 * Driver vendors: * EGL: Mesa Project * EGL driver: iris * GL: Intel * GL renderer: Mesa Intel(R) UHD Graphics 770 (ADL-S GT1) ```

Configuration:

Configuration file ``` shadow = false; shadow-exclude = [ "name = 'Notification'", "class_g = 'Conky'", "class_g ?= 'Notify-osd'", "class_g = 'Cairo-clock'", "class_g = 'firefox' && argb", "_GTK_FRAME_EXTENTS@:c" ]; fading = false; focus-exclude = [ "class_g = 'Cairo-clock'" ]; corner-radius = 0 rounded-corners-exclude = [ "window_type = 'dock'", "window_type = 'desktop'" ]; blur-kern = "3x3box"; blur-background-exclude = [ "window_type = 'dock'", "window_type = 'desktop'", "_GTK_FRAME_EXTENTS@:c" ]; backend = "glx"; dithered-present = false; vsync = true; mark-wmwin-focused = true; mark-ovredir-focused = true; detect-rounded-corners = true; detect-client-opacity = true; detect-transient = true; use-damage = true; log-level = "info"; wintypes: { tooltip = { fade = true; shadow = true; opacity = 0.75; focus = true; full-shadow = false; }; dock = { shadow = false; clip-shadow-above = true; } dnd = { shadow = false; } popup_menu = { opacity = 0.8; } dropdown_menu = { opacity = 0.8; } }; ```

Steps of reproduction

  1. Open Rofi menu. / Call i3lock to lock screen.
  2. Close Rofi menu. / Enter password to unlock screen locked with i3lock.

Expected behavior

Display the screen normally.

Current Behavior

Afterimages and flickering.

Other details

Video:

https://github.com/yshui/picom/assets/14966910/73e48d80-a6e9-42e9-9c09-cc85156b5a32

Everything was working fine before 3b6e003 , so now I'm stuck on 4b3688d.

yshui commented 2 months ago

Can you try the linked PR?

ortango commented 2 months ago

@yshui that PR fixes the issue I was seeing.

llc0930 commented 2 months ago

They are working normally now.