jonaburg / picom

A lightweight compositor for X11 (previously a compton fork)
Other
956 stars 99 forks source link

Windows animating across monitors #18

Open mixolydianmel opened 3 years ago

mixolydianmel commented 3 years ago

Platform

Artix Linux x86_64

GPU, drivers, and screen setup

NVidia GTX 1080, nvidia drivers 455.45.01-2, two monitors configured side-by-side with xrandr (3840x2160+0+0,1920x1080+3840+0)

$glxinfo -B

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

xf86-video-vesa 2.5.0-1 mesa 20.2.3-1

Environment

Using dwm

picom version

$picom --version
vgit-a8445

$picom --diagnostics
**Version:** vgit-a8445

### Extensions:

* Shape: Yes
* XRandR: Yes
* Present: Present

### Misc:

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

### Drivers (inaccurate):

NVIDIA

Configuration:

# Backend
backend = "glx";
vsync = true;
mark-wmwin-focused = true;
unredir-if-possible = true;
glx-no-stencil = true;
glx-no-rebind-pixmap = true;
refresh-rate = 60;

# Fading
fading = false;

# Rounded Corners
corner-radius = 15;
round-borders = 15;

# Shadows
shadow = false;
shadow-radius = 7;
shadow-offset-x = -7;
shadow-offset-y = -7;
shadow-opacity = 0.028;

# Blur
experimental-backends = true;
blur-background-fixed = true;
blur-method = "kawase";
blur-size = 10;
blur-deviation = 5;

# Animations
transition-length = 150;

wintypes:
{
    dock = { fade = FALSE; shadow = FALSE, opacity = 1.0; focus = TRUE; full-shadow = FALSE; redir-ignore = FALSE };
    normal = { fade = TRUE; shadow = TRUE; opacity = 1.0; focus = FALSE; full-shadow = FALSE; redir-ignore = FALSE};
};

Steps of reproduction

  1. Focus any window on a tag on the monitor on the right
  2. Switch focus to another tag
  3. Switch to a previously focused tag

Expected behavior

Windows come in from the left, and are not visible on the monitor they are not meant to appear on.

Current Behavior

Switching focus from any tag to any previously focused tag will have the windows come in from the left, except they appear on the first monitor before coming into the second screen

jonaburg commented 3 years ago

Interestingly, I see this issue that you describe appear when I set the timings for the animation transition length based on cpu cycles to be weird ratios.This was fixed in a previous commit, I see you're running picom version vgit-a8445, update to the latest vgit-51fdb and it should be resolved.

aditya-K2 commented 3 years ago

How do I get the vgit-51fdb version of picom?