Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

size-transition doesn't work #59

Open
ArtyIF opened this issue Sep 11, 2021 · 1 comment
Open

size-transition doesn't work #59

ArtyIF opened this issue Sep 11, 2021 · 1 comment

Comments

@ArtyIF
Copy link

ArtyIF commented Sep 11, 2021

Platform

Arch Linux, linux-zen-5.14.2-zen1-2-zen

GPU, drivers, and screen setup

NVIDIA GeForce GTX 1050 Ti, nvidia-dkms-470.63.01-1, one monitor

glxinfo -B output

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: 3226 MB
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: NVIDIA GeForce GTX 1050 Ti/PCIe/SSE2
OpenGL core profile version string: 4.6.0 NVIDIA 470.63.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 470.63.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 470.63.01
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20

Environment

awesome

awesome --version output

awesome v4.3-1086-g13cd20780 (Too long)
 • Compiled against Lua 5.3.6 (running with Lua 5.3)
 • API level: 4
 • D-Bus support: yes
 • xcb-errors support: no
 • execinfo support: yes
 • xcb-randr version: 1.6
 • LGI version: 0.9.2
 • Transparency enabled: yes
 • Custom search paths: no

picom version

vgit-a8445

picom --diagnostics output

**Version:** vgit-a8445

### Extensions:

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

### Misc:

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

### Drivers (inaccurate):

NVIDIA  

Configuration:

see https://github.com/ArtyIF/awesome-config/blob/master/picom/picom.conf

Steps of reproduction

  1. Enable size-transition in config file
  2. Resize the window (for example, move it around in tiled mode with different sizes)

Expected behavior

Windows resize and move smoothly in accordance to config

Current Behavior

Windows resize instantly and only position is animated

Other details

picom-bug-2021-09-11_14.22.40.mp4
@ffs97
Copy link

ffs97 commented Oct 21, 2021

Seeing the same issue. Adding all details below

Platform

Arch Linux x86_64, Kernel: 5.14.6-arch1-1

GPU, drivers, and screen setup

Intel i7-9750H (12) @ 4.500GHz, Intel CoffeeLake-H GT2 [UHD Graphics 630], NVIDIA GeForce GTX 1660 Ti Mobile
nvidia-dkms-470.63.01-1, one monitor

glxinfo -B output

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: 4871 MB
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: NVIDIA GeForce GTX 1660 Ti/PCIe/SSE2
OpenGL core profile version string: 4.6.0 NVIDIA 470.63.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 470.63.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 470.63.01
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20

Environment

awesomewm

awesome --version output

awesome v4.3-1019-ga4572b9b5 (Too long)
 • Compiled against Lua 5.3.6 (running with Lua 5.3)
 • API level: 4
 • D-Bus support: yes
 • xcb-errors support: no
 • execinfo support: yes
 • xcb-randr version: 1.6
 • LGI version: 0.9.2
 • Transparency enabled: yes
 • Custom search paths: no

picom --diagnostics output

> picom --config=/home/fat-fighter/.config/picom/apocalypse.config --experimental-backends --diagnostics

**Version:** vgit-a8445

### Extensions:

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

### Misc:

* Use Overlay: Yes* Config file used: /home/fat-fighter/.config/picom/apocalypse.config

### Drivers (inaccurate):

NVIDIA, modesetting

Configuration

#
#  ███████████████████████████████████████████████████████████████████████████████████
#                                              ░██                                     
#   █████   ███████   █████    █████   █████   ░██  ██     ██  ███████   ████   █████ 
#  ░░░░░██ ░░███░░█  ███░░██  ███░░██ ░░░░░██  ░██  ███    ██ ░░███░░█ ░███░   ███░░██
#   ██████  ░███ ░█ ░███ ░██ ░███ ░░   ██████  ░██ ░░███  ██   ░███ ░█  ░███  ░██████ 
#  ███░░██  ░██████ ░███ ░██ ░███  ██ ███░░██  ░██  ░░█████    ░██████  ░░░██ ░███░░  
#  ░███████ ░███░░  ░░█████  ░░█████  ░███████ ████  ░░░██     ░███░░   ████  ░░██████
#  ░░░░░░░  ░██      ░░░░░    ░░░░░   ░░░░░░░ ░░░░   █  ██     ░██     ░░░░    ░░░░░░ 
#           ████                                    ░ ███      ████    
#          ░░░░                                      ░░░      ░░░░     
#
# ======================================================================================
#   Name:       apocalyspe
#   Author:     Gurpreet Singh
#   Url:        https://github.com/ffs97/dotfiles/picom/apocalyspe.config
#   License:    The MIT License (MIT)
#
#   A picom configuration file for apocalyspe colorscheme
# ======================================================================================

