Skip to content

Misaligned monitors render wrong when adding/removing monitors #1338

@ShadiestGoat

Description

@ShadiestGoat

Platform

Arch 6.10.10-arch1-1

GPU, drivers, and screen setup

Laptop w/ an extra monitor.
NVIDIA GeForce GTX 1650 Ti Mobile

name of display: :0
display: :0  screen: 0
direct rendering: Yes
Memory info (GL_NVX_gpu_memory_info):
    Dedicated video memory: 4096 MB
    Total available memory: 4096 MB
    Currently available dedicated video memory: 3303 MB
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: NVIDIA GeForce GTX 1650 Ti/PCIe/SSE2
OpenGL core profile version string: 4.6.0 NVIDIA 560.35.03
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 560.35.03
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 560.35.03
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20

Monitors configured using xrandr:
image

Monitors are managed via xrandr, which is called by autorandr

Environment

bspwm

picom version

v11 (/home/shady/.cache/yay/picom-git/picom revision 3899d2c)

Diagnostics [ 09/18/2024 12:47:02.087 c2_parse_target WARN ] Type specifier is deprecated. Type "c" specified on target "_GTK_FRAME_EXTENTS" will be ignored, you can remove it. **Version:** v11 (/home/shady/.cache/yay/picom-git/picom revision 3899d2c)

Extensions:

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

Misc:

  • Use Overlay: No

  • Config file specified: None

  • Config file used: /home/shady/.config/picom/picom.conf

Drivers (inaccurate):

NVIDIA, modesetting

Backend: glx

  • Driver vendors:
  • GLX: NVIDIA Corporation
  • GL: NVIDIA Corporation
  • GL renderer: NVIDIA GeForce GTX 1650 Ti/PCIe/SSE2
    [ 09/18/2024 12:47:02.429 egl_init WARN ] The egl backend is still experimental, use with care.

Backend: egl

  • Driver vendors:
  • EGL: NVIDIA
  • GL: NVIDIA Corporation
  • GL renderer: NVIDIA GeForce GTX 1650 Ti/PCIe/SSE2

Configuration:

Configuration file shadow = false;

corner-radius = 8;
rounded-corners-exclude = [
"class_g = 'Polybar'"
];
round-borders = 8;

fading = true;
no-fading-openclose = false;
fade-in-step = 0.1;
fade-out-step = 0.1;
fade-delta = 9;

blur: {
method = "dual_kawase";
strength = 3;
background = false;
background-frame = false;
background-fixed = false;
}

backend = "glx";
vsync = false;

mark-wmwin-focused = true;
mark-ovredir-focused = true;
detect-client-opacity = true;
detect-client-leader = true;

blur-background-exclude = [
"class_g ?= 'zoom'",
"name = 'rect-overlay'",
"_GTK_FRAME_EXTENTS@:c",
"class_g = 'LibreWolf'",
"window_type = 'menu'",
"window_type = 'dropdown_menu'",
"window_type = 'popup_menu'",
"window_type = 'utility'",
"class_g = 'activate-linux'",
];

Steps of reproduction

  1. Start with a single monitor setup
  2. Launch picom
  3. Add a monitor in a vertical misalignment as show above

I can also reproduce a similar thing when removing the primary monitor

Expected behavior

Rendering to be normal and correctly aligned on each monitor

Current Behavior

  • Non-primary monitor (on the right in the image) is fully black.
  • Primary monitor (on the left) renders everything as if the monitor is at the same level as the one on the right

Other details

Its only rendering thats wrong. Interactivity for windows is as if they were in the normal position

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