# --------------------------------------------------------------------------------------
# Backend

backend = "glx";

glx-no-stencil = true;
glx-copy-from-front = false;
glx-swap-method = -1;
glx-no-rebind-pixmap = true;
xrender-sync-fence = true;
use-damage = false;

# --------------------------------------------------------------------------------------
# Shadows

shadow = true;
shadow-radius = 12;
shadow-offset-x = -15;
shadow-offset-y = -15;
shadow-opacity = 0.65;

shadow-exclude = [
    "! name~=''",
    "name = 'Notification'",
    "name = 'xfce4-notifyd'",
    "name = 'zoom_linux_float_message_reminder'",
	"class_g = 'Firefox' && argb",
    "class_g = 'awesome'",
    "_GTK_FRAME_EXTENTS@:c",
    "_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'",
    "_NET_WM_WINDOW_TYPE@:a *= 'OVERRIDE'"
];
shadow-ignore-shaped = true;

# --------------------------------------------------------------------------------------
# Animations

# requires https://github.com/jonaburg/picom

transition-length = 300
transition-pow-x = 0.1
transition-pow-y = 0.1
transition-pow-w = 0.1
transition-pow-h = 0.1
size-transition = true

# --------------------------------------------------------------------------------------
# Opacity

inactive-opacity = 0.75;
active-opacity = 1;
frame-opacity = 1;
inactive-opacity-override = true;

opacity-rule = [
    "85:class_g = 'kitty'",
    "85:class_g = 'Code - Insiders'",
    "90:class_g = 'Zathura'",
    "85:class_g = 'Gvim'",
    "99:class_g = 'Google-chrome' && focused",
    "90:class_g = 'Rofi'",
    "85:name = 'JupyterLab'",
    "99:class_g = 'Gimp-2.10'",
    "99:class_g = 'awesome'",
]

# --------------------------------------------------------------------------------------
# Blur

blur-background = true;
blur-method = "dual_kawase";
blur-strength = 10;
blur-background-fixed = false;
blur-background-frame = true;
blur-background-exclude = [
    "window_type = 'dock'",
    "name = 'zoom_linux_float_message_reminder'",
    "role = 'bubble'",
    # "class_g = 'zoom'",
    # "override_redirect = true"
    "_NET_WM_WINDOW_TYPE@:a *= 'OVERRIDE'"
];

# --------------------------------------------------------------------------------------
# Fading

fading = false;
fade-delta = 1;
fade-in-step = 0.03;
fade-out-step = 0.03;
no-fading-openclose = false;

fade-exclude = [ ];

# --------------------------------------------------------------------------------------
# Miscellaneous

mark-wmwin-focused = false;
mark-ovredir-focused = true;
use-ewmh-active-win = false;
detect-rounded-corners = true;

detect-client-opacity = true;

refresh-rate = 0;

vsync = false;

dbe = false;

unredir-if-possible = true;

focus-exclude = [
    "class_g = 'Rofi'"
];

detect-transient = true;
detect-client-leader = true;

# --------------------------------------------------------------------------------------
# Window type settings

wintypes:
{
    tooltip =
    {
        shadow = false;
        opacity = false;
        focus = true;
        blur_background = false;
    };
    dock =
    {
        shadow = false;
    };
    dnd =
    {
        shadow = false;
    };
    popup_menu =
    {
        opacity = false;
        shadow = false;
        blur_background = false;
    };
    dropdown_menu =
    {
        opacity = false;
        shadow = false;
        blur_background = false;
    };
};

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